/* =================================================================
   Raagyi · v3 · Cinematic chapter scroll
   Inspired by Bulgari Emerald Strata + Capitolium
   ================================================================= */

:root {
    /* Palette anchored to the gold mandala logo on black */
    --ink:        #0E0B05;
    --ink-2:      #1A140A;
    --ink-3:      #2A2014;
    --ivory:      #F4EFE4;
    --ivory-2:    #EBE3CF;

    --gold:       #C8A04A;
    --gold-hi:    #E4C76C;
    --gold-deep:  #8E6B1F;

    --text:       #EFE3CA;
    --text-muted: #B8AA8A;
    --text-faint: #7E715A;

    --on-ivory:        #1A140A;
    --on-ivory-muted:  #5C5040;

    --display:  'Cormorant Garamond', 'Garamond', serif;
    --label:    'Tenor Sans', 'Cormorant Garamond', serif;
    --body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --deva:     'Tiro Devanagari Sanskrit', serif;

    --container: 1380px;
    --gutter:    32px;
    --ease:      cubic-bezier(.16,.84,.24,1);
}

* { box-sizing: border-box; }
*::selection { background: var(--gold); color: var(--ink); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    cursor: none;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ivory); }

@media (hover: none) { body { cursor: auto; } }

/* ====== Typography ====== */
.display { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }
.display-xxl { font-size: clamp(56px, 9vw, 128px); }
.display-xl  { font-size: clamp(36px, 5.2vw, 72px); }
.display-lg  { font-size: clamp(30px, 4vw, 56px); }
.display-md  { font-size: clamp(22px, 2.6vw, 36px); }
.italic { font-family: var(--display); font-style: italic; font-weight: 400; }

.label {
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.34em;
    font-size: 11px;
    color: var(--gold);
}

.deva { font-family: var(--deva); letter-spacing: 0; color: var(--gold); }

/* ====== Custom cursor ====== */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    background: var(--gold-hi);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-radius .25s, opacity .15s;
    mix-blend-mode: difference;
    will-change: transform, width, height;
}
.cursor.is-hovering {
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--gold-hi);
}
.cursor.is-down {
    width: 6px; height: 6px;
}

/* ====== Top nav ====== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .35s, backdrop-filter .35s, padding .25s, border-color .25s;
    background: transparent;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(14, 11, 5, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: rgba(200,160,74,0.12);
    padding: 12px var(--gutter);
}

.nav-logo img {
    height: 44px;
    width: auto;
    transition: opacity .3s, height .25s;
}
.nav.is-scrolled .nav-logo img { height: 36px; }
.nav-logo .is-pre, .nav.is-scrolled .nav-logo .is-pre { opacity: 0; }
.nav-logo .is-post, .nav.is-scrolled .nav-logo .is-post { opacity: 1; }
.nav-logo .is-pre { opacity: 1; }
.nav-logo .is-post { opacity: 0; position: absolute; top: 18px; left: 32px; }
.nav.is-scrolled .nav-logo .is-pre { display: none; }
.nav.is-scrolled .nav-logo .is-post { position: static; opacity: 1; }

.nav-chapters {
    display: flex; align-items: center; gap: 18px;
    font-family: var(--label);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.nav-chapters a {
    color: var(--text-muted);
    transition: color .25s;
    padding: 8px 0;
}
.nav-chapters a:hover, .nav-chapters a.is-active { color: var(--gold-hi); }
.nav-chapters .roman { display: inline-block; min-width: 22px; }
.nav-chapters .sep { color: var(--text-faint); opacity: 0.5; }

.nav-cta {
    background: transparent;
    color: var(--gold-hi);
    border: 1px solid var(--gold-deep);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background .25s, color .25s, border-color .25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

@media (max-width: 880px) {
    .nav-chapters { display: none; }
}

/* ====== Prelude (hero) ====== */
.prelude {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--ink);
}
.prelude-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.prelude-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    transform: scale(1.02);
    will-change: transform;
}
.prelude-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(14,11,5,0.45) 0%, rgba(14,11,5,0.1) 30%, rgba(14,11,5,0.6) 75%, rgba(14,11,5,0.95) 100%);
    z-index: 1;
}

.prelude-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--gutter);
}
.prelude-logo {
    height: clamp(120px, 18vw, 220px);
    width: auto;
    opacity: 0;
    transform: scale(1.04);
    animation: heroLogoIn 1.2s var(--ease) 0.4s forwards;
}
.prelude-tagline {
    margin-top: 28px;
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(18px, 2vw, 24px);
    color: var(--text-muted);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1.2s var(--ease) 1.0s forwards;
    max-width: 480px;
}

.prelude-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.34em;
    font-size: 10px;
    color: var(--text-faint);
    opacity: 0;
    animation: heroFadeUp 1.4s var(--ease) 1.6s forwards;
    transition: opacity .4s;
}
.prelude-scroll .arrow {
    display: block;
    margin: 8px auto 0;
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}
body.is-past-hero .prelude-scroll { opacity: 0; }

.prelude-corner {
    position: absolute;
    bottom: 28px;
    right: var(--gutter);
    text-align: right;
    z-index: 2;
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 9px;
    color: var(--text-faint);
    opacity: 0;
    animation: heroFadeUp 1.4s var(--ease) 1.8s forwards;
}
.prelude-corner .deva { font-size: 18px; display: block; margin-bottom: 4px; }

@keyframes heroLogoIn { to { opacity: 1; transform: scale(1); } }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

/* ====== Chapter scaffold ====== */
.chapter {
    position: relative;
    min-height: 100vh;
    padding: clamp(80px, 14vh, 160px) 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.chapter-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}

.chapter-mark {
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.36em;
    font-size: 11px;
    color: var(--gold);
    margin-bottom: 24px;
    display: inline-block;
}
.chapter-mark .roman {
    display: inline-block;
    margin-right: 14px;
    color: var(--gold-hi);
    font-family: var(--display);
    font-size: 18px;
    font-style: italic;
    letter-spacing: 0;
    vertical-align: -2px;
}

/* ====== Chapter I — Heritage (ivory) ====== */
.chapter-heritage {
    background: var(--ivory);
    color: var(--on-ivory);
}
.chapter-heritage .chapter-mark { color: var(--gold-deep); }
.chapter-heritage .chapter-mark .roman { color: var(--gold-deep); }
.heritage-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.heritage-head h2 {
    font-family: var(--display);
    font-weight: 400;
    margin: 0 0 16px;
    color: var(--on-ivory);
    line-height: 1.06;
    font-size: clamp(32px, 4.4vw, 60px);
    max-width: 540px;
}
.heritage-head h2 em { color: var(--gold-deep); }
.heritage-body p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--on-ivory-muted);
    margin: 0 0 18px;
    max-width: 520px;
}
.heritage-body .signoff {
    font-family: var(--display);
    font-style: italic;
    font-size: 19px;
    color: var(--gold-deep);
    margin-top: 32px;
    max-width: 520px;
}
@media (max-width: 880px) {
    .heritage-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ====== Chapter II — Atelier (full-bleed photo) ====== */
.chapter-atelier {
    background: var(--ink);
    padding: 0;
    min-height: 110vh;
}
.atelier-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.atelier-stage img {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}
.atelier-stage::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,11,5,0.3) 0%, transparent 30%, transparent 60%, rgba(14,11,5,0.85) 100%);
    z-index: 1;
}
.atelier-caption {
    position: absolute;
    bottom: 8vh;
    left: var(--gutter);
    z-index: 2;
    max-width: 520px;
    color: var(--text);
}
.atelier-caption h2 {
    font-family: var(--display);
    font-weight: 400;
    margin: 0 0 12px;
    color: var(--gold-hi);
    line-height: 1.05;
    font-size: clamp(28px, 3.6vw, 52px);
}
.atelier-caption h2 em { color: var(--text); font-style: italic; }
.atelier-caption p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    max-width: 460px;
}
.atelier-meta {
    position: absolute;
    top: 12vh;
    right: var(--gutter);
    z-index: 2;
    text-align: right;
    font-family: var(--label);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}
.atelier-meta strong {
    display: block;
    font-family: var(--display);
    font-size: 64px;
    font-weight: 400;
    color: var(--gold-hi);
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 4px;
    font-style: italic;
}

/* ====== Chapter III — The Edit (horizontal scroll) ====== */
.chapter-edit {
    background: var(--ink);
    padding-bottom: 0;
}
.edit-head { margin-bottom: 60px; max-width: 700px; }
.edit-head h2 {
    font-family: var(--display);
    font-weight: 400;
    margin: 0;
    color: var(--text);
    line-height: 1.06;
    font-size: clamp(32px, 4.4vw, 60px);
}
.edit-head h2 em { color: var(--gold-hi); font-style: italic; }
.edit-head p {
    color: var(--text-muted);
    font-size: 17px;
    margin: 24px 0 0;
    max-width: 480px;
}

.edit-rail {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--gutter) 80px;
    margin: 0 calc(-1 * var(--gutter));
    scrollbar-width: thin;
    scrollbar-color: var(--gold-deep) transparent;
}
.edit-rail::-webkit-scrollbar { height: 4px; }
.edit-rail::-webkit-scrollbar-track { background: transparent; }
.edit-rail::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 999px; }
.edit-track {
    display: inline-flex;
    gap: 24px;
    padding-right: 60vw;
}
.edit-card {
    width: clamp(280px, 32vw, 460px);
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--text);
    background: var(--ink-2);
}
.edit-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.78) saturate(0.95);
    transition: filter .8s var(--ease), transform 1.2s var(--ease);
    will-change: filter, transform;
}
.edit-card:hover img {
    filter: brightness(1) saturate(1.05);
    transform: scale(1.04);
}
.edit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14,11,5,0.85) 0%, rgba(14,11,5,0.1) 60%, transparent 80%);
    z-index: 1;
}
.edit-card-body {
    position: absolute;
    left: 28px; right: 28px; bottom: 28px;
    z-index: 2;
}
.edit-card-body .num {
    font-family: var(--display);
    font-style: italic;
    color: var(--gold-hi);
    font-size: 14px;
    letter-spacing: 0;
}
.edit-card-body h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(24px, 2.6vw, 38px);
    margin: 8px 0 14px;
    color: var(--text);
    line-height: 1.05;
}
.edit-card-body .arrow {
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 10px;
    color: var(--gold-hi);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .3s var(--ease);
}
.edit-card:hover .arrow { gap: 14px; }

.edit-rail-hint {
    margin-top: -50px;
    padding: 0 var(--gutter) 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 10px;
    color: var(--text-faint);
    position: relative;
    z-index: 3;
}
.edit-rail-hint .line { flex: 0 0 60px; height: 1px; background: var(--text-faint); opacity: 0.5; }

/* ====== Chapter IV — The Bride (cinematic) ====== */
.chapter-bride {
    background: var(--ink);
    padding: 0;
    min-height: 110vh;
}
.bride-stage {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.bride-stage img {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: center 35%;
    will-change: transform;
}
.bride-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(14,11,5,0.7) 0%, rgba(14,11,5,0.2) 50%, transparent 80%);
    z-index: 1;
}
.bride-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 var(--gutter);
    max-width: var(--container);
    margin: 0 auto;
}
.bride-content-inner { max-width: 560px; }
.bride-content h2 {
    font-family: var(--display);
    font-weight: 400;
    margin: 16px 0;
    color: var(--text);
    line-height: 1.06;
    font-size: clamp(30px, 4vw, 56px);
    max-width: 540px;
}
.bride-content h2 em { color: var(--gold-hi); font-style: italic; }
.bride-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 28px;
    max-width: 460px;
}
.bride-content .btn { margin-right: 12px; }

/* ====== Chapter V — Visit (split layout, deva watermark) ====== */
.chapter-visit {
    background: var(--ink-2);
    position: relative;
}
.chapter-visit::before {
    content: 'राग्यि';
    font-family: var(--deva);
    position: absolute;
    right: -8vw;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(280px, 44vw, 640px);
    color: rgba(200,160,74,0.05);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0;
}
.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.visit-head h2 {
    font-family: var(--display);
    font-weight: 400;
    margin: 16px 0 32px;
    line-height: 0.98;
}
.visit-head h2 em { color: var(--gold-hi); font-style: italic; }
.visit-head p {
    color: var(--text-muted);
    font-size: 17px;
    margin: 0 0 32px;
    max-width: 480px;
    line-height: 1.7;
}
.visit-meta { display: grid; gap: 28px; }
.visit-meta-item {
    border-left: 1px solid var(--gold-deep);
    padding-left: 18px;
}
.visit-meta-item .label { margin-bottom: 6px; }
.visit-meta-item p {
    font-family: var(--display);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.35;
    color: var(--text);
    margin: 0;
}
.visit-meta-item a {
    color: inherit;
    border-bottom: 1px solid var(--gold-deep);
    transition: border-color .2s;
    padding-bottom: 1px;
}
.visit-meta-item a:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
@media (max-width: 880px) {
    .visit-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 999px;
    font-family: var(--label);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background .25s, color .25s, border-color .25s, transform .15s;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: none;
}
.btn-primary {
    background: var(--gold);
    color: var(--ink);
}
.btn-primary:hover { background: var(--gold-hi); color: var(--ink); }
.btn-ghost {
    background: transparent;
    color: var(--gold-hi);
    border-color: var(--gold-deep);
}
.btn-ghost:hover { border-color: var(--gold-hi); color: var(--ivory); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ====== Reveal animations ====== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .48s; }

/* ====== Footer ====== */
.site-footer {
    background: var(--ink);
    color: var(--text-faint);
    padding: 80px 0 32px;
    border-top: 1px solid rgba(200,160,74,0.15);
    position: relative;
    z-index: 1;
}
.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--text-muted); max-width: 340px; margin: 0; }
.footer-grid h4 {
    font-family: var(--label);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-hi);
    margin: 0 0 18px;
    font-weight: 500;
}
.footer-grid a {
    display: block;
    color: var(--text-muted);
    padding: 4px 0;
    font-size: 14px;
}
.footer-grid a:hover { color: var(--text); }
.footer-bar {
    max-width: var(--container);
    margin: 56px auto 0;
    padding: 24px var(--gutter) 0;
    border-top: 1px solid rgba(200,160,74,0.1);
    font-family: var(--label);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-faint);
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ====== Floating WhatsApp ====== */
.float-wa {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 30px -10px rgba(200,160,74,0.5);
    z-index: 50;
    transition: transform .2s var(--ease), background .2s;
}
.float-wa:hover { transform: scale(1.08); background: var(--gold-hi); color: var(--ink); }
@media (hover: none) { .float-wa { cursor: pointer; } }

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .cursor { display: none; }
    body { cursor: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ====== Visually-hidden (semantic, screen-reader + SEO) ====== */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ====== Impact / Results section ====== */
.chapter-impact {
    background: var(--ink);
    padding: clamp(80px, 12vw, 140px) 0;
    border-top: 1px solid rgba(200,160,74,0.12);
    border-bottom: 1px solid rgba(200,160,74,0.12);
}
.impact-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.impact-head h2 {
    font-family: var(--display);
    font-weight: 400;
    margin: 16px 0 18px;
    line-height: 1.06;
    font-size: clamp(32px, 4.6vw, 64px);
}
.impact-head h2 em { color: var(--gold-hi); font-style: italic; }
.impact-head p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 480px;
    margin-left: auto; margin-right: auto;
}
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 56px) clamp(16px, 2.5vw, 32px);
    align-items: start;
}
.impact-card {
    text-align: center;
    padding: clamp(20px, 3vw, 32px) 12px;
    border-top: 1px solid rgba(200,160,74,0.15);
    position: relative;
}
.impact-num {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1;
    color: var(--gold-hi);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.impact-suffix {
    font-family: var(--display);
    font-style: italic;
    font-size: clamp(14px, 1.6vw, 22px);
    color: var(--text);
    margin-top: 6px;
}
.impact-label {
    font-family: var(--body);
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-top: 14px;
    letter-spacing: 0.02em;
    max-width: 280px;
    margin-left: auto; margin-right: auto;
}
@media (max-width: 880px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .impact-grid { grid-template-columns: 1fr; gap: 28px; }
    .impact-card { padding: 24px 0 0; }
}

/* ====== Mobile polish ====== */
@media (max-width: 720px) {
    :root { --gutter: 20px; }

    /* Prelude: prevent corner-overlap with scroll hint */
    .prelude-corner { display: none; }
    .prelude-scroll { bottom: 24px; font-size: 9px; }
    .prelude-tagline { margin-top: 20px; font-size: 16px; padding: 0 12px; }

    /* Nav: drop chapters, give logo + CTA breathing room */
    .nav { padding: 14px var(--gutter); }
    .nav.is-scrolled { padding: 10px var(--gutter); }
    .nav-logo img { height: 36px; }
    .nav.is-scrolled .nav-logo img { height: 32px; }
    .nav-cta { padding: 8px 14px; font-size: 10px; letter-spacing: 0.16em; }
    .nav-cta span { display: none; }

    /* Chapter padding */
    .chapter { padding: 80px 0; min-height: auto; }

    /* Atelier: stack caption + meta vertically, hide big roman numeral */
    .atelier-meta { display: none; }
    .atelier-stage { min-height: 520px; }
    .atelier-caption {
        position: absolute;
        bottom: 8vh;
        left: var(--gutter);
        right: var(--gutter);
        max-width: none;
    }
    .atelier-caption h2 { font-size: clamp(32px, 9vw, 48px); }
    .atelier-caption p { font-size: 15px; }

    /* Bride: fix gradient angle for portrait, soften */
    .bride-stage { min-height: 600px; }
    .bride-stage::after {
        background: linear-gradient(180deg, rgba(14,11,5,0.2) 0%, rgba(14,11,5,0.7) 70%, rgba(14,11,5,0.9) 100%);
    }
    .bride-content { padding: 0 var(--gutter) 60px; align-items: flex-end; }
    .bride-content h2 { font-size: clamp(34px, 10vw, 56px); }
    .bride-content p { font-size: 15px; }
    .bride-content .btn { padding: 14px 22px; font-size: 10px; letter-spacing: 0.18em; }

    /* Edit rail: tighter, smaller, show scroll hint */
    .edit-card { width: 78vw; }
    .edit-card-body h3 { font-size: 26px; }
    .edit-rail-hint { margin-top: -36px; font-size: 9px; letter-spacing: 0.22em; }
    .edit-rail-hint .line { flex: 0 0 32px; }

    /* Visit watermark less aggressive */
    .chapter-visit::before { font-size: clamp(180px, 56vw, 280px); right: -10vw; opacity: 0.6; }
    .visit-meta-item p { font-size: 16px; }

    /* Heritage */
    .heritage-body p { font-size: 15px; line-height: 1.75; }
    .heritage-body .signoff { font-size: 16px; }

    /* Cursor off on touch already, but ensure */
    body { cursor: auto; }
    .btn, .nav-cta, a { cursor: pointer; }

    /* Footer brand logo smaller */
    .footer-brand img { height: 44px; }

    /* WA float — smaller, tucked higher */
    .float-wa { width: 48px; height: 48px; bottom: 18px; right: 18px; }
    .float-wa svg { width: 22px; height: 22px; }
}

/* Tablet refinement (720-1024) */
@media (min-width: 721px) and (max-width: 1024px) {
    .heritage-grid, .visit-grid { gap: 32px; }
    .atelier-meta strong { font-size: 48px; }
    .edit-card { width: 38vw; }
}
