/* ================================
   ANNGEL JACOBS PORTFOLIO
   Elegant Tech / Founder Engineer
================================ */

/* ---------- Design Tokens ---------- */

:root {
    --color-bg: #f7f4ef;
    --color-bg-soft: #fffaf3;
    --color-surface: #ffffff;
    --color-surface-alt: #f1ece3;

    --color-text: #171717;
    --color-muted: #6f6a63;
    --color-heading: #101010;

    --color-primary: #1f2a44;
    --color-primary-dark: #111827;
    --color-accent: #b8915f;
    --color-accent-soft: #eadcc8;

    --color-border: #ded6ca;

    --shadow-soft: 0 18px 50px rgba(31, 42, 68, 0.08);
    --shadow-card: 0 12px 30px rgba(31, 42, 68, 0.10);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    --container: 1120px;

    --font-main: "Inter", "Segoe UI", Arial, sans-serif;
    --font-heading: "Georgia", "Times New Roman", serif;
}

/* ---------- Reset ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background:
        radial-gradient(circle at top left, rgba(184, 145, 95, 0.18), transparent 34%),
        var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    padding-left: 1.2rem;
}

/* ---------- Layout ---------- */

main {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

section {
    margin: 8rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.eyebrow {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
    color: var(--color-heading);
    line-height: 1.1;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
    max-width: 680px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
}

p {
    color: var(--color-muted);
    font-size: 1rem;
}

/* ---------- Header ---------- */

.site-header {
    width: min(var(--container), calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 1rem 2rem;
    background: rgba(255, 250, 243, 0.82);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 1rem;
    z-index: 100;
}

.logo {
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.04em;
    font-size: 1.1rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.main-nav a {
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--color-primary);
}

.nav-button {
    background: var(--color-primary);
    color: #ffffff !important;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
}

.nav-button:hover {
    background: var(--color-accent);
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.primary-button {
    background: var(--color-primary);
    color: #ffffff;
}

.primary-button:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.secondary-button:hover {
    background: var(--color-surface);
    transform: translateY(-2px);
}

/* ---------- Scroll Top Button ---------- */

.scroll-top-button {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    border: 1px solid #d8cab6;
    background: rgba(255, 250, 243, 0.95);
    color: #1f2a44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(16, 28, 54, 0.12);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    z-index: 220;
}

.scroll-top-button.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-button:hover {
    background: #fff3df;
    border-color: #c89e57;
}

.scroll-top-button:focus-visible {
    outline: none;
    border-color: #1f2a44;
    box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.14);
}

.text-link {
    color: var(--color-primary);
    font-weight: 800;
    display: inline-block;
    margin-top: 1rem;
}

.text-link:hover {
    color: var(--color-accent);
}

/* ---------- Hero Sections ---------- */

.page-hero,
.hero,
.about-hero {
    min-height: 75vh;
    display: grid;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0 2rem;
}

.hero,
.about-hero {
    grid-template-columns: 1.1fr 0.9fr;
}

.page-hero p,
.hero-description {
    max-width: 720px;
    font-size: 1.15rem;
    margin-top: 1.2rem;
}

.hero-actions,
.cta-actions,
.resume-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image,
.about-hero-image {
    background: var(--color-accent-soft);
    border-radius: var(--radius-lg);
    padding: 0.7rem;
    box-shadow: var(--shadow-card);
}

.hero-image img,
.about-hero-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 26px;
}

/* ---------- Cards ---------- */

.card-grid,
.credential-grid,
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid {
    grid-template-columns: repeat(3, 1fr);
}

.credential-grid {
    grid-template-columns: repeat(3, 1fr);
}

.info-card,
.credential-card,
.resource-item,
.fact-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
}

.info-card:hover,
.credential-card:hover,
.resource-item:hover,
.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.info-card h3,
.credential-card h3,
.resource-item h3 {
    color: var(--color-primary);
}

/* ---------- Portfolio ---------- */

.portfolio-grid {
    grid-template-columns: 1fr;
}

.portfolio-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.portfolio-card > div {
    padding: 2.4rem;
}

.project-category,
.resource-type {
    color: var(--color-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
}

.project-tags,
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.project-tags span,
.skill-tags span {
    background: var(--color-surface-alt);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ---------- Gallery ---------- */

.gallery-grid,
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-grid img,
.photo-grid img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* ---------- Video ---------- */

.video-frame {
    background: var(--color-primary-dark);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-card);
}

.video-frame video {
    width: 100%;
    border-radius: 24px;
    background: #000000;
}

/* ---------- Text Sections ---------- */

.text-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.content-narrow,
.beyond-work p,
.resources-note p {
    max-width: 760px;
}

/* ---------- Quick Facts ---------- */

.quick-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.fact-card {
    text-align: center;
}

.fact-card strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.fact-card span {
    color: var(--color-muted);
    font-weight: 700;
}

/* ---------- Resources ---------- */

.resource-list {
    display: grid;
    gap: 1rem;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.resource-item a {
    color: var(--color-primary);
    font-weight: 800;
}

/* ---------- CTA ---------- */

.page-cta,
.about-cta,
.cta-section {
    background:
        linear-gradient(135deg, rgba(31, 42, 68, 0.94), rgba(17, 24, 39, 0.96));
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 6vw, 5rem);
    box-shadow: var(--shadow-card);
}

.page-cta h2,
.about-cta h2,
.cta-section h2 {
    color: #ffffff;
}

.page-cta p,
.about-cta p,
.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 720px;
}

.page-cta .primary-button,
.about-cta .primary-button,
.cta-section .primary-button {
    background: #ffffff;
    color: var(--color-primary);
}

.page-cta .secondary-button,
.about-cta .secondary-button {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* ---------- Footer ---------- */

.site-footer {
    width: min(var(--container), calc(100% - 2rem));
    margin: 5rem auto 1.5rem;
    padding: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--color-muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        border-radius: var(--radius-md);
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .hero,
    .about-hero,
    .portfolio-card,
    .text-columns {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .credential-grid,
    .quick-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid,
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image img,
    .about-hero-image img {
        height: 420px;
    }
}

@media (max-width: 640px) {
    main,
    .site-header,
    .site-footer {
        width: min(100% - 1rem, var(--container));
    }

    section {
        margin: 4rem 0;
    }

    .main-nav {
        gap: 0.7rem;
    }

    .main-nav a {
        font-size: 0.85rem;
    }

    .card-grid,
    .credential-grid,
    .quick-facts,
    .gallery-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .resource-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-card img {
        min-height: 260px;
    }

    .hero-image img,
    .about-hero-image img {
        height: 340px;
    }
}

/* ---------- Home Page Redesign ---------- */

.home-page {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 20% -10%, rgba(187, 155, 112, 0.14), transparent 32%),
        radial-gradient(circle at 90% 10%, rgba(20, 40, 77, 0.06), transparent 38%),
        #f5f3ef;
    color: #161d2f;
}

.home-page main {
    width: min(1220px, calc(100% - 2rem));
}

.home-page .site-header.home-header {
    width: min(1220px, calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: static;
}

.home-logo {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.08rem;
    min-width: 56px;
}

.home-logo .logo-text {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1a2337;
    line-height: 1;
}

.home-logo .logo-plus {
    color: #d0a55f;
    font-weight: 800;
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.home-nav {
    flex: 1;
    justify-content: center;
    gap: 1.6rem;
}

.home-nav a {
    color: #4d535f;
    font-size: 0.92rem;
    font-weight: 700;
    position: relative;
}

.home-nav a[aria-current="page"] {
    color: #1a2235;
}

.home-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.7rem;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c79f59;
}

.home-connect {
    background: #16284b;
    padding: 0.84rem 1.4rem;
    font-size: 0.91rem;
}

.home-connect:hover {
    background: #223860;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
    padding: 3.5rem 0 4.3rem;
    margin: 0;
}

.home-kicker {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #cb9a4f;
    margin-bottom: 1.15rem;
}

.home-page h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #1a2235;
    max-width: 690px;
}

.home-page .hero-text {
    margin-top: 1.3rem;
    max-width: 650px;
    color: #59606c;
    font-size: 1.16rem;
    line-height: 1.75;
}

.home-hero-buttons {
    margin-top: 1.9rem;
    display: flex;
    gap: 1rem;
}

.home-page .button {
    padding: 1rem 1.65rem;
    font-size: 1rem;
    font-weight: 700;
}

.home-page .primary-button {
    background: #16284b;
}

.home-page .secondary-button {
    border: 1.4px solid #d4c6b3;
    color: #1d2841;
    background: #f8f5f0;
}

.home-page .secondary-button:hover {
    background: #ffffff;
}

.home-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-circle-outer {
    width: min(34vw, 520px);
    height: min(34vw, 520px);
    min-width: 370px;
    min-height: 370px;
    border-radius: 50%;
    border: 2px solid #e4d9ca;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 35% 35%, #f7f2e9, #f0e7da 75%);
    position: relative;
}

.hero-circle-outer::before,
.hero-circle-outer::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.hero-circle-outer::before {
    inset: 12px;
    border: 1.4px solid #eadfce;
}

.hero-circle-outer::after {
    right: 8px;
    bottom: 28px;
    width: 8px;
    height: 8px;
    background: #c79f59;
}

.hero-circle-inner {
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    border-radius: 50%;
    overflow: hidden;
    background: #efe5d6;
}

.hero-circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-star {
    position: absolute;
    right: 6%;
    top: 11%;
    color: #cb9a4f;
    font-size: 2rem;
    line-height: 1;
}

.home-featured {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    background: #f1eeea;
    border-radius: 0;
    padding: 3rem max(1rem, calc((100vw - 1220px) / 2)) 3.6rem;
}

.home-page .section-label.home-label {
    margin-bottom: 0.75rem;
    color: #c79b54;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
}

.home-featured h2,
.home-about-preview h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1rem, 2.6vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: #1d2436;
    max-width: 830px;
}

.home-page .card-grid {
    margin-top: 1.35rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-card {
    background: #fbfaf8;
    border: 1px solid #ddd2c4;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: none;
}

.home-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1e2433;
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.home-card .card-icon.gold {
    background: #c79f59;
}

.home-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    color: #1e2433;
    line-height: 1.1;
    margin-bottom: 0.65rem;
}

.home-card p {
    color: #5a6270;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.home-card a {
    color: #1c2945;
    font-size: 0.95rem;
    font-weight: 700;
}

.home-about-preview {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    background: #f7f4ef;
    border-top: 1px solid #ece4d8;
    padding: 2.6rem max(1rem, calc((100vw - 1220px) / 2)) 0.8rem;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2.8rem;
    align-items: start;
}

.home-about-grid h2 {
    max-width: 540px;
}

.home-about-grid p {
    color: #5e6470;
    font-size: 1.03rem;
    margin-top: 1.2rem;
    max-width: 610px;
}

.home-about-grid .text-link {
    margin-top: 1.4rem;
    color: #1a2541;
    font-size: 1rem;
}

.home-page .site-footer {
    margin-top: 3rem;
}

@media (max-width: 1100px) {
    .home-page .site-header.home-header {
        align-items: center;
        border-radius: 18px;
        padding: 1rem;
    }

    .home-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .home-hero {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        padding-top: 2.4rem;
    }

    .hero-circle-outer {
        width: min(72vw, 470px);
        height: min(72vw, 470px);
        min-width: 300px;
        min-height: 300px;
    }

    .home-page .card-grid,
    .home-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .home-page main,
    .home-page .site-header,
    .home-page .site-footer {
        width: min(100% - 1rem, 1220px);
    }

    .home-page .site-header.home-header {
        gap: 0.8rem;
        align-items: flex-start;
    }

    .home-nav {
        justify-content: flex-start;
    }

    .home-connect {
        align-self: stretch;
        text-align: center;
    }

    .home-page h1 {
        font-size: clamp(2rem, 3.2vw, 4rem);
    }

    .home-page .hero-text {
        font-size: 1rem;
    }

    .home-hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-page .button {
        width: 100%;
        justify-content: center;
    }

    .home-featured {
        padding: 2.4rem 0 2.8rem;
    }
}

/* ---------- About Page Redesign ---------- */

.about-page {
    --about-max: 1240px;
    --about-gutter: max(1rem, calc((100vw - var(--about-max)) / 2));
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 16% -8%, rgba(191, 155, 97, 0.14), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(23, 45, 84, 0.08), transparent 34%),
        #f5f3ef;
    color: #152139;
    overflow-x: hidden;
}

.about-page main {
    width: min(var(--about-max), calc(100% - 2rem));
    margin: 0 auto;
}

.about-page .about-top-header {
    width: min(var(--about-max), calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: static;
}

.about-page .home-nav a[aria-current="page"] {
    color: #1a2235;
}

.about-page .about-reference-hero,
.about-page .about-story-block,
.about-page .about-drives-section,
.about-page .about-media-panel,
.about-page .about-bottom-cta {
    margin: 0;
}

.about-kicker {
    color: #c79b54;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.about-divider {
    display: inline-block;
    width: 44px;
    height: 3px;
    border-radius: 12px;
    background: #cda35f;
    margin: 0.95rem 0 1.1rem;
}

.about-reference-hero {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 1.9rem;
    align-items: center;
    padding: 2.25rem 0 2.45rem;
}

.about-reference-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.028em;
    color: #1a253d;
    max-width: 700px;
}

.about-lead {
    max-width: 660px;
    color: #57606e;
    font-size: 1.12rem;
    line-height: 1.8;
}

.about-chip-row {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 660px;
}

.about-chip {
    border: 1px solid #e4dacd;
    border-radius: 12px;
    background: #f7f4ee;
    padding: 0.7rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.about-chip > span {
    color: #c79b54;
    font-size: 1rem;
}

.about-chip strong {
    display: block;
    color: #1b2740;
    font-size: 0.72rem;
    line-height: 1.2;
}

.about-chip small {
    color: #666f7d;
    font-size: 0.7rem;
    font-weight: 600;
}

.about-reference-photo {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-arch-frame {
    width: min(23vw, 575px);
    min-width: 340px;
    aspect-ratio: 0.87;
    border: 2px solid #eadfcd;
    border-radius: 54% 54% 0 0 / 30% 30% 0 0;
    padding: 0.95rem;
    position: relative;
}

.about-arch-frame::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1.5px solid #f0e6d7;
    border-radius: 54% 54% 0 0 / 30% 30% 0 0;
}

.about-arch-frame::after {
    content: "";
    position: absolute;
    right: -2px;
    bottom: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c59d59;
}

.about-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50% 50% 0 0 / 28% 28% 0 0;
}

.about-star {
    position: absolute;
    right: 6%;
    top: 12%;
    color: #c79b54;
    font-size: 2rem;
}

.about-story-block {
    width: min(var(--about-max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 2.1rem 0;
    background: #f7f5f1;
    border-top: 1px solid #ece5d9;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.7rem;
    align-items: center;
}

.about-story-copy h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1rem, 2.6vw, 3.4rem);
    line-height: 1.07;
    letter-spacing: -0.02em;
    color: #1d273b;
}

.about-story-copy p {
    color: #5e6775;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 570px;
}

.about-story-copy .story-emphasis {
    color: #2a3140;
    font-weight: 800;
    margin-bottom: 0;
}

.about-story-photo img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 25px rgba(18, 30, 53, 0.08);
}

.about-drives-section {
    width: min(var(--about-max), calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.95rem 0 1.1rem;
    background: #f7f5f1;
}

.drive-grid {
    margin-top: 0.6rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #ece3d8;
    border-bottom: 1px solid #ece3d8;
}

.drive-item {
    text-align: center;
    padding: 1.55rem 1rem 1.05rem;
    border-right: 1px solid #ece3d8;
}

.drive-item:last-child {
    border-right: none;
}

.drive-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f0ebe3;
    color: #c59b56;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.drive-item h3 {
    color: #1f2a3f;
    font-size: 1.36rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    font-family: "Playfair Display", Georgia, serif;
}

.drive-item p {
    color: #5f6673;
    font-size: 0.94rem;
    max-width: 255px;
    margin: 0 auto;
}

.about-media-panel {
    width: min(var(--about-max), calc(100% - 2rem));
    margin: 1rem auto 0;
    padding: 0.95rem;
    background: #f7f4ef;
    border: 1px solid #e9dfd2;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0.95rem;
    align-items: start;
}

.media-left,
.media-right {
    display: flex;
    flex-direction: column;
}

.media-video-card {
    background: #ffffff;
    border: 1px solid #e5dbcf;
    border-radius: 12px;
    overflow: hidden;
}

.media-video-card video {
    width: 100%;
    display: block;
    background: #121212;
    aspect-ratio: 16 / 9;
}

.moment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 0.55rem;
    align-items: stretch;
}

.moment-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e3d8ca;
}

.media-caption {
    margin-top: 0.55rem;
    color: #636a77;
    font-size: 0.88rem;
}

.about-bottom-cta {
    background:
        radial-gradient(circle at 18% 40%, rgba(34, 70, 126, 0.28), transparent 46%),
        linear-gradient(135deg, #16284b, #0f213f);
    border-radius: 20px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.05fr 1fr auto;
    gap: 1.25rem;
    align-items: center;
    width: min(var(--about-max), calc(100% - 2rem));
    margin: 0.85rem auto 0;
    padding: 1.25rem 1.35rem;
}

.about-bottom-cta h2 {
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1rem, 1.5vw, 2rem);
    line-height: 1.08;
    max-width: 480px;
}

.about-bottom-cta .about-divider {
    background: #cba15d;
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.about-bottom-cta p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 380px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.about-bottom-cta .primary-button {
    background: #c89f5a;
    color: #ffffff;
    white-space: nowrap;
}

.about-bottom-cta .primary-button:hover {
    background: #d5ae6e;
}

.about-cta-meta {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.1rem;
}

.about-cta-meta span {
    font-size: 0.84rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
}

.about-page .site-footer {
    width: min(var(--about-max), calc(100% - 2rem));
    margin-top: 1.55rem;
}

@media (max-width: 1120px) {
    .about-page .about-top-header {
        border-radius: 18px;
        padding: 1rem;
        align-items: center;
    }

    .about-reference-hero,
    .about-story-block,
    .about-media-panel,
    .about-bottom-cta {
        grid-template-columns: 1fr;
    }

    .about-chip-row {
        grid-template-columns: 1fr;
    }

    .about-arch-frame {
        width: min(78vw, 560px);
        min-width: 290px;
    }

    .drive-grid,
    .about-cta-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drive-item {
        border-right: none;
        border-bottom: 1px solid #ece3d8;
    }

    .drive-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .moment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .about-page main,
    .about-page .site-header,
    .about-page .site-footer {
        width: min(100% - 1rem, 1220px);
    }

    .about-page .about-top-header {
        align-items: flex-start;
        gap: 0.8rem;
    }

    .about-page .home-nav {
        justify-content: flex-start;
    }

    .about-page .home-connect {
        align-self: stretch;
        text-align: center;
    }

    .about-reference-hero {
        padding-top: 1.85rem;
        padding-bottom: 1.85rem;
    }

    .about-reference-copy h1 {
        font-size: clamp(2rem, 3.2vw, 4rem);
    }

    .drive-grid,
    .about-cta-meta,
    .moment-grid {
        grid-template-columns: 1fr;
    }

    .about-bottom-cta {
        width: min(100%, calc(100% - 1rem));
        padding: 1.1rem 0.95rem;
    }

    .about-bottom-cta p {
        max-width: 100%;
    }
}

/* ---------- Portfolio Page Redesign ---------- */

.portfolio-page {
    --portfolio-max: 1240px;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 15% -8%, rgba(188, 153, 98, 0.13), transparent 32%),
        radial-gradient(circle at 85% 12%, rgba(23, 45, 84, 0.08), transparent 38%),
        #f5f3ef;
    color: #142039;
}

.portfolio-page main {
    width: min(var(--portfolio-max), calc(100% - 2rem));
}

.portfolio-page .portfolio-top-header {
    width: min(var(--portfolio-max), calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: static;
}

.portfolio-page .home-nav a[aria-current="page"] {
    color: #1a2235;
}

.portfolio-page .portfolio-hero-reference,
.portfolio-page .portfolio-featured-wrap,
.portfolio-page .portfolio-resume-preview,
.portfolio-page .portfolio-metrics,
.portfolio-page .featured-project,
.portfolio-page .portfolio-dual-grid,
.portfolio-page .skills-certs-section,
.portfolio-page .portfolio-timeline,
.portfolio-page .portfolio-philosophy,
.portfolio-page .portfolio-tools-strip,
.portfolio-page .portfolio-photography {
    margin: 0;
}

.portfolio-kicker {
    color: #c89e57;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.79rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.portfolio-divider {
    display: inline-block;
    width: 44px;
    height: 3px;
    border-radius: 12px;
    background: #caa05b;
    margin: 1rem 0 1.05rem;
}

.portfolio-hero-reference {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0 1rem;
    border-bottom: 1px solid #ece3d8;
}

.portfolio-hero-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 1.01;
    letter-spacing: -0.03em;
    color: #19233a;
    max-width: 620px;
}

.portfolio-lead {
    max-width: 620px;
    color: #5a6270;
    font-size: 1.08rem;
    line-height: 1.72;
}

.portfolio-quick-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.portfolio-quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #ddcfbb;
    background: #fff8ef;
    color: #1d2840;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
}

.portfolio-quick-links a:hover {
    background: #f6ebdc;
    border-color: #c89e57;
}

.portfolio-filter-tabs {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.portfolio-filter-tabs a {
    color: #5d6472;
    font-size: 0.89rem;
    font-weight: 700;
    padding-bottom: 0.52rem;
    border-bottom: 2px solid transparent;
}

.portfolio-filter-tabs a.is-active {
    color: #1d2840;
    border-bottom-color: #c89e57;
}

.portfolio-hero-art {
    min-height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ring {
    position: absolute;
    border: 1.2px solid #e2c296;
    border-radius: 50%;
}

.ring-1 {
    width: 280px;
    height: 280px;
}

.ring-2 {
    width: 190px;
    height: 190px;
}

.ring-3 {
    width: 110px;
    height: 110px;
}

.star-center {
    border: none;
    color: #9b783c;
    font-size: 2rem;
}

.hero-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c89e57;
    right: calc(50% - 145px);
    top: calc(50% - 55px);
}

.portfolio-featured-wrap {
    padding: 1.35rem 0 2.3rem;
}

.portfolio-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.1rem 0 1.4rem;
}

.metric-card {
    background: #fffaf3;
    border: 1px solid #e4d8ca;
    border-radius: 12px;
    padding: 0.95rem;
}

.metric-value {
    font-family: "Playfair Display", Georgia, serif;
    color: #1e293d;
    font-size: clamp(1.5rem, 2.4vw, 2.15rem);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.metric-label {
    color: #5c6473;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
}

.featured-project {
    border-top: 1px solid #ece3d8;
    border-bottom: 1px solid #ece3d8;
    padding: 1.4rem 0;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    align-items: stretch;
}

.featured-project-copy h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1b273e;
    font-size: clamp(2rem, 3vw, 2rem);
    line-height: 1.04;
}

.featured-project-copy p {
    margin-top: 0.7rem;
    color: #5a6271;
    line-height: 1.7;
    max-width: 520px;
}

.featured-highlights {
    margin-top: 0.95rem;
    margin-bottom: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.8rem;
    padding-left: 0;
    list-style: none;
}

.featured-highlights li {
    color: #1d2840;
    font-size: 0.88rem;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.featured-highlights li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #b07e35;
}

.featured-project-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e3d7c9;
    background: #fefdfb;
    box-shadow: 0 10px 24px rgba(16, 28, 54, 0.06);
}

.featured-project-image {
    width: 100%;
    height: 100%;
    min-height: 310px;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.portfolio-cards-grid {
    margin-top: 0.55rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.portfolio-card-item {
    background: #fbfaf8;
    border: 1px solid #e4d8ca;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portfolio-card-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-card-item .card-copy {
    padding: 1rem;
}

.portfolio-card-item .card-type {
    color: #c3954c;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin-bottom: 0.5rem;
}

.portfolio-card-item h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1e293d;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.04;
    margin-bottom: 0.7rem;
}

.project-mini-badges {
    margin: 0 0 0.85rem;
    display: grid;
    gap: 0.35rem;
}

.project-mini-badges span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.26rem 0.52rem;
    border-radius: 8px;
    border: 1px solid #e1d4c1;
    background: #fdf4e8;
    color: #5d4a2d;
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.4;
}

.project-mini-badges strong {
    color: #1e2a42;
    margin-right: 0.25rem;
}

.tech-stack {
    margin: 0 0 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-left: 0;
    list-style: none;
}

.tech-stack li {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #634e30;
    background: #f3e8d7;
    border: 1px solid #e0cfb6;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
}

.portfolio-card-item p {
    color: #5b6371;
    font-size: 0.91rem;
    line-height: 1.63;
    margin-bottom: 1rem;
}

.portfolio-card-item a {
    color: #1d2840;
    font-size: 0.91rem;
    font-weight: 800;
}

.card-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-links a {
    text-decoration: none;
}

.card-links a:hover {
    color: #8a6329;
}

.skills-certs-section {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0;
}

.skills-certs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.skills-certs-columns {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.portfolio-dual-grid {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.portfolio-panel {
    background: #fdfbf7;
    border: 1px solid #e5d9cb;
    border-radius: 12px;
    padding: 1rem;
}

.portfolio-panel h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273f;
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 1.1;
}

.portfolio-panel h3 {
    margin-top: 0.8rem;
    color: #1f2a41;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.list-clean {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
    display: grid;
    gap: 0.4rem;
}

.list-clean li {
    color: #505968;
    font-weight: 600;
    line-height: 1.55;
}

.skills-grid {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.portfolio-timeline {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0;
}

.portfolio-timeline h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(1.8rem, 3.3vw, 2.8rem);
}

.timeline-list {
    margin-top: 0.85rem;
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.5rem;
}

.timeline-list li {
    color: #4f5868;
    font-weight: 600;
    border-left: 2px solid #d3b17a;
    padding-left: 0.8rem;
}

.portfolio-philosophy {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0;
}

.portfolio-philosophy blockquote {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    color: #1d2840;
    font-size: clamp(1.35rem, 1.5vw, 2rem);
    line-height: 1.35;
    max-width: 900px;
}

.build-progress-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.8rem;
}

.build-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c364c;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e9dfd1;
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #b48443, #d8b273);
}

.progress-fill.p90 {
    width: 90%;
}

.progress-fill.p80 {
    width: 80%;
}

.progress-fill.p20 {
    width: 20%;
}

.portfolio-tools-strip {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0;
}

.tools-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tools-chip-list span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #dccdb8;
    padding: 0.35rem 0.7rem;
    color: #1e2a42;
    background: #fff8ee;
    font-size: 0.83rem;
    font-weight: 700;
}

.portfolio-photography {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0;
}

.portfolio-photography h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(1.8rem, 3.3vw, 2.8rem);
}

.portfolio-page .photo-grid {
    margin-top: 0.85rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.portfolio-page .photo-grid figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e3d8cb;
    background: #fffdf9;
}

.portfolio-page .photo-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.portfolio-page .photo-grid figcaption {
    padding: 0.6rem 0.7rem;
    color: #4f5868;
    font-size: 0.82rem;
    font-weight: 700;
}

.portfolio-resume-preview {
    border-top: 1px solid #ece3d8;
    padding: 1.35rem 0 0.5rem;
    display: grid;
    grid-template-columns: 0.84fr 1.16fr;
    gap: 1rem;
    align-items: start;
}

.resume-preview-copy h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.04;
    max-width: 350px;
}

.resume-preview-copy p {
    color: #5f6674;
    max-width: 320px;
}

.resume-buttons {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.75rem;
    max-width: 260px;
}

.resume-buttons .button {
    width: 100%;
}

.resume-buttons .secondary-button {
    border-color: #d8cab7;
    background: #f9f5ef;
}

.resume-preview-card {
    background: #fefdfb;
    border: 1px solid #e4d9cc;
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: 0 10px 24px rgba(16, 28, 54, 0.05);
    overflow: hidden;
}

.resume-preview-card iframe {
    width: 112%;
    height: 540px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    pointer-events: none;
    transform: scale(1.12);
    transform-origin: top center;
    margin-left: -6%;
    display: block;
}

.portfolio-page .site-footer {
    width: min(var(--portfolio-max), calc(100% - 2rem));
    margin-top: 1.45rem;
}

@media (max-width: 1120px) {
    .portfolio-page .portfolio-top-header {
        border-radius: 18px;
        padding: 1rem;
        align-items: center;
    }

    .portfolio-hero-reference,
    .featured-project,
    .portfolio-resume-preview,
    .portfolio-dual-grid,
    .skills-certs-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-page .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resume-preview-card iframe {
        height: 500px;
    }
}

@media (max-width: 760px) {
    .portfolio-page main,
    .portfolio-page .site-header,
    .portfolio-page .site-footer {
        width: min(100% - 1rem, 1240px);
    }

    .portfolio-page .portfolio-top-header {
        align-items: flex-start;
    }

    .portfolio-page .home-nav {
        justify-content: flex-start;
    }

    .portfolio-page .home-connect {
        align-self: stretch;
        text-align: center;
    }

    .portfolio-hero-copy h1 {
        font-size: clamp(2.1rem, 10vw, 3.35rem);
    }

    .portfolio-filter-tabs {
        gap: 1.1rem;
        flex-wrap: wrap;
    }

    .portfolio-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-highlights {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skills-certs-columns {
        grid-template-columns: 1fr;
    }

    .card-links {
        gap: 0.7rem;
    }

    .portfolio-cards-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card-item img {
        height: 220px;
    }

    .resume-preview-card iframe {
        height: 430px;
    }

    .portfolio-page .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Services Page Redesign ---------- */

.services-page {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% -8%, rgba(192, 155, 99, 0.12), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(24, 45, 82, 0.06), transparent 36%),
        #f5f3ef;
    color: #161f34;
}

.services-page main {
    width: min(1220px, calc(100% - 2rem));
}

.services-page .site-header.services-top-header {
    width: min(1220px, calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: static;
}

.services-page .home-nav a[aria-current="page"] {
    color: #1a2235;
}

.services-hero-reference,
.services-section,
.services-trust,
.services-category-map {
    margin: 0;
}

.services-kicker {
    color: #c89e57;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.services-hero-reference {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 2.25rem 0 2.45rem;
    border-bottom: 1px solid #ece3d8;
}

.services-hero-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.028em;
    color: #19233a;
    max-width: 700px;
}

.services-hero-copy p {
    max-width: 660px;
    margin-top: 0.95rem;
    color: #57606e;
    font-size: 1.02rem;
    line-height: 1.72;
}

.services-subline {
    font-weight: 700;
    color: #2b3752;
    max-width: 700px;
}

.services-page .services-hero-reference .hero-actions {
    margin-top: 1.35rem;
    gap: 0.82rem;
}

.services-trust {
    border-top: 1px solid #ece3d8;
    padding: 2.8rem 0;
}

.services-trust h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(2rem, 3vw, 2rem);
    line-height: 1.08;
    margin-bottom: 1.2rem;
}

.trust-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem 1.2rem;
    max-width: 980px;
}

.trust-list li {
    color: #566071;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    padding-left: 1.25rem;
}

.trust-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.02rem;
    color: #b88a46;
    font-size: 0.85rem;
}

.services-category-map {
    border-top: 1px solid #ece3d8;
    padding: 1.4rem 0 0.95rem;
    display: grid;
    gap: 0.45rem;
    max-width: 460px;
}

.services-filter-label {
    color: #3f4d65;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-category-select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #ddcfbb;
    background: linear-gradient(180deg, #fffaf4, #fdf3e5);
    color: #1d2840;
    padding: 0.72rem 2.35rem 0.72rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 8px 20px rgba(31, 42, 68, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background-image:
        linear-gradient(45deg, transparent 50%, #1f2a44 50%),
        linear-gradient(135deg, #1f2a44 50%, transparent 50%),
        linear-gradient(180deg, #fffaf4, #fdf3e5);
    background-position:
        calc(100% - 16px) calc(50% - 3px),
        calc(100% - 10px) calc(50% - 3px),
        0 0;
    background-size:
        6px 6px,
        6px 6px,
        100% 100%;
    background-repeat: no-repeat;
}

.services-category-select:hover {
    border-color: #c89e57;
    background-image:
        linear-gradient(45deg, transparent 50%, #1f2a44 50%),
        linear-gradient(135deg, #1f2a44 50%, transparent 50%),
        linear-gradient(180deg, #fff8ef, #faedd9);
}

.services-category-select:focus-visible {
    outline: none;
    border-color: #1f2a44;
    box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.14);
}

.services-section {
    border-top: 1px solid #ece3d8;
    padding: 2.9rem 0;
}

.services-section h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(2rem, 3vw, 2rem);
    line-height: 1.06;
    margin-bottom: 1.45rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.service-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    border: 1px solid #e7ddcf;
    border-radius: 22px;
    padding: 1.45rem;
    box-shadow: 0 10px 28px rgba(16, 28, 54, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.55rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #d0b286;
    box-shadow: 0 18px 34px rgba(16, 28, 54, 0.12), 0 0 0 1px rgba(200, 158, 87, 0.25);
}

.service-label {
    width: fit-content;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    background: #f5ead9;
    color: #6a532f;
    border: 1px solid #e5d1b4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.67rem;
    font-weight: 800;
}

.service-title {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: clamp(1.35rem, 2.4vw, 1.95rem);
    line-height: 1.08;
    margin: 0.15rem 0 0;
}

.service-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid #e3d2ba;
    background: #f8efe2;
    font-size: 0.86rem;
}

.service-value {
    color: #4f5868;
    font-size: 0.93rem;
    line-height: 1.64;
    margin: 0.15rem 0 0.2rem;
}

.service-block {
    margin-top: 0.2rem;
}

.service-divider {
    height: 1px;
    background: linear-gradient(90deg, #ebe1d4, rgba(235, 225, 212, 0.2));
    margin: 0.5rem 0 0.2rem;
}

.service-block-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #25314a;
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2e3ce;
    color: #765728;
    border: 1px solid #ddc4a1;
    font-size: 0.66rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.3rem;
}

.service-list li {
    color: #566071;
    font-size: 0.88rem;
    line-height: 1.45;
    position: relative;
    padding-left: 1rem;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c89e57;
}

.service-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-pill-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #dfcfba;
    background: #fff8ee;
    color: #4f5a6d;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.3rem 0.58rem;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.service-availability {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid #d8c4a4;
    color: #6a532f;
    background: #f8ecdd;
}

.service-status {
    margin-top: 0.5rem;
    margin-left: 0.6rem;
    color: #516070;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.service-price {
    margin-top: 0.34rem;
    margin-left: 0.6rem;
    color: #26344f;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    display: inline-block;
    background: #54b070;
    box-shadow: 0 0 0 3px rgba(84, 176, 112, 0.18);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.2rem 0.95rem;
    background: #1d2840;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.service-cta:hover {
    background: #283856;
    transform: translateY(-1px);
}

.free-starting-points .service-card {
    background: linear-gradient(180deg, #fffdf9, #fff5e8);
}

.launch-promotion {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(244, 224, 190, 0.38), transparent 42%),
        linear-gradient(150deg, rgba(255, 250, 241, 0.98), rgba(247, 237, 220, 0.95));
    border: 1px solid #e4d1b4;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(25, 35, 58, 0.08);
    padding: 3.4rem;
}

.launch-promotion::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -110px;
    top: -120px;
    border: 1px solid rgba(192, 155, 99, 0.26);
    border-radius: 28px;
    transform: rotate(12deg);
    pointer-events: none;
}

.launch-promotion::after {
    content: "";
    position: absolute;
    right: 14%;
    bottom: 14%;
    width: 140px;
    height: 140px;
    border: 1px dashed rgba(192, 155, 99, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.launch-promotion-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 2.2rem;
    align-items: start;
}

.launch-main {
    max-width: 690px;
}

.launch-headline-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.68rem;
    margin-bottom: 1.05rem;
}

.launch-headline-wrap h2 {
    margin-bottom: 0;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #d8bd8b;
    background: #fff4de;
    color: #6e542d;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.32rem 0.7rem;
}

.launch-copy {
    max-width: 620px;
    color: #4f5868;
    line-height: 1.75;
    margin-bottom: 1.15rem;
}

.launch-availability {
    color: #6d5530;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.launch-cta {
    margin-top: 0.2rem;
}

.launch-rolling-note {
    margin-top: 0.65rem;
    color: #6e7685;
    font-size: 0.8rem;
    font-weight: 600;
}

.launch-side {
    display: grid;
    gap: 0.9rem;
}

.launch-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e5d7c2;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(18, 30, 54, 0.07);
    padding: 1.1rem 1rem;
}

.launch-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #22324f;
    font-size: 1.2rem;
    line-height: 1.15;
    margin-bottom: 0.65rem;
}

.launch-checklist,
.launch-you-cover ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.48rem;
}

.launch-checklist li,
.launch-you-cover li {
    color: #4b576d;
    font-size: 0.86rem;
    line-height: 1.5;
}

.launch-checklist li {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    font-weight: 600;
}

.launch-checklist li span {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8c09a;
    background: #fdf5e8;
    color: #8f6e3b;
    font-size: 0.7rem;
}

.launch-you-cover li {
    position: relative;
    padding-left: 0.9rem;
}

.launch-you-cover li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 0.33rem;
    height: 0.33rem;
    border-radius: 50%;
    background: #c89e57;
}

.launch-timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.launch-timeline-list li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #3f4c63;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
    padding-bottom: 0.82rem;
}

.launch-timeline-list li:not(:last-child)::after {
    content: "\2193";
    position: absolute;
    left: 0.25rem;
    bottom: -0.42rem;
    color: #b28d4e;
    font-size: 0.84rem;
    font-weight: 800;
}

.timeline-step {
    color: #6f552d;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.96rem;
}

.launch-value-badge {
    width: fit-content;
    border-radius: 14px;
    border: 1px solid #ddc18f;
    background: linear-gradient(155deg, #f8edcf, #f2ddad);
    box-shadow: 0 8px 22px rgba(88, 63, 22, 0.18);
    padding: 0.7rem 0.85rem;
}

.launch-value-label {
    color: #6f552d;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.66rem;
    font-weight: 800;
}

.launch-value-amount {
    margin-top: 0.12rem;
    color: #4f391a;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.32rem;
    line-height: 1.06;
}

.launch-value-note {
    margin-top: 0.2rem;
    color: #705a34;
    font-size: 0.74rem;
    font-weight: 600;
}

.service-disclaimer {
    margin-top: 1.05rem;
    color: #5b6475;
    font-size: 0.87rem;
    line-height: 1.65;
    max-width: 920px;
}

.faq-accordion {
    display: grid;
    gap: 0.85rem;
}

.faq-accordion-item {
    background: #fdfbf8;
    border: 1px solid #e5d9cb;
    border-radius: 14px;
    padding: 0.95rem 1rem;
}

.faq-accordion-item summary {
    cursor: pointer;
    list-style: none;
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: 1.2rem;
    line-height: 1.16;
    padding-right: 1.2rem;
    position: relative;
}

.faq-accordion-item summary::-webkit-details-marker {
    display: none;
}

.faq-accordion-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: #887043;
    font-size: 1rem;
    font-weight: 800;
}

.faq-accordion-item[open] summary::after {
    content: "-";
}

.faq-accordion-item p {
    margin-top: 0.55rem;
    color: #566071;
    font-size: 0.9rem;
    line-height: 1.6;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.faq-item {
    background: #fdfbf8;
    border: 1px solid #e5d9cb;
    border-radius: 14px;
    padding: 1rem;
}

.faq-item h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: 1.25rem;
    line-height: 1.16;
}

.faq-item p {
    margin-top: 0.45rem;
    color: #566071;
    font-size: 0.9rem;
    line-height: 1.6;
}

.services-page .site-footer {
    width: min(1220px, calc(100% - 2rem));
    margin-top: 1.45rem;
}

@media (max-width: 1120px) {
    .trust-list {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid-two {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .launch-promotion {
        padding: 2.3rem;
    }

    .launch-promotion-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .launch-main {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .services-page main,
    .services-page .site-header,
    .services-page .site-footer {
        width: min(100% - 1rem, 1220px);
    }

    .services-page .services-top-header {
        align-items: flex-start;
    }

    .launch-promotion {
        border-radius: 22px;
        padding: 1.45rem;
    }

    .launch-promotion::before,
    .launch-promotion::after {
        display: none;
    }

    .launch-headline-wrap {
        gap: 0.5rem;
    }

    .launch-badge {
        font-size: 0.68rem;
    }

    .services-category-map {
        gap: 0.2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .services-hero-copy h1 {
        font-size: clamp(2rem, 10vw, 3.35rem);
    }

    .service-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-status,
    .service-price {
        margin-left: 0;
    }
}

/* ---------- Services Compact Refinement ---------- */

.services-page .services-kicker {
    color: #c89e57;
    margin-bottom: 0.78rem;
}

.services-page .services-hero-reference {
    padding: 4rem 0 2.45rem;
}

.services-page .services-hero-copy p {
    margin-top: 0.95rem;
    font-size: 0.96rem;
    line-height: 1.7;
}

.services-page .services-section {
    padding: 2.15rem 0;
}

.services-page .services-section h2 {
    margin-bottom: 1rem;
}

.services-page .service-grid {
    gap: 1rem;
}

.services-page .service-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-page .service-grid-expanded {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0.85rem;
}

.services-page .service-card {
    border-radius: 20px;
    padding: 1.08rem;
    gap: 0.38rem;
}

.services-page .service-label {
    padding: 0.19rem 0.54rem;
    font-size: 0.64rem;
}

.services-page .service-title {
    font-size: clamp(1.25rem, 2.25vw, 1.8rem);
    margin: 0.06rem 0 0;
}

.services-page .service-title-icon {
    width: 1.85rem;
    height: 1.85rem;
}

.services-page .service-value {
    font-size: 0.86rem;
    line-height: 1.56;
    margin: 0.08rem 0 0.1rem;
}

.services-page .service-pill-row {
    gap: 0.28rem;
}

.services-page .service-pill-row span {
    font-size: 0.7rem;
    padding: 0.24rem 0.48rem;
}

.services-page .service-card-meta {
    display: grid;
    gap: 0.1rem;
}

.services-page .compact-footer {
    padding-top: 0.25rem;
    gap: 0.6rem;
    align-items: flex-end;
}

.services-page .compact-footer .service-price {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.2;
}

.services-page .compact-footer .service-status {
    margin: 0.18rem 0 0;
    font-size: 0.74rem;
    line-height: 1.4;
    color: #697384;
    gap: 0.35rem;
}

.services-page .service-cta {
    padding: 0.28rem 0.72rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.services-page .service-more {
    margin-top: 0.4rem;
}

.services-page .service-more summary,
.services-page .service-section-more summary {
    cursor: pointer;
    list-style: none;
    color: #7c6338;
    font-size: 0.76rem;
    font-weight: 800;
}

.services-page .service-more summary::-webkit-details-marker,
.services-page .service-section-more summary::-webkit-details-marker {
    display: none;
}

.services-page .service-more-content {
    margin-top: 0.5rem;
}

.services-page .service-section-more {
    margin-top: 0.85rem;
}

.services-page .free-entry-list {
    display: grid;
    gap: 0.7rem;
}

.services-page .free-entry-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border: 1px solid #e7ddcf;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa, #fff5e8);
    box-shadow: 0 8px 24px rgba(16, 28, 54, 0.05);
}

.services-page .free-entry-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8efe2;
    border: 1px solid #e3d2ba;
    color: #7d6033;
    font-size: 0.92rem;
}

.services-page .free-entry-content h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: 1.08rem;
    line-height: 1.1;
}

.services-page .free-entry-content p {
    margin-top: 0.18rem;
    color: #5d6676;
    font-size: 0.84rem;
    line-height: 1.45;
}

.services-page .launch-promotion {
    border-radius: 24px;
    padding: 2.35rem;
}

.services-page .compact-launch-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
    gap: 1.15rem;
}

.services-page .compact-launch-main {
    max-width: 640px;
}

.services-page .launch-headline-wrap {
    margin-bottom: 0.7rem;
}

.services-page .launch-availability {
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
}

.services-page .launch-copy {
    max-width: 560px;
    font-size: 0.89rem;
    line-height: 1.62;
    margin-bottom: 0.8rem;
}

.services-page .launch-process-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: 0.7rem 0 0.85rem;
}

.services-page .launch-process-strip span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #e3d0af;
    background: rgba(255, 255, 255, 0.68);
    color: #5a6476;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.24rem 0.5rem;
}

.services-page .launch-inline-actions {
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.services-page .launch-cta {
    margin-top: 0;
}

.services-page .launch-value-badge {
    padding: 0.58rem 0.7rem;
}

.services-page .launch-value-amount {
    font-size: 1.18rem;
}

.services-page .launch-value-note {
    font-size: 0.7rem;
}

.services-page .launch-rolling-note {
    margin-top: 0.45rem;
    font-size: 0.76rem;
}

.services-page .launch-side {
    gap: 0.75rem;
}

.services-page .launch-card {
    padding: 0.88rem 0.9rem;
}

.services-page .launch-card h3 {
    margin-bottom: 0.45rem;
}

.services-page .launch-checklist li,
.services-page .launch-you-cover li {
    font-size: 0.81rem;
    line-height: 1.45;
}

.services-page .service-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.81rem;
    line-height: 1.55;
}

.services-page .faq-accordion {
    gap: 0.65rem;
}

.services-page .faq-accordion-item {
    padding: 0.8rem 0.9rem;
}

.services-page .faq-accordion-item summary {
    font-size: 1.08rem;
}

.services-page .faq-accordion-item p {
    font-size: 0.84rem;
    line-height: 1.55;
}

.services-page .services-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #e6dbcc;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.94), rgba(250, 244, 235, 0.96));
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    padding: 1.25rem 1.35rem;
}

.services-page .services-contact-card p:last-child {
    color: #5a6475;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.55rem;
    max-width: 680px;
}

@media (max-width: 1120px) {
    .services-page .service-grid,
    .services-page .service-grid-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page .service-grid-expanded,
    .services-page .compact-launch-layout {
        grid-template-columns: 1fr;
    }

    .services-page .launch-promotion {
        padding: 1.95rem;
    }

    .services-page .services-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .services-page .service-grid,
    .services-page .service-grid-featured {
        grid-template-columns: 1fr;
    }

    .services-page .service-card {
        padding: 0.92rem;
    }

    .services-page .compact-footer {
        align-items: flex-start;
    }

    .services-page .free-entry-tile {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .services-page .launch-promotion {
        padding: 1.35rem;
    }

    .services-page .launch-inline-actions {
        align-items: flex-start;
    }
}

/* ---------- Resources Page Redesign ---------- */

.resources-page {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 14% -8%, rgba(189, 154, 97, 0.11), transparent 34%),
        radial-gradient(circle at 86% 8%, rgba(23, 45, 84, 0.06), transparent 36%),
        #f5f3ef;
    color: #15213a;
}

.resources-page main {
    width: min(1220px, calc(100% - 2rem));
}

.resources-page .site-header.resources-top-header {
    width: min(1220px, calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: static;
}

.resources-page .home-nav a[aria-current="page"] {
    color: #1a2235;
}

.resources-hero,
.resources-controls,
.resources-section {
    margin: 0;
}

.resources-kicker {
    color: #c89e57;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.82rem;
}

.resources-hero {
    padding: 4.5rem 0 2.35rem;
    border-bottom: 1px solid #ece3d8;
}

.resources-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #19233a;
}

.resources-hero p {
    max-width: 860px;
    margin-top: 0.98rem;
    color: #5a6475;
    font-size: 0.98rem;
    line-height: 1.72;
}

.resources-section {
    border-top: 1px solid #ece3d8;
    padding: 2.15rem 0;
}

.resources-section h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(2rem, 3vw, 2.2rem);
    line-height: 1.06;
    margin-bottom: 0.68rem;
}

.resources-subtitle {
    max-width: 860px;
    color: #596375;
    font-size: 0.95rem;
    line-height: 1.68;
    margin-bottom: 1.1rem;
}

.resources-subtitle-strong {
    max-width: 980px;
}

.resource-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.resource-library-card {
    border: 1px solid #e6dac8;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdfa, #fcf7ef);
    box-shadow: 0 10px 28px rgba(16, 28, 54, 0.05);
    padding: 0.96rem;
    display: grid;
    gap: 0.5rem;
    align-content: start;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.resource-library-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 28, 54, 0.08);
}

.resource-library-card[hidden] {
    display: none;
}

.resource-card-icon {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #e6d8c1;
    background: #f8efe2;
    color: #7d6033;
    font-size: 0.9rem;
}

.resource-badge {
    width: fit-content;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    background: #f4ead9;
    border: 1px solid #e5d6be;
    color: #70572d;
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
}

.resource-library-card h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.14;
    color: #1d2942;
}

.resource-library-card p {
    margin: 0;
    color: #5f697a;
    font-size: 0.82rem;
    line-height: 1.52;
}

.resource-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 0.2rem;
    border-radius: 999px;
    background: #1f2a44;
    color: #ffffff;
    padding: 0.33rem 0.7rem;
    font-size: 0.73rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

.resource-download-button:hover {
    background: #20365b;
    transform: translateY(-1px);
}

.resources-controls {
    border-top: 1px solid #ece3d8;
    border-bottom: 1px solid #ece3d8;
    padding: 3rem 0;
}

.resources-control-label {
    display: block;
    color: #3f4d65;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.48rem;
}

#resource-search {
    width: 100%;
    max-width: 740px;
    border: 1px solid #decfb9;
    border-radius: 14px;
    background: #fffbf5;
    color: #1d2840;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#resource-search::placeholder {
    color: #8a8290;
}

#resource-search:focus-visible {
    outline: none;
    border-color: #1f2a44;
    box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.14);
}

.resource-filter-chips {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
}

.resource-chip {
    border: 1px solid #ddcfbb;
    border-radius: 999px;
    background: #fff8ef;
    color: #1d2840;
    padding: 0.42rem 0.76rem;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.resource-chip:hover {
    border-color: #c89e57;
    background: #f8ecd9;
}

.resource-chip:focus-visible {
    outline: none;
    border-color: #1f2a44;
    box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.14);
}

.resource-chip.is-active {
    background: #1f2a44;
    border-color: #1f2a44;
    color: #ffffff;
}

.recommendation-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.48rem;
    margin-bottom: 0.95rem;
}

.recommendation-stats span {
    border: 1px solid #e5d9ca;
    border-radius: 999px;
    background: #fff9f1;
    color: #485670;
    padding: 0.3rem 0.62rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.why-resources-card {
    border: 1px solid #e7dbca;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 8px 24px rgba(16, 28, 54, 0.04);
    padding: 0.85rem 0.95rem;
    margin-bottom: 1.1rem;
}

.why-resources-card h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2b43;
    font-size: 1rem;
}

.why-resources-card p {
    margin-top: 0.36rem;
    color: #5e697b;
    font-size: 0.86rem;
    line-height: 1.58;
}

.curated-library-grid,
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.curated-library-grid.has-internal-scroll,
.favorites-grid.has-internal-scroll {
    overflow-y: auto;
    padding-right: 0.2rem;
}

.curated-library-grid.has-internal-scroll::-webkit-scrollbar,
.favorites-grid.has-internal-scroll::-webkit-scrollbar {
    width: 8px;
}

.curated-library-grid.has-internal-scroll::-webkit-scrollbar-thumb,
.favorites-grid.has-internal-scroll::-webkit-scrollbar-thumb {
    background: #d8c6ab;
    border-radius: 999px;
}

.curated-library-grid.has-internal-scroll::-webkit-scrollbar-track,
.favorites-grid.has-internal-scroll::-webkit-scrollbar-track {
    background: #f5efe6;
    border-radius: 999px;
}

.knowledge-card {
    border: 1px solid #e6dac8;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 8px 20px rgba(16, 28, 54, 0.045);
    padding: 0.72rem 0.84rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: end;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.knowledge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(16, 28, 54, 0.08);
}

.knowledge-card[hidden] {
    display: none;
}

.knowledge-card.favorite-highlight {
    border-color: #c9aa77;
    background: linear-gradient(180deg, #fffdf9, #fdf6e8);
}

.knowledge-card-title-row {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    margin-bottom: 0.26rem;
}

.knowledge-card h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    color: #1d2a43;
    font-size: 1rem;
    line-height: 1.15;
}

.knowledge-card-description {
    color: #5f697a;
    font-size: 0.8rem;
    line-height: 1.46;
    margin: 0;
}

.knowledge-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.44rem;
}

.knowledge-badge {
    border-radius: 999px;
    padding: 0.12rem 0.48rem;
    font-size: 0.64rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    border: 1px solid #e5d7c0;
    background: #f8efe0;
    color: #6d5832;
}

.knowledge-badge.is-difficulty {
    background: #f4f1ea;
    border-color: #ddd3c4;
    color: #5d6271;
}

.knowledge-badge.is-cost {
    background: #eef3f8;
    border-color: #d8e1ee;
    color: #425676;
}

.knowledge-badge.is-recommendation {
    background: #fff6e9;
    border-color: #e9d3ab;
    color: #7b5f2e;
}

.knowledge-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    border-radius: 999px;
    background: #1f2a44;
    color: #ffffff;
    padding: 0.34rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.knowledge-card-action:hover {
    background: #20365b;
    transform: translateY(-1px);
}

.external-link-icon {
    font-size: 0.68rem;
    color: #8a7248;
}

.knowledge-card-action .external-link-icon {
    color: rgba(255, 255, 255, 0.85);
}

.resource-empty-state {
    margin: 0 0 0.2rem;
    color: #6f6a63;
    font-size: 0.88rem;
    font-weight: 600;
}

.resources-page .site-footer {
    margin-top: 2.8rem;
}

@media (max-width: 1120px) {
    .resource-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .curated-library-grid,
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .resources-page main,
    .resources-page .site-header,
    .resources-page .site-footer {
        width: min(100% - 1rem, 1220px);
    }

    .resources-page .resources-top-header {
        align-items: flex-start;
    }

    .resource-card-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .knowledge-card-action {
        width: fit-content;
    }
}

/* ---------- Inquiry Pages ---------- */

.inquiry-page,
.consultation-page,
.thank-you-page {
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% -8%, rgba(192, 155, 99, 0.12), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(24, 45, 82, 0.06), transparent 36%),
        #f5f3ef;
    color: #161f34;
}

.inquiry-page main,
.consultation-page main,
.thank-you-page main {
    width: min(1220px, calc(100% - 2rem));
}

.inquiry-page .site-header,
.consultation-page .site-header,
.thank-you-page .site-header {
    width: min(1220px, calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: static;
}

.inquiry-page .home-nav a[aria-current="page"],
.consultation-page .home-nav a[aria-current="page"],
.thank-you-page .home-nav a[aria-current="page"] {
    color: #1a2235;
}

.inquiry-page .site-footer,
.consultation-page .site-footer,
.thank-you-page .site-footer {
    width: min(1220px, calc(100% - 2rem));
}

.inquiry-hero,
.consultation-hero,
.thank-you-hero {
    margin: 0;
    padding: 4.2rem 0 2.4rem;
    border-bottom: 1px solid #ece3d8;
}

.inquiry-kicker,
.consultation-kicker,
.thank-you-kicker {
    color: #c89e57;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.inquiry-hero h1,
.consultation-hero h1,
.thank-you-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #19233a;
}

.inquiry-hero p,
.consultation-hero p,
.thank-you-hero p {
    margin-top: 0.95rem;
    max-width: 760px;
    color: #596170;
    font-size: 1rem;
    line-height: 1.75;
}

.inquiry-layout,
.launch-layout {
    margin: 0;
    padding: 2.15rem 0 2.35rem;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 1rem;
}

.inquiry-form-card,
.inquiry-side-card,
.consultation-card,
.calendar-placeholder,
.thank-you-card,
.launch-criteria-card {
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    border: 1px solid #e7ddcf;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(16, 28, 54, 0.06);
}

.inquiry-form-card,
.inquiry-side-card,
.launch-criteria-card,
.calendar-placeholder,
.thank-you-card {
    padding: 1.25rem;
}

.inquiry-side-card {
    position: sticky;
    top: 1.2rem;
    align-self: start;
}

.inquiry-side-card h2,
.inquiry-form-card h2,
.launch-criteria-card h2,
.calendar-placeholder h2,
.consultation-options h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: clamp(1.55rem, 2.3vw, 2rem);
    line-height: 1.08;
    margin-bottom: 0.6rem;
}

.inquiry-side-card p,
.inquiry-form-card p,
.launch-criteria-card p,
.calendar-placeholder p,
.consultation-card p,
.thank-you-card p {
    color: #596170;
    font-size: 0.92rem;
    line-height: 1.65;
}

.quick-link-list,
.checklist-plain,
.process-list {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.52rem;
}

.quick-link-list a {
    color: #1d2840;
    font-weight: 700;
}

.quick-link-list a:hover {
    color: #b8915f;
}

.quick-link-list li,
.checklist-plain li,
.process-list li {
    position: relative;
    padding-left: 0.95rem;
    color: #4f5a6d;
    font-size: 0.88rem;
    line-height: 1.5;
}

.quick-link-list li::before,
.checklist-plain li::before,
.process-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #c89e57;
}

.inquiry-form {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.field-group {
    display: grid;
    gap: 0.35rem;
}

.field-group-full {
    grid-column: 1 / -1;
}

.field-group label {
    color: #2b3851;
    font-size: 0.84rem;
    font-weight: 700;
}

.field-group .helper-text {
    color: #6d7685;
    font-size: 0.75rem;
    line-height: 1.4;
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid #ded1be;
    border-radius: 12px;
    background: #fffdf9;
    color: #1d2840;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.45;
    padding: 0.68rem 0.75rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group textarea {
    min-height: 130px;
    resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: #c89e57;
    box-shadow: 0 0 0 3px rgba(200, 158, 87, 0.18);
}

.field-group .field-error {
    border-color: #b44f3b;
    box-shadow: 0 0 0 3px rgba(180, 79, 59, 0.15);
}

.form-feedback {
    display: none;
    border-radius: 12px;
    border: 1px solid #e2c3bd;
    background: #fbf1ef;
    color: #7f3d32;
    padding: 0.6rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
}

.form-feedback.visible {
    display: block;
}

.form-feedback.success {
    border-color: #bfd8c4;
    background: #eef8f0;
    color: #2f6540;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.consultation-options {
    margin: 0;
    padding: 2rem 0 2.1rem;
    border-bottom: 1px solid #ece3d8;
}

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.consultation-card {
    padding: 1.1rem;
    display: grid;
    gap: 0.48rem;
}

.consultation-card h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: 1.35rem;
    line-height: 1.08;
}

.consultation-price {
    color: #26344f;
    font-size: 0.86rem;
    font-weight: 800;
}

.calendar-placeholder {
    margin: 1.1rem 0 2rem;
}

.consultation-secondary-cta {
    margin: 0 0 2.5rem;
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid #e4d7c6;
    background: #fffaf2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.launch-info-accordion {
    margin: 0;
    padding: 1.65rem 0 0.85rem;
    display: grid;
    gap: 0.75rem;
}

.launch-accordion-item {
    border: 1px solid #e7ddcf;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 10px 28px rgba(16, 28, 54, 0.06);
    overflow: hidden;
}

.launch-accordion-item summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-family: "Playfair Display", Georgia, serif;
    color: #22324f;
    font-size: 1.2rem;
    line-height: 1.15;
    transition: background 0.22s ease;
}

.launch-accordion-item summary::-webkit-details-marker {
    display: none;
}

.launch-accordion-item summary::after {
    content: "⌄";
    color: #7e6338;
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform 0.28s ease;
}

.launch-accordion-item[open] summary::after {
    transform: rotate(180deg);
}

.launch-accordion-item:not([open]) summary:hover {
    background: rgba(248, 238, 222, 0.62);
}

.launch-accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.28s ease, opacity 0.28s ease;
}

.launch-accordion-item[open] .launch-accordion-content {
    grid-template-rows: 1fr;
    opacity: 1;
}

.launch-accordion-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 1.15rem 1.15rem;
}

.launch-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.46rem;
}

.launch-list li {
    color: #4f5a6d;
    font-size: 0.9rem;
    line-height: 1.55;
}

.launch-list-check li,
.launch-list-plain li,
.launch-list-dash li {
    position: relative;
    padding-left: 1.05rem;
}

.launch-list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8915f;
    font-weight: 800;
}

.launch-list-plain li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: #c89e57;
}

.launch-list-dash li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #8d6a33;
    font-weight: 800;
}

.launch-list-steps {
    gap: 0.5rem;
}

.launch-list-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.launch-list-steps li span:first-child {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1f2a41;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 0.05rem;
}

.launch-promotion-page .inquiry-hero {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 0;
}

.launch-hero-headline-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.launch-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.38rem 0.75rem;
    border: 1px solid #d8bd8b;
    background: #fff4de;
    color: #6e542d;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.launch-hero-subhead {
    font-size: 1.08rem;
    max-width: 820px;
    color: #4d5668;
}

.launch-hero-actions {
    margin-top: 1.5rem;
}

.launch-hero-note {
    margin-top: 0.9rem;
    color: #6b7381;
    font-size: 0.88rem;
    max-width: 760px;
}

.launch-glance {
    margin: 0;
    padding: 1.1rem 0 0.6rem;
}

.launch-page-options {
    margin: 0;
    padding: 0.9rem 0 1.2rem;
}

.launch-page-options h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a41;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.launch-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.launch-page-card {
    border: 1px solid #e3d3be;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf9, #f8f2e8);
    box-shadow: 0 10px 26px rgba(16, 28, 54, 0.05);
    padding: 0.95rem;
    display: grid;
    gap: 0.35rem;
}

.launch-page-icon {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    border: 1px solid #dfc8a1;
    background: #fff7ea;
    color: #7d6034;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.launch-page-card h3 {
    margin: 0;
    color: #1f2a41;
    font-size: 1rem;
}

.launch-page-card p {
    margin: 0;
    color: #596170;
    font-size: 0.84rem;
    line-height: 1.5;
}

.launch-page-note {
    margin-top: 0.72rem;
    color: #596170;
    font-size: 0.86rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.launch-glance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.launch-stat-card {
    border: 1px solid #e3d3be;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf9, #f8f2e8);
    box-shadow: 0 10px 26px rgba(16, 28, 54, 0.05);
    padding: 1rem 1rem 0.9rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.launch-stat-card:hover,
.launch-accordion-item:hover,
.inquiry-form-card:hover,
.inquiry-side-card:hover {
    transform: translateY(-4px);
    border-color: #d0b286;
    box-shadow: 0 18px 34px rgba(16, 28, 54, 0.12), 0 0 0 1px rgba(200, 158, 87, 0.16);
}

.launch-stat-label {
    color: #a17c42;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 800;
}

.launch-stat-value {
    margin-top: 0.25rem;
    color: #1f2a41;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1rem;
    line-height: 1.2;
}

.launch-layout {
    align-items: start;
}

.launch-promotion-page .launch-layout {
    padding-top: 1.45rem;
    gap: 1rem;
}

.launch-form-intro {
    margin-top: 0.55rem;
    max-width: 780px;
    color: #4f5a6d;
}

.form-section-group {
    display: grid;
    gap: 0.75rem;
    padding: 0.95rem 0 0.25rem;
    border-top: 1px solid #eee4d7;
}

.form-section-group h3 {
    color: #1f2a41;
    font-size: 0.88rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 800;
}

.launch-urgency-note {
    margin-top: 0.85rem;
    color: #7a6440;
    font-size: 0.82rem;
    font-weight: 700;
}

.launch-content-note {
    margin-top: -0.1rem;
    color: #6e5b3d;
    font-size: 0.81rem;
    font-weight: 700;
}

.launch-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.launch-choice-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e2d6c5;
    border-radius: 12px;
    padding: 0.5rem 0.62rem;
    background: #fffdf9;
    color: #2b3851;
    font-size: 0.85rem;
    font-weight: 700;
}

.launch-choice-option input {
    width: 1rem;
    height: 1rem;
}

.launch-choice-option.is-disabled {
    opacity: 0.52;
}

.launch-portfolio-teaser {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee4d7;
    display: grid;
    gap: 0.7rem;
}

.launch-portfolio-teaser h3 {
    color: #1f2a41;
    font-size: 0.88rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 800;
}

.launch-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.launch-portfolio-card {
    border: 1px solid #e3d3be;
    border-radius: 14px;
    overflow: hidden;
    background: #f8f2e8;
    min-height: 120px;
}

.launch-portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.launch-portfolio-card img,
.about-arch-frame img,
.about-story-photo img,
.moment-grid img {
    cursor: zoom-in;
}

.image-hover-preview {
    position: fixed;
    width: min(25vw, 420px);
    min-width: 240px;
    max-height: min(62vh, 520px);
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e4d8c8;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(16, 28, 54, 0.22);
    padding: 0.18rem;
    z-index: 950;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.98);
    transition: opacity 140ms ease, transform 140ms ease;
}

.image-hover-preview.is-visible {
    opacity: 1;
}

@media (max-width: 980px), (hover: none), (pointer: coarse) {
    .launch-portfolio-card img,
    .about-arch-frame img,
    .about-story-photo img,
    .moment-grid img {
        cursor: default;
    }

    .image-hover-preview {
        display: none;
    }
}

.launch-value-breakdown {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.3rem;
}

.launch-value-breakdown p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #4f5a6d;
}

.launch-value-breakdown p span {
    position: relative;
    flex: 1;
}

.launch-value-breakdown p span::after {
    content: "........................................";
    position: absolute;
    left: 0;
    right: 0;
    color: #cfbea4;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
}

.launch-value-breakdown p strong {
    position: relative;
    z-index: 2;
    color: #1f2a41;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    padding-left: 0.4rem;
}

.launch-value-emphasis {
    margin-top: 0.7rem;
    color: #1f2a41;
}

.launch-side-divider {
    border: 0;
    border-top: 1px solid #e9dfd2;
    margin: 0.9rem 0;
}

.launch-icon-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #4f5a6d;
    font-size: 0.9rem;
    line-height: 1.55;
}

.launch-icon-list li span:first-child {
    width: 1.4rem;
    text-align: center;
}

.launch-faq {
    margin: 0;
    padding: 1.35rem 0 1.8rem;
    border-top: 1px solid #ece3d8;
}

.launch-faq h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: 1.85rem;
    line-height: 1.06;
    margin-bottom: 0.9rem;
}

.faq-accordion.compact-faq .faq-accordion-item {
    padding: 0.85rem 0.95rem;
}

.faq-accordion.compact-faq .faq-accordion-item summary {
    font-size: 1rem;
}

.faq-accordion.compact-faq .faq-accordion-item p {
    font-size: 0.84rem;
}

.thank-you-main {
    padding: 2.2rem 0 2.7rem;
}

.thank-you-card {
    max-width: 760px;
}

.thank-you-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

@media (max-width: 1120px) {
    .inquiry-layout,
    .launch-layout,
    .launch-glance-grid,
    .launch-page-grid,
    .consultation-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-side-card {
        position: static;
    }

    .launch-promotion-page .inquiry-hero {
        padding-top: 2.4rem;
    }
}

@media (max-width: 760px) {
    .inquiry-page main,
    .consultation-page main,
    .thank-you-page main,
    .inquiry-page .site-header,
    .consultation-page .site-header,
    .thank-you-page .site-header,
    .inquiry-page .site-footer,
    .consultation-page .site-footer,
    .thank-you-page .site-footer {
        width: min(100% - 1rem, 1220px);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .launch-promotion-page .inquiry-hero {
        padding-top: 2rem;
    }

    .launch-glance-grid {
        grid-template-columns: 1fr;
    }

    .launch-choice-grid,
    .launch-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .launch-hero-headline-row {
        gap: 0.55rem;
    }

    .launch-hero-badge {
        font-size: 0.66rem;
    }

    .launch-faq h2 {
        font-size: 1.55rem;
    }
}

/* ---------- Shop, Cart, Success ---------- */

.shop-page {
    --shop-max: 1240px;
    --shop-header-height: 84px;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 14% -8%, rgba(189, 154, 97, 0.14), transparent 33%),
        radial-gradient(circle at 86% 8%, rgba(23, 45, 84, 0.08), transparent 36%),
        #f5f3ef;
    color: #15213a;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.shop-page main {
    width: min(var(--shop-max), calc(100% - 2rem));
    margin-top: calc(var(--shop-header-height) + 1.4rem);
    display: grid;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.shop-page .shop-top-header {
    width: min(var(--shop-max), calc(100% - 2rem));
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #e6dfd4;
    box-shadow: 0 14px 30px rgba(16, 28, 54, 0.08);
    padding: 0.8rem 1.1rem;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
}

body.shop-page.shop-reviews-open > *:not(.shop-review-modal):not(.shop-reviews-modal):not(.shop-preview-modal):not(.cart-drawer),
.review-backdrop-dimmed {
    filter: grayscale(0.32) blur(1px) brightness(0.86) !important;
    opacity: 0.72 !important;
    transition: filter 0.2s ease, opacity 0.2s ease;
    pointer-events: none;
}

body.shop-page.shop-reviews-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 425;
    pointer-events: none;
    background: rgba(246, 241, 233, 0.18);
    backdrop-filter: grayscale(0.35) blur(6px) brightness(0.86);
}

.shop-page .home-nav a[aria-current="page"] {
    color: #1a2235;
}

.shop-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.shop-intro-copy {
    padding: 0.4rem 0;
    display: grid;
    align-content: start;
    gap: 0.85rem;
}

.shop-intro-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(2.35rem, 4vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.shop-intro-copy p:last-child {
    max-width: 58ch;
    color: #526075;
    font-size: 1rem;
    line-height: 1.7;
}

.shop-intro-card {
    border: 1px solid #e6dac8;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 243, 232, 0.96));
    box-shadow: 0 14px 28px rgba(16, 28, 54, 0.06);
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
}

.shop-intro-sale {
    margin: 0;
}

.shop-intro-sale h2 {
    margin-top: 0.25rem;
}

.shop-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.shop-intro-stats article {
    border: 1px solid #e7dac7;
    border-radius: 16px;
    background: #fffdf8;
    padding: 0.85rem 0.8rem;
    display: grid;
    gap: 0.25rem;
}

.shop-intro-stats strong {
    color: #1f2a44;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
}

.shop-intro-stats span {
    color: #667185;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shop-marketplace {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.shop-filter-panel {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    border: 1px solid #e5dacb;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
}

.shop-filter-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #dbcbb3;
    border-radius: 14px;
    background: #fff8ee;
    color: #1f2a44;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 800;
}

.shop-panel-kicker {
    color: #b8915f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 800;
}

.shop-filter-body {
    display: grid;
    gap: 0.82rem;
}

.shop-product-panel {
    border: 1px solid #e6dac8;
    border-radius: 24px;
    background: #fffdfa;
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    overflow: hidden;
}

.shop-product-scroll {
    max-height: 720px;
    overflow-y: auto;
    padding: 1rem;
    display: grid;
    align-content: start;
    gap: 1rem;
    scrollbar-gutter: stable;
}

.shop-product-scroll #shop-grid {
    display: grid;
    gap: 1rem;
}

.shop-collection-section {
    display: grid;
    gap: 0.75rem;
}

.shop-collection-header p {
    color: #7e5e2e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
}

.shop-reviews,
.shop-review-form,
.shop-faq,
.shop-newsletter {
    display: grid;
    gap: 0.9rem;
}

.shop-reviews h2,
.shop-review-form h2,
.shop-faq h2,
.shop-newsletter h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1e2a43;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.shop-reviews-strip {
    border: 1px solid #e4d2b5;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff8eb, #f8ecd8);
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-review-form-grid {
    border: 1px solid #e5dacb;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 10px 24px rgba(16, 28, 54, 0.05);
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.shop-review-form-grid label {
    display: grid;
    gap: 0.35rem;
    color: #34435c;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.shop-review-form-grid input,
.shop-review-form-grid select,
.shop-review-form-grid textarea {
    border: 1px solid #ddcfbb;
    border-radius: 12px;
    background: #fffbf4;
    color: #1d2840;
    padding: 0.68rem 0.75rem;
    font-size: 0.92rem;
}

.shop-review-form-grid textarea {
    min-height: 140px;
    resize: vertical;
}

.shop-review-textarea {
    grid-column: 1 / -1;
}

.shop-review-form-grid .button {
    justify-self: start;
}

.shop-newsletter {
    border: 1px solid #e5dacb;
    margin: 1rem 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 10px 24px rgba(16, 28, 54, 0.05);
    padding: 1rem;
}

.shop-footer {
    margin: 1rem auto 1.5rem;
}

.shop-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.shop-cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid #dbcbb3;
    background: #fdf6ea;
    color: #1f2a44;
    padding: 0.58rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.shop-cart-count {
    min-width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8bd8c;
    background: #fff;
    color: #7d5a2a;
    font-size: 0.7rem;
}

.shop-shell {
    margin-top: calc(var(--shop-header-height) + 1.6rem);
    height: auto;
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 0.95rem;
}

.shop-sidebar,
.shop-content {
    margin: 0;
    min-height: 0;
}

.shop-sidebar {
    border: 1px solid #e5dacb;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    overflow: hidden;
}

.shop-sidebar-inner {
    height: auto;
    overflow: visible;
    padding: 1.1rem 1rem;
    display: grid;
    gap: 0.82rem;
}

.shop-kicker {
    color: #b8915f;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    font-weight: 800;
}

.shop-sidebar h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 2.3vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #1c273e;
}

.shop-sidebar-subline {
    color: #5d6677;
    font-size: 0.9rem;
    line-height: 1.6;
}

.shop-filter-label,
.shop-filter-group legend {
    color: #34435c;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.shop-sidebar input[type="search"],
.shop-sort-select,
.promo-row input {
    width: 100%;
    border: 1px solid #ddcfbb;
    border-radius: 12px;
    background: #fffbf4;
    color: #1d2840;
    padding: 0.62rem 0.75rem;
    font-size: 0.86rem;
    font-weight: 600;
}

.shop-sidebar input[type="search"]:focus-visible,
.shop-sort-select:focus-visible,
.promo-row input:focus-visible {
    outline: none;
    border-color: #1f2a44;
    box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.14);
}

.shop-filter-group {
    border: 1px solid #e6dbcc;
    border-radius: 14px;
    padding: 0.75rem 0.7rem;
    background: #fffefb;
    display: grid;
    gap: 0.45rem;
}

.shop-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.shop-chip {
    border: 1px solid #ddcfbb;
    border-radius: 999px;
    background: #fff8ef;
    color: #1d2840;
    padding: 0.3rem 0.6rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.shop-chip.is-active {
    background: #1f2a44;
    border-color: #1f2a44;
    color: #fff;
}

.shop-checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    color: #4f5a6e;
    font-size: 0.84rem;
    font-weight: 600;
}

.shop-content {
    border: 1px solid #e5dacb;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(252, 247, 239, 0.98));
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    display: grid;
    grid-template-rows: auto auto;
    overflow: hidden;
}

.shop-toolbar {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e8ddcf;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-count {
    color: #36445e;
    font-size: 0.86rem;
    font-weight: 700;
}

.shop-toolbar-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-toolbar-controls label {
    color: #4d5b74;
    font-size: 0.82rem;
    font-weight: 700;
}

.shop-scroll-region {
    overflow: visible;
    padding: 0.9rem 1rem 1rem;
    display: grid;
    align-content: start;
    gap: 1rem;
}

.shop-launch-sale {
    border: 1px solid #e4d2b5;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff8eb, #f8ecd8);
    padding: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-launch-sale h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1d2a44;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.shop-launch-sale p {
    color: #5f6878;
    font-size: 0.9rem;
    line-height: 1.55;
}

.sale-badge {
    border-radius: 14px;
    border: 1px solid #d8be91;
    background: #fff3dc;
    color: #74542a;
    padding: 0.55rem 0.7rem;
    min-width: 126px;
    text-align: center;
}

.sale-badge span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    font-weight: 800;
}

.sale-badge strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    margin-top: 0.15rem;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.shop-product-card {
    border: 1px solid #e7dbc9;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 8px 20px rgba(16, 28, 54, 0.045);
    overflow: hidden;
    display: grid;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    border-color: #d4b98b;
    box-shadow: 0 14px 26px rgba(16, 28, 54, 0.08);
}

.shop-product-preview {
    min-height: 170px;
    padding: 0.75rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background:
        radial-gradient(circle at 84% 16%, rgba(184, 145, 95, 0.42), transparent 38%),
        linear-gradient(145deg, #25324d, #1a253d);
}

.shop-product-preview span {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    color: #1f2a44;
    font-size: 0.76rem;
    font-weight: 800;
}

.discount-pill {
    margin-left: auto;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid #d8bd8b;
    background: #fff4de;
    color: #71552d;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.22rem 0.45rem;
}

.shop-product-content {
    padding: 0.75rem;
    display: grid;
    gap: 0.45rem;
}

.shop-category-badge {
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #e1d1ba;
    background: #f9f0e1;
    color: #6d5832;
    padding: 0.15rem 0.5rem;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shop-product-content h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    color: #1c2841;
    font-size: 1.08rem;
    line-height: 1.16;
}

.shop-description {
    color: #5b6577;
    font-size: 0.82rem;
    line-height: 1.5;
}

.shop-reviews-row {
    color: #2f3f5c;
    font-size: 0.74rem;
    font-weight: 700;
}

.shop-review-caption {
    display: block;
    margin-top: 0.2rem;
    color: #697384;
    font-weight: 600;
}

.shop-price-row {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.shop-price-row .original {
    color: #8a7f70;
    text-decoration: line-through;
    font-size: 0.8rem;
    font-weight: 700;
}

.shop-price-row strong {
    color: #1f2a44;
    font-size: 1rem;
    font-weight: 800;
}

.shop-card-actions {
    margin-top: 0.2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 0.4rem;
}

.shop-card-actions .button {
    padding: 0.55rem 0.5rem;
    font-size: 0.74rem;
}

.wishlist-toggle {
    border: 1px solid #dbcbb3;
    border-radius: 10px;
    background: #fff8ef;
    color: #6f5630;
    font-size: 1rem;
    min-width: 2rem;
}

.wishlist-toggle.is-active {
    background: #1f2a44;
    border-color: #1f2a44;
    color: #fff;
}

.shop-note-card {
    border: 1px solid #e5dacb;
    border-radius: 16px;
    background: #fffdf9;
    padding: 0.9rem;
}

.shop-note-card h3,
.shop-reviews h2,
.shop-faq h2,
.shop-newsletter h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1e2a43;
}

.shop-note-card p,
.shop-newsletter p {
    margin-top: 0.35rem;
    color: #5d687a;
    font-size: 0.87rem;
    line-height: 1.6;
}

.shop-newsletter {
    border: 1px solid #e5dacb;
    border-radius: 16px;
    background: #fffdf9;
    padding: 0.9rem;
}

.shop-newsletter-form {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.shop-newsletter-form input {
    flex: 1;
    min-width: 220px;
    border: 1px solid #ddcfbb;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
}

.shop-footer {
    width: 100%;
    margin: 0;
    padding: 0.95rem 0.2rem 0;
    border-top: 1px solid #e8ddcf;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 400;
}

.cart-drawer.is-open {
    pointer-events: auto;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 27, 47, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cart-drawer.is-open .cart-overlay {
    opacity: 1;
}

.cart-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: min(420px, 92vw);
    height: 100%;
    background: #fffdf9;
    border-left: 1px solid #e4d8c7;
    box-shadow: -16px 0 28px rgba(16, 28, 54, 0.12);
    transform: translateX(100%);
    transition: transform 0.24s ease;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.cart-drawer.is-open .cart-panel {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8ddcf;
    padding: 0.95rem;
}

.cart-header h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a44;
    font-size: 1.5rem;
}

.cart-close {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    color: #46536b;
}

.cart-items {
    padding: 0.9rem;
    overflow-y: auto;
    display: grid;
    align-content: start;
    gap: 0.7rem;
}

.cart-line {
    border: 1px solid #e5dacb;
    border-radius: 14px;
    padding: 0.72rem;
    background: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

.cart-line h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #1f2a44;
}

.cart-line p {
    margin-top: 0.2rem;
    color: #657082;
    font-size: 0.78rem;
}

.cart-line-controls {
    margin-top: 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-line-controls button {
    border: 1px solid #d9c8ad;
    border-radius: 8px;
    background: #fff8ee;
    color: #26344f;
    padding: 0.2rem 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-line-controls span {
    color: #1f2a44;
    font-size: 0.8rem;
    font-weight: 800;
    min-width: 1.2rem;
    text-align: center;
}

.cart-empty {
    color: #5c677a;
    font-size: 0.88rem;
    line-height: 1.55;
}

.cart-summary {
    border-top: 1px solid #e8ddcf;
    padding: 0.95rem;
    display: grid;
    gap: 0.5rem;
}

.cart-summary p,
.summary-lines p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4d5a72;
    font-size: 0.84rem;
}

.cart-summary strong,
.summary-lines strong {
    color: #1f2a44;
    font-size: 0.88rem;
}

.cart-total,
.summary-total {
    border-top: 1px solid #ece2d3;
    padding-top: 0.5rem;
}

.cart-total strong,
.summary-total strong {
    font-size: 1.02rem;
}

.cart-actions,
.cart-page-actions {
    display: grid;
    gap: 0.45rem;
}

.no-page-scroll {
    overflow: hidden;
}

.cart-page,
.success-page {
    height: auto;
    min-height: 100vh;
    overflow: auto;
}

.cart-main,
.success-main {
    margin-top: 6.2rem;
    padding-bottom: 1.4rem;
}

.cart-hero,
.success-hero {
    margin: 0;
    padding: 1.2rem 0;
    border-bottom: 1px solid #ece3d8;
}

.cart-hero h1,
.success-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.02;
}

.cart-layout {
    margin: 0;
    padding: 1.1rem 0;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
    gap: 0.95rem;
    align-items: start;
}

.cart-page-items,
.cart-page-summary,
.success-card {
    border: 1px solid #e5dacb;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 10px 24px rgba(16, 28, 54, 0.05);
    padding: 0.95rem;
}

.cart-page-line {
    border: 1px solid #e5dacb;
    border-radius: 14px;
    background: #fff;
    padding: 0.78rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.cart-page-line h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    color: #1f2a44;
}

.cart-page-line p {
    margin-top: 0.2rem;
    color: #657082;
    font-size: 0.8rem;
}

.cart-page-summary h2,
.success-card h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1f2a44;
}

.promo-row {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}

.promo-feedback {
    margin-top: 0.35rem;
    min-height: 1.1rem;
    color: #7a3d32;
    font-size: 0.78rem;
    font-weight: 700;
}

.promo-feedback.is-success {
    color: #2f6540;
}

.summary-lines {
    margin-top: 0.55rem;
    display: grid;
    gap: 0.35rem;
}

.secure-badges {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.secure-badges span {
    border: 1px solid #dfd2be;
    border-radius: 999px;
    background: #fff8ef;
    color: #5d6880;
    padding: 0.24rem 0.52rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.success-card {
    margin: 1.1rem 0 0;
}

.success-order-grid {
    display: grid;
    gap: 0.6rem;
}

.success-order-item {
    border: 1px solid #e5dacb;
    border-radius: 14px;
    background: #fff;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.success-order-item h3 {
    margin: 0;
    color: #1f2a44;
    font-size: 1rem;
}

.success-order-item p {
    margin-top: 0.2rem;
    color: #647184;
    font-size: 0.8rem;
}

.success-email-note {
    margin-top: 0.7rem;
    color: #5b6779;
    font-size: 0.86rem;
    line-height: 1.56;
}

.success-actions {
    margin-top: 0.8rem;
}

.checkout-success-page {
    position: relative;
    isolation: isolate;
}

.checkout-fireworks-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
}

.checkout-success-page .site-header,
.checkout-success-page .checkout-success-main {
    position: relative;
    z-index: 1;
}

.checkout-success-main {
    min-height: calc(100vh - 7.2rem);
}

.checkout-success-hero,
.checkout-success-card {
    backdrop-filter: blur(1.2px);
}

.checkout-success-grid {
    display: grid;
    gap: 0.65rem;
}

.checkout-success-actions {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 760px) {
    .checkout-success-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-fireworks-canvas {
        display: none;
    }
}

@media (max-width: 1180px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .shop-page {
        height: auto;
        overflow: auto;
    }

    .shop-page main {
        margin-top: 0.9rem;
    }

    .shop-intro,
    .shop-marketplace {
        grid-template-columns: 1fr;
    }

    .shop-filter-panel {
        position: relative;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .shop-filter-toggle {
        display: inline-flex;
    }

    .shop-filter-panel.is-collapsed .shop-filter-body {
        display: none;
    }

    .shop-product-scroll {
        max-height: none;
        overflow: visible;
    }

    .shop-page .shop-top-header {
        position: static;
        transform: none;
        margin: 1rem auto 0;
    }

    .shop-intro-copy h1 {
        max-width: none;
    }

    .shop-intro-stats,
    .shop-review-form-grid {
        grid-template-columns: 1fr;
    }

    .shop-reviews-strip,
    .shop-launch-sale {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .shop-page main,
    .shop-page .site-header,
    .shop-page .site-footer {
        width: min(100% - 1rem, 1240px);
    }

    .shop-page .shop-top-header {
        align-items: flex-start;
        gap: 0.8rem;
    }

    .shop-page .home-nav {
        justify-content: flex-start;
    }

    .shop-intro-copy h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-product-scroll {
        max-height: none;
    }

    .shop-footer {
        margin-top: 0.5rem;
    }

    .shop-card-actions {
        grid-template-columns: 1fr;
    }

    .promo-row {
        grid-template-columns: 1fr;
    }

    .success-order-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------- Shop premium overrides ---------- */

.shop-page main {
    margin-top: calc(var(--shop-header-height) + 0.9rem);
    display: grid;
    gap: 0.45rem;
    padding-bottom: 1rem;
}

.shop-intro {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 0.85rem;
    align-items: start;
}

.shop-marketplace {
    margin: 0;
}

.shop-intro-copy {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

.shop-intro-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(1.95rem, 2.9vw, 2.75rem);
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 14ch;
}

.shop-intro-copy p:last-child {
    max-width: 62ch;
    color: #5d6879;
    font-size: 0.95rem;
    line-height: 1.65;
}

.shop-intro-aside {
    display: grid;
    gap: 0.65rem;
}

.shop-intro-banner {
    border: 1px solid #e5d7c1;
    margin-top: 0.6rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #fff8eb, #f8edd9);
    padding: 0.6rem 0.9rem;
    display: grid;
    gap: 0.18rem;
    box-shadow: 0 12px 24px rgba(16, 28, 54, 0.05);
}

.shop-intro-banner strong {
    color: #1f2a44;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
}

.shop-intro-banner span {
    color: #687283;
    font-size: 0.84rem;
}

.shop-intro-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.shop-intro-stats article {
    border: 1px solid #e6dac8;
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.94);
    padding: 0.75rem 0.8rem;
    display: grid;
    gap: 0.15rem;
    box-shadow: 0 10px 20px rgba(16, 28, 54, 0.04);
}

.shop-intro-stats strong {
    color: #1f2a44;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
}

.shop-intro-stats span {
    color: #667185;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-marketplace {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.shop-filter-panel {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    border: 1px solid #e5dacb;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    padding: 0.9rem;
    display: grid;
    gap: 0.78rem;
}

.shop-filter-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #dbcbb3;
    border-radius: 999px;
    background: #fff8ee;
    color: #1f2a44;
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 800;
}

.shop-panel-kicker {
    color: #b8915f;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 800;
}

.shop-filter-body {
    display: grid;
    gap: 0.72rem;
}

.shop-search-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    border: 1px solid #e1d4c0;
    border-radius: 999px;
    background: #f8f3eb;
    padding: 0.2rem 0.35rem 0.2rem 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.shop-search-shell:focus-within {
    border-color: #b8915f;
    box-shadow: 0 0 0 3px rgba(184, 145, 95, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transform: translateY(-1px);
}

.shop-search-shell input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #1d2840;
    padding: 0.45rem 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.shop-search-shell input::placeholder {
    color: #8b907e;
}

.shop-search-shell input:focus-visible {
    outline: none;
    box-shadow: none;
}

.shop-search-icon {
    color: #7c8072;
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.shop-search-icon svg {
    width: 100%;
    height: 100%;
}

.shop-search-clear {
    width: 1.65rem;
    height: 1.65rem;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 42, 68, 0.08);
    color: #1f2a44;
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.shop-search-clear:hover {
    background: rgba(184, 145, 95, 0.16);
}

.shop-product-panel {
    border: 1px solid #e6dac8;
    border-radius: 24px;
    background: #fffdfa;
    box-shadow: 0 12px 28px rgba(16, 28, 54, 0.05);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.shop-toolbar {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e8ddcf;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(10px);
}

.shop-product-scroll {
    max-height: 680px;
    overflow-y: auto;
    padding: 0.35rem 0.75rem 0.75rem;
    display: grid;
    align-content: start;
    gap: 0.75rem;
    scrollbar-gutter: stable;
}

.shop-product-scroll #shop-grid {
    display: grid;
    margin: 0;
    gap: 0.75rem;
}

.shop-collection-section {
    display: grid;
    margin: 0;
    gap: 0.6rem;
}

.shop-collection-header p {
    color: #7e5e2e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 800;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.shop-product-card {
    position: relative;
    border: 1px solid #e7dbc9;
    border-radius: 20px;
    background: #fffdf9;
    box-shadow: 0 10px 22px rgba(16, 28, 54, 0.045);
    overflow: hidden;
    display: grid;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    border-color: #d4b98b;
    box-shadow: 0 18px 34px rgba(16, 28, 54, 0.12);
}

.shop-product-media {
    position: relative;
    padding: 0.85rem;
    background: #1f2a44;
}

.shop-product-preview {
    position: relative;
    min-height: 190px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #25324d, #1a253d);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.shop-product-preview.cover-theme-planner { background: linear-gradient(140deg, #f5e7cf, #e9d5b2 45%, #cfae76); }
.shop-product-preview.cover-theme-code { background: linear-gradient(145deg, #23314d, #111c33 62%, #1a2a47); }
.shop-product-preview.cover-theme-dashboard { background: linear-gradient(145deg, #f7ede0, #dfe6ea 50%, #b8c6d0); }
.shop-product-preview.cover-theme-faith { background: linear-gradient(145deg, #183024, #0d1d16 70%, #234537); }
.shop-product-preview.cover-theme-career { background: linear-gradient(145deg, #ead9bd, #dbc09c 55%, #c4a47c); }
.shop-product-preview.cover-theme-wellness { background: linear-gradient(145deg, #2f4a3b, #18261f 68%, #3c5d4d); }
.shop-product-preview.cover-theme-bundle { background: linear-gradient(145deg, #242f46, #10192d 65%, #1f2a44); }
.shop-product-preview.cover-theme-editorial { background: linear-gradient(145deg, #ece0d0, #d8c6ad 55%, #c1a47d); }

.shop-cover-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shop-cover-art::before,
.shop-cover-art::after {
    content: "";
    position: absolute;
    inset: 0;
}

.shop-cover-art::before {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.28), transparent 26%),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(160deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 51%, transparent 51% 100%);
}

.shop-cover-art::after {
    background: linear-gradient(130deg, transparent 0 52%, rgba(255, 255, 255, 0.12) 52% 54%, transparent 54% 100%);
    mix-blend-mode: soft-light;
}

.shop-cover-orb,
.shop-cover-panel,
.shop-cover-card,
.shop-cover-lines,
.shop-cover-grid {
    position: absolute;
    display: block;
    border-radius: 18px;
}

.shop-cover-orb {
    width: 92px;
    height: 92px;
    right: 14px;
    top: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.18) 60%, transparent 61%);
    opacity: 0.9;
}

.shop-cover-panel {
    left: 18px;
    bottom: 18px;
    width: 52%;
    height: 28%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(4px);
}

.shop-cover-card {
    right: 16px;
    bottom: 16px;
    width: 38%;
    height: 40%;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 22px rgba(16, 28, 54, 0.16);
    transform: rotate(-3deg);
}

.shop-cover-lines {
    left: 18px;
    top: 20px;
    width: 42%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 20px 0 rgba(255, 255, 255, 0.5), 0 40px 0 rgba(255, 255, 255, 0.28);
}

.shop-cover-grid {
    right: 16px;
    top: 20px;
    width: 42%;
    height: 46%;
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 18px 18px;
    opacity: 0.65;
}

.discount-ribbon {
    position: absolute;
    top: 18px;
    right: -44px;
    width: 160px;
    transform: rotate(45deg);
    background: #b8915f;
    color: #fff;
    text-align: center;
    padding: 0.35rem 0;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(16, 28, 54, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wishlist-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #6f5630;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(16, 28, 54, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wishlist-toggle:hover {
    transform: scale(1.06);
    color: #b8915f;
}

.wishlist-toggle.is-active {
    background: #b8915f;
    color: #fff;
    border-color: #b8915f;
}

.shop-product-card:hover .wishlist-toggle {
    box-shadow: 0 10px 20px rgba(16, 28, 54, 0.14);
}

.shop-product-card:hover .shop-cover-art {
    transform: scale(1.025);
    transition: transform 0.22s ease;
}

.shop-product-content {
    padding: 0.9rem 0.95rem 1rem;
    display: grid;
    gap: 0.48rem;
}

.shop-category-badge {
    width: fit-content;
    border-radius: 999px;
    border: 1px solid #e1d1ba;
    background: #f9f0e1;
    color: #6d5832;
    padding: 0.18rem 0.55rem;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.shop-product-content h3 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    color: #1c2841;
    font-size: 1.08rem;
    line-height: 1.15;
}

.shop-description {
    color: #5b6577;
    font-size: 0.82rem;
    line-height: 1.5;
}

.shop-reviews-row {
    color: #2f3f5c;
    font-size: 0.74rem;
    font-weight: 700;
}

.shop-card-tags,
.shop-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.shop-card-tags span,
.shop-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.24rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.shop-card-tags span {
    border: 1px solid #e5dacb;
    background: #fffdf7;
    color: #5c677a;
}

.shop-badge-free,
.shop-badge-new,
.shop-badge-bundle,
.shop-badge-best,
.shop-badge-sale,
.shop-badge-updated {
    border: 1px solid #e4d3ba;
    background: #f9f2e6;
    color: #74542a;
}

.shop-price-stack {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.shop-price-stack .original {
    color: #8a7f70;
    text-decoration: line-through;
    font-size: 0.8rem;
    font-weight: 700;
}

.shop-price-stack strong {
    color: #1f2a44;
    font-size: 1rem;
    font-weight: 800;
}

.shop-card-actions {
    margin-top: 0.15rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.45rem;
}

.shop-card-actions .button {
    padding: 0.58rem 0.5rem;
    font-size: 0.74rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card-actions .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(16, 28, 54, 0.1);
}

.shop-reviews,
.shop-review-form,
.shop-faq,
.shop-newsletter {
    display: grid;
    gap: 0.65rem;
}

.shop-reviews-strip {
    border: 1px solid #e4d2b5;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff8eb, #f8ecd8);
    padding: 0.85rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.shop-review-summary {
    color: #687283;
    font-size: 0.9rem;
}

.shop-review-score {
    text-align: right;
    display: grid;
    gap: 0.08rem;
}

.shop-review-score strong {
    color: #1c273e;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1;
}

.shop-review-score span {
    color: #b8915f;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.shop-review-score small {
    color: #7a828f;
    font-size: 0.78rem;
    font-weight: 700;
}

.shop-review-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.shop-review-card {
    border: 1px solid #e5dacb;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 8px 18px rgba(16, 28, 54, 0.04);
    padding: 0.85rem;
    display: grid;
    gap: 0.4rem;
}

.shop-review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #1f2a44;
    font-weight: 800;
}

.shop-review-card p {
    color: #5d687a;
    font-size: 0.88rem;
    line-height: 1.6;
}

.shop-leave-review-button {
    width: fit-content;
}

.shop-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.shop-review-form-grid {
    border: 1px solid #e5dacb;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 10px 24px rgba(16, 28, 54, 0.05);
    padding: 0.95rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.shop-review-form-grid label {
    display: grid;
    gap: 0.3rem;
    color: #34435c;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.shop-review-form-grid input,
.shop-review-form-grid select,
.shop-review-form-grid textarea {
    border: 1px solid #ddcfbb;
    border-radius: 12px;
    background: #fffbf4;
    color: #1d2840;
    padding: 0.65rem 0.75rem;
    font-size: 0.92rem;
}

.shop-review-form-grid textarea {
    min-height: 140px;
    resize: vertical;
}

.shop-review-textarea {
    grid-column: 1 / -1;
}

.shop-review-form-grid .button {
    justify-self: start;
}

.shop-review-modal,
.shop-reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 430;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.shop-review-modal.is-open,
.shop-reviews-modal.is-open {
    display: flex;
}

.shop-review-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 25, 41, 0.54);
    backdrop-filter: blur(6px);
}

.shop-review-dialog,
.shop-reviews-dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(90vh, 860px);
    overflow: hidden;
    border: 1px solid #eadcc8;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 30px 70px rgba(16, 28, 54, 0.24);
    padding: 1rem;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.85rem;
}

.shop-reviews-dialog {
    width: min(880px, 100%);
}

.shop-review-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 42, 68, 0.08);
    color: #1f2a44;
    font-size: 1.4rem;
    z-index: 2;
}

.shop-review-dialog-head {
    display: grid;
    gap: 0.35rem;
    padding-right: 2.4rem;
    margin-bottom: 1rem;
}

.shop-review-dialog-head h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.05;
}

.shop-review-dialog-head p:last-child {
    color: #5d6879;
    line-height: 1.6;
}

.shop-review-stars-block {
    display: grid;
    gap: 0.45rem;
    align-content: start;
    grid-column: 1 / -1;
}

.shop-review-stars-block > span {
    color: #34435c;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.shop-star-rating {
    display: inline-flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.shop-star-button {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e0cfb5;
    border-radius: 50%;
    background: #fff8ee;
    color: #b8915f;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shop-star-button:hover,
.shop-star-button.is-active {
    background: #b8915f;
    color: #fff;
    border-color: #b8915f;
    box-shadow: 0 10px 18px rgba(184, 145, 95, 0.18);
    transform: translateY(-1px);
}

.shop-review-list-item {
    border: 1px solid #e5dacb;
    border-radius: 18px;
    background: #fffdf9;
    box-shadow: 0 8px 18px rgba(16, 28, 54, 0.04);
    padding: 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.shop-review-list-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.shop-review-list-top strong,
.shop-review-list-item h3,
.shop-review-card .shop-review-title {
    color: #1f2a44;
}

.shop-review-list-top span {
    display: block;
    color: #7b8596;
    font-size: 0.78rem;
    margin-top: 0.15rem;
}

.shop-review-list-top p {
    color: #b8915f;
    font-size: 0.9rem;
    font-weight: 800;
}

.shop-review-list-item p {
    color: #5d687a;
    line-height: 1.6;
}

.shop-reviews-list {
    display: grid;
    gap: 0.65rem;
    overflow: auto;
    min-height: 0;
    padding-right: 0.15rem;
}

.shop-review-form-grid .shop-review-textarea {
    grid-column: 1 / -1;
}

.shop-review-dialog-form {
    gap: 0.8rem;
}

.shop-review-dialog-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.shop-review-card .shop-review-title {
    color: #1c273e;
    font-size: 0.92rem;
    font-weight: 800;
}

.shop-section-divider {
    width: 100%;
    height: 1px;
    background: rgba(184, 145, 95, 0.18);
}

.shop-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 420;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.shop-preview-modal.is-open {
    display: flex;
}

.shop-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 25, 41, 0.54);
    backdrop-filter: blur(6px);
}

.shop-preview-dialog {
    position: relative;
    width: min(1080px, 100%);
    max-height: min(92vh, 980px);
    overflow: auto;
    border: 1px solid #eadcc8;
    border-radius: 28px;
    background: linear-gradient(180deg, #fffdfa, #fcf8f1);
    box-shadow: 0 30px 70px rgba(16, 28, 54, 0.24);
    padding: 1rem;
}

.shop-preview-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 42, 68, 0.08);
    color: #1f2a44;
    font-size: 1.4rem;
    z-index: 2;
}

.shop-preview-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 1rem;
}

.shop-preview-media {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.shop-preview-cover {
    min-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #1f2a44;
    box-shadow: 0 20px 34px rgba(16, 28, 54, 0.18);
}

.shop-preview-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.shop-preview-thumb {
    border-radius: 18px;
    min-height: 110px;
    display: grid;
    place-items: end start;
    padding: 0.8rem;
    border: 1px solid #eadcc8;
    background: linear-gradient(145deg, #fff8eb, #efe2cf);
    color: #1f2a44;
    box-shadow: 0 10px 20px rgba(16, 28, 54, 0.05);
}

.shop-preview-thumb span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-preview-thumb-code {
    background: linear-gradient(145deg, #23314d, #10182b);
    color: #fff;
}

.shop-preview-thumb-dashboard {
    background: linear-gradient(145deg, #f7ede0, #dfe6ea);
}

.shop-preview-thumb-faith {
    background: linear-gradient(145deg, #183024, #0d1d16);
    color: #fff;
}

.shop-preview-thumb-planner,
.shop-preview-thumb-editorial,
.shop-preview-thumb-career,
.shop-preview-thumb-wellness,
.shop-preview-thumb-bundle {
    background: linear-gradient(145deg, #f4e8d6, #e5d1b3);
}

.shop-preview-copy {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.shop-preview-copy h2 {
    font-family: "Playfair Display", Georgia, serif;
    color: #1c273e;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    line-height: 1;
}

.shop-preview-copy > p {
    color: #5d6879;
    line-height: 1.6;
}

.shop-preview-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.shop-preview-mini-stats span {
    border: 1px solid #e5dacb;
    background: #fffdf7;
    color: #5d687a;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 800;
}

.shop-preview-section h3 {
    color: #1c273e;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.shop-preview-includes,
.shop-preview-pages,
.shop-preview-related {
    display: grid;
    gap: 0.55rem;
}

.shop-preview-includes li {
    color: #5d6879;
    font-size: 0.88rem;
    line-height: 1.5;
    list-style: none;
    padding-left: 1rem;
    position: relative;
}

.shop-preview-includes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #b8915f;
}

.shop-preview-page,
.shop-related-item {
    border: 1px solid #e5dacb;
    border-radius: 16px;
    background: #fffdf9;
    padding: 0.75rem;
    box-shadow: 0 8px 18px rgba(16, 28, 54, 0.04);
}

.shop-preview-page strong,
.shop-related-item strong {
    display: block;
    color: #1f2a44;
    font-size: 0.9rem;
}

.shop-preview-page span,
.shop-related-item span {
    color: #697384;
    font-size: 0.76rem;
}

.shop-preview-empty {
    color: #697384;
    font-size: 0.88rem;
}

.shop-preview-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.shop-preview-actions .button {
    width: 100%;
}

@media (max-width: 1180px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .shop-page main {
        margin-top: 0.8rem;
    }

    .shop-intro,
    .shop-marketplace,
    .shop-preview-grid {
        grid-template-columns: 1fr;
    }

    .shop-intro-stats,
    .shop-review-cards,
    .shop-review-form-grid {
        grid-template-columns: 1fr;
    }

    .shop-filter-panel {
        position: relative;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .shop-filter-toggle {
        display: inline-flex;
    }

    .shop-filter-panel.is-collapsed .shop-filter-body {
        display: none;
    }

    .shop-product-scroll {
        max-height: none;
        overflow: visible;
    }

    .shop-preview-cover {
        min-height: 320px;
    }

    .shop-reviews-strip,
    .shop-intro-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .shop-page main,
    .shop-page .site-header,
    .shop-page .site-footer {
        width: min(100% - 1rem, 1240px);
    }

    .shop-grid,
    .shop-review-cards,
    .shop-preview-gallery,
    .shop-preview-actions {
        grid-template-columns: 1fr;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-footer {
        margin-top: 0.35rem;
    }

    .shop-preview-dialog {
        padding: 0.85rem;
    }

    .shop-card-actions {
        grid-template-columns: 1fr;
    }
}