/* =========================================================
   AsianBridgeLove - design system
   Traditional luxury meets modern product UI
   ========================================================= */

:root {
    /* Palette */
    --navy-900: #0C1528;
    --navy-800: #101B33;
    --navy-700: #16233F;
    --navy-600: #1E3055;
    --navy-500: #2B416C;

    --gold: #D4AF37;
    --gold-soft: #E8CE84;
    --gold-deep: #7E5E15;
    --gold-wash: rgba(212, 175, 55, 0.14);

    --crimson: #8B0000;
    --crimson-soft: #A82626;

    --cream: #FAF6EE;
    --cream-deep: #F1E9DA;
    --ivory: #FFFFF0;
    --charcoal: #202020;
    --charcoal-soft: #2A2A2A;

    --ink: #16203A;
    --body: #3E4761;
    --muted: #5A6379;
    --muted-invert: #D9DEEA;

    /* Typography */
    --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --font-ui: "Montserrat", "Helvetica Neue", Arial, sans-serif;

    --fs-h1: clamp(2.1rem, 1.35rem + 3.4vw, 3.9rem);
    --fs-h2: clamp(1.7rem, 1.2rem + 2.1vw, 2.7rem);
    --fs-h3: clamp(1.15rem, 1.02rem + 0.5vw, 1.45rem);
    --fs-lead: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Layout */
    --container: 1240px;
    --gutter: clamp(1rem, 3vw, 2.25rem);
    --section-y: clamp(3.25rem, 6vw, 6rem);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 18px;

    --shadow-soft: 0 14px 34px rgba(16, 27, 51, 0.10);
    --shadow-card: 0 18px 44px rgba(16, 27, 51, 0.14);
    --shadow-dark: 0 22px 50px rgba(4, 9, 20, 0.45);
    --glow-gold: 0 0 34px rgba(212, 175, 55, 0.35);

    --header-bottom: 68px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--body);
    font-family: var(--font-ui);
    font-size: var(--fs-body);
    line-height: 1.72;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.16;
    margin: 0 0 0.6em;
    font-weight: 600;
    letter-spacing: 0.005em;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: 1.05rem; font-family: var(--font-ui); font-weight: 600; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--crimson); }
a:hover { color: var(--crimson-soft); }

ul, ol { padding-left: 1.15rem; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 200;
    background: var(--navy-800);
    color: var(--ivory);
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0.75rem; }

.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--section-y);
}
.section--cream { background: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.section--navy { background: var(--navy-800); color: var(--muted-invert); }
.section--charcoal { background: var(--charcoal); color: var(--muted-invert); }
.section--gold {
    background: linear-gradient(120deg, #C9A03A 0%, #E3C877 45%, #C9A03A 100%);
    color: var(--navy-900);
}

.section--navy h2, .section--navy h3,
.section--charcoal h2, .section--charcoal h3 { color: var(--ivory); }
.section--navy .section-head__lead,
.section--charcoal .section-head__lead { color: var(--muted-invert); }
.section--navy .eyebrow,
.section--charcoal .eyebrow { color: var(--gold-soft); }
.section--navy a:not(.btn):not(.category-pill):not(.link-card),
.section--charcoal a:not(.btn):not(.category-pill):not(.link-card) { color: var(--gold-soft); }

.section--navy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 10%, rgba(43, 65, 108, 0.55), transparent 70%);
    pointer-events: none;
}
.section--navy > * { position: relative; z-index: 1; }

.eyebrow {
    font-family: var(--font-ui);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold-deep);
    margin: 0 0 0.7rem;
}
.eyebrow--gold { color: var(--gold-soft); }

.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head--center { text-align: center; margin-inline: auto; max-width: 62ch; }
.section-head--left { text-align: left; max-width: 62ch; }
.section-head__title { margin-bottom: 0.45rem; }
.section-head__rule {
    display: block;
    width: 88px;
    height: 2px;
    margin: 0.9rem 0 1rem;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head--center .section-head__rule { margin-inline: auto; }
.section-head__lead { color: var(--muted); font-size: var(--fs-lead); margin: 0; }

.prose > * + * { margin-top: 1.05rem; }
.prose h3 { margin-top: 1.9rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--crimson);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--start { align-items: start; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--font-ui);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold {
    background: linear-gradient(135deg, #E3C877 0%, #D4AF37 52%, #B99026 100%);
    color: var(--navy-900);
    border-color: rgba(255, 255, 240, 0.35);
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.28);
}
.btn--gold:hover { box-shadow: 0 12px 32px rgba(212, 175, 55, 0.42), var(--glow-gold); color: var(--navy-900); }

.btn--outline {
    background: transparent;
    color: var(--ivory);
    border-color: rgba(212, 175, 55, 0.75);
}
.btn--outline:hover { background: rgba(212, 175, 55, 0.14); color: var(--ivory); }

.btn--ghost {
    background: transparent;
    color: var(--navy-700);
    border-color: rgba(22, 35, 63, 0.3);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--navy-800); }

.btn--dark {
    background: var(--navy-800);
    color: var(--ivory);
    border-color: rgba(212, 175, 55, 0.4);
}
.btn--dark:hover { background: var(--navy-700); color: var(--ivory); }

.btn--crimson {
    background: var(--crimson);
    color: var(--ivory);
}
.btn--crimson:hover { background: var(--crimson-soft); color: var(--ivory); }

.btn--sm { min-height: 44px; padding: 0.55rem 1.15rem; font-size: 0.76rem; }
.btn--lg { min-height: 54px; padding: 0.9rem 2rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(12, 21, 40, 0.94);
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: -1;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
    padding-block: 0.6rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand__mark { display: inline-flex; }
.site-brand__text {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1rem + 0.9vw, 1.6rem);
    font-weight: 600;
    color: var(--gold-soft);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.primary-nav { display: none; }

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    min-height: 48px;
    padding: 0.6rem 0;
    background: none;
    border: 0;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ivory);
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.02em;
}
.nav-link:hover { color: var(--gold-soft); }
.nav-chevron { transition: transform 0.22s ease; flex-shrink: 0; }
.nav-item.is-open > .nav-link--toggle .nav-chevron { transform: rotate(180deg); }
.nav-item.is-open > .nav-link--toggle { color: var(--gold-soft); }

.nav-panel { display: none; }
.nav-item.is-open > .nav-panel { display: block; }

.nav-mega__title {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.5rem;
}
.nav-mega__list {
    list-style: none;
    margin: 0 0 1.1rem;
    padding: 0;
}
.nav-mega__list a {
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    color: var(--muted-invert);
    text-decoration: none;
}
.nav-mega__list a:hover { color: var(--gold-soft); }

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

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle__bar {
    display: block;
    height: 2px;
    background: var(--gold-soft);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 1023.98px) {
    .primary-nav {
        position: fixed;
        top: var(--header-bottom);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        display: block;
        padding: 1.25rem var(--gutter) 3rem;
        background: var(--navy-900);
        border-top: 1px solid rgba(212, 175, 55, 0.25);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }
    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-item { border-bottom: 1px solid rgba(212, 175, 55, 0.16); }
    .nav-panel--mega .container,
    .nav-panel--list { width: 100%; padding: 0 0 0.6rem; }
    .nav-panel--mega .container { margin: 0; }
    .nav-drawer-cta { margin-top: 1.5rem; }
    body.nav-open { overflow: hidden; }
}

/* Desktop navigation */
@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        justify-content: center;
    }
    .nav-list {
        display: flex;
        align-items: center;
        gap: clamp(0.6rem, 1.2vw, 1.35rem);
    }
    .nav-item--mega { position: static; }
    .nav-item--menu { position: relative; }
    .nav-link {
        width: auto;
        min-height: 44px;
        padding: 0.4rem 0;
        font-size: 0.86rem;
        white-space: nowrap;
    }
    .nav-drawer-cta { display: none; }
    .nav-toggle { display: none; }
    .header-actions .header-cta { display: inline-flex; }

    .nav-panel {
        position: absolute;
        top: 100%;
        margin-top: 0.55rem;
        background: var(--navy-900);
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: var(--radius);
        box-shadow: var(--shadow-dark);
        padding: 1.6rem 0;
        z-index: 95;
    }
    .nav-panel--mega {
        left: 0;
        right: 0;
        width: 100%;
    }
    .nav-panel--list {
        left: 50%;
        transform: translateX(-50%);
        width: min(360px, 80vw);
        padding: 1rem 1.4rem;
    }
    .nav-mega {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
    .nav-mega__list { margin-bottom: 0; }
    .nav-mega__list a { min-height: 36px; }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--navy-900);
    color: var(--muted-invert);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 2px solid var(--gold-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.25rem;
}

.footer-brand {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    color: var(--gold-soft);
    margin-bottom: 0.7rem;
}
.footer-tagline { font-size: var(--fs-small); color: var(--muted-invert); max-width: 40ch; }
.footer-seal { width: 88px; height: auto; margin-top: 1.1rem; }

.footer-heading {
    font-family: var(--font-ui);
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.9rem;
}
.footer-heading--spaced { margin-top: 1.6rem; }

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links a {
    display: flex;
    align-items: center;
    min-height: 36px;
    font-size: 0.87rem;
    color: var(--muted-invert);
    text-decoration: none;
}
.footer-links a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-links--two { columns: 2; column-gap: 1.25rem; }
.footer-links--two li { break-inside: avoid; }

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.2rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-bottom__links a { color: var(--muted-invert); text-decoration: none; }
.footer-bottom__links a:hover { color: var(--gold-soft); }

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    background: var(--navy-900);
    color: var(--ivory);
    padding-block: clamp(3rem, 8vw, 7rem);
    min-height: clamp(420px, 62vh, 640px);
    display: flex;
    align-items: center;
}
.hero__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
    z-index: -2;
}
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(12, 21, 40, 0.82) 0%, rgba(12, 21, 40, 0.42) 45%, rgba(12, 21, 40, 0.78) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title { color: var(--ivory); max-width: 18ch; margin-bottom: 0.7rem; }
.hero__lead {
    color: rgba(255, 255, 240, 0.9);
    font-size: var(--fs-lead);
    max-width: 52ch;
    margin-bottom: 1.6rem;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem 1.6rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    max-width: 560px;
}
.hero-stats__item { display: flex; align-items: center; gap: 0.7rem; }
.hero-stats__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: var(--gold-soft);
    flex-shrink: 0;
}
.hero-stats__value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ivory);
    margin: 0;
}
.hero-stats__label {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 240, 0.82);
}

.trust-markers {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.trust-markers__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 240, 0.9);
}

/* ============================================
   SIGNATURE GOLD WAVE LAYER
   ============================================ */

.waves {
    position: absolute;
    left: -4%;
    width: 108%;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.35));
}
.waves--hero { bottom: -8%; height: 55%; z-index: 1; opacity: 0.8; }
.waves--band { top: 18%; height: 64%; opacity: 0.5; }
.waves--shields { top: 8%; height: 84%; opacity: 0.55; }
.waves--newsletter { top: 0; height: 100%; opacity: 0.45; }
.waves--newsletter g { stroke: var(--ivory); }
.waves--soft { top: 12%; height: 70%; opacity: 0.32; }

.lattice {
    color: var(--gold);
    opacity: 0.45;
    line-height: 0;
    margin-block: clamp(1.25rem, 3vw, 2.25rem);
}
.lattice svg { width: 100%; height: 34px; display: block; }
.lattice--ivory { color: var(--ivory); opacity: 0.35; }

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}
.breadcrumbs__item + .breadcrumbs__item::before {
    content: "/";
    margin-right: 0.4rem;
    color: var(--gold);
}
.breadcrumbs--dark { color: rgba(255, 255, 240, 0.82); }
.breadcrumbs--dark a { color: var(--gold-soft); text-decoration: none; }
.breadcrumbs--dark a:hover { text-decoration: underline; }
.breadcrumbs--light a { color: var(--crimson); }
.breadcrumbs--light { color: var(--muted); }

/* ============================================
   CARDS
   ============================================ */

.icon-card {
    position: relative;
    z-index: 1;
    padding: clamp(1.3rem, 2.4vw, 1.9rem);
    border-radius: var(--radius);
    text-align: center;
}
.icon-card--cream {
    background: rgba(255, 255, 240, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-soft);
}
.icon-card--charcoal {
    background: var(--charcoal);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-top-width: 2px;
    border-top-color: var(--gold);
    color: var(--muted-invert);
}
.icon-card--charcoal .icon-card__title { color: var(--ivory); }
.icon-card--charcoal .icon-card__text a { color: var(--gold-soft); }
.icon-card--charcoal .text-link { color: var(--gold-soft); }
.icon-card--plain { background: transparent; }
.icon-card:hover { box-shadow: var(--shadow-card); }

.icon-card__medallion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--navy-800);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 0 4px rgba(212, 175, 55, 0.18), 0 0 18px rgba(212, 175, 55, 0.22);
    color: var(--gold-soft);
}
.icon-card__title { margin-bottom: 0.5rem; }
.icon-card__text { font-size: 0.94rem; margin-bottom: 0.75rem; }

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    height: 100%;
}
.profile-card__frame {
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.profile-card__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-card__meta {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy-700);
    font-weight: 600;
}
.profile-card__title { font-size: 1.1rem; margin: 0.2rem 0; }
.profile-card__line { font-size: 0.86rem; color: var(--muted); margin: 0; }
.profile-card .btn { margin-top: auto; }

.framed-media {
    margin: 0;
    position: relative;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 8px;
    background: var(--ivory);
    box-shadow: var(--shadow-card);
}
.framed-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.framed-media figcaption {
    margin-top: 0.6rem;
    font-size: var(--fs-small);
    color: var(--muted);
    text-align: center;
}

.link-card {
    display: grid;
    gap: 0.3rem;
    padding: 1.1rem 1.25rem;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    min-height: 44px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.link-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--ink); }
.link-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.link-card__text { font-size: 0.86rem; color: var(--muted); }
.link-card__arrow { color: var(--gold-deep); display: inline-flex; transition: transform 0.2s ease; }
.link-card:hover .link-card__arrow { transform: translateX(5px); }

.related-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    text-decoration: none;
    color: var(--ink);
    min-height: 44px;
}
.related-card:last-child { border-bottom: 0; }
.related-card__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.5);
}
.related-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card__body { display: grid; gap: 0.2rem; }
.related-card__title { font-weight: 600; font-size: 0.92rem; }
.related-card__text { font-size: 0.8rem; color: var(--muted); }
.related-card:hover .related-card__title { color: var(--crimson); }

.category-pill {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(43, 65, 108, 0.34);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--ivory);
    font-size: 0.83rem;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.category-pill:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--ivory);
}
.category-pill__icon { color: var(--gold-soft); display: inline-flex; flex-shrink: 0; }

.category-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 0.7rem;
}

/* ============================================
   STAT SHIELDS
   ============================================ */

.shields { position: relative; padding-block: 1rem; }
.shields__row {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}
.shield { position: relative; display: grid; justify-items: center; }
.shield__crest { display: block; filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.28)); }
.shield__icon {
    position: absolute;
    top: 26px;
    color: var(--gold-soft);
}
.shield__value {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3rem);
    font-weight: 700;
    color: var(--ivory);
    margin: 0.6rem 0 0.25rem;
    line-height: 1;
}
.shield__label {
    margin: 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(212, 175, 55, 0.6);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-invert);
}

/* ============================================
   TIMELINE
   ============================================ */

.timeline {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}
.timeline__spine {
    position: absolute;
    left: 22px;
    top: 0;
    width: 40px;
    height: 100%;
    opacity: 0.7;
    pointer-events: none;
}
.timeline__item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 1rem;
    padding-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-800);
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
.timeline__index {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
.timeline__title { margin-bottom: 0.35rem; }
.timeline__text { margin: 0; font-size: 0.95rem; }

.section--navy .timeline__index { color: var(--gold-soft); }
.section--navy .timeline__text { color: var(--muted-invert); }

/* Horizontal timeline (articles) */
.timeline--horizontal { display: grid; gap: 1.25rem; }
.timeline--horizontal .timeline__item { grid-template-columns: 62px 1fr; }

/* ============================================
   TESTIMONIAL
   ============================================ */

.testimonial {
    display: grid;
    gap: 1.4rem;
    margin: 0;
    align-items: center;
}
.testimonial__frame {
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 7px;
    background: rgba(255, 255, 240, 0.08);
    box-shadow: 0 20px 48px rgba(4, 9, 20, 0.4);
}
.testimonial__frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.testimonial__body { position: relative; padding-top: 1rem; }
.testimonial__quote-mark {
    position: absolute;
    top: -14px;
    left: -6px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.45);
    pointer-events: none;
}
.testimonial__quote {
    margin: 0 0 0.9rem;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
    line-height: 1.5;
}
.testimonial--cream .testimonial__quote { color: var(--ink); }
.testimonial--navy .testimonial__quote { color: var(--ivory); }
.testimonial__author {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    padding-top: 0.6rem;
    border-top: 1px solid rgba(212, 175, 55, 0.5);
    display: inline-block;
}
.testimonial--navy .testimonial__author { color: var(--gold-soft); }

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq {
    display: grid;
    gap: 0.75rem;
    align-items: start;
    max-width: 900px;
    margin-inline: auto;
}
.faq__item {
    align-self: start;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.95rem 1.15rem;
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--navy-800);
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__chevron { color: var(--gold-deep); flex-shrink: 0; transition: transform 0.22s ease; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__item[open] .faq__question { color: var(--crimson); }
.faq__answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.95rem;
    color: var(--body);
    border-top: 1px solid rgba(212, 175, 55, 0.28);
    padding-top: 0.95rem;
}
.section--navy .faq__item { background: rgba(255, 255, 240, 0.96); }

/* ============================================
   COMPARISON TABLE
   ============================================ */

.compare {
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.compare__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--ivory);
    font-size: 0.9rem;
    min-width: 560px;
}
.compare__caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 0.8rem;
    font-size: var(--fs-small);
    color: var(--muted);
}
.compare__table thead th {
    background: var(--navy-800);
    color: var(--ivory);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.95rem 0.9rem;
    text-align: center;
}
.compare__table thead th:first-child { text-align: left; }
.compare__table thead th.is-highlight { color: var(--gold-soft); }
.compare__table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--navy-800);
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
    font-size: 0.88rem;
}
.compare__table td {
    text-align: center;
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}
.compare__table td.is-highlight {
    background: rgba(212, 175, 55, 0.12);
    border-left: 1px solid rgba(212, 175, 55, 0.55);
    border-right: 1px solid rgba(212, 175, 55, 0.55);
}
.mark { display: inline-flex; align-items: center; justify-content: center; }
.mark--yes { color: var(--gold-deep); }
.mark--no { color: #9AA2B3; }
.mark--text { font-size: 0.85rem; color: var(--body); }

@media (max-width: 640px) {
    .compare { overflow-x: visible; box-shadow: none; }
    .compare__table { min-width: 0; background: transparent; }
    .compare__table thead { display: none; }
    .compare__table tbody tr {
        display: block;
        margin-bottom: 0.9rem;
        background: var(--ivory);
        border: 1px solid rgba(212, 175, 55, 0.45);
        border-radius: var(--radius);
        overflow: hidden;
    }
    .compare__table tbody th {
        display: block;
        background: var(--navy-800);
        color: var(--ivory);
        border-bottom: 0;
    }
    .compare__table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        min-height: 44px;
        text-align: right;
        border-left: 0 !important;
        border-right: 0 !important;
    }
    .compare__table td::before {
        content: attr(data-label);
        font-size: 0.78rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--muted);
        text-align: left;
    }
}

/* ============================================
   CHECKLIST
   ============================================ */

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    font-size: 0.92rem;
}
.checklist__mark {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-900);
    margin-top: 1px;
}

/* ============================================
   CAROUSEL
   ============================================ */

.carousel { position: relative; z-index: 1; }
.carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 78%);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.4rem 0.2rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.carousel__track > * { scroll-snap-align: center; }
.carousel__arrow {
    position: absolute;
    top: 42%;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy-800);
    border: 1px solid var(--gold);
    color: var(--gold-soft);
    cursor: pointer;
}
.carousel__arrow:hover { background: var(--navy-700); }
.carousel__arrow--prev { left: -12px; }
.carousel__arrow--next { right: -12px; }
.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.4rem;
}
.carousel__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 35, 63, 0.25);
    cursor: pointer;
}
.carousel__dot.is-active { width: 26px; background: var(--gold); }
.section--navy .carousel__dot { background: rgba(255, 255, 240, 0.3); }
.section--navy .carousel__dot.is-active { background: var(--gold); }

@media (min-width: 768px) {
    .carousel__track { grid-auto-columns: minmax(240px, calc(33.333% - 0.7rem)); }
    .carousel__arrow { display: inline-flex; }
    .carousel { padding-inline: 8px; }
}
@media (min-width: 1024px) {
    .carousel__track { grid-auto-columns: minmax(240px, calc(25% - 0.8rem)); }
}

/* ============================================
   CTA CARD & NEWSLETTER
   ============================================ */

.cta-card {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin-inline: auto;
    padding: clamp(1.6rem, 4vw, 2.75rem);
    text-align: center;
    background: var(--charcoal);
    color: var(--muted-invert);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.28), var(--shadow-dark);
}
.cta-card__title { color: var(--ivory); }
.cta-card__text { color: rgba(255, 255, 240, 0.88); margin-bottom: 1.4rem; }
.cta-card__note { margin-top: 1rem; font-size: 0.8rem; color: rgba(255, 255, 240, 0.7); }

.newsletter {
    position: relative;
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(120deg, #C9A03A 0%, #E3C877 48%, #C9A03A 100%);
    color: var(--navy-900);
    text-align: center;
}
.newsletter__inner { position: relative; z-index: 2; max-width: 720px; }
.newsletter__title { color: var(--navy-900); margin-bottom: 0.4rem; }
.newsletter__text { color: rgba(12, 21, 40, 0.86); margin-bottom: 1.3rem; }
.newsletter__form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}
.newsletter__input {
    flex: 1 1 260px;
    min-height: 52px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 21, 40, 0.2);
    background: var(--ivory);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--ink);
}
.newsletter__input:focus-visible { outline: 2px solid var(--navy-800); outline-offset: 2px; }
.newsletter__note { margin-top: 0.9rem; font-size: 0.78rem; color: rgba(12, 21, 40, 0.75); }
.newsletter__cta { margin-top: 1.1rem; }

/* ============================================
   SPLIT / EDITORIAL LAYOUTS
   ============================================ */

.split {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}
.split--media-first .split__media { order: -1; }

.article-layout {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
}
.article-rail { align-self: start; }
.article-rail__title {
    font-family: var(--font-ui);
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.75rem;
}

.panel {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-soft);
    background: var(--ivory);
}
.panel__header {
    position: relative;
    background: var(--navy-800);
    color: var(--ivory);
    padding: 1.1rem 1.4rem;
    text-align: center;
}
.panel__header h2, .panel__header h3 { color: var(--ivory); margin: 0; }
.panel__body {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.callout {
    border-left: 3px solid var(--gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 1.1rem 1.3rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.96rem;
}

.meta-line {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ============================================
   FORMS (contact / decorative)
   ============================================ */

.form-card {
    background: var(--cream);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: clamp(1.3rem, 3vw, 2.2rem);
    box-shadow: 0 0 46px rgba(212, 175, 55, 0.22);
}
.form-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--navy-700);
}
.field input,
.field select,
.field textarea {
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    background: var(--ivory);
    border: 1px solid rgba(22, 35, 63, 0.18);
    border-bottom: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.field--check {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.6rem;
}
.field--check input { min-height: 22px; width: 22px; height: 22px; }
.field--check label { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.85rem; }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* Toggle switches (cookie preferences) */
.switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.switch-row:last-child { border-bottom: 0; }
.switch {
    position: relative;
    width: 54px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(139, 0, 0, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.5);
    cursor: pointer;
    appearance: none;
    transition: background 0.2s ease;
}
.switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ivory);
    transition: transform 0.2s ease;
}
.switch:checked { background: var(--gold); }
.switch:checked::after { transform: translateX(24px); }
.switch:disabled { background: var(--gold-deep); cursor: not-allowed; }

/* ============================================
   REGISTER STUB
   ============================================ */

.stub {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding-block: clamp(3rem, 8vw, 6rem);
    background: var(--cream);
    position: relative;
}
.stub__card {
    position: relative;
    z-index: 2;
    max-width: 560px;
    text-align: center;
    padding: clamp(1.8rem, 5vw, 3rem);
    background: var(--charcoal);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    color: var(--muted-invert);
    box-shadow: 0 0 70px rgba(212, 175, 55, 0.25);
}
.stub__card h1 { color: var(--ivory); }

/* ============================================
   RESPONSIVE GRID STEPS
   ============================================ */

@media (min-width: 640px) {
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
    .checklist { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .split--wide-media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .panel__body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .panel__body > * + * {
        border-left: 1px solid rgba(212, 175, 55, 0.35);
        padding-left: 1.5rem;
    }
    .testimonial--split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
    .timeline--horizontal {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
    .timeline--horizontal .timeline__spine { display: none; }
    .timeline--horizontal .timeline__item { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-bottom: 0; }
}

@media (min-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1.4fr 1.2fr; gap: 2.5rem; }
    .article-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
    .article-rail { position: sticky; top: 96px; }
    .hero__inner { max-width: 100%; }
    .hero__title { max-width: 20ch; }
    .hero { min-height: 620px; }
    .timeline--horizontal { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .prose--columns { column-count: 2; column-gap: 2.4rem; }
}

@media (min-width: 1440px) {
    :root { --container: 1320px; }
}

/* Mobile hero focal adjustment */
@media (max-width: 767.98px) {
    .hero__media { background-position: 62% center; }
    .hero__scrim {
        background: linear-gradient(180deg, rgba(12, 21, 40, 0.86) 0%, rgba(12, 21, 40, 0.62) 40%, rgba(12, 21, 40, 0.9) 100%);
    }
}
@media (min-width: 1024px) {
    .hero__scrim {
        background:
            linear-gradient(90deg, rgba(12, 21, 40, 0.95) 0%, rgba(12, 21, 40, 0.82) 38%, rgba(12, 21, 40, 0.25) 62%, rgba(12, 21, 40, 0.45) 100%);
    }
}

/* ============================================
   MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .carousel__track { scroll-behavior: auto; }
}

/* ============================================
   HOMEPAGE SPECIFICS
   ============================================ */

.hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 540px;
}
@media (max-width: 400px) {
    .hero-stats { grid-template-columns: 1fr; }
}

.section-note {
    max-width: 72ch;
    margin: 1.25rem auto 0;
    text-align: center;
    font-size: 0.9rem;
}

.category-grid + h3 { margin-top: 2rem; }
.section--navy .category-grid + h3 { color: var(--gold-soft); }

/* Decorative match questionnaire */
.quiz {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.75rem;
    margin-top: clamp(1.75rem, 4vw, 2.75rem);
}
.quiz__col { display: grid; gap: 1.4rem; align-content: start; }
.quiz__legend {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--gold-soft);
}
.quiz__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quiz__chip {
    min-height: 44px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(43, 65, 108, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--ivory);
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.quiz__chip:hover { border-color: var(--gold); }
.quiz__chip.is-selected {
    background: linear-gradient(135deg, #E3C877 0%, #D4AF37 100%);
    border-color: var(--gold-soft);
    color: var(--navy-900);
    font-weight: 600;
}
.quiz__core {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1.1rem;
}
.quiz__core::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 50%;
    width: min(320px, 86%);
    aspect-ratio: 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 96, 200, 0.45) 0%, rgba(46, 96, 200, 0.12) 45%, transparent 70%);
    pointer-events: none;
}
.quiz__mandala { position: relative; width: min(320px, 88%); height: auto; }
.quiz__traits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.quiz__traits li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 240, 0.06);
    font-size: 0.85rem;
}
.quiz__traits li span { color: var(--gold-soft); font-weight: 600; text-align: right; }
.quiz__result {
    margin: 0.4rem 0 0.8rem;
    font-size: 0.88rem;
    color: var(--ivory);
    min-height: 3.2em;
}

@media (min-width: 900px) {
    .quiz {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 2rem;
        align-items: center;
    }
}

/* ============================================
   CATEGORY PAGE SPECIFICS
   ============================================ */

.section[id] { scroll-margin-top: 88px; }

.stack-gap { margin-top: clamp(1rem, 2.4vw, 1.75rem); }

.icon-list {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}
.icon-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.94rem;
}
.icon-list__icon {
    flex-shrink: 0;
    display: inline-flex;
    margin-top: 2px;
    color: var(--gold-deep);
}
.icon-list__item strong { color: var(--navy-800); }

.section--cream-deep .prose h3 { color: var(--navy-800); }

/* ============================================
   QUOTE PANEL (terminology / correction callouts)
   ============================================ */

.quote-panel {
    position: relative;
    z-index: 1;
    max-width: 78ch;
    margin-inline: auto;
    background: var(--charcoal);
    color: var(--muted-invert);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.3rem, 3vw, 2rem);
    box-shadow: -10px 0 26px rgba(212, 175, 55, 0.14), var(--shadow-soft);
}
.quote-panel p { margin: 0 0 1em; font-size: 0.98rem; }
.quote-panel p:last-child { margin-bottom: 0; }
.quote-panel a { color: var(--gold-soft); }

/* ============================================
   BLOG ARTICLE - FIRST 90 DAYS
   ============================================ */

.intro-split {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}
@media (min-width: 768px) {
    .intro-split { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); }
}

@media (min-width: 1024px) {
    .post .article-rail {
        border-left: 1px solid rgba(212, 175, 55, 0.45);
        padding-left: clamp(1.2rem, 2vw, 1.8rem);
    }
}

/* Horizontal gold-node timeline */
.timeline-rail { position: relative; }

@media (min-width: 768px) {
    .timeline-rail .timeline--horizontal { position: relative; }
    .timeline-rail .timeline--horizontal::before {
        content: "";
        position: absolute;
        left: 4%;
        right: 4%;
        top: 50%;
        height: 1px;
        background: linear-gradient(90deg, rgba(212, 175, 55, 0), var(--gold) 12%, var(--gold) 88%, rgba(212, 175, 55, 0));
        z-index: 0;
    }
    .timeline-rail .timeline__item {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-rows: 1fr auto 1fr;
        justify-items: center;
        text-align: center;
        gap: 0.4rem;
    }
    .timeline-rail .timeline__marker { grid-row: 2; }
    .timeline-rail .timeline__body {
        position: relative;
        grid-row: 3;
        align-self: start;
        padding-top: 1rem;
    }
    .timeline-rail .timeline__body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 1px;
        height: 0.7rem;
        background: var(--gold);
        opacity: 0.75;
    }
    .timeline-rail .timeline__item:nth-child(even) .timeline__body {
        grid-row: 1;
        align-self: end;
        padding-top: 0;
        padding-bottom: 1rem;
    }
    .timeline-rail .timeline__item:nth-child(even) .timeline__body::before {
        top: auto;
        bottom: 0;
    }
    .timeline-rail .timeline__title { font-size: 1.05rem; }
    .timeline-rail .timeline__text { font-size: 0.88rem; }
}

/* Advice panel filigree + columns */
.panel__header { overflow: hidden; }
.panel__filigree {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    pointer-events: none;
    opacity: 0.75;
}
.panel__filigree--left { left: 0; }
.panel__filigree--right { right: 0; }
.panel__header h2 { position: relative; z-index: 1; }

.advice-col { text-align: center; }
.advice-col__icon {
    display: inline-flex;
    color: var(--gold-deep);
    margin-bottom: 0.6rem;
}
.advice-col h3 { margin-bottom: 0.5rem; }
.advice-col p { font-size: 0.94rem; margin: 0; }

/* Checklist beside conclusion */
.conclusion .btn { margin-top: 0.6rem; }
@media (min-width: 768px) {
    .split-rule > * + * {
        border-left: 1px solid rgba(212, 175, 55, 0.4);
        padding-left: clamp(1.25rem, 3vw, 2.5rem);
    }
}

/* ============================================
   JOINT ROUTINES PAGE - lattice overlay & related thumbs
   ============================================ */

.container--above { position: relative; z-index: 1; }

.lattice-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    color: var(--gold);
    opacity: 0.5;
    pointer-events: none;
}
.lattice-bg svg { width: 100%; height: 100%; display: block; }

.related-thumb-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    min-height: 44px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.related-thumb-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}
.related-thumb-card:hover::before { transform: scaleY(1); }
.related-thumb-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
    color: var(--ink);
}
.related-thumb-card__thumb {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.5);
}
.related-thumb-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-thumb-card__body { display: grid; gap: 0.25rem; }
.related-thumb-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.related-thumb-card__text { font-size: 0.85rem; color: var(--muted); }

/* ============================================
   DUAL-CULTURE HOUSEHOLD PAGE - lattice overlay & story card
   ============================================ */

.culture-timeline { position: relative; }
.culture-lattice {
    position: absolute;
    inset: 0;
    z-index: 0;
    color: var(--gold);
    opacity: 0.35;
    mask-image: radial-gradient(55% 65% at 50% 50%, #000, transparent 85%);
    -webkit-mask-image: radial-gradient(55% 65% at 50% 50%, #000, transparent 85%);
    pointer-events: none;
}
.culture-lattice svg { width: 100%; height: 100%; display: block; }
.culture-timeline .container { position: relative; z-index: 1; }

@media (min-width: 768px) {
    .timeline-rail .timeline--horizontal::after {
        content: "";
        position: absolute;
        right: 3%;
        top: 50%;
        width: 0;
        height: 0;
        transform: translateY(-50%);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 8px solid var(--gold);
        opacity: 0.85;
        z-index: 0;
    }
}

.story-card {
    position: relative;
    display: grid;
    gap: 1.5rem;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 46px rgba(212, 175, 55, 0.2), var(--shadow-card);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}
.story-card__badge {
    position: absolute;
    top: -18px;
    right: clamp(1rem, 4vw, 2rem);
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.4));
}
.story-card .framed-media { margin: 0; }

@media (min-width: 768px) {
    .story-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
}

/* ============================================
   QUOTE CARDS (couple reflection carousels)
   ============================================ */

.quote-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    padding: 0.85rem;
    background: var(--ivory);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
}
.quote-card__media {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.6rem;
    margin-bottom: 0.2rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.quote-card__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-sm);
}
.quote-card__mark {
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.55);
}
.quote-card__text {
    font-size: 0.92rem;
    color: var(--body);
    margin: 0;
}
.quote-card__author {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

/* ============================================
   CONTACT PAGE SPECIFICS
   ============================================ */

.hours-panel {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 1.5rem auto 0;
    background: var(--charcoal);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-lg);
    padding: 0.4rem 1.5rem;
}
.hours-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 48px;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--muted-invert);
    font-size: 0.92rem;
}
.hours-panel__row:last-child { border-bottom: 0; }
.hours-panel__label { font-weight: 600; color: var(--gold-soft); }

.channels-wrap { position: relative; }
.channels-ribbon {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60px;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}
.channels-wrap .grid { position: relative; z-index: 1; }

.contact-form-card { position: relative; overflow: hidden; }
.contact-form-lattice {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 150px;
    height: 150px;
    opacity: 0.16;
    color: var(--gold);
    pointer-events: none;
}

/* ============================================
   PRIVACY POLICY PAGE SPECIFICS
   ============================================ */

.privacy-card {
    max-width: 78ch;
    background: var(--ivory);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0.3rem clamp(1.1rem, 3vw, 1.75rem);
    box-shadow: var(--shadow-soft);
}
.privacy-card__row {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.94rem;
}
.privacy-card__row:last-child { border-bottom: 0; }
.privacy-card__row strong { color: var(--navy-800); }

.rights-grid { align-items: stretch; }
.rights-card {
    background: var(--charcoal);
    color: var(--muted-invert);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: var(--radius);
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rights-card:hover { box-shadow: 0 0 30px rgba(212, 175, 55, 0.32); transform: translateY(-2px); }
.rights-card h3 { color: var(--ivory); margin-bottom: 0.4rem; }
.rights-card p { font-size: 0.9rem; margin: 0; }
.rights-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: var(--navy-800);
    border: 1px solid var(--gold);
    color: var(--gold-soft);
}

.policy-index {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--navy-900);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 0.3rem clamp(1rem, 3vw, 1.75rem);
}
.policy-index__row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.policy-index__label {
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.policy-index__text { color: var(--muted-invert); font-size: 0.9rem; }

@media (min-width: 768px) {
    .policy-index { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
    .policy-index__row { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
    .policy-index__label { flex: 0 0 150px; }
}

/* ============================================
   FAQ PAGE SPECIFICS
   ============================================ */

.hero { border-bottom: 1px solid rgba(212, 175, 55, 0.35); }

.direct-answer-card {
    position: relative;
    max-width: 780px;
    margin-inline: auto;
    background: var(--cream);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.direct-answer-card::before {
    content: "";
    position: absolute;
    top: -24px;
    left: -24px;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 70%);
    pointer-events: none;
}
.direct-answer-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1rem;
}

.faq__answer--badged {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}
.faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-deep);
}

/* ============================================
   TERMS & CONDITIONS PAGE SPECIFICS
   ============================================ */

.clause-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .clause-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .clause-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.clause-card {
    position: relative;
    display: block;
    padding: clamp(1.2rem, 2.4vw, 1.6rem);
    background: var(--charcoal);
    color: var(--muted-invert);
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.45);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.clause-card:hover {
    box-shadow: 0 0 34px rgba(212, 175, 55, 0.34), var(--shadow-card);
    transform: translateY(-3px);
    border-color: var(--gold);
    color: var(--muted-invert);
}
.clause-card__seal {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    color: var(--gold-soft);
    opacity: 0.85;
}
.clause-card__title { color: var(--ivory); margin: 0 0 0.5rem; padding-right: 2.4rem; }
.clause-card__text { font-size: 0.9rem; margin: 0; color: var(--muted-invert); }

.conduct-split { align-items: center; }
.conduct-media { position: relative; }
.conduct-media__shadow {
    position: absolute;
    inset: 14px -14px -14px 14px;
    background: var(--crimson);
    border-radius: var(--radius);
    z-index: 0;
}
.conduct-media .framed-media { position: relative; z-index: 1; margin: 0; }

.permit-panel {
    background: var(--ivory);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 2.4vw, 1.6rem);
    box-shadow: var(--shadow-soft);
}
.permit-panel--deny { border-top-color: var(--crimson); }
.permit-panel h3 { margin-bottom: 0.9rem; }
.permit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.permit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
}
.permit-list__icon { flex-shrink: 0; margin-top: 2px; }
.permit-list__icon--yes { color: var(--gold-deep); }
.permit-list__icon--no { color: var(--crimson); }

.liability-panel {
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
    color: var(--muted-invert);
    border-top: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    max-width: 82ch;
    margin-inline: auto;
    box-shadow: var(--shadow-dark);
}
.liability-panel__lattice {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    color: var(--gold);
    pointer-events: none;
}
.liability-panel__lattice svg { width: 100%; height: 100%; display: block; }
.liability-panel .prose { position: relative; z-index: 1; }
.liability-panel .prose a { color: var(--gold-soft); }

/* ============================================
   COOKIE POLICY PAGE SPECIFICS
   ============================================ */

.cookie-seal {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 0.4rem;
    color: var(--gold);
}

.consent-panel {
    max-width: 640px;
    margin: 1.75rem auto 0;
    background: var(--charcoal);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 0.4rem 1.5rem;
    box-shadow: 0 0 46px rgba(212, 175, 55, 0.24), var(--shadow-dark);
    color: var(--muted-invert);
}
.switch-row__label {
    margin: 0;
    font-weight: 600;
    color: var(--gold-soft);
    font-size: 0.92rem;
}
.switch-row__text {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--muted-invert);
}