/* =====================================================
   Legacy Asset Lab — Improved Design System v2
   Navy / Gold premium, accessible, dark-mode ready
   ===================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* Brand */
    --navy-primary: #0A0F3F;
    --navy-dark:    #050820;
    --navy-mid:     #131A57;
    --gold-primary: #D4AF37;
    --gold-light:   #F4CF57;
    --gold-dark:    #B8941C;

    /* Neutrals */
    --slate:        #4B5A68;
    --slate-light:  #6B7C8A;
    --light-bg:     #F7F7F8;
    --white:        #FFFFFF;
    --text-dark:    #1A1A2E;
    --text-light:   #565B6E;
    --border-color: #E4E4EC;

    /* Status */
    --success-bg:   #E6F4EA;
    --success-fg:   #14532D;
    --warn-bg:      #FFF6DD;
    --warn-fg:      #7A5B04;
    --error-bg:     #FEE2E2;
    --error-fg:     #991B1B;

    /* Shape */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* Shadow */
    --shadow-sm: 0 1px 2px rgba(10,15,63,.06), 0 1px 3px rgba(10,15,63,.04);
    --shadow-md: 0 4px 14px rgba(10,15,63,.08), 0 2px 4px rgba(10,15,63,.04);
    --shadow-lg: 0 12px 32px rgba(10,15,63,.12), 0 4px 10px rgba(10,15,63,.06);

    /* Motion */
    --ease: cubic-bezier(.2,.8,.2,1);
    --t-fast: 150ms;
    --t: 220ms;
    --t-slow: 420ms;

    /* Layout */
    --container: 1200px;
    --container-narrow: 760px;
    --nav-h: 68px;
}

@media (prefers-color-scheme: dark) {
    :root.allow-dark {
        --light-bg: #0B1024;
        --white: #131A36;
        --text-dark: #ECEEF5;
        --text-light: #B6BBD0;
        --border-color: #2A3155;
    }
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--navy-primary); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover, a:focus-visible { color: var(--gold-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.2;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p  { margin-bottom: 1rem; color: var(--text-light); }
ul, ol { margin: 0 0 1rem 1.25rem; color: var(--text-light); }
li { margin-bottom: .35rem; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .75rem;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--text-light); }

/* Skip link */
.skip-link {
    position: absolute; top: -40px; left: 12px;
    background: var(--gold-primary); color: var(--navy-primary);
    padding: .6rem 1rem; border-radius: 6px; z-index: 9999;
    font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- 4. Navigation ---------- */
.navbar {
    background: rgba(10,15,63,.92);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    color: var(--white);
    padding: .9rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; font-size: 1.05rem; letter-spacing: .03em;
    color: var(--white);
}
.logo-icon { color: var(--gold-primary); font-size: 1.4rem; line-height: 1; }
.logo-icon-img { height: 34px; width: 34px; display: block; border-radius: 50%; }
.logo--footer { font-size: 1.2rem; margin-bottom: .85rem; }
.logo--footer .logo-icon-img { height: 30px; width: 30px; }

.nav-toggle {
    display: none; background: transparent; border: 0; padding: .5rem;
    color: var(--white);
}
.hamburger { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
    transition: transform var(--t) var(--ease);
}
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
    display: flex; list-style: none; gap: 1.5rem; align-items: center; margin: 0;
}
.nav-link {
    color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem;
    padding: .35rem 0; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--gold-primary); }
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px; background: var(--gold-primary);
    transition: width var(--t) var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 0;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease);
    will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold-primary); color: var(--navy-primary); }
.btn--primary:hover { background: var(--gold-light); color: var(--navy-primary); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--navy-primary); border: 2px solid var(--navy-primary); }
.btn--secondary:hover { background: var(--navy-primary); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.55); }
.btn--outline:hover { background: var(--white); color: var(--navy-primary); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy-primary); }
.btn--ghost:hover { background: rgba(10,15,63,.06); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block, .btn--full-width { display: flex; width: 100%; }
.btn--nav { padding: .55rem 1rem; font-size: .85rem; }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    color: var(--white);
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(212,175,55,.25), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(212,175,55,.10), transparent 60%),
        linear-gradient(160deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
    display: inline-block;
    color: var(--gold-primary);
    background: rgba(212,175,55,.12);
    border: 1px solid rgba(212,175,55,.3);
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-title { color: var(--white); margin-bottom: 1.1rem; }
.hero-subtitle {
    color: rgba(255,255,255,.85);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 640px; margin: 0 auto 2rem;
    font-weight: 400;
}
.highlight { color: var(--gold-primary); }

.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-cta .btn { min-width: 220px; }

.hero-proof {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08);
}
.proof-item { text-align: center; min-width: 140px; }
.proof-number {
    display: block; font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem; font-weight: 700; color: var(--gold-primary);
}
.proof-label { color: rgba(255,255,255,.78); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 7. Disclaimer banner ---------- */
.disclaimer-banner {
    background: var(--warn-bg); color: var(--warn-fg);
    padding: .9rem 0; border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: .9rem;
}
.disclaimer-banner p { color: inherit; margin: 0; text-align: center; }

/* ---------- 8. Pillars grid ---------- */
.pillars-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--white); }
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.pillar-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold-primary);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
    display: flex; flex-direction: column;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-left-color: var(--gold-dark); }
.pillar-card.is-featured { background: linear-gradient(180deg, #fffaf0 0%, var(--white) 100%); border-color: var(--gold-light); }
.pillar-card.is-featured::before {
    content: 'Most Popular';
    display: inline-block;
    background: var(--gold-primary); color: var(--navy-primary);
    font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: .25rem .6rem; border-radius: 999px; margin-bottom: .85rem; align-self: flex-start;
}
.pillar-icon { font-size: 2.25rem; margin-bottom: .75rem; line-height: 1; }
.pillar-title { font-size: 1.4rem; margin-bottom: .65rem; }
.pillar-description { color: var(--text-light); margin-bottom: 1.2rem; flex-grow: 1; }
.pillar-features { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.pillar-tag {
    background: rgba(10,15,63,.06); color: var(--navy-primary);
    padding: .25rem .65rem; border-radius: 999px;
    font-size: .72rem; font-weight: 600; letter-spacing: .04em;
}

/* ---------- 9. Lead magnet / CTA banner ---------- */
.lead-magnet {
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(212,175,55,.18), transparent 60%),
        linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: clamp(3rem, 7vw, 5rem) 0;
    text-align: center;
}
.lead-magnet-content { max-width: 640px; margin: 0 auto; }
.lead-magnet-title { color: var(--white); margin-bottom: .85rem; }
.lead-magnet-text { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 1.75rem; }
.lead-magnet-form { display: flex; flex-direction: column; gap: .75rem; max-width: 520px; margin: 0 auto 1rem; }
.lead-magnet-form .form-group { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0; }
.lead-magnet-form .form-input { flex: 1 1 240px; }
.lead-magnet-note { color: rgba(255,255,255,.75); font-size: .85rem; margin: 0; }

/* ---------- 10. Products / pricing ---------- */
.products-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--light-bg); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: var(--white); padding: 2rem;
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-badge {
    align-self: flex-start;
    background: var(--navy-primary); color: var(--gold-primary);
    padding: .35rem .8rem; border-radius: 999px;
    font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1rem;
}
.product-card h4 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: .6rem; color: var(--navy-primary); }
.product-card p { flex-grow: 1; margin-bottom: 1.25rem; }

/* ---------- 10b. Heritage / Signet Rings ---------- */
.heritage-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--white); }
.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.heritage-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--gold-primary);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
    display: flex; flex-direction: column;
}
.heritage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.heritage-icon { width: 44px; height: 44px; margin-bottom: .9rem; }
.heritage-icon svg { width: 100%; height: 100%; }
.heritage-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; margin-bottom: .65rem; color: var(--navy-primary); }
.heritage-text { color: var(--text-light); margin: 0; }
.heritage-list { color: var(--text-light); margin: 0; padding-left: 1.1rem; }
.heritage-list li { margin-bottom: .55rem; }
.heritage-list li:last-child { margin-bottom: 0; }
.heritage-cta {
    text-align: center;
    max-width: 640px;
    margin: 2.5rem auto 0;
}
.heritage-cta-text { color: var(--text-light); font-size: .92rem; margin-bottom: 1rem; }

.heritage-gallery-header { text-align: center; max-width: 640px; margin: 3.5rem auto 2rem; }
.heritage-gallery-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy-primary); margin-top: .5rem; }
.heritage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.heritage-photo {
    margin: 0;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.heritage-photo img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    background: var(--white);
}
.heritage-photo figcaption {
    padding: .85rem 1rem 1.1rem;
    font-size: .82rem; color: var(--text-light);
    line-height: 1.45;
}
.heritage-credit {
    max-width: 720px; margin: 1.5rem auto 0;
    text-align: center; font-size: .8rem; color: var(--text-light);
}

/* ---------- 11. Pillar pages — content levels ---------- */
.pillar-section { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--white); }
.content-level {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold-primary);
    padding: 2rem;
    margin-bottom: 1.75rem;
}
.level-badge {
    display: inline-block; background: var(--navy-primary); color: var(--gold-primary);
    padding: .35rem .85rem; border-radius: 999px;
    font-size: .8rem; font-weight: 700; letter-spacing: .04em;
    margin-bottom: 1.25rem;
}
.content-level h3 { margin-bottom: .65rem; }
.content-level h4 { margin: 1.25rem 0 .5rem; color: var(--navy-primary); font-family: inherit; font-size: 1.05rem; }
.content-level ul, .content-level ol { margin-left: 1.25rem; margin-bottom: 1rem; }
.divider { border: 0; border-top: 1px dashed var(--border-color); margin: 2.5rem 0; }

/* Breadcrumbs */
.breadcrumbs {
    padding: .85rem 0; font-size: .85rem; color: var(--text-light);
    background: var(--light-bg); border-bottom: 1px solid var(--border-color);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.breadcrumbs li::after { content: '/'; margin-left: .35rem; color: var(--border-color); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--navy-primary); }
.breadcrumbs [aria-current="page"] { color: var(--navy-primary); font-weight: 600; }

/* Author bio (E-E-A-T) */
.author-bio {
    display: flex; gap: 1.25rem; align-items: flex-start;
    padding: 1.5rem; background: var(--light-bg);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    margin: 2rem 0;
}
.author-bio__avatar {
    width: 64px; height: 64px; flex: 0 0 64px;
    border-radius: 50%; background: var(--navy-primary); color: var(--gold-primary);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.4rem;
}
.author-bio__body { flex: 1; }
.author-bio__name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy-primary); margin-bottom: .15rem; }
.author-bio__role { font-size: .85rem; color: var(--gold-dark); font-weight: 600; margin-bottom: .35rem; letter-spacing: .04em; }
.author-bio__text { font-size: .9rem; color: var(--text-light); margin: 0; }

/* Trust signals row */
.trust-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem; margin: 0;
    list-style: none; padding: 0;
}
.trust-row li {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    padding: .85rem 1rem; border-radius: var(--radius-sm);
    color: rgba(255,255,255,.9); font-size: .9rem;
    display: flex; align-items: center; gap: .6rem;
}
.trust-row li::before { content: '✓'; color: var(--gold-primary); font-weight: 700; }

/* ---------- 12. Calculators ---------- */
.calculator-section, .product-detail { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--light-bg); }
.calculator-card, .calc-tool {
    background: var(--white); padding: 2rem;
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm); margin-bottom: 1.75rem;
}
.calc-tool h3 { margin-bottom: .5rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.calc-result {
    background: var(--navy-primary); color: var(--white);
    padding: 1.25rem; border-radius: var(--radius-md);
    margin-top: 1.25rem;
}
.calc-result strong { color: var(--gold-primary); font-size: 1.4rem; display: block; margin-top: .25rem; }

/* ---------- 13. Modal ---------- */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(10,15,63,.65); backdrop-filter: blur(4px);
    z-index: 2000; padding: 1rem; overflow-y: auto;
    animation: fadeIn var(--t) var(--ease);
}
.modal.is-open { display: flex; align-items: center; justify-content: center; }
.modal-content {
    background: var(--white); max-width: 560px; width: 100%;
    padding: 2.25rem; border-radius: var(--radius-lg);
    position: relative; box-shadow: var(--shadow-lg);
}
.close-modal {
    position: absolute; top: .85rem; right: 1rem;
    background: transparent; border: 0; font-size: 1.5rem;
    color: var(--text-light); line-height: 1; cursor: pointer;
}
.close-modal:hover { color: var(--navy-primary); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 14. Forms ---------- */
.form-group { margin-bottom: .9rem; }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: .75rem 1rem;
    border: 1.5px solid var(--border-color); border-radius: var(--radius-sm);
    font-size: 1rem; font-family: inherit;
    background: var(--white); color: var(--text-dark);
    transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(212,175,55,.18);
    outline: none;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-primary); margin-bottom: .35rem; }
.form-help { font-size: .8rem; color: var(--text-light); margin-top: .25rem; }
.form-error { color: var(--error-fg); font-size: .85rem; margin-top: .25rem; display: none; }
.form-input.is-invalid { border-color: var(--error-fg); }
.form-input.is-invalid + .form-error { display: block; }

/* Honeypot — hide from real users */
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }

.form-success {
    background: var(--success-bg); color: var(--success-fg);
    border: 1px solid rgba(20,83,45,.2);
    padding: 1.25rem; border-radius: var(--radius-md);
    text-align: center;
}

/* ---------- 15. FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); margin-bottom: .75rem;
    overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left; padding: 1.1rem 1.25rem;
    background: transparent; border: 0; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: var(--navy-primary); font-size: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--gold-dark); transition: transform var(--t) var(--ease); }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer {
    padding: 0 1.25rem; max-height: 0; overflow: hidden;
    transition: max-height var(--t-slow) var(--ease), padding var(--t-slow) var(--ease);
}
.faq-question[aria-expanded="true"] + .faq-answer { padding: 0 1.25rem 1.1rem; max-height: 800px; }

/* ---------- 16. Blog ---------- */
.blog-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.blog-card {
    background: var(--white); padding: 1.5rem;
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
    display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__meta { font-size: .8rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin-bottom: .5rem; }
.blog-card__title { font-size: 1.2rem; margin-bottom: .5rem; }
.blog-card__excerpt { color: var(--text-light); font-size: .95rem; flex-grow: 1; margin-bottom: 1rem; }
.blog-card__link { color: var(--navy-primary); font-weight: 600; font-size: .9rem; }
.blog-card__link:hover { color: var(--gold-dark); }

article.post { background: var(--white); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
article.post h2 { margin-top: 2rem; }
article.post p, article.post li { color: var(--text-dark); font-size: 1.05rem; }

/* ---------- 17. Footer ---------- */
.footer { background: var(--navy-dark); color: var(--white); padding: 3.5rem 0 1.5rem; }
.footer-grid {
    display: grid; gap: 2rem; margin-bottom: 2.5rem;
    grid-template-columns: 1.4fr repeat(3, 1fr);
}
.footer-brand { max-width: 320px; }
.footer-tagline { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-social a { color: rgba(255,255,255,.75); font-size: .85rem; }
.footer-social a:hover { color: var(--gold-primary); }
.footer-links h5 {
    font-family: 'Montserrat', sans-serif; font-size: .9rem;
    color: var(--gold-primary); text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: .85rem;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-links a:hover { color: var(--gold-primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem; text-align: center;
    color: rgba(255,255,255,.55); font-size: .8rem;
}
.footer-bottom p { color: inherit; margin: 0; }

/* ---------- 18. Cookie banner ---------- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
    background: var(--navy-primary); color: var(--white);
    padding: 1rem 1.25rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); z-index: 9000;
    display: none; gap: 1rem; align-items: center; flex-wrap: wrap;
    max-width: 920px; margin: 0 auto;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { color: rgba(255,255,255,.85); margin: 0; flex: 1 1 260px; font-size: .9rem; }
.cookie-banner .btn { flex: 0 0 auto; }

/* ---------- 19. Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Animate-in
   Content stays fully visible (opacity: 1) at all times so pillar/product/blog
   cards never depend on JavaScript running to be seen — a slow script, an
   error earlier in scripts.js, or a crawler that doesn't scroll should never
   be able to hide a page's content or its buy buttons. Only the subtle
   slide-up transform is deferred to the .is-in class added on scroll. */
.reveal { opacity: 1; transform: translateY(18px); transition: transform .6s var(--ease); }
.reveal.is-in { transform: translateY(0); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .nav-menu {
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: var(--navy-primary);
        flex-direction: column; align-items: stretch;
        padding: 1rem 1.25rem 1.5rem; gap: .25rem;
        display: none;
        border-top: 1px solid rgba(255,255,255,.08);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.is-open { display: flex; }
    .nav-link { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
    .nav-link::after { display: none; }
    .nav-menu .btn--nav { margin-top: .5rem; align-self: flex-start; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
    .navbar, .footer, .cookie-banner, .lead-magnet, .modal, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* Blog post product CTA */
.post-cta {
    margin: 2.5rem 0 1rem;
    padding: 1.75rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--gold-primary);
    border-radius: var(--radius-md);
}
.post-cta-eyebrow {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 0 0 .4rem;
}
.post-cta-title { margin: 0 0 .5rem; color: var(--navy-primary); }
.post-cta-text { margin: 0 0 1.1rem; color: var(--text-light); }
