/* ===== main ===== */
/* ============================================================
           SHREE PERFECT THEME — Warm Ivory × Navy Blue (Variables)
        ============================================================ */
        :root {
            --bg: #F8F4E9;
            --bg-soft: #F3EDE0;
            --surface: rgba(255, 255, 255, 0.7);
            --ink: #1A2332;
            --ink-soft: rgba(26, 35, 50, 0.68);
            --ink-mute: rgba(26, 35, 50, 0.52);
            --primary: #163A5F;
            --secondary: #2F6FAD;
            --accent: #7EB6E8;
            --hover: #4A8FD4;
            --text: #1A2332;
            --border: rgba(22, 58, 95, 0.14);
            
            --midnight: #F8F4E9;
            --midnight-2: #F3EDE0;
            --midnight-3: #163A5F;
            --ivory: #1A2332;
            --ivory-dim: #163A5F;
            --concrete: #6E7680;
            --concrete-lt: #5A6270;
            --charcoal: #1A2332;
            --gold: #2F6FAD;
            --gold-lt: #4A8FD4;

            --font-display: 'Manrope', system-ui, sans-serif;
            --font-body: 'Inter', system-ui, sans-serif;
            --pad: clamp(20px, 5vw, 96px);
            --header-h: 96px; /* floating sb-header height + top offset */
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
            --radius: 22px;
            --shadow: 0 18px 48px rgba(22, 58, 95, 0.08);

            --glass-bg: linear-gradient(155deg, rgba(255,255,255,.82), rgba(255,255,255,.48) 48%, rgba(126,182,232,.16));
            --glass-fill: rgba(255,255,255,.55);
            --glass-border: rgba(22,58,95,.12);
            --glass-border-hot: rgba(47,111,173,.42);
            --glass-blur: blur(18px) saturate(145%);
            --glass-shadow: 0 20px 50px rgba(22,58,95,.07), inset 0 1px 0 rgba(255,255,255,.85);
            --glass-radius: 24px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html { scroll-behavior: auto; }

        body {
            font-family: var(--font-body);
            background: var(--bg) !important;
            color: var(--text) !important;
            font-size: 16px;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        img, video, svg { max-width: 100%; display: block; }
        a { color: inherit; text-decoration: none; }
        ul { list-style: none; }
        button { font: inherit; cursor: pointer; }

        ::selection { background: var(--secondary); color: var(--bg); }

        /* --------------- typography helpers --------------- */
        .display, h1, h2, h3, h4 { font-family: var(--font-display) !important; color: var(--text) !important; }
        .display { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.02; }

        .eyebrow {
            font-family: var(--font-display) !important;
            font-weight: 600 !important;
            font-size: 12px;
            letter-spacing: 0.32em;
            text-transform: uppercase;
            color: var(--gold) !important;
            display: inline-flex;
            align-items: center;
            gap: 14px;
        }

        .eyebrow::before {
            content: ""; width: 34px; height: 1px;
            background: var(--gold) !important;
            display: inline-block;
            box-shadow: none !important;
        }

        /* ============================================================
           GLOBAL SECTION HEADS (CENTER ALIGNED)
        ============================================================ */
        .section { padding: clamp(90px, 12vw, 170px) var(--pad); position: relative; background: transparent !important; }
        .section-head { 
            padding: clamp(20px, 3vw, 36px); 
            max-width: 1500px; 
            margin: 0 auto clamp(44px, 6vw, 90px);
            border: 0 !important;
            background: none !important;
            box-shadow: none !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
            color: var(--text) !important;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .section-head h2 { font-size: clamp(32px, 5vw, 68px); margin-top: 20px; }
        .section-head p.lede { 
            max-width: 46em; 
            color: var(--ink-soft) !important; 
            margin: 22px auto 0;
            font-size: clamp(15px, 1.3vw, 19px); 
        }
        .wrap { max-width: 1500px; margin: 0 auto; }

        .text-gold {
            background: linear-gradient(100deg, #163A5F 0%, #2F6FAD 52%, #4A8FD4 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            color: transparent !important;
        }

        /* --------------- skip link --------------- */
        .skip-link {
            position: absolute; left: -9999px; top: 0; z-index: 300;
            background: var(--gold); color: var(--bg); padding: 12px 20px;
            font-weight: 600;
        }
        .skip-link:focus { left: 0; }

        /* ============================================================
           HEADER & NAVIGATION (CENTER ALIGNED)
        ============================================================ */
        /* Header / mobile nav styles live in sb-header.css (sb-header-*) */

        /* ============================================================
           BUTTONS & CHIPS
        ============================================================ */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 12px;
            font-family: var(--font-display) !important; font-weight: 700 !important;
            font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
            padding: 16px 30px; border-radius: 999px !important; border: 1px solid rgba(22,58,95,.2) !important;
            color: var(--text) !important; background: transparent;
            position: relative; overflow: hidden; isolation: isolate;
            transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
        }
        .btn:hover, .btn:focus-visible { color: var(--bg) !important; border-color: var(--secondary) !important; }
        .btn:focus-visible { background: var(--secondary) !important; } /* keyboard gets the fill too */

        .btn--solid {
            background: linear-gradient(115deg, var(--primary), var(--secondary)) !important;
            border-color: transparent !important; color: var(--bg) !important;
            box-shadow: 0 12px 30px rgba(22,58,95,.2) !important;
        }
        .btn--solid:hover, .btn--solid:focus-visible { border-color: transparent !important; }
        
        .btn--ghost {
            background: rgba(255,255,255,.55) !important; border-color: rgba(22,58,95,.18) !important;
            color: var(--text) !important; -webkit-backdrop-filter: blur(10px) !important; backdrop-filter: blur(10px) !important;
        }
        .btn--ghost:hover { border-color: var(--secondary) !important; color: var(--primary) !important; }
        .btn--ghost:hover, .btn--ghost:focus-visible { background: rgba(255,255,255,.55) !important; }
        .btn .arr { transition: transform 0.35s var(--ease); }
        .btn:hover .arr { transform: translateX(6px); }

        /* ---- Ariva fluid flair — cursor-anchored fill, ported 1:1 from the
               Ariva project page; JS sizes the circle to each element ---- */
        .ariva-flair-interactive {
            --ariva-flair-fill: var(--primary);
            --ariva-flair-hover: #ffffff;
            position: relative;
            overflow: hidden;
            isolation: isolate;
            -webkit-tap-highlight-color: transparent;
        }
        .ariva-flair-interactive > :not(.ariva-flair__fill) {
            position: relative;
            z-index: 2;
            transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), border-color 0.3s ease, background-color 0.3s ease;
        }
        .ariva-flair__content {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: inherit;
            color: inherit;
            line-height: inherit;
            min-width: 0;
        }
        .ariva-flair__content svg,
        .ariva-flair__content i { flex-shrink: 0; }
        .ariva-flair__fill {
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: 1;
            width: max(260%, 12rem);
            aspect-ratio: 1;
            border-radius: 50%;
            background: var(--ariva-flair-fill);
            pointer-events: none;
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1);
        }
        .ariva-flair-interactive.is-flair-hovered .ariva-flair__fill { transform: translate(-50%, -50%) scale(1); }
        .ariva-flair-interactive.is-flair-hovered { color: var(--ariva-flair-hover); }
        .ariva-flair-interactive.is-flair-hovered .ariva-flair__content,
        .ariva-flair-interactive.is-flair-hovered .ariva-flair__content * {
            color: var(--ariva-flair-hover) !important;
            stroke: currentColor;
        }
        .ariva-flair-interactive.is-flair-hovered svg,
        .ariva-flair-interactive.is-flair-hovered i { color: currentColor; stroke: currentColor; }
        /* cards: navy fill floods the card, text inverts to white while covered */
        .ariva-flair-card.is-flair-hovered { border-color: rgba(22, 58, 95, 0.55) !important; box-shadow: 0 16px 34px rgba(22, 58, 95, 0.14); }
        .ariva-flair-card.is-flair-hovered p,
        .ariva-flair-card.is-flair-hovered span,
        .ariva-flair-card.is-flair-hovered h3,
        .ariva-flair-card.is-flair-hovered h4,
        .ariva-flair-card.is-flair-hovered h5,
        .ariva-flair-card.is-flair-hovered h6 {
            color: var(--ariva-flair-hover) !important;
        }
        /* button variants keep their existing color identities */
        .btn.ariva-flair-interactive { --ariva-flair-fill: var(--secondary); --ariva-flair-hover: var(--bg); }
        .btn--solid.ariva-flair-interactive { --ariva-flair-fill: var(--hover); --ariva-flair-hover: var(--bg); }
        .btn--ghost.ariva-flair-interactive { --ariva-flair-fill: rgba(47, 111, 173, 0.14); --ariva-flair-hover: var(--primary); }
        .map-open.ariva-flair-interactive { --ariva-flair-fill: var(--secondary); --ariva-flair-hover: #ffffff; }
        /* floating contact buttons — white fill, icon takes the brand color */
        .float-btn--call.ariva-flair-interactive { --ariva-flair-fill: #ffffff; --ariva-flair-hover: #E53935; }
        .float-btn--wa.ariva-flair-interactive { --ariva-flair-fill: #ffffff; --ariva-flair-hover: #128c7e; }
        @media (prefers-reduced-motion: reduce) {
            .ariva-flair__fill { transition: none; }
        }

        .status-chip {
            --chip-accent: #D4A017;
            display: inline-flex; align-items: center; gap: 8px;
            font-family: 'JetBrains Mono', ui-monospace, monospace !important;
            font-size: 10px; font-weight: 500; letter-spacing: 0.2em;
            text-transform: uppercase; color: var(--chip-accent) !important; margin-bottom: 14px;
            border: 1px solid rgba(3, 3, 4, 0.1) !important; border-radius: 999px !important;
            padding: 8px 14px !important; background: rgba(255,255,255,.88) !important;
            -webkit-backdrop-filter: blur(12px) !important; backdrop-filter: blur(12px) !important;
            box-shadow: 0 8px 20px rgba(3,3,4,.05) !important;
        }
        .status-chip::before {
            content: ""; width: 7px; height: 7px; border-radius: 50%;
            background: var(--chip-accent) !important; animation: chip 2s ease infinite;
        }
        .status-chip--build { --chip-accent: #D4A017; }
        .status-chip--new { --chip-accent: #FA7E1E; }
        @keyframes chip { 50% { opacity: 0.35; } }

        /* ============================================================
           FROSTED GLASS SURFACES
        ============================================================ */
        .project-card, .amenity, .testi, .map-card, .stat, .visit-shell, .footer-shell, .values li, .quality-list li, .field input, .field select, .field textarea {
            border: 1px solid rgba(22,58,95,.12) !important;
            background: linear-gradient(155deg, rgba(255,255,255,.86), rgba(255,255,255,.55) 55%, rgba(126,182,232,.14)), rgba(255,255,255,.5) !important;
            /* lighter blur — 18px+saturate on 7 stacked sticky cards was a scroll-jank source */
            -webkit-backdrop-filter: blur(10px) !important; backdrop-filter: blur(10px) !important;
            box-shadow: 0 20px 50px rgba(22,58,95,.07), inset 0 1px 0 rgba(255,255,255,.9) !important;
            color: var(--text) !important;
        }
        .project-card, .visit-shell, .footer-shell { border-radius: var(--glass-radius) !important; }
        .amenity, .testi, .map-card { border-radius: 20px !important; }
        .project-card:hover, .amenity:hover, .testi:hover {
            border-color: rgba(47,111,173,.4) !important;
            box-shadow: 0 28px 64px rgba(22,58,95,.12), 0 0 0 1px rgba(47,111,173,.08), inset 0 1px 0 rgba(255,255,255,.95) !important;
            transform: translateY(-3px);
        }

        /* ============================================================
           FLOATING CONTACT BUTTONS
        ============================================================ */
        .float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 14px; transition: opacity 0.25s ease, visibility 0.25s ease; }
        .float-btn {
            width: 56px; height: 56px; border-radius: 50% !important; display: flex; align-items: center; justify-content: center;
            font-size: 22px; box-shadow: 0 16px 46px rgba(0,0,0,.36); transition: transform 0.3s var(--ease);
            border: 1px solid var(--glass-border) !important; -webkit-backdrop-filter: var(--glass-blur) !important; backdrop-filter: var(--glass-blur) !important;
        }
        .float-btn:hover { transform: translateY(-4px) scale(1.06); }
        .float-btn--wa { background: #25D366 !important; color: #fff; }
        .float-btn--call { background: #E53935 !important; color: #fff !important; }
        .float-btn svg { width: 24px; height: 24px; fill: currentColor; }

        /* ============================================================
           HERO — quiet editorial: ivory paper, bronze accent, no imagery
        ============================================================ */
        .hero {
            position: relative; min-height: 100svh;
            display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
            padding: calc(var(--header-h) + clamp(28px, 5vh, 56px)) var(--pad) clamp(56px, 9vh, 96px) !important;
            overflow: hidden;
            background:
                radial-gradient(circle at 88% 14%, rgba(181, 138, 67, 0.12), transparent 46%),
                linear-gradient(180deg, #FBF8F1 0%, #F6F1E4 55%, #F2ECDC 100%) !important;
            z-index: 1; isolation: isolate;
        }

        /* faint architectural grid, resolving in from the right edge */
        .hero::before {
            content: "";
            position: absolute; inset: 0; z-index: 0; pointer-events: none;
            background-image:
                linear-gradient(90deg, rgba(20, 20, 15, 0.05) 1px, transparent 1px),
                linear-gradient(rgba(20, 20, 15, 0.05) 1px, transparent 1px);
            background-size: 72px 72px;
            -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 40%, rgba(0,0,0,.9) 72%, rgba(0,0,0,.9) 100%);
            mask-image: linear-gradient(100deg, transparent 0%, transparent 40%, rgba(0,0,0,.9) 72%, rgba(0,0,0,.9) 100%);
        }

        /* small vertical wordmark — decorative, typographic only */
        .hero::after {
            content: "SHREE BUILDCON — GANDHINAGAR";
            position: absolute; z-index: 0; pointer-events: none;
            right: clamp(22px, 4vw, 60px); bottom: clamp(24px, 5vh, 64px);
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px; font-weight: 500; letter-spacing: 0.34em;
            text-transform: uppercase; color: rgba(20, 20, 15, 0.32);
            writing-mode: vertical-rl;
        }

        .hero-inner {
            position: relative; z-index: 2;
            width: min(840px, 100%);
            max-width: min(840px, 100%) !important;
            margin: 0;
            padding: clamp(20px, 3vw, 36px) 0 !important;
            display: flex; flex-direction: column;
            align-items: flex-start; text-align: left;
            border: 0 !important; background: none !important; box-shadow: none !important;
            -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
        }

        .hero .eyebrow {
            margin: 0;
            color: #A9793B !important;
            opacity: 0;
        }
        .hero .eyebrow::before { background: #A9793B !important; }

        .hero h1.display,
        .hero #heroTitle {
            margin: 24px 0 0 !important;
            font-family: 'Cormorant Garamond', Georgia, serif !important;
            font-weight: 600 !important;
            font-size: clamp(2.6rem, 5.6vw, 4.6rem) !important;
            line-height: 1.05 !important;
            letter-spacing: -0.01em !important;
            text-transform: none !important;
            color: #16160F !important;
            text-shadow: none !important;
            width: 100%;
            max-width: none;
            text-align: left;
            opacity: 0;
        }
        .hero #heroTitle .h1-line {
            display: block;
            white-space: nowrap;
        }
        /* second line — solid bronze italic, no rainbow */
        .hero #heroTitle .text-gold {
            background: none !important;
            -webkit-background-clip: initial !important;
            background-clip: initial !important;
            color: #A9793B !important;
            -webkit-text-fill-color: #A9793B !important;
            font-style: italic;
        }

        .hero .hero-sub {
            margin: 26px 0 0 !important;
            padding-left: 0;
            border-left: 0;
            color: rgba(20, 20, 15, 0.62) !important;
            font-family: 'Inter', sans-serif !important;
            font-weight: 400;
            font-size: clamp(15px, 1.3vw, 19px) !important;
            line-height: 1.65;
            max-width: 40em;
            text-align: left;
            opacity: 0;
        }

        .hero-ctas {
            display: flex; flex-wrap: wrap; justify-content: flex-start;
            align-items: center; gap: 14px 22px;
            margin-top: clamp(28px, 4vh, 40px);
            opacity: 0;
        }
        .hero .hero-ctas .btn {
            min-height: 50px; padding: 14px 26px !important;
            font-family: 'Inter', sans-serif !important;
            font-weight: 500 !important; letter-spacing: 0.02em;
        }
        .hero .hero-ctas .btn--solid {
            background: #16160F !important;
            color: #F8F4E9 !important;
            box-shadow: 0 14px 32px rgba(20, 20, 15, 0.18) !important;
        }
        .hero .hero-ctas .btn--solid:hover, .hero .hero-ctas .btn--solid:focus-visible {
            background: #A9793B !important;
            box-shadow: 0 14px 32px rgba(169, 121, 59, 0.26) !important;
        }
        .hero .hero-ctas .btn--ghost {
            background: transparent !important; border-color: transparent !important;
            color: #16160F !important;
            text-decoration: underline; text-underline-offset: 0.35em;
            text-decoration-color: rgba(169, 121, 59, 0.5);
            -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
            border-radius: 0 !important;
        }
        .hero .hero-ctas .btn--ghost:hover {
            color: #A9793B !important;
            text-decoration-color: #A9793B;
        }

        .hero-meta {
            position: absolute; left: var(--pad); bottom: clamp(28px, 5vh, 48px); z-index: 3;
            display: flex; justify-content: flex-start;
        }
        .scroll-cue {
            display: flex; flex-direction: column; align-items: center; gap: 10px;
            color: rgba(20, 20, 15, 0.5) !important; background: none; border: none;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; opacity: 0;
        }
        .scroll-cue .line {
            width: 1px; height: 44px;
            background: linear-gradient(rgba(20, 20, 15, 0.5), transparent) !important;
            animation: cue 2.2s var(--ease) infinite;
        }
        @keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

        @media (max-width: 900px) {
            .hero {
                min-height: 100svh;
                background:
                    radial-gradient(circle at 84% 8%, rgba(181, 138, 67, 0.12), transparent 40%),
                    linear-gradient(180deg, #FBF8F1 0%, #F5EFDF 100%) !important;
            }
            .hero::before { background-size: 44px 44px; opacity: 0.6; -webkit-mask-image: linear-gradient(#000 0 100%); mask-image: linear-gradient(#000 0 100%); }
            .hero::after { display: none; }
            .hero,
            .hero-inner {
                align-items: flex-start !important;
                text-align: left !important;
            }
            .hero-inner { width: 100%; max-width: 100% !important; }
            .hero h1.display,
            .hero #heroTitle,
            .hero #heroTitle .h1-line,
            .hero .hero-sub,
            .hero .eyebrow {
                text-align: left !important;
            }
            .hero h1.display, .hero #heroTitle {
                font-size: clamp(2.1rem, 9.6vw, 3.2rem) !important;
                max-width: 100%;
            }
            /* safety net on very narrow phones — never clip, wrap only if a phrase truly can't fit */
            .hero #heroTitle .h1-line {
                white-space: normal;
            }
            .hero-ctas { justify-content: flex-start !important; }

            /* all section titles left-aligned on mobile */
            .section-head {
                text-align: left !important;
                align-items: flex-start !important;
            }
            .section-head h2,
            .section-head .eyebrow,
            .section-head p.lede {
                text-align: left !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            .section-head p.lede { margin-inline: 0 !important; }
            .final-cta,
            .final-cta .section-head,
            .final-cta h2 {
                text-align: left !important;
            }
            .final-cta .section-head { align-items: flex-start !important; }
        }

        #projects { position: relative; overflow: clip; }

        /* skyline band — full-bleed background across the whole viewport */
        .sky-reveal {
            position: relative;
            z-index: 1;
            min-height: 100svh;
            width: 100%;
            padding: 0;
            margin: 0;
            background: #FFFFFF;
            overflow: hidden;
        }
        .sky-reveal .sky-media {
            position: absolute;
            inset: 0;
            margin: 0;
            width: 100%;
            height: 100%;
            max-width: none;
            padding: 0;
            display: block;
        }
        .sky-reveal .sky-media img {
            display: block;
            width: 100%;
            height: 100%;
            max-height: none;
            object-fit: cover;
            object-position: center center;
            will-change: transform;
        }
        /* Mobile: show the full panorama (no cover crop) */
        @media (max-width: 900px) {
            .sky-reveal {
                min-height: 0;
                height: auto;
                overflow: hidden;
            }
            .sky-reveal .sky-media {
                position: relative;
                inset: auto;
                width: 100%;
                height: auto;
            }
            .sky-reveal .sky-media img {
                width: 100%;
                height: auto;
                max-height: none;
                object-fit: contain;
                object-position: center center;
                will-change: auto;
            }
        }

        /* ============================================================
           PROJECTS
        ============================================================ */
        .projects {
            background:
                radial-gradient(ellipse 55% 40% at 85% 8%, rgba(249, 206, 52, 0.08), transparent 60%),
                transparent;
        }
        .projects-head {
            text-align: left !important;
            align-items: flex-start !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            max-width: 1500px;
            width: 100%;
        }
        .projects-head h2 {
            font-size: clamp(30px, 4.8vw, 64px);
            margin-top: 18px;
            line-height: 1.05;
            max-width: 14em;
            text-align: left;
        }
        .projects-head h2 .h1-line {
            display: block;
            white-space: nowrap;
        }
        .projects-head .lede {
            margin: 20px 0 0 !important;
            text-align: left;
            max-width: 40em;
        }
        .projects-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px 18px;
            margin-top: 22px;
            padding-top: 18px;
            border-top: 1px solid rgba(3, 3, 4, 0.1);
            width: min(100%, 40em);
        }
        .projects-meta strong {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(28px, 3vw, 36px);
            font-weight: 600;
            color: #030304;
            line-height: 1;
        }
        .projects-meta span {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #71717A;
        }

        .project-card {
            position: relative;
            padding: clamp(20px, 2.8vw, 36px) !important;
            margin-bottom: 22px;
            display: grid;
            grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
            gap: clamp(22px, 3.5vw, 64px);
            align-items: center;
            border-radius: 4px !important;
        }
        .project-media {
            overflow: hidden;
            position: relative;
            aspect-ratio: 16 / 10;
            border-radius: 4px;
            box-shadow: 0 18px 48px rgba(3, 3, 4, 0.12);
            isolation: isolate;
            background: #F4F4F5;
        }
        .project-media::after {
            content: "";
            position: absolute; inset: 0;
            pointer-events: none;
            border-radius: inherit;
            background: linear-gradient(180deg, transparent 50%, rgba(3, 3, 4, 0.28) 100%);
            z-index: 1;
        }
        .project-media img {
            width: 100%; height: 100%;
            object-fit: cover;
            filter: saturate(0.9);
            transform: scale(1.06);
            transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
            display: block;
        }
        .project-card:hover .project-media img {
            transform: scale(1.01);
            filter: saturate(1.05);
        }
        .project-media .num {
            position: absolute; top: 16px; left: 16px; z-index: 2;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-weight: 500; font-size: 11px; letter-spacing: 0.18em;
            color: #030304;
            background: rgba(255, 255, 255, 0.94);
            padding: 8px 12px;
            border-radius: 2px;
            border: 1px solid rgba(3, 3, 4, 0.08);
            box-shadow: 0 8px 20px rgba(3, 3, 4, 0.08);
        }
        .project-info { min-width: 0; }
        .project-info h3 {
            font-family: 'Cormorant Garamond', Georgia, serif !important;
            font-weight: 600 !important;
            text-transform: none !important;
            letter-spacing: -0.01em;
            font-size: clamp(28px, 3.4vw, 48px);
            line-height: 1.05;
            color: #030304;
            margin: 0;
        }
        .project-loc {
            margin: 8px 0 0;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            color: #71717A;
        }
        .project-specs {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px 20px;
            margin: 24px 0 28px;
            padding: 18px 0;
            border-top: 1px solid rgba(3, 3, 4, 0.08);
            border-bottom: 1px solid rgba(3, 3, 4, 0.08);
            width: 100%;
        }
        .project-specs > div { min-width: 0; }
        .project-specs dt {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #D4A017;
            margin-bottom: 6px;
        }
        .project-specs dd {
            color: #3F3F46;
            font-family: 'Inter', sans-serif;
            font-size: 14.5px;
            line-height: 1.35;
            margin: 0;
        }
        .project-actions { display: flex; flex-wrap: wrap; gap: 12px; }

        /* sticky stack — opaque surface for scroll perf */
        .projects .project-card {
            background: linear-gradient(155deg, #FFFFFF, #FAFAFB 55%, #FCF8EC) !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }
        .projects .project-card:hover { transform: none; }

        .projects-foot {
            max-width: 1500px;
            margin: clamp(28px, 4vw, 48px) auto 0;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px 24px;
            padding-top: 28px;
            border-top: 1px solid rgba(3, 3, 4, 0.1);
            position: relative;
            z-index: 5;
        }
        .projects-foot p {
            margin: 0;
            font-family: 'Inter', sans-serif;
            font-size: 14.5px;
            color: #71717A;
            max-width: 28em;
        }

        /* sticky card stack — desktop + mobile */
        .projects .wrap { position: relative; }
        .projects .project-card {
            position: sticky;
            top: calc(var(--header-h, 72px) + 28px);
            will-change: transform;
            transform-origin: 50% 0;
            backface-visibility: hidden;
        }
        .projects .project-card:nth-of-type(2) { top: calc(var(--header-h, 72px) + 38px); }
        .projects .project-card:nth-of-type(3) { top: calc(var(--header-h, 72px) + 48px); }
        .projects .project-card:nth-of-type(4) { top: calc(var(--header-h, 72px) + 58px); }

        @media (max-width: 860px) {
            .project-card { grid-template-columns: 1fr !important; gap: 18px; margin-bottom: 28px; }
            .project-media { aspect-ratio: 16 / 11; }
            .project-specs { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
            .project-specs > div:last-child { grid-column: 1 / -1; }
            .projects-head h2 .h1-line { white-space: nowrap; }
            .projects-foot { flex-direction: column; align-items: flex-start; }
            .projects-foot .btn { width: 100%; justify-content: center; }
            /* tighter sticky offsets under the compact mobile header */
            .projects .project-card { top: calc(var(--header-h, 72px) + 16px); }
            .projects .project-card:nth-of-type(2) { top: calc(var(--header-h, 72px) + 24px); }
            .projects .project-card:nth-of-type(3) { top: calc(var(--header-h, 72px) + 32px); }
            .projects .project-card:nth-of-type(4) { top: calc(var(--header-h, 72px) + 40px); }
        }
        @media (max-width: 560px) {
            .projects-head h2 { font-size: clamp(26px, 8vw, 34px); }
            .projects-head h2 .h1-line { white-space: normal; }
            .project-actions { width: 100%; }
            .project-actions .btn { flex: 1 1 auto; justify-content: center; }
            .project-specs { grid-template-columns: 1fr; }
            .project-specs > div:last-child { grid-column: auto; }
        }

        /* ============================================================
           ABOUT & VALUES
        ============================================================ */
        .about-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
            gap: clamp(36px, 5vw, 96px);
            align-items: start;
        }
        .about-copy { min-width: 0; }
        .about h2 {
            font-size: clamp(32px, 4.6vw, 64px);
            margin-top: 20px;
            line-height: 1.05;
            max-width: 14em;
        }
        .about .story {
            color: #52525B !important;
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            font-size: clamp(15px, 1.3vw, 18px);
            line-height: 1.65;
            margin-top: 24px;
            max-width: 36em;
        }
        .about .story + .story { margin-top: 14px; }

        .about-proof {
            display: flex; flex-wrap: wrap;
            gap: 0;
            margin-top: clamp(28px, 3.5vw, 40px);
            padding: 18px 0;
            border-top: 1px solid rgba(3, 3, 4, 0.1);
            border-bottom: 1px solid rgba(3, 3, 4, 0.1);
        }
        .about-proof > div {
            flex: 1 1 140px;
            min-width: 120px;
            padding: 4px clamp(16px, 2vw, 28px);
            border-left: 1px solid rgba(3, 3, 4, 0.1);
        }
        .about-proof > div:first-child { padding-left: 0; border-left: 0; }
        .about-proof small {
            display: block; margin-bottom: 6px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px; font-weight: 500;
            letter-spacing: 0.28em; text-transform: uppercase;
            color: #D4A017;
        }
        .about-proof strong {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(18px, 1.6vw, 22px);
            font-weight: 600;
            color: #030304;
            letter-spacing: 0.01em;
        }

        .about-visual {
            position: relative;
            min-width: 0;
        }
        @media (min-width: 861px) {
            .about-visual { position: sticky; top: calc(var(--header-h, 72px) + 28px); }
        }
        .about-img {
            overflow: hidden; position: relative;
            border-radius: 4px;
            box-shadow: 0 24px 60px rgba(3, 3, 4, 0.12);
            isolation: isolate;
            background: #F9F9FA;
        }
        .about-img img {
            width: 100%; height: 100%;
            object-fit: cover;
            aspect-ratio: 4 / 5;
            transform: scale(1.04);
            display: block;
        }
        .about-img::after {
            content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
            background: linear-gradient(180deg, transparent 45%, rgba(3, 3, 4, 0.55) 100%);
        }
        .about-caption {
            position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
            padding: 22px 24px;
            display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
            color: #fff;
        }
        .about-caption strong {
            display: block;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(20px, 2vw, 28px);
            font-weight: 600;
            line-height: 1.1;
        }
        .about-caption span {
            display: block; margin-top: 4px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
            opacity: 0.85;
        }
        .about-caption em {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-style: normal;
            font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
            color: #F9CE34;
            white-space: nowrap;
        }

        .values {
            margin-top: clamp(32px, 4vw, 48px);
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .values li {
            display: grid; grid-template-columns: 40px 1fr; gap: 12px;
            padding: 18px 16px !important;
            border-radius: 4px;
            margin-bottom: 0;
            align-items: start;
        }
        .values .v-num {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-weight: 500; color: #D4A017;
            font-size: 12px; letter-spacing: 0.12em; padding-top: 3px;
        }
        .values h4 {
            font-family: 'Cormorant Garamond', Georgia, serif !important;
            text-transform: none; letter-spacing: 0;
            font-size: clamp(17px, 1.4vw, 20px); font-weight: 600;
            margin-bottom: 6px; color: #030304;
        }
        .values p { color: #52525B; font-size: 14px; line-height: 1.5; }

        .about-cta { margin-top: clamp(28px, 3.5vw, 40px); }

        @media (max-width: 860px) {
            .about-grid { grid-template-columns: 1fr; }
            .about-visual { order: -1; }
            .about-img img { aspect-ratio: 16 / 11; }
            .values { grid-template-columns: 1fr; }
            .about-proof > div { flex: 1 1 100%; border-left: 0; padding: 12px 0; border-bottom: 1px solid rgba(3, 3, 4, 0.08); }
            .about-proof > div:last-child { border-bottom: 0; padding-bottom: 0; }
            .about-proof { flex-direction: column; }
        }

        /* ============================================================
           AMENITIES & QUALITY
        ============================================================ */
        .amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px !important; }
        .amenity { padding: clamp(26px, 3vw, 42px) clamp(22px, 2.4vw, 36px); position: relative; overflow: hidden; isolation: isolate; }
        /* top accent hairline — draws in on hover */
        .amenity::before {
            content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
            transform: scaleX(0); transform-origin: left center;
            transition: transform 0.5s var(--ease);
        }
        .amenity:hover::before { transform: scaleX(1); }
        /* icon chip — soft tile that fills with brand blue on hover */
        .amenity .amenity-icon, .amenity svg.lucide {
            width: 56px; height: 56px; padding: 14px;
            border-radius: 16px;
            background: rgba(47, 111, 173, 0.09);
            stroke: var(--secondary) !important; color: var(--secondary) !important;
            stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none;
            margin-bottom: 20px; display: block;
            transition: background 0.35s var(--ease), stroke 0.35s var(--ease), transform 0.35s var(--ease);
        }
        .amenity:hover .amenity-icon, .amenity:hover svg.lucide {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            stroke: #fff !important; color: #fff !important;
            transform: translateY(-2px);
        }
        .amenity h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px; margin-bottom: 8px; }
        .amenity p { color: rgba(26,35,50,.68); font-size: 14px; line-height: 1.55; }
        
        .quality-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
        .quality-img { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 18px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08); isolation: isolate; }
        .quality-img img { aspect-ratio: 4/4.8; object-fit: cover; width: 100%; filter: saturate(0.85); }
        .quality-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.1), transparent 40%, rgba(0,0,0,.15)); z-index: 1; }
        /* floating proof badges over the image */
        .q-badge {
            position: absolute; z-index: 2;
            padding: 12px 16px; border-radius: 14px;
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(22, 58, 95, 0.14);
            box-shadow: 0 14px 34px rgba(22, 58, 95, 0.16);
        }
        .q-badge strong {
            display: block;
            font-family: var(--font-display); font-size: 13px; font-weight: 800;
            letter-spacing: 0.04em; color: var(--primary);
        }
        .q-badge span {
            display: block; margin-top: 2px;
            font-family: var(--font-display); font-size: 10px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            color: rgba(22, 58, 95, 0.55);
        }
        .q-badge--tr { top: 18px; right: 18px; }
        .q-badge--bl { bottom: 18px; left: 18px; }
        .q-lede { margin-top: 20px; color: rgba(26, 35, 50, 0.68); font-size: clamp(15px, 1.25vw, 18px); max-width: 30em; }
        .quality-list { margin-top: 32px; }
        .quality-list li {
            position: relative; overflow: hidden;
            padding: 18px 20px 18px 24px !important; border-radius: 16px; margin-bottom: 10px;
            display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline;
            transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
        }
        /* left accent bar — draws down the row on hover */
        .quality-list li::before {
            content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
            background: linear-gradient(180deg, var(--secondary), var(--accent));
            transform: scaleY(0); transform-origin: top center;
            transition: transform 0.45s var(--ease);
        }
        .quality-list li:hover { transform: translateX(5px); border-color: rgba(47, 111, 173, 0.4) !important; }
        .quality-list li:hover::before { transform: scaleY(1); }
        .quality-list .q-num { font-family: var(--font-display); font-weight: 800; color: var(--secondary); font-size: 13px; letter-spacing: 0.12em; }
        .quality-list h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 16px; margin-bottom: 6px; }
        .quality-list p { color: rgba(26,35,50,.68); font-size: 15px; max-width: 40em; }
        .q-walk { margin-top: 28px; }
        
        @media (max-width: 1000px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 860px) { .quality-grid { grid-template-columns: 1fr; } .quality-img { order: -1; } }
        @media (max-width: 520px) { .amenities-grid { grid-template-columns: 1fr; } }

        /* ============================================================
           LOCATION — Ariva replica: intro → 4 highlight cards →
           3 feature rows → "What's Nearby" chips → contained map
        ============================================================ */
        .location .wrap { max-width: 1280px; }
        /* 4 highlight cards */
        .loc-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); margin-bottom: clamp(32px, 4.5vw, 64px); }
        .loc-card {
            padding: clamp(20px, 2vw, 28px); border-radius: 20px;
            border: 1px solid rgba(22, 58, 95, 0.12);
            background: rgba(255, 255, 255, 0.7);
            transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
        }
        .loc-card:hover { transform: translateY(-4px); border-color: rgba(47, 111, 173, 0.45); box-shadow: 0 22px 48px rgba(22, 58, 95, 0.1); }
        .loc-icon {
            width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            background: #fff; border: 1px solid rgba(22, 58, 95, 0.14);
            box-shadow: 0 6px 16px rgba(22, 58, 95, 0.08);
            margin-bottom: 22px;
            transition: background 0.35s ease, border-color 0.35s ease;
        }
        .loc-icon svg { width: 20px; height: 20px; stroke: var(--secondary); transition: stroke 0.35s ease; }
        .loc-card:hover .loc-icon, .loc-feature:hover .loc-icon { background: linear-gradient(135deg, #163A5F, #2F6FAD); border-color: transparent; }
        .loc-card:hover .loc-icon svg, .loc-feature:hover .loc-icon svg { stroke: #fff; }
        .loc-card h4 { font-family: var(--font-display); font-size: clamp(17px, 1.4vw, 21px); margin-bottom: 10px; }
        .loc-card p { color: rgba(26, 35, 50, 0.7); font-size: 14px; line-height: 1.65; }
        /* 3 feature rows */
        .loc-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); margin-bottom: clamp(32px, 4.5vw, 64px); }
        .loc-feature { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border-radius: 16px; transition: background 0.3s ease; }
        .loc-feature:hover { background: rgba(255, 255, 255, 0.75); }
        .loc-feature .loc-icon { width: 40px; height: 40px; margin-bottom: 0; }
        .loc-feature .loc-icon svg { width: 18px; height: 18px; }
        .loc-feature h5 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
        .loc-feature p { color: rgba(26, 35, 50, 0.6); font-size: 13.5px; line-height: 1.6; }
        /* what's nearby */
        .loc-nearby { margin-bottom: clamp(32px, 4.5vw, 64px); text-align: center; }
        .loc-nearby h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
        .loc-nearby > p { color: rgba(26, 35, 50, 0.65); font-size: 14.5px; max-width: 560px; margin: 0 auto 28px; }
        .nearby-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
        .nearby-chip {
            display: flex; flex-direction: column; align-items: center; gap: 8px;
            padding: 16px 10px; border-radius: 14px;
            border: 1px solid rgba(22, 58, 95, 0.12);
            background: rgba(255, 255, 255, 0.65);
            transition: border-color 0.3s ease, transform 0.3s ease;
        }
        .nearby-chip:hover { border-color: rgba(47, 111, 173, 0.5); transform: translateY(-2px); }
        .nearby-chip svg { width: 18px; height: 18px; stroke: var(--secondary); flex-shrink: 0; }
        .nearby-chip span { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-align: center; }
        /* contained rounded map */
        .map-card { position: relative; overflow: hidden !important; height: clamp(400px, 46vw, 600px); border-radius: 28px !important; }
        .map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
        .map-card .map-open { position: absolute; right: 18px; bottom: 18px; z-index: 2; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg); background: var(--primary); border: 1px solid rgba(22, 58, 95, .18); padding: 11px 18px; border-radius: 999px; box-shadow: 0 12px 32px rgba(22, 58, 95, .16); transition: background .25s ease, color .25s ease; }
        .map-card .map-open:hover { background: var(--secondary); }
        @media (max-width: 1100px) {
            .loc-highlights { grid-template-columns: repeat(2, 1fr); }
            .nearby-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 900px) {
            /* feature rows get cramped as 3 columns on small tablets */
            .loc-features { grid-template-columns: 1fr; gap: 8px; }
            .loc-feature { padding: 14px 12px; }
        }
        @media (max-width: 760px) {
            .map-card { height: min(420px, 62svh); min-height: 320px; }
        }
        @media (max-width: 600px) {
            .loc-card { padding: 18px 16px; }
            .loc-card .loc-icon { margin-bottom: 16px; }
            .nearby-chip { padding: 13px 8px; }
            .nearby-chip span { font-size: 12px; }
            .map-card { border-radius: 18px !important; }
            .map-card .map-open { right: 12px; bottom: 12px; padding: 9px 14px; font-size: 10px; }
        }
        @media (max-width: 520px) {
            .loc-highlights { grid-template-columns: 1fr; gap: 12px; }
            .nearby-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
        }

        /* ============================================================
           GALLERY (CINEMATIC STAGGER)
        ============================================================ */
        .gallery {
            overflow: hidden;
            padding-left: 0;
            padding-right: 0;
            background:
                radial-gradient(ellipse 50% 45% at 10% 20%, rgba(249, 206, 52, 0.07), transparent 55%),
                transparent;
        }
        .gallery-head {
            text-align: left !important;
            align-items: flex-start !important;
            max-width: 1500px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            padding: 0 var(--pad) !important;
            margin-bottom: clamp(28px, 4vw, 48px) !important;
        }
        .gallery-head h2 {
            font-size: clamp(30px, 4.8vw, 64px);
            margin-top: 18px;
            line-height: 1.05;
            text-align: left;
            max-width: 12em;
        }
        .gallery-head h2 .h1-line {
            display: block;
            white-space: nowrap;
        }
        .gallery-head .lede {
            margin: 18px 0 0 !important;
            text-align: left;
            max-width: 38em;
        }
        .gallery-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px 20px;
            margin-top: 22px;
            padding-top: 16px;
            border-top: 1px solid rgba(3, 3, 4, 0.1);
            width: min(100%, 38em);
        }
        .gallery-meta span {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #71717A;
        }
        .gallery-meta .gallery-hint {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: #D4A017;
        }
        .gallery-meta .gallery-hint::before {
            content: "";
            width: 28px; height: 1px;
            background: #D4A017;
        }

        .gallery-rail {
            position: relative;
            overflow: hidden;
        }
        .gallery-track {
            display: flex;
            align-items: flex-end;
            gap: clamp(14px, 1.8vw, 28px);
            padding: 12px var(--pad) 36px;
            width: max-content;
            cursor: grab;
            touch-action: pan-y;
            user-select: none;
            -webkit-user-select: none;
            will-change: transform;
        }
        .gallery-track.is-dragging { cursor: grabbing; }
        .gallery-track.is-dragging .g-item img { transition: none; }
        .gallery-track img { -webkit-user-drag: none; }
        body.no-motion .gallery-rail { overflow-x: auto; -webkit-overflow-scrolling: touch; }
        body.no-motion .gallery-track { transform: none !important; }

        .g-item {
            position: relative;
            overflow: hidden;
            flex: 0 0 auto;
            margin: 0;
            border-radius: 4px;
            box-shadow: 0 22px 52px rgba(3, 3, 4, 0.12);
            isolation: isolate;
            background: #F4F4F5;
        }
        .g-item::after {
            content: "";
            position: absolute; inset: 0;
            pointer-events: none;
            border-radius: inherit;
            z-index: 1;
            background: linear-gradient(180deg, transparent 42%, rgba(3, 3, 4, 0.55) 100%);
            opacity: 0.85;
            transition: opacity 0.5s var(--ease);
        }
        .g-item:hover::after { opacity: 1; }
        .g-item img {
            width: auto;
            max-width: min(72vw, 520px);
            object-fit: cover;
            display: block;
            filter: saturate(0.88) brightness(0.94);
            transition: filter 0.7s var(--ease), transform 0.7s var(--ease);
        }
        .g-item:nth-child(odd) img { height: clamp(300px, 52vh, 580px); }
        .g-item:nth-child(even) img { height: clamp(240px, 42vh, 460px); }
        .g-item:hover img {
            filter: saturate(1.05) brightness(1);
            transform: scale(1.04);
        }
        .g-item .g-cap {
            position: absolute;
            left: 0; right: 0; bottom: 0;
            z-index: 2;
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 18px 16px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: #fff !important;
            background: none !important;
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }
        .g-item .g-cap .g-idx {
            color: #F9CE34;
            letter-spacing: 0.16em;
        }
        .g-item .g-cap .g-label {
            color: rgba(255, 255, 255, 0.92);
        }

        @media (max-width: 768px) {
            .gallery-track { padding: 8px var(--pad) 28px; gap: 12px; }
            .g-item:nth-child(odd) img { height: clamp(260px, 48vh, 420px); max-width: min(78vw, 360px); }
            .g-item:nth-child(even) img { height: clamp(210px, 38vh, 340px); max-width: min(70vw, 300px); }
            .g-item .g-cap { padding: 14px 14px 12px; }
            .gallery-head h2 .h1-line { white-space: nowrap; }
        }
        @media (max-width: 420px) {
            .gallery-head h2 { font-size: clamp(26px, 8.4vw, 34px); }
            .gallery-head h2 .h1-line { white-space: normal; }
        }

        /* ============================================================
           SITE VISIT FORM & FINAL CTA
        ============================================================ */
        .visit {
            overflow: hidden;
            background:
                radial-gradient(ellipse 70% 60% at 12% 20%, rgba(249, 206, 52, 0.1), transparent 55%),
                radial-gradient(ellipse 50% 50% at 90% 80%, rgba(250, 126, 30, 0.06), transparent 50%);
        }
        .visit-shell {
            max-width: 1500px;
            margin: 0 auto;
            padding: clamp(28px, 4.5vw, 64px) !important;
            box-sizing: border-box;
            width: 100%;
        }
        .visit-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
            gap: clamp(32px, 5vw, 72px);
            align-items: stretch;
            width: 100%;
            box-sizing: border-box;
            padding: 0 !important;
            background: none !important;
            border: 0 !important;
            box-shadow: none !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }
        .visit-copy {
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .visit h2 {
            font-size: clamp(30px, 4.6vw, 60px);
            margin-top: 18px;
            line-height: 1.05;
            max-width: 11em;
            text-align: left;
        }
        .visit h2 .h1-line {
            display: block;
            white-space: nowrap;
        }
        .visit .note {
            color: #52525B !important;
            font-family: 'Inter', sans-serif;
            font-size: clamp(15px, 1.25vw, 18px);
            line-height: 1.65;
            margin-top: 20px;
            max-width: 32em;
            text-align: left;
        }
        .visit-points {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 10px;
            margin-top: 22px;
            list-style: none;
            padding: 0;
        }
        .visit-points li {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: #030304;
            padding: 8px 12px;
            border: 1px solid rgba(3, 3, 4, 0.1);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.7);
        }
        .visit-points li::before {
            content: "";
            display: inline-block;
            width: 6px; height: 6px;
            margin-right: 8px;
            border-radius: 50%;
            background: #D4A017;
            vertical-align: 1px;
        }

        .visit .contact-quick {
            margin-top: clamp(28px, 3.5vw, 40px);
            display: grid;
            gap: 8px;
        }

        .visit-panel {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 26px;
            padding: clamp(24px, 3.2vw, 40px);
            border: 1px solid rgba(3, 3, 4, 0.08);
            border-radius: 4px;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
            box-shadow: 0 22px 56px rgba(3, 3, 4, 0.06);
        }
        .visit-panel-head {
            display: grid;
            gap: 10px;
            padding-bottom: 18px;
            border-bottom: 1px solid rgba(3, 3, 4, 0.08);
        }
        .visit-panel-kicker {
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            color: #D4A017;
        }
        .visit-panel-kicker::before {
            content: "";
            width: 28px; height: 1px;
            background: #D4A017;
            flex-shrink: 0;
        }
        .visit-panel-lede {
            margin: 0;
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(24px, 2.4vw, 32px);
            font-weight: 600;
            line-height: 1.15;
            color: #030304;
            max-width: 16em;
        }
        .visit-panel-lede em {
            font-style: italic;
            font-weight: 500;
            color: #B8860B;
        }
        .visit-panel-sub {
            margin: 0;
            font-family: 'Inter', sans-serif;
            font-size: 13.5px;
            line-height: 1.5;
            color: #71717A;
            max-width: 34em;
        }
        .visit-channel {
            --ch-accent: #D4A017;
            --ch-tint: rgba(212, 160, 23, 0.12);
            --ch-border-hot: rgba(212, 160, 23, 0.55);
            --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E);
            --ariva-flair-hover: #030304;
            display: block;
            padding: 14px 16px;
            border: 1px solid rgba(3, 3, 4, 0.08);
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.72);
            text-decoration: none;
            transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
            min-width: 0;
        }
        /* flair wraps children — keep the row grid on the content shell */
        .visit-channel .ariva-flair__content,
        .visit-channel:not(.ariva-flair-interactive) {
            display: grid;
            grid-template-columns: 44px 1fr auto;
            align-items: center;
            gap: 14px;
            width: 100%;
        }
        .visit-channel:not(.ariva-flair-interactive) {
            display: grid;
        }
        .visit-channel.is-flair-hovered {
            border-color: var(--ch-border-hot) !important;
            background: transparent;
            box-shadow: 0 14px 32px rgba(3, 3, 4, 0.1);
        }
        .visit-channel--call {
            --ch-accent: #2563EB;
            --ch-tint: rgba(37, 99, 235, 0.12);
            --ch-border-hot: rgba(37, 99, 235, 0.55);
            --ariva-flair-fill: linear-gradient(135deg, #3B82F6 0%, #2563EB 45%, #1D4ED8 100%);
            --ariva-flair-hover: #ffffff;
        }
        .visit-channel--wa {
            --ch-accent: #25D366;
            --ch-tint: rgba(37, 211, 102, 0.14);
            --ch-border-hot: rgba(37, 211, 102, 0.55);
            --ariva-flair-fill: linear-gradient(135deg, #34D399 0%, #25D366 45%, #128C7E 100%);
            --ariva-flair-hover: #ffffff;
        }
        .visit-channel--map {
            --ch-accent: #D4A017;
            --ch-tint: rgba(212, 160, 23, 0.14);
            --ch-border-hot: rgba(249, 206, 52, 0.65);
            --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E);
            --ariva-flair-hover: #030304;
        }

        .visit-channel-icon {
            width: 44px; height: 44px;
            display: grid; place-items: center;
            border-radius: 50%;
            background: var(--ch-tint);
            color: var(--ch-accent);
            flex-shrink: 0;
            transition: background 0.3s, color 0.3s;
        }
        .visit-channel-icon svg {
            width: 20px; height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .visit-channel--wa .visit-channel-icon svg { fill: currentColor; stroke: none; }

        .visit-channel-body { min-width: 0; display: grid; gap: 3px; }
        .visit-channel small {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: var(--ch-accent);
        }
        .visit-channel strong {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(17px, 1.7vw, 22px);
            font-weight: 600;
            color: #030304;
            letter-spacing: 0.01em;
            line-height: 1.15;
            word-break: break-word;
        }
        .visit-channel .visit-channel-body > span {
            font-family: 'Inter', sans-serif;
            font-size: 12.5px;
            color: #71717A;
            line-height: 1.35;
        }
        .visit-channel-go {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 11px;
            letter-spacing: 0.08em;
            color: #A1A1AA;
            transition: color 0.3s, transform 0.3s;
            white-space: nowrap;
        }
        .visit-channel.is-flair-hovered .visit-channel-go {
            color: var(--ariva-flair-hover) !important;
            transform: translateX(4px);
        }
        .visit-channel.is-flair-hovered .visit-channel-icon {
            background: rgba(255, 255, 255, 0.22);
            color: var(--ariva-flair-hover) !important;
        }
        .visit-channel--map.is-flair-hovered .visit-channel-icon {
            background: rgba(3, 3, 4, 0.12);
        }
        .visit-channel--wa.is-flair-hovered .visit-channel-icon svg {
            fill: currentColor !important;
            stroke: none !important;
        }

        .visit-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px 18px;
            align-content: start;
            min-width: 0;
            width: 100%;
        }
        .visit-panel .field { display: grid; gap: 8px; min-width: 0; }
        .visit-panel .field.full { grid-column: 1 / -1; }
        .visit-panel .field label {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 10px;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #71717A !important;
        }
        .visit-panel .field label .req {
            color: #D4A017;
            margin-left: 2px;
        }
        .visit-panel .field input,
        .visit-panel .field select,
        .visit-panel .field textarea {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            line-height: 1.4;
            color: #030304 !important;
            background: #F9F9FA !important;
            border: 1px solid transparent !important;
            border-bottom: 1px solid rgba(3, 3, 4, 0.14) !important;
            padding: 15px 16px !important;
            outline: none;
            border-radius: 4px 4px 0 0 !important;
            transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
            -webkit-appearance: none;
            appearance: none;
        }
        .visit-panel .field input::placeholder {
            color: #A1A1AA;
        }
        .visit-panel .field select {
            background-color: #F9F9FA !important;
            background-image:
                linear-gradient(45deg, transparent 50%, #71717A 50%),
                linear-gradient(135deg, #71717A 50%, transparent 50%);
            background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
            background-size: 6px 6px, 6px 6px;
            background-repeat: no-repeat;
            padding-right: 40px !important;
            cursor: pointer;
        }
        .visit-panel .field select:invalid,
        .visit-panel .field select.is-placeholder {
            color: #A1A1AA !important;
        }
        .visit-panel .field input:hover,
        .visit-panel .field select:hover {
            background: #F4F4F5 !important;
        }
        .visit-panel .field input:focus,
        .visit-panel .field select:focus,
        .visit-panel .field textarea:focus {
            border-color: transparent !important;
            border-bottom-color: #D4A017 !important;
            background: #fff !important;
            box-shadow: 0 8px 24px rgba(212, 160, 23, 0.08);
        }
        .visit-panel .field select option {
            background: #fff;
            color: #030304;
        }
        .visit-form .btn {
            grid-column: 1 / -1;
            justify-self: stretch;
            width: 100%;
            min-height: 54px;
            justify-content: center;
            margin-top: 4px;
        }
        .form-status {
            grid-column: 1 / -1;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            line-height: 1.45;
            color: #1f7a3d;
            display: none;
            margin: 0;
            padding: 10px 12px;
            border-radius: 4px;
            background: rgba(31, 122, 61, 0.08);
        }
        .form-status.is-error {
            color: #A33 !important;
            background: rgba(163, 51, 51, 0.08);
        }
        .visit-form-foot {
            grid-column: 1 / -1;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin: 0;
            padding-top: 4px;
            font-family: 'Inter', sans-serif;
            font-size: 12.5px;
            line-height: 1.5;
            color: #71717A;
        }
        .visit-form-foot svg {
            width: 16px; height: 16px;
            flex-shrink: 0;
            margin-top: 1px;
            fill: #25D366;
        }

        @media (max-width: 960px) {
            .visit-grid {
                grid-template-columns: 1fr !important;
                gap: clamp(28px, 5vw, 40px);
            }
            .visit-panel { order: -1; }
        }
        @media (max-width: 560px) {
            .visit-shell { padding: 20px 16px !important; border-radius: 18px !important; }
            .visit-form { grid-template-columns: 1fr !important; gap: 14px; }
            .visit h2 { font-size: clamp(26px, 8.2vw, 36px); max-width: none; }
            .visit h2 .h1-line { white-space: nowrap; }
            .visit-panel { padding: 18px 16px; gap: 18px; }
            .visit-points { gap: 6px; }
            .visit-points li { font-size: 9px; padding: 7px 10px; letter-spacing: 0.12em; }
            .visit-channel { padding: 12px 14px; }
            .visit-channel .ariva-flair__content,
            .visit-channel:not(.ariva-flair-interactive) {
                grid-template-columns: 40px 1fr auto;
                gap: 12px;
            }
            .visit-channel-icon { width: 40px; height: 40px; }
            .visit-channel-icon svg { width: 18px; height: 18px; }
            .visit-channel strong { font-size: 17px; }
            .visit-channel-go { font-size: 10px; }
            .visit-channel .visit-channel-body > span { display: none; }
        }

        .final-cta { background: linear-gradient(180deg, rgba(248,244,233,.72), rgba(248,244,233,.94)), url("/assets/images/project-3.jpg") center/cover scroll !important; text-align: center; }
        .final-cta .wrap { padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); max-width: 1100px; margin: 0 auto; }
        .final-cta h2 { font-size: clamp(34px, 6vw, 84px); max-width: 12em; margin: 20px auto 0; }
        .final-cta p { color: rgba(26,35,50,.68) !important; max-width: 40em; margin: 24px auto 44px; }
        .final-cta .hero-ctas { justify-content: center; opacity: 1; transform: none; }

        /* ============================================================
           FOOTER
        ============================================================ */
        .site-footer { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 80px); padding: clamp(48px, 7vw, 96px) var(--pad) 0 !important; background: transparent !important; color: rgba(26,35,50,.7) !important; }
        .site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(47,111,173,.35), rgba(126,182,232,.35), transparent) !important; pointer-events: none; }
        .footer-shell { max-width: 1500px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 28px !important; }
        .footer-grid { max-width: none !important; margin: 0 !important; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px) !important; padding-bottom: clamp(28px, 4vw, 44px) !important; border-bottom: 1px solid rgba(22, 58, 95, 0.12) !important; }
        .site-footer h5 { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--secondary) !important; margin-bottom: 18px !important; }
        .site-footer .f-brand img { width: min(200px, 70vw); margin-bottom: 18px; filter: drop-shadow(0 0 20px rgba(248,244,233,.08)); }
        .site-footer .f-brand p { color: rgba(26, 35, 50, 0.68) !important; font-size: 14.5px; line-height: 1.7; max-width: 28em; }
        .site-footer ul li { margin-bottom: 12px; }
        .site-footer ul a { color: rgba(26,35,50,.68) !important; font-size: 15px; transition: color 0.3s, padding-left 0.3s; }
        .site-footer ul a:hover { color: var(--secondary) !important; padding-left: 6px; }
        .site-footer address { font-style: normal; color: rgba(26,35,50,.68) !important; font-size: 15px; line-height: 1.7; }
        .site-footer address a {
            color: var(--text) !important;
            border-bottom: none !important;
            text-decoration: none !important;
            transition: color 0.3s;
        }
        .site-footer address a:hover { color: var(--secondary) !important; text-decoration: none !important; }
        .footer-contact { display: grid; gap: 14px; }
        .footer-contact-row {
            display: grid;
            grid-template-columns: 22px 1fr;
            gap: 12px;
            align-items: start;
        }
        .footer-contact-row svg,
        .footer-contact-row i {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            color: #D4A017;
            stroke: #D4A017;
        }
        .footer-contact-row span,
        .footer-contact-row a {
            min-width: 0;
            word-break: break-word;
        }
        .footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
        .footer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(22, 58, 95, 0.14) !important; border-radius: 999px; color: rgba(26, 35, 50, 0.78) !important; background: rgba(255, 255, 255, 0.65) !important; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; transition: border-color .3s, background .3s, color .3s, transform .3s, box-shadow .3s; }
        .footer-social a:hover { transform: translateY(-2px); }
        /* Instagram — brand gradient */
        .footer-social .fs-ig {
            color: #D62976 !important;
            border-color: rgba(214, 41, 118, 0.35) !important;
            background: linear-gradient(135deg, rgba(254, 218, 117, 0.18), rgba(214, 41, 118, 0.12), rgba(150, 47, 191, 0.14)) !important;
        }
        .footer-social .fs-ig:hover {
            color: #fff !important; border-color: transparent !important;
            background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF) !important;
            box-shadow: 0 10px 24px rgba(214, 41, 118, 0.28);
        }
        /* Facebook — brand blue */
        .footer-social .fs-fb {
            color: #1877F2 !important;
            border-color: rgba(24, 119, 242, 0.35) !important;
            background: rgba(24, 119, 242, 0.1) !important;
        }
        .footer-social .fs-fb:hover {
            color: #fff !important; border-color: #1877F2 !important;
            background: #1877F2 !important;
            box-shadow: 0 10px 24px rgba(24, 119, 242, 0.28);
        }
        /* WhatsApp — brand green */
        .footer-social .fs-wa {
            color: #128C7E !important;
            border-color: rgba(37, 211, 102, 0.4) !important;
            background: rgba(37, 211, 102, 0.12) !important;
        }
        .footer-social .fs-wa:hover {
            color: #fff !important; border-color: #25D366 !important;
            background: #25D366 !important;
            box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
        }
        .footer-bar { max-width: none !important; margin: 0 !important; padding: 22px 0 0 !important; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: rgba(26, 35, 50, 0.68) !important; font-size: 12px; letter-spacing: 0.04em; }
        .footer-bar a { color: rgba(26, 35, 50, 0.68) !important; transition: color .3s; }
        .footer-bar a:hover { color: var(--secondary) !important; }
        .footer-wordmark { max-width: 1500px !important; margin: 28px auto 0 !important; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 9.5vw, 150px) !important; line-height: 0.95; letter-spacing: 0.02em !important; text-align: center; color: rgba(22,58,95,.07) !important; text-shadow: none !important; user-select: none; white-space: nowrap; padding-bottom: 10px; }
        /* continuous SHREE BUILDCON ticker at the footer base */
        .footer-marquee {
            width: 100vw; margin-left: calc(50% - 50vw);
            margin-top: 28px; overflow: hidden;
            padding: 10px 0 18px;
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        }
        .footer-marquee-track {
            display: flex; width: max-content;
            gap: clamp(28px, 4vw, 64px);
            animation: footerMarquee 28s linear infinite;
            will-change: transform;
        }
        .footer-marquee-track .fm-item {
            flex: 0 0 auto;
            font-family: var(--font-display);
            font-weight: 900; text-transform: uppercase;
            font-size: clamp(40px, 9.5vw, 150px);
            line-height: 0.95; letter-spacing: 0.02em;
            color: rgba(22, 58, 95, 0.07);
            user-select: none; white-space: nowrap;
        }
        @keyframes footerMarquee {
            from { transform: translate3d(0, 0, 0); }
            to { transform: translate3d(-50%, 0, 0); }
        }
        @media (prefers-reduced-motion: reduce) {
            .footer-marquee-track { animation: none; }
        }
        @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr !important; } .footer-shell { padding: 24px 20px !important; border-radius: 22px !important; } }
        @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr !important; } .footer-bar { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; } }

        /* ============================================================
           REVEAL PRIMITIVES (JS adds .in)
        ============================================================ */
        .rv { opacity: 0; transform: translate3d(0, 96px, 0); transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform, opacity; }
        .rv.in { opacity: 1; transform: translate3d(0, 0, 0); }
        .rv-d1 { transition-delay: 0.1s; } .rv-d2 { transition-delay: 0.2s; } .rv-d3 { transition-delay: 0.3s; }
        @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; } .rv { opacity: 1; transform: none; } body > main, .site-footer { position:relative; z-index:2; } }


        /* ============================================================
           RESPONSIVE HARDENING — phones & small tablets
        ============================================================ */
        @media (max-width: 600px) {
            /* project cards */
            .project-specs { gap: 8px 18px; margin: 20px 0 24px; }
            .project-specs dt { font-size: 9px; letter-spacing: 0.2em; }
            .project-specs dd { font-size: 13.5px; }
            .project-actions { width: 100%; }
            .project-actions .btn { flex: 1 1 auto; justify-content: center; padding: 14px 18px; }
            .project-info h3 { font-size: clamp(26px, 8vw, 34px); }

            /* floating contact — smaller, respect safe areas */
            .float-stack {
                right: max(14px, env(safe-area-inset-right));
                bottom: max(14px, env(safe-area-inset-bottom));
                gap: 10px;
            }
            .float-btn { width: 48px; height: 48px; }
            .float-btn svg { width: 20px; height: 20px; }

            /* quality badges — compact on phones */
            .q-badge { padding: 9px 12px; border-radius: 12px; }
            .q-badge strong { font-size: 12px; }
            .q-badge span { font-size: 9px; letter-spacing: 0.14em; }

            /* forms breathe on phones */
            .visit-shell { padding: 16px 12px !important; }
            .visit-form { gap: 14px; }
            .visit-form .btn { width: 100%; }
            .visit .contact-quick { grid-template-columns: 1fr !important; }
        }

        @media (max-width: 380px) {
            .section-head h2 { font-size: clamp(26px, 8.4vw, 32px); }
        }

/* ===== luxe-light-theme ===== */
/* ============================================================
           LUXE LIGHT THEME (preview) — White × Instagram Gradient
           Cormorant Garamond headings · Inter body · JetBrains Mono labels.
           Delete this whole <style> block to return to Ivory × Navy.
        ============================================================ */
        :root {
            --bg: #FFFFFF;
            --bg-soft: #F9F9FA;
            --surface: rgba(255, 255, 255, 0.85);
            --ink: #030304;
            --ink-soft: #52525B;
            --ink-mute: #71717A;
            --primary: #030304;
            --secondary: #D4A017;
            --accent: #F9CE34;
            --hover: #FA7E1E;
            --text: #0A0A0B;
            --border: rgba(3, 3, 4, 0.08);

            --midnight: #FFFFFF;
            --midnight-2: #F9F9FA;
            --midnight-3: #030304;
            --ivory: #030304;
            --ivory-dim: #52525B;
            --charcoal: #0A0A0B;
            --gold: #F9CE34;
            --gold-lt: #FEDA75;

            --font-display: 'JetBrains Mono', ui-monospace, monospace;
            --shadow: 0 18px 48px rgba(3, 3, 4, 0.08);

            --glass-bg: linear-gradient(155deg, rgba(255,255,255,.92), rgba(255,255,255,.75) 55%, rgba(249,206,52,.06));
            --glass-fill: rgba(255,255,255,.85);
            --glass-border: rgba(3,3,4,.08);
            --glass-border-hot: rgba(249,206,52,.55);
            --glass-shadow: 0 20px 50px rgba(3,3,4,.06), inset 0 1px 0 rgba(255,255,255,.95);
        }
        /* editorial serif for the big typography; mono stays on labels via --font-display */
        h1, h2, h3, h4, .display { font-family: 'Cormorant Garamond', Georgia, serif !important; font-weight: 600; }
        h1, h2, h3, h4, h5, h6 { color: #030304; }
        /* body copy — zinc grey on white */
        p { color: #52525B !important; }
        .eyebrow { color: var(--secondary) !important; }
        dd { color: #52525B !important; }
        .visit .note { color: #52525B !important; }
        /* gradient word — the Instagram gradient */
        .text-gold {
            background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #1C8AF0, #00C2FF, #00FFE0) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
        }
        /* final CTA — "Shree Buildcon" in the pure golden gradient */
        .final-cta .text-gold {
            background: linear-gradient(100deg, #FEDA75 0%, #F9CE34 45%, #FA7E1E 100%) !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
        }
        /* white glass cards */
        .project-card, .amenity, .testi, .map-card, .stat, .visit-shell, .footer-shell, .values li, .quality-list li, .field input, .field select, .field textarea {
            border: 1px solid rgba(3, 3, 4, 0.08) !important;
            background: rgba(255, 255, 255, 0.85) !important;
            -webkit-backdrop-filter: blur(10px) !important; backdrop-filter: blur(10px) !important;
            box-shadow: 0 20px 50px rgba(3,3,4,.06), inset 0 1px 0 rgba(255,255,255,.95) !important;
            color: var(--text) !important;
        }
        .project-card:hover, .amenity:hover, .testi:hover {
            border-color: rgba(249, 206, 52, 0.55) !important;
            box-shadow: 0 28px 64px rgba(3,3,4,.09), 0 0 34px rgba(249,206,52,.16) !important;
        }
        /* sticky project stack stays opaque for scroll perf */
        .projects .project-card {
            background: linear-gradient(155deg, #FFFFFF, #FAFAFB 55%, #FCF8EC) !important;
            -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
        }
        .project-media .num { background: rgba(255,255,255,.92) !important; color: #030304 !important; border-color: rgba(3,3,4,.1) !important; box-shadow: 0 8px 20px rgba(3,3,4,.08) !important; }
        /* header — white glass pill */
        /* buttons — golden gradient fluid fill */
        .btn { border-color: rgba(3,3,4,.22) !important; color: #0A0A0B !important; }
        .btn:hover, .btn:focus-visible { color: #030304 !important; border-color: transparent !important; }
        .btn:focus-visible { background: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E) !important; }
        .btn--solid { background: #030304 !important; color: #fff !important; box-shadow: 0 12px 30px rgba(3,3,4,.25) !important; }
        .btn--ghost { background: rgba(255,255,255,.7) !important; border-color: rgba(3,3,4,.14) !important; color: #0A0A0B !important; }
        .btn--ghost:hover { border-color: rgba(249,206,52,.75) !important; color: #030304 !important; }
        /* fluid flair — golden gradient on every button */
        .btn.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        .btn--solid.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        .btn--ghost.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        .map-open.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        .map-open.is-flair-hovered { color: #030304 !important; }
        .ariva-flair-interactive.ariva-flair-card { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        .ariva-flair-card.is-flair-hovered { border-color: rgba(249,206,52,.6) !important; box-shadow: 0 16px 40px rgba(249,206,52,.25) !important; }
        /* About values + Shree Standard + Construction Quality + Location cards —
           golden gradient fluid, same as the buttons */
        .values li.ariva-flair-interactive, .amenity.ariva-flair-interactive, .quality-list li.ariva-flair-interactive,
        .loc-card.ariva-flair-interactive, .loc-feature.ariva-flair-interactive, .nearby-chip.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        /* visit channels — brand fluid fills (call blue · WhatsApp green · visit gold) */
        .visit-channel--call.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(135deg, #3B82F6 0%, #2563EB 45%, #1D4ED8 100%); --ariva-flair-hover: #ffffff; }
        .visit-channel--wa.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(135deg, #34D399 0%, #25D366 45%, #128C7E 100%); --ariva-flair-hover: #ffffff; }
        .visit-channel--map.ariva-flair-interactive { --ariva-flair-fill: linear-gradient(45deg, #FEDA75, #F9CE34, #FA7E1E); --ariva-flair-hover: #030304; }
        .visit-channel.is-flair-hovered { border-color: var(--ch-border-hot, rgba(249,206,52,.6)) !important; }
        .values li.is-flair-hovered, .amenity.is-flair-hovered, .quality-list li.is-flair-hovered,
        .loc-card.is-flair-hovered, .loc-feature.is-flair-hovered, .nearby-chip.is-flair-hovered { border-color: rgba(249,206,52,.7) !important; box-shadow: 0 16px 40px rgba(249,206,52,.25) !important; }
        /* location icon chips stay readable while the gold covers the card */
        .loc-card.is-flair-hovered .loc-icon, .loc-feature.is-flair-hovered .loc-icon { background: rgba(3,3,4,.85); border-color: transparent; }
        .loc-card.is-flair-hovered .loc-icon svg, .loc-feature.is-flair-hovered .loc-icon svg { stroke: #FEDA75 !important; }
        /* icon chip stays readable while the gold covers the card */
        .amenity.is-flair-hovered .amenity-icon, .amenity.is-flair-hovered svg.lucide { background: rgba(3,3,4,.85); stroke: #FEDA75 !important; color: #FEDA75 !important; }
        /* status chip + hero details */
        .status-chip { border-color: rgba(3,3,4,.1) !important; background: rgba(255,255,255,.85) !important; }
        .status-chip--build { color: #D4A017 !important; }
        .status-chip--new { color: #FA7E1E !important; }
        .hero-baseline, .hero-baseline > div { border-color: rgba(3,3,4,.1) !important; }
        /* amenity icon chips */
        .amenity .amenity-icon, .amenity svg.lucide { background: rgba(249,206,52,.12); }
        .amenity:hover .amenity-icon, .amenity:hover svg.lucide { background: rgba(3,3,4,.85); stroke: #FEDA75; color: #FEDA75; }
        /* location — white cards, gradient icon chips */
        .loc-card { background: rgba(255,255,255,.85); border-color: rgba(3,3,4,.08); }
        .loc-card:hover { border-color: rgba(249,206,52,.6); box-shadow: 0 22px 48px rgba(3,3,4,.08); }
        .loc-icon { background: #fff; border-color: rgba(3,3,4,.1); box-shadow: 0 6px 16px rgba(3,3,4,.06); }
        .loc-card:hover .loc-icon, .loc-feature:hover .loc-icon { background: rgba(3,3,4,.85); }
        .loc-card:hover .loc-icon svg, .loc-feature:hover .loc-icon svg { stroke: #FEDA75; }
        .loc-feature:hover { background: rgba(3,3,4,.03); }
        .nearby-chip { background: rgba(255,255,255,.85); border-color: rgba(3,3,4,.08); }
        .nearby-chip:hover { border-color: rgba(249,206,52,.6); }
        /* quality badges */
        .q-badge { background: rgba(255,255,255,.92) !important; border-color: rgba(3,3,4,.1) !important; box-shadow: 0 14px 34px rgba(3,3,4,.1) !important; }
        /* form fields */
        .field input, .field select, .field textarea { color: #0A0A0B !important; }
        .field input::placeholder, .field textarea::placeholder { color: #71717A; }
        /* footer */
        .footer-grid { border-bottom-color: rgba(3,3,4,.08) !important; }
        .site-footer .f-brand p, .site-footer address { color: #52525B !important; }
        .site-footer ul a { color: #52525B !important; }
        .site-footer ul a:hover { color: var(--secondary) !important; }
        .site-footer address a { color: #030304 !important; border-bottom: none !important; text-decoration: none !important; }
        .footer-marquee-track .fm-item { color: rgba(3, 3, 4, 0.06) !important; }

/* ===== landmarks-quietly-theme ===== */
/*
          SHREE BUILDCON — LANDMARKS, QUIETLY
          Final homepage theme based on the approved premium-theme PRD.
        */
        :root {
            --bg: #F7F5EF;
            --bg-soft: #ECE8DE;
            --surface: #FFFFFF;
            --ink: #092E35;
            --ink-soft: #42595C;
            --ink-mute: #68797A;
            --primary: #092E35;
            --secondary: #C99A3C;
            --accent: #8E2034;
            --hover: #174952;
            --text: #092E35;
            --border: rgba(9, 46, 53, .16);
            --gold: #C99A3C;
            --gold-lt: #E4C87D;
            --radius: 12px;
            --shadow: 0 18px 45px rgba(9, 46, 53, .08);
            --font-display: 'Cormorant Garamond', Georgia, serif;
        }

        body { background: var(--bg) !important; color: var(--text) !important; }
        h1, h2, h3, h4, .display {
            font-family: var(--font-display) !important;
            font-weight: 600 !important;
            letter-spacing: -.025em !important;
            text-transform: none !important;
        }
        .display { line-height: .94 !important; }
        .text-gold {
            background: none !important;
            color: var(--gold) !important;
        }
        .eyebrow {
            color: var(--primary) !important;
            font-family: 'Manrope', system-ui, sans-serif !important;
            font-size: 10px !important;
            font-weight: 700 !important;
            letter-spacing: .2em !important;
        }
        .eyebrow::before { background: var(--gold) !important; width: 28px !important; }

        .btn {
            border: 1px solid var(--primary) !important;
            border-radius: 0 !important;
            color: var(--primary) !important;
            font-family: 'Manrope', system-ui, sans-serif !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            letter-spacing: .14em !important;
            padding: 15px 24px !important;
        }
        .btn--solid {
            background: var(--primary) !important;
            box-shadow: none !important;
            color: #fff !important;
        }
        .btn--ghost {
            background: transparent !important;
            box-shadow: none !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }
        .btn:hover, .btn:focus-visible {
            background: var(--gold) !important;
            border-color: var(--gold) !important;
            color: var(--primary) !important;
        }
        .btn.ariva-flair-interactive,
        .btn--solid.ariva-flair-interactive,
        .btn--ghost.ariva-flair-interactive { --ariva-flair-fill: var(--gold); --ariva-flair-hover: var(--primary); }

        .hero {
            min-height: min(820px, 100svh) !important;
            background:
                radial-gradient(ellipse 75% 48% at 92% 92%, rgba(201,154,60,.16), transparent 64%),
                linear-gradient(118deg, #F7F5EF 0%, #F7F5EF 58%, #E9E3D6 100%) !important;
        }
        .hero-inner { position: relative; z-index: 2; }
        .hero-visual {
            position: absolute;
            z-index: 1;
            right: clamp(24px, 7vw, 128px);
            bottom: clamp(54px, 10vh, 120px);
            width: min(33vw, 500px);
            margin: 0;
            overflow: hidden;
            border: 1px solid rgba(9,46,53,.2);
            background: var(--primary);
            box-shadow: 20px 20px 0 rgba(201,154,60,.22);
        }
        .hero-visual::before {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;
            background: linear-gradient(180deg, rgba(9,46,53,.05), rgba(9,46,53,.38));
            pointer-events: none;
        }
        .hero-visual img {
            width: 100%;
            height: min(62vh, 590px);
            object-fit: cover;
            object-position: center;
            filter: saturate(.8) contrast(1.04);
        }
        .hero-visual figcaption {
            position: absolute;
            z-index: 2;
            right: 18px;
            bottom: 14px;
            margin: 0;
            color: #fff;
            font-family: 'Manrope', system-ui, sans-serif;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: .16em;
            text-transform: uppercase;
        }
        .hero::before {
            opacity: 1 !important;
            background-image:
                linear-gradient(90deg, transparent 0 74%, rgba(9,46,53,.10) 74% 74.1%, transparent 74.1%),
                linear-gradient(0deg, transparent 0 76%, rgba(9,46,53,.10) 76% 76.1%, transparent 76.1%) !important;
            background-size: 100% 100% !important;
        }
        .hero::after {
            display: block !important;
            width: min(44vw, 620px) !important;
            height: min(44vw, 620px) !important;
            top: auto !important;
            right: -9vw !important;
            bottom: -24vw !important;
            border: 1px solid rgba(9,46,53,.18) !important;
            border-radius: 50% 50% 0 0 !important;
            transform: none !important;
            background: transparent !important;
        }
        .hero-inner { max-width: 810px !important; }
        .hero h1.display, .hero #heroTitle {
            font-size: clamp(54px, 7.5vw, 118px) !important;
            max-width: 9.5ch !important;
        }
        .hero #heroTitle .h1-line { white-space: normal !important; }
        .hero .hero-sub {
            color: var(--ink-soft) !important;
            max-width: 48ch !important;
            font-size: clamp(15px, 1.25vw, 18px) !important;
        }
        .hero-meta { border-color: rgba(9,46,53,.16) !important; }

        .section { padding-block: clamp(84px, 10vw, 150px) !important; }
        .section-head { max-width: 940px !important; }
        .section-head h2 { font-size: clamp(44px, 5.3vw, 78px) !important; }
        .section-head p.lede, .lede { color: var(--ink-soft) !important; }

        .project-card, .amenity, .testi, .map-card, .stat, .visit-shell, .footer-shell,
        .values li, .quality-list li, .field input, .field select, .field textarea {
            background: transparent !important;
            border-color: rgba(9,46,53,.16) !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }
        .projects .project-card {
            background: var(--bg) !important;
            border-top: 1px solid rgba(9,46,53,.22) !important;
        }
        .project-card:hover, .amenity:hover, .testi:hover {
            border-color: var(--gold) !important;
            box-shadow: none !important;
            transform: none !important;
        }
        .project-media {
            border-radius: 0 !important;
            background: var(--primary) !important;
        }
        .project-media::after { background: linear-gradient(180deg, transparent 55%, rgba(9,46,53,.38)) !important; }
        .project-info h3 { font-size: clamp(38px, 4vw, 64px) !important; }
        .project-loc, .project-specs dd { color: var(--ink-soft) !important; }
        .project-specs dt { color: var(--gold) !important; }
        .project-media .num, .status-chip {
            background: var(--bg) !important;
            border-color: rgba(9,46,53,.18) !important;
            box-shadow: none !important;
        }
        .status-chip { color: var(--primary) !important; border-radius: 0 !important; }
        .status-chip::before { background: var(--gold) !important; animation: none !important; }

        .about, .quality { background: var(--bg-soft) !important; }
        .about-visual .about-img, .quality-img { border-radius: 0 !important; }
        .amenity .amenity-icon, .amenity svg.lucide {
            background: transparent !important;
            border: 1px solid rgba(9,46,53,.16) !important;
            border-radius: 50% !important;
            color: var(--primary) !important;
            stroke: var(--primary) !important;
        }
        .site-footer { background: var(--primary) !important; color: rgba(255,255,255,.72) !important; }
        .site-footer::before { background: var(--gold) !important; }
        .site-footer h5, .site-footer .f-brand p, .site-footer ul a, .site-footer address,
        .site-footer address a, .footer-bar, .footer-bar a { color: rgba(255,255,255,.72) !important; }
        .site-footer h5 { color: var(--gold) !important; }
        .footer-grid { border-bottom-color: rgba(255,255,255,.2) !important; }
        .footer-social a { background: transparent !important; border-color: rgba(255,255,255,.3) !important; color: #fff !important; border-radius: 0 !important; }
        .footer-wordmark, .footer-marquee-track .fm-item { color: rgba(255,255,255,.06) !important; }

        @media (max-width: 700px) {
            .hero {
                min-height: 830px !important;
                align-items: flex-start !important;
                justify-content: flex-start !important;
                padding-top: calc(var(--header-h) + 72px) !important;
            }
            .hero h1.display, .hero #heroTitle { font-size: clamp(48px, 15vw, 74px) !important; }
            .hero::after { width: 110vw !important; height: 110vw !important; bottom: -55vw !important; right: -35vw !important; }
            .hero-visual {
                right: 20px;
                bottom: 48px;
                width: min(50vw, 270px);
                box-shadow: 12px 12px 0 rgba(201,154,60,.22);
            }
            .hero-visual img { height: 300px; }
            .project-info h3 { font-size: clamp(38px, 13vw, 56px) !important; }
        }

/* ===== hero-refine ===== */
/* ============================================================
           HERO REFINE — arched portrait, masked headline, quiet meta
        ============================================================ */

        /* the photo itself becomes the arch — drop the duplicate outline */
        .hero::after { display: none !important; }

        /* masked line reveal — each line rises out of its own clip box.
           padding/margin pair keeps Cormorant descenders from clipping. */
        .hero #heroTitle .h1-line {
            display: block;
            overflow: hidden;
            padding-bottom: .12em;
            margin-bottom: -.12em;
        }
        .hero #heroTitle .h1-ink { display: block; will-change: transform; }

        /* arched portrait with hairline frame + gold keystone */
        .hero-visual {
            right: clamp(24px, 7vw, 110px);
            bottom: clamp(40px, 8vh, 92px);
            width: min(30vw, 430px);
            padding: 12px 12px 0;
            overflow: visible;
            background: transparent;
            border: 1px solid rgba(9, 46, 53, .24);
            border-bottom: 0;
            border-radius: 999px 999px 0 0;
            box-shadow: none;
        }
        .hero-visual::before { display: none; }
        .hero-visual::after {
            content: "";
            position: absolute;
            top: -4px;
            left: 50%;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--gold);
            transform: translateX(-50%);
        }
        .hero-visual img {
            height: min(58vh, 560px);
            border-radius: 999px 999px 0 0;
            filter: saturate(.82) contrast(1.03);
        }
        .hero-visual figcaption {
            position: static;
            margin: 14px 0 2px;
            text-align: center;
            color: var(--ink-mute);
            font-size: 9px;
            letter-spacing: .24em;
        }
        .hero-visual figcaption::before {
            content: "";
            display: block;
            width: 22px;
            height: 1px;
            margin: 0 auto 10px;
            background: var(--gold);
        }

        /* quiet facts strip under the CTAs */
        .hero-fact {
            display: flex;
            align-items: flex-start;
            gap: clamp(30px, 4.5vw, 64px);
            margin-top: clamp(32px, 5.5vh, 52px);
            padding-top: 24px;
            border-top: 1px solid rgba(9, 46, 53, .14);
            opacity: 0;
        }
        .hero-fact > div { display: flex; flex-direction: column; gap: 6px; }
        .hero-fact strong {
            font-family: 'Cormorant Garamond', Georgia, serif;
            font-size: clamp(21px, 1.9vw, 27px);
            font-weight: 600;
            letter-spacing: -.02em;
            line-height: 1;
            color: var(--ink);
        }
        .hero-fact span {
            font-family: 'Manrope', system-ui, sans-serif;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: .2em;
            text-transform: uppercase;
            color: var(--ink-mute);
        }

        @media (max-width: 1080px) {
            .hero-visual { width: min(26vw, 300px); }
            .hero-visual img { height: min(48vh, 430px); }
        }

        @media (max-width: 700px) {
            .hero { min-height: 0 !important; padding-bottom: 64px !important; }
            .hero-visual {
                position: relative;
                right: auto;
                bottom: auto;
                margin: 48px auto 0;
                width: min(76vw, 330px);
            }
            .hero-visual img { height: min(52vh, 380px); }
            .hero-meta { display: none; }
            .hero-fact { gap: 24px; flex-wrap: wrap; }
            .hero-fact strong { font-size: 19px; }
        }

/* ===== premium-minimal ===== */
/* ============================================================
           PREMIUM MINIMAL PASS — flatten, hairline, whitespace
           Removes the last soft-UI artifacts (radii, glows, glass)
           and settles the page into a calm editorial rhythm.
        ============================================================ */

        /* more air between chapters */
        .section { padding-block: clamp(96px, 11vw, 170px) !important; }

        /* quieter, wider-tracked labels */
        .eyebrow { font-size: 9.5px !important; letter-spacing: .24em !important; }

        /* editorial index after each section label — 01 … 08 */
        main { counter-reset: sbsec; }
        main .section .eyebrow::after {
            counter-increment: sbsec;
            content: "/ 0" counter(sbsec);
            margin-left: 10px;
            font-family: 'JetBrains Mono', ui-monospace, monospace;
            font-size: 9px;
            font-weight: 500;
            letter-spacing: .1em;
            color: var(--ink-mute);
            opacity: .85;
        }

        /* brand selection colour */
        ::selection { background: rgba(201, 154, 60, .3); }
        html.theme-dark ::selection { background: rgba(212, 175, 55, .32); color: #fff; }

        /* flatten every remaining rounded / shadowed element */
        .hero .hero-ctas .btn { box-shadow: none !important; }
        .loc-card, .loc-feature, .loc-icon, .nearby-chip, .q-badge,
        .visit-panel, .visit-channel, .map-card, .g-item {
            border-radius: 0 !important;
            box-shadow: none !important;
        }
        .map-card { border: 1px solid rgba(9, 46, 53, .16); }
        .map-card .map-open { border-radius: 0 !important; box-shadow: none !important; }

        /* paper cards become hairline outlines — ink on paper, nothing glassy */
        .loc-card, .nearby-chip {
            background: transparent !important;
            border: 1px solid rgba(9, 46, 53, .16);
        }
        .loc-card:hover, .nearby-chip:hover {
            transform: none !important;
            border-color: var(--gold) !important;
            box-shadow: none !important;
        }
        .loc-icon { background: transparent !important; border: 1px solid rgba(9, 46, 53, .2) !important; }
        .visit-channel { background: transparent !important; }
        .q-badge { background: rgba(247, 245, 239, .95) !important; border: 1px solid rgba(9, 46, 53, .16) !important; }

        /* imagery steps back — colour quiet, architecture forward */
        .project-media img, .g-item img, .about-img img, .quality-img img {
            filter: saturate(.82) contrast(1.03);
        }

/* ===== dark-theme ===== */
/* ============================================================
           NIGHT THEME — same shapes as light (pills, rounded cards)
           Neutrals invert; gold hover + chip language stays identical.
           Scoped to html.theme-dark — light theme is untouched.
        ============================================================ */
        html.theme-dark { color-scheme: dark; }

        html.theme-dark body {
            --bg: #0a0a0a;
            --bg-soft: #141414;
            --surface: #1a1a1a;
            --ink: #F5F2EA;
            --ink-soft: rgba(245, 242, 234, .66);
            --ink-mute: rgba(245, 242, 234, .5);
            --primary: #F5F2EA;
            --secondary: #B8912A;
            --hover: #B8912A;
            --text: #F5F2EA;
            --border: rgba(245, 242, 234, .12);
            --gold: #B8912A;
            --gold-lt: #D4AF37;
            --shadow: 0 18px 45px rgba(0, 0, 0, .5);
            background: #0a0a0a !important;
            color: #F5F2EA !important;
        }

        html.theme-dark h1, html.theme-dark h2, html.theme-dark h3,
        html.theme-dark h4, html.theme-dark h5, html.theme-dark h6 { color: #F5F2EA !important; }
        html.theme-dark p { color: rgba(245, 242, 234, .64) !important; }
        html.theme-dark dd { color: rgba(245, 242, 234, .64) !important; }
        html.theme-dark .lede, html.theme-dark .section-head p.lede { color: rgba(245, 242, 234, .64) !important; }
        html.theme-dark .lede strong { color: #F5F2EA !important; }
        html.theme-dark .text-gold { color: #D4AF37 !important; }
        html.theme-dark ::selection { background: rgba(184, 145, 42, .32); color: #fff; }

        html.theme-dark .eyebrow { color: #D4AF37 !important; }
        html.theme-dark .eyebrow::before { background: #B8912A !important; }
        html.theme-dark main .section .eyebrow::after { color: rgba(245, 242, 234, .45); }

        html.theme-dark .btn {
            border-radius: 999px !important;
            border-color: rgba(245, 242, 234, .3) !important;
            color: #F5F2EA !important;
            background: transparent !important;
            box-shadow: none !important;
        }
        html.theme-dark .btn--solid {
            background: #F5F2EA !important;
            border-color: #F5F2EA !important;
            color: #0a0a0a !important;
        }
        html.theme-dark .btn:hover, html.theme-dark .btn:focus-visible {
            background: #B8912A !important;
            border-color: #B8912A !important;
            color: #141414 !important;
        }
        html.theme-dark .btn--ghost {
            background: transparent !important;
            border-color: rgba(245, 242, 234, .3) !important;
            color: #F5F2EA !important;
        }
        html.theme-dark .hero .hero-ctas .btn,
        html.theme-dark .hero .hero-ctas .btn--ghost {
            border-radius: 999px !important;
            box-shadow: none !important;
        }
        html.theme-dark .hero .hero-ctas .btn--solid {
            background: #F5F2EA !important;
            border-color: #F5F2EA !important;
            color: #0a0a0a !important;
        }
        html.theme-dark .hero .hero-ctas .btn--solid:hover {
            background: #B8912A !important;
            border-color: #B8912A !important;
            color: #141414 !important;
        }
        html.theme-dark .hero .hero-ctas .btn--ghost {
            background: transparent !important;
            color: #F5F2EA !important;
            text-decoration-color: rgba(184, 145, 42, .5);
        }
        html.theme-dark .hero .hero-ctas .btn--ghost:hover {
            color: #D4AF37 !important;
            text-decoration-color: #B8912A;
            background: transparent !important;
        }

        html.theme-dark .hero {
            background:
                radial-gradient(ellipse 70% 48% at 90% 92%, rgba(184, 145, 42, .14), transparent 62%),
                linear-gradient(118deg, #0a0a0a 0%, #0a0a0a 58%, #121212 100%) !important;
        }
        html.theme-dark .hero::before {
            background-image:
                linear-gradient(90deg, transparent 0 74%, rgba(245, 242, 234, .08) 74% 74.1%, transparent 74.1%),
                linear-gradient(0deg, transparent 0 76%, rgba(245, 242, 234, .08) 76% 76.1%, transparent 76.1%) !important;
        }
        html.theme-dark .hero .eyebrow { color: #D4AF37 !important; }
        html.theme-dark .hero h1.display, html.theme-dark .hero #heroTitle { color: #F5F2EA !important; }
        html.theme-dark .hero .hero-sub { color: rgba(245, 242, 234, .64) !important; }
        html.theme-dark .hero-fact { border-top-color: rgba(245, 242, 234, .16); }
        html.theme-dark .hero-fact strong { color: #F5F2EA; }
        html.theme-dark .hero-visual { border-color: rgba(245, 242, 234, .28); }
        html.theme-dark .hero-visual::after { background: #B8912A; }
        html.theme-dark .hero-visual img { filter: saturate(.82) contrast(1.03) brightness(.92); }
        html.theme-dark .scroll-cue { color: rgba(245, 242, 234, .55) !important; }
        html.theme-dark .scroll-cue .line { background: linear-gradient(rgba(245, 242, 234, .55), transparent) !important; }

        html.theme-dark .final-cta {
            background: linear-gradient(180deg, rgba(10, 10, 10, .86), rgba(10, 10, 10, .95)), url("/assets/images/project-3.jpg") center/cover scroll !important;
        }
        html.theme-dark .final-cta p { color: rgba(245, 242, 234, .66) !important; }

        html.theme-dark .site-footer { background: #0c0c0c !important; }
        html.theme-dark .site-footer h5 { color: #D4AF37 !important; }

        html.theme-dark .sb-header {
            --sb-h-paper: #0a0a0a;
            --sb-h-white: #0a0a0a;
            --sb-h-ink: #F5F2EA;
            --sb-h-mute: rgba(245, 242, 234, .55);
            --sb-h-bronze: #B8912A;
            --sb-h-border: rgba(245, 242, 234, .12);
            --sb-h-bg: rgba(16, 16, 16, .94);
            --sb-h-shadow: 0 10px 28px rgba(0, 0, 0, .45);
        }
        html.theme-dark .sb-header.sb-header--scrolled {
            --sb-h-bg: rgba(12, 12, 12, .98);
            --sb-h-shadow: 0 12px 32px rgba(0, 0, 0, .55);
        }
        html.theme-dark .sb-header__cta {
            background: #F5F2EA;
            color: #0a0a0a;
            box-shadow: none;
        }
        html.theme-dark .sb-header__cta:hover { background: #B8912A; color: #0a0a0a; }
        html.theme-dark .sb-header__cta-icon { background: #B8912A; color: #0a0a0a; }
        html.theme-dark .sb-header__cta:hover .sb-header__cta-icon { background: #0a0a0a; color: #F5F2EA; }

        html.theme-dark .sb-header-drawer {
            --sb-h-paper: #0a0a0a;
            --sb-h-ink: #F5F2EA;
            --sb-h-bronze: #B8912A;
            --sb-h-mute: rgba(245, 242, 234, .55);
            background: #0e0e0e;
            color: #F5F2EA;
        }
        html.theme-dark .sb-header-drawer__link { color: #F5F2EA; }
        html.theme-dark .sb-header-drawer__link:hover, html.theme-dark .sb-header-drawer__link:focus-visible { color: #D4AF37; }
        html.theme-dark .sb-header-drawer__cta { background: #F5F2EA; color: #0a0a0a; border-radius: 999px; }
        html.theme-dark .sb-header-drawer__cta:hover { background: #B8912A; color: #0a0a0a; }
        html.theme-dark .sb-header-drawer__meta a { color: #F5F2EA; }

        /* ---------- theme toggle button ---------- */
        .sb-theme-toggle {
            display: inline-flex; align-items: center; justify-content: center;
            width: 46px; height: 46px; min-width: 44px; min-height: 44px;
            padding: 0;
            border: 1px solid var(--sb-h-border, rgba(17, 17, 15, .1));
            border-radius: 12px;
            background: transparent;
            color: var(--sb-h-ink, #11110F);
            cursor: pointer;
            transition: border-color .3s ease, color .3s ease, transform .3s ease;
        }
        .sb-theme-toggle:hover { border-color: rgba(181, 138, 67, .5); transform: translateY(-1px); }
        .sb-theme-toggle:focus-visible { outline: 2px solid var(--sb-h-bronze, #B58A43); outline-offset: 3px; }
        .sb-theme-toggle svg { width: 17px; height: 17px; display: block; }
        .sb-theme-toggle .tt-sun { display: none; }
        html.theme-dark .sb-theme-toggle .tt-sun { display: block; }
        html.theme-dark .sb-theme-toggle .tt-moon { display: none; }

        /* colour cross-fade while switching — colours only, never transforms */
        html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
            transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
        }

/* ===== huts-theme ===== */
/* ============================================================
           LIGHT THEME — warm ivory × gold (shared brand identity)
           Same gold accent as night mode; only the neutrals invert.
           Rounded shapes + script labels retained; night theme intact.
        ============================================================ */

        html:not(.theme-dark) body {
            --bg: #F7F5EF;
            --bg-soft: #EFEBE1;
            --surface: #ffffff;
            --ink: #141414;
            --ink-soft: rgba(20, 20, 20, .66);
            --ink-mute: rgba(20, 20, 20, .5);
            --primary: #141414;
            --secondary: #B8912A;
            --hover: #B8912A;
            --text: #141414;
            --border: rgba(20, 20, 20, .12);
            --gold: #B8912A;
            --gold-lt: #D4AF37;
            background: #F7F5EF !important;
            color: #141414 !important;
        }

        html:not(.theme-dark) h1, html:not(.theme-dark) h2, html:not(.theme-dark) h3,
        html:not(.theme-dark) h4, html:not(.theme-dark) h5, html:not(.theme-dark) h6 { color: #141414 !important; }
        html:not(.theme-dark) p { color: rgba(20, 20, 20, .64) !important; }
        html:not(.theme-dark) dd { color: rgba(20, 20, 20, .64) !important; }
        html:not(.theme-dark) .lede strong { color: #141414 !important; }
        html:not(.theme-dark) .text-gold { color: #9c7a1f !important; }
        html:not(.theme-dark) ::selection { background: rgba(184, 145, 42, .24); }

        /* script accent labels */
        html:not(.theme-dark) .eyebrow {
            color: #9c7a1f !important;
            text-transform: none !important;
            font-weight: 600 !important;
            letter-spacing: 0 !important;
        }
        html:not(.theme-dark) .eyebrow::before { background: #B8912A !important; }
        html:not(.theme-dark) main .section .eyebrow::after { color: rgba(20, 20, 20, .45); }

        /* pill buttons, quiet and rounded */
        html:not(.theme-dark) .btn {
            border-radius: 999px !important;
            border-color: rgba(20, 20, 20, .3) !important;
            color: #141414 !important;
            text-transform: none !important;
            font-size: 13.5px !important;
            font-weight: 600 !important;
            letter-spacing: .01em !important;
            padding: 15px 28px !important;
        }
        html:not(.theme-dark) .btn--solid { background: #141414 !important; border-color: #141414 !important; color: #F7F5EF !important; }
        html:not(.theme-dark) .btn:hover, html:not(.theme-dark) .btn:focus-visible {
            background: #B8912A !important; border-color: #B8912A !important; color: #141414 !important;
        }
        html:not(.theme-dark) .hero .hero-ctas .btn--solid { background: #141414 !important; color: #F7F5EF !important; box-shadow: none !important; }
        html:not(.theme-dark) .hero .hero-ctas .btn--solid:hover { background: #B8912A !important; color: #141414 !important; }
        html:not(.theme-dark) .hero .hero-ctas .btn--ghost {
            background: transparent !important; color: #141414 !important;
            text-decoration-color: rgba(184, 145, 42, .5);
        }
        html:not(.theme-dark) .hero .hero-ctas .btn--ghost:hover { color: #9c7a1f !important; text-decoration-color: #B8912A; }

        /* hero — ivory field with a soft gold morning glow */
        html:not(.theme-dark) .hero {
            background:
                radial-gradient(ellipse 70% 48% at 90% 92%, rgba(184, 145, 42, .16), transparent 62%),
                linear-gradient(118deg, #F7F5EF 0%, #F7F5EF 58%, #EFEBE1 100%) !important;
        }
        html:not(.theme-dark) .hero::before {
            background-image:
                linear-gradient(90deg, transparent 0 74%, rgba(20, 20, 20, .08) 74% 74.1%, transparent 74.1%),
                linear-gradient(0deg, transparent 0 76%, rgba(20, 20, 20, .08) 76% 76.1%, transparent 76.1%) !important;
        }
        html:not(.theme-dark) .hero .eyebrow { color: #9c7a1f !important; }
        html:not(.theme-dark) .hero h1.display, html:not(.theme-dark) .hero #heroTitle { color: #141414 !important; }
        html:not(.theme-dark) .hero .hero-sub { color: rgba(20, 20, 20, .64) !important; }
        html:not(.theme-dark) .hero-fact { border-top-color: rgba(20, 20, 20, .16); }
        html:not(.theme-dark) .hero-fact strong { color: #141414; }
        html:not(.theme-dark) .hero-visual { border-color: rgba(20, 20, 20, .28); }
        html:not(.theme-dark) .hero-visual::after { background: #B8912A; }
        html:not(.theme-dark) .scroll-cue { color: rgba(20, 20, 20, .55) !important; }
        html:not(.theme-dark) .scroll-cue .line { background: linear-gradient(rgba(20, 20, 20, .55), transparent) !important; }

        html:not(.theme-dark) .sky-reveal { background: #F7F5EF !important; }

        /* rounded organic media + cards */
        html:not(.theme-dark) .project-media,
        html:not(.theme-dark) .about-img,
        html:not(.theme-dark) .quality-img,
        html:not(.theme-dark) .map-card,
        html:not(.theme-dark) .g-item {
            border-radius: clamp(16px, 1.2vw, 24px) !important;
        }
        html:not(.theme-dark) .loc-card,
        html:not(.theme-dark) .loc-feature,
        html:not(.theme-dark) .visit-channel,
        html:not(.theme-dark) .q-badge {
            border-radius: clamp(14px, 1vw, 20px) !important;
        }
        html:not(.theme-dark) .visit-panel { border-radius: clamp(16px, 1.4vw, 28px) !important; }
        html:not(.theme-dark) .nearby-chip { border-radius: 999px !important; padding: 14px 12px; }

        html:not(.theme-dark) .projects .project-card { border-top-color: rgba(20, 20, 20, .18) !important; }
        html:not(.theme-dark) .project-card, html:not(.theme-dark) .amenity, html:not(.theme-dark) .testi,
        html:not(.theme-dark) .map-card, html:not(.theme-dark) .visit-shell,
        html:not(.theme-dark) .values li, html:not(.theme-dark) .quality-list li {
            border-color: rgba(20, 20, 20, .15) !important;
        }
        html:not(.theme-dark) .projects-meta { border-top-color: rgba(20, 20, 20, .15) !important; }

        /* gold status chips — the shared highlight colour */
        html:not(.theme-dark) .status-chip {
            background: #B8912A !important;
            border-color: transparent !important;
            color: #141414 !important;
            border-radius: 999px !important;
            text-transform: none !important;
            letter-spacing: .02em !important;
            font-weight: 600 !important;
        }
        html:not(.theme-dark) .status-chip::before { background: #141414 !important; }
        html:not(.theme-dark) .project-media .num {
            background: rgba(247, 245, 239, .94) !important;
            color: #141414 !important;
            border-color: transparent !important;
            border-radius: 999px !important;
        }
        html:not(.theme-dark) .project-specs dt { color: #9c7a1f !important; }

        html:not(.theme-dark) .v-num, html:not(.theme-dark) .q-num { color: #9c7a1f !important; }
        html:not(.theme-dark) .amenity .amenity-icon, html:not(.theme-dark) .amenity svg.lucide {
            border-color: rgba(20, 20, 20, .2) !important;
            color: #9c7a1f !important;
            stroke: #9c7a1f !important;
        }

        /* location — soft filled cards on ivory */
        html:not(.theme-dark) .loc-card { background: #EFEBE1 !important; border-color: rgba(20, 20, 20, .12) !important; }
        html:not(.theme-dark) .loc-card:hover { border-color: #B8912A !important; }
        html:not(.theme-dark) .loc-icon { background: #F7F5EF !important; border-color: rgba(20, 20, 20, .16) !important; border-radius: 50% !important; }
        html:not(.theme-dark) .loc-icon svg { stroke: #9c7a1f !important; }
        html:not(.theme-dark) .loc-card:hover .loc-icon, html:not(.theme-dark) .loc-feature:hover .loc-icon { background: #141414 !important; }
        html:not(.theme-dark) .loc-card:hover .loc-icon svg, html:not(.theme-dark) .loc-feature:hover .loc-icon svg { stroke: #D4AF37 !important; }
        html:not(.theme-dark) .loc-feature:hover { background: rgba(184, 145, 42, .12) !important; }
        html:not(.theme-dark) .nearby-chip { background: #EFEBE1 !important; border-color: rgba(20, 20, 20, .12) !important; }
        html:not(.theme-dark) .nearby-chip:hover { border-color: #B8912A !important; }
        html:not(.theme-dark) .nearby-chip svg { stroke: #9c7a1f !important; }
        html:not(.theme-dark) .map-card .map-open {
            background: #141414 !important; color: #F7F5EF !important;
            border-radius: 999px !important; border-color: transparent !important; box-shadow: none !important;
        }
        html:not(.theme-dark) .map-card .map-open:hover { background: #B8912A !important; color: #141414 !important; }

        /* site visit */
        html:not(.theme-dark) .visit-points li {
            color: #141414 !important;
            border-color: rgba(20, 20, 20, .2) !important;
            text-transform: none !important;
            letter-spacing: .02em !important;
        }
        html:not(.theme-dark) .visit-panel { background: #ffffff !important; border-color: rgba(20, 20, 20, .12) !important; }
        html:not(.theme-dark) .visit-channel { background: #ffffff !important; border-color: rgba(20, 20, 20, .12) !important; }
        html:not(.theme-dark) .field input, html:not(.theme-dark) .field select, html:not(.theme-dark) .field textarea {
            background: #F7F5EF !important;
            border-color: rgba(20, 20, 20, .2) !important;
            border-radius: 12px !important;
            color: #141414 !important;
        }
        html:not(.theme-dark) .field label { color: rgba(20, 20, 20, .7) !important; }
        html:not(.theme-dark) .q-badge { background: rgba(247, 245, 239, .95) !important; border-color: rgba(20, 20, 20, .15) !important; }
        html:not(.theme-dark) .q-badge strong { color: #141414 !important; }

        /* final CTA — ivory veil over the photo */
        html:not(.theme-dark) .final-cta {
            background: linear-gradient(180deg, rgba(247, 245, 239, .82), rgba(247, 245, 239, .95)), url("/assets/images/project-3.jpg") center/cover scroll !important;
        }
        html:not(.theme-dark) .final-cta p { color: rgba(20, 20, 20, .66) !important; }

        /* footer — deep ink with gold headings */
        html:not(.theme-dark) .site-footer { background: #141414 !important; }
        html:not(.theme-dark) .site-footer h5 { color: #D4AF37 !important; }

        /* floating header — ivory glass, ink text, gold accents */
        html:not(.theme-dark) .sb-header {
            --sb-h-paper: #F7F5EF;
            --sb-h-white: #F7F5EF;
            --sb-h-ink: #141414;
            --sb-h-bronze: #B8912A;
            --sb-h-mute: rgba(20, 20, 20, .55);
            --sb-h-border: rgba(20, 20, 20, .12);
            --sb-h-bg: rgba(247, 245, 239, .94);
        }
        html:not(.theme-dark) .sb-header.sb-header--scrolled { --sb-h-bg: rgba(247, 245, 239, .98); }
        html:not(.theme-dark) .sb-header__link { text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; font-weight: 600; }
        html:not(.theme-dark) .sb-header__cta { text-transform: none; letter-spacing: .02em; font-size: 13px; }
        html:not(.theme-dark) .sb-header-drawer {
            --sb-h-paper: #F7F5EF;
            --sb-h-ink: #141414;
            --sb-h-bronze: #B8912A;
            --sb-h-mute: rgba(20, 20, 20, .55);
            background: #F7F5EF;
        }

/* ===== type-pass ===== */
/* ============================================================
           TYPE PASS — Aboreto display · Caveat script · DM Sans body
           Fonts + text-animation states from the approved reference.
        ============================================================ */

        body { font-family: 'DM Sans', system-ui, sans-serif !important; }

        h1, h2, h3, h4, .display {
            font-family: 'Aboreto', serif !important;
            font-weight: 400 !important;
            letter-spacing: .02em !important;
            line-height: 1.14 !important;
        }

        /* Aboreto runs wide — recalibrate the display sizes */
        .hero h1.display, .hero #heroTitle {
            font-family: 'Aboreto', serif !important;
            font-size: clamp(30px, 4vw, 58px) !important;
            max-width: none !important;
            line-height: 1.16 !important;
        }
        .hero #heroTitle .h1-ink { font-family: 'Aboreto', serif !important; }
        .hero #heroTitle .text-gold { font-style: normal !important; }
        .section-head h2 { font-size: clamp(26px, 3.4vw, 50px) !important; }
        .project-info h3 { font-size: clamp(22px, 2.4vw, 36px) !important; }
        .final-cta h2 { font-size: clamp(24px, 4vw, 54px) !important; }
        .hero-fact strong { font-family: 'Aboreto', serif; }
        .intro__stat { font-family: 'Aboreto', serif; }
        .sb-header-drawer__link { font-family: 'Aboreto', serif; font-size: clamp(22px, 6.4vw, 36px); }

        /* script accents — the reference's handwritten gold labels */
        .eyebrow {
            font-family: 'Caveat', cursive !important;
            font-size: clamp(21px, 1.8vw, 28px) !important;
            font-weight: 600 !important;
            letter-spacing: 0 !important;
            text-transform: none !important;
        }
        .eyebrow::before { display: none !important; }
        main .section .eyebrow::after { font-size: 10px; opacity: .55; }

        /* body voice */
        .hero-sub, .lede, .story, .q-lede { font-family: 'DM Sans', sans-serif !important; }
        .btn, .sb-header__cta, .sb-header__link { font-family: 'DM Sans', sans-serif !important; }

        /* scroll-scrubbed copy — words surface as you read */
        .scrub-text .scrub-word { opacity: .18; }

/* ===== header-refine ===== */
/* ============================================================
           HEADER REFINE — logo legibility, refined toggle, active nav
           Scoped to the homepage; sb-header.css (shared) is untouched.
        ============================================================ */

        /* the wordmark PNG is pure black — invert it wherever it sits on
           a dark surface so it never disappears */
        html.theme-dark .sb-header__logo { filter: brightness(0) invert(1); }
        html.theme-dark .sb-header-drawer .sb-header__logo { filter: brightness(0) invert(1); }
        .site-footer .f-brand img {
            filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, .1)) !important;
            opacity: .96;
        }

        /* nav links — quieter default, gold on hover/active */
        .sb-header__link { color: var(--sb-h-mute, rgba(20, 20, 20, .58)) !important; }
        .sb-header__link:hover,
        .sb-header__link:focus-visible,
        .sb-header__link[aria-current="page"] { color: var(--sb-h-ink) !important; }
        .sb-header__link[aria-current="page"] { font-weight: 700; }
        .sb-header__link::after { height: 1.5px; background: var(--sb-h-bronze) !important; }

        /* CTA arrow polish */
        .sb-header__cta { letter-spacing: .04em; }

        /* theme toggle — circular, matches the pill language, gold on hover */
        .sb-theme-toggle {
            width: 44px; height: 44px;
            border-radius: 50%;
            color: var(--sb-h-ink) !important;
            border-color: var(--sb-h-border, rgba(20, 20, 20, .14)) !important;
        }
        .sb-theme-toggle:hover {
            border-color: transparent !important;
            background: var(--sb-h-bronze) !important;
            color: #0a0a0a !important;
            transform: translateY(-1px) rotate(12deg);
        }
        .sb-theme-toggle svg { transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1); }

/* ===== cursor-tone ===== */
/* logo cursor adapts to the surface beneath it:
           black on light sections, white on dark sections / dark theme */
        #custom-cursor img {
            filter: brightness(0) drop-shadow(0 2px 5px rgba(0, 0, 0, .28)) !important;
            transition: filter .25s ease;
        }
        #custom-cursor.cursor-light img {
            filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .5)) !important;
        }

/* ===== hero-solo ===== */
/* Give the headline the whole stage now that the portrait is gone */
        .hero { min-height: 100svh; }
        .hero .hero-inner {
            max-width: min(1160px, 100%) !important;
            width: 100%;
        }

        /* --- editorial masthead: brand left · hairline · locale right --- */
        .hero #heroBadge.hero-masthead {
            display: flex;
            align-items: center;
            gap: clamp(1rem, 2.4vw, 2rem);
            width: 100%;
            max-width: 100%;
            margin: 0 0 clamp(1.8rem, 3.6vw, 3.2rem);
            padding: 0;
            color: inherit;
        }
        .hero #heroBadge.hero-masthead::before { content: none; }
        .hero .hm-brand,
        .hero .hm-loc {
            font-family: 'DM Sans', system-ui, sans-serif !important;
            font-size: clamp(11px, 0.86vw, 13px);
            font-weight: 500;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            white-space: nowrap;
            opacity: .72;
        }
        .hero .hm-loc { text-align: right; }
        .hero .hm-rule {
            flex: 1 1 auto;
            height: 1px;
            background: linear-gradient(90deg,
                var(--gold, #b08d57) 0%,
                color-mix(in srgb, var(--gold, #b08d57) 35%, transparent) 60%,
                transparent 100%);
            transform-origin: left center;
        }

        .hero h1.display,
        .hero #heroTitle {
            font-family: 'Aboreto', serif !important;
            font-size: clamp(42px, 7.4vw, 104px) !important;
            line-height: 1.02 !important;
            letter-spacing: -0.005em !important;
            max-width: 18ch;
        }
        .hero #heroTitle .h1-line { display: block; overflow: hidden; }

        /* thin gold keyline that draws in beneath the headline */
        .hero .hero-keyline {
            display: block;
            width: clamp(72px, 9vw, 132px);
            height: 2px;
            margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
            background: var(--gold, #b08d57);
            transform: scaleX(0);
            transform-origin: left center;
            animation: heroKeyline 1.1s cubic-bezier(.16,.84,.28,1) 1.5s forwards;
        }
        @keyframes heroKeyline { to { transform: scaleX(1); } }

        .hero #heroSub {
            max-width: 54ch;
            margin-top: clamp(1.4rem, 3vw, 2.2rem);
            font-size: clamp(15px, 1.15vw, 19px);
            line-height: 1.7;
            opacity: .82;
        }
        .hero #heroCtas {
            margin-top: clamp(2rem, 4vw, 3.2rem);
            display: flex;
            flex-wrap: wrap;
            gap: 1rem 1.4rem;
        }

        @media (max-width: 720px) {
            .hero h1.display,
            .hero #heroTitle { font-size: clamp(38px, 12vw, 60px) !important; }
            .hero #heroSub { max-width: 100%; }
            .hero .hm-loc { display: none; }
            .hero #heroBadge.hero-masthead { gap: 1rem; }
        }
        @media (prefers-reduced-motion: reduce) {
            .hero .hero-keyline { animation: none; transform: scaleX(1); }
        }

/* ===== blogs-page ===== */
/* left-aligned editorial head */
        .blogs-head {
            text-align: left !important;
            align-items: flex-start !important;
            max-width: 1500px;
            width: 100%;
        }
        .blogs-head h2 {
            margin-top: 16px;
            line-height: 1.05;
            max-width: 14em;
            text-align: left;
        }
        .blogs-head h2 .h1-line { display: block; }
        .blogs-head .lede {
            margin: 18px 0 0 !important;
            text-align: left;
            max-width: 42em;
        }
        .blogs-meta {
            display: flex; flex-wrap: wrap; align-items: center;
            gap: 10px 18px; margin-top: 22px; padding-top: 18px;
            border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
            width: min(100%, 42em);
        }
        .blogs-meta strong {
            font-family: var(--font-display); font-weight: 800;
            font-size: clamp(26px, 3vw, 34px); line-height: 1;
            color: var(--secondary);
        }
        .blogs-meta span {
            font-family: var(--font-display); font-size: 10px;
            letter-spacing: 0.22em; text-transform: uppercase;
            color: color-mix(in srgb, var(--ink) 55%, transparent);
        }

        /* filters */
        .blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
        .blog-filter {
            font-family: var(--font-display);
            font-size: 10px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            color: color-mix(in srgb, var(--ink) 60%, transparent);
            background: color-mix(in srgb, var(--bg) 60%, #fff);
            border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
            border-radius: 999px; padding: 10px 16px; cursor: pointer;
            transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
        }
        .blog-filter:hover { color: var(--ink); border-color: color-mix(in srgb, var(--secondary) 55%, transparent); }
        .blog-filter.is-active { color: var(--bg); background: var(--primary); border-color: var(--primary); }

        /* grid */
        .blog-grid {
            --blog-cols: 3;
            display: grid;
            grid-template-columns: repeat(var(--blog-cols), 1fr);
            gap: 18px;
            counter-reset: blog-card;
        }
        .blog-card {
            position: relative; overflow: hidden; isolation: isolate;
            display: flex; flex-direction: column; gap: 0;
            min-height: 240px; padding: 28px 26px 24px;
            border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
            border-radius: 6px;
            background: color-mix(in srgb, var(--bg) 82%, #fff);
            color: var(--ink); text-decoration: none;
            transition: transform .45s var(--ease), border-color .35s var(--ease), box-shadow .45s var(--ease);
            counter-increment: blog-card;
        }
        .blog-card::before {
            content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary) 60%, transparent);
            transform: scaleX(0.28); transform-origin: left center;
            transition: transform .5s var(--ease); z-index: 3;
        }
        .blog-card::after {
            content: ""; position: absolute; right: -18%; bottom: -30%;
            width: 55%; height: 70%; border-radius: 50%;
            background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 70%);
            pointer-events: none; z-index: 0; opacity: 0.7;
            transition: opacity .45s var(--ease), transform .6s var(--ease);
        }
        .blog-card:hover {
            transform: translateY(-4px);
            border-color: color-mix(in srgb, var(--secondary) 45%, transparent);
            box-shadow: 0 22px 48px color-mix(in srgb, var(--ink) 12%, transparent);
        }
        .blog-card:hover::before { transform: scaleX(1); }
        .blog-card:hover::after { opacity: 1; transform: translate(-8%, -6%) scale(1.08); }
        .blog-card > *:not(.ariva-flair__fill) { position: relative; z-index: 2; }

        .blog-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
        .blog-tag {
            align-self: flex-start; font-family: var(--font-display);
            font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
            color: var(--secondary);
            border: 1px solid color-mix(in srgb, var(--secondary) 35%, transparent);
            border-radius: 999px; padding: 6px 12px; white-space: nowrap;
            background: color-mix(in srgb, var(--bg) 55%, #fff);
        }
        .blog-card-index {
            font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em;
            color: color-mix(in srgb, var(--ink) 45%, transparent); flex-shrink: 0;
        }
        .blog-card-index::before { content: counter(blog-card, decimal-leading-zero); }
        .blog-card h3 {
            margin: 0 !important; font-size: clamp(20px, 1.8vw, 26px) !important;
            line-height: 1.16; font-weight: 700; letter-spacing: -0.01em;
            max-width: 18em; flex: 1;
        }
        .blog-card-foot {
            margin-top: auto; padding-top: 22px; display: flex; align-items: center;
            justify-content: space-between; gap: 12px;
            border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
        }
        .blog-more {
            font-family: var(--font-display); font-size: 10px; font-weight: 600;
            letter-spacing: 0.16em; text-transform: uppercase;
            color: color-mix(in srgb, var(--ink) 55%, transparent);
            transition: color .3s var(--ease);
        }
        .blog-card-arr {
            width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
            border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
            background: color-mix(in srgb, var(--bg) 55%, #fff);
            color: var(--ink); font-size: 15px; line-height: 1;
            transition: transform .4s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
        }
        .blog-card:hover .blog-more { color: var(--ink); }
        .blog-card:hover .blog-card-arr { transform: translateX(3px); background: var(--primary); border-color: var(--primary); color: var(--bg); }

        /* featured lead card */
        .blog-card.is-lead {
            grid-column: span 2; min-height: 280px; padding: clamp(28px, 3vw, 40px);
            background:
                radial-gradient(ellipse 70% 80% at 100% 0%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 55%),
                color-mix(in srgb, var(--bg) 82%, #fff);
        }
        .blog-card.is-lead h3 { font-size: clamp(26px, 3vw, 38px) !important; max-width: 16em; }

        .blog-card.is-hidden-page { display: none !important; }

        html.theme-dark .blogs-meta { border-top-color: rgba(245, 242, 234, .16) !important; }
        html.theme-dark .blogs-meta strong { color: #D4AF37 !important; }
        html.theme-dark .blogs-meta span { color: rgba(245, 242, 234, .55) !important; }
        html.theme-dark .blog-filter {
            color: rgba(245, 242, 234, .7) !important;
            background: #1c1c1c !important;
            border-color: rgba(245, 242, 234, .16) !important;
        }
        html.theme-dark .blog-filter:hover {
            color: #F5F2EA !important;
            border-color: #B8912A !important;
        }
        html.theme-dark .blog-filter.is-active {
            color: #0a0a0a !important;
            background: #F5F2EA !important;
            border-color: #F5F2EA !important;
        }
        html.theme-dark .blog-card {
            background: #1c1c1c !important;
            border-color: rgba(245, 242, 234, .16) !important;
            color: #F5F2EA !important;
        }
        html.theme-dark .blog-card.is-lead {
            background:
                radial-gradient(ellipse 70% 80% at 100% 0%, rgba(184, 145, 42, .14), transparent 55%),
                #1c1c1c !important;
        }
        html.theme-dark .blog-card:hover { border-color: #B8912A !important; }
        html.theme-dark .blog-card h3 { color: #F5F2EA !important; }
        html.theme-dark .blog-tag {
            color: #D4AF37 !important;
            border-color: rgba(184, 145, 42, .4) !important;
            background: rgba(184, 145, 42, .12) !important;
        }
        html.theme-dark .blog-card-index { color: rgba(245, 242, 234, .45) !important; }
        html.theme-dark .blog-card-foot { border-top-color: rgba(245, 242, 234, .12) !important; }
        html.theme-dark .blog-more { color: rgba(245, 242, 234, .55) !important; }
        html.theme-dark .blog-card:hover .blog-more { color: #F5F2EA !important; }
        html.theme-dark .blog-card-arr {
            background: #111111 !important;
            border-color: rgba(245, 242, 234, .2) !important;
            color: #F5F2EA !important;
        }
        html.theme-dark .blog-card:hover .blog-card-arr {
            background: #F5F2EA !important;
            border-color: #F5F2EA !important;
            color: #0a0a0a !important;
        }

        .blogs-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: clamp(28px, 4vw, 40px) 0 8px; text-align: center; }
        .blogs-more-wrap[hidden] { display: none !important; }
        .blogs-more-meta {
            margin: 0; font-family: var(--font-display); font-size: 10px;
            letter-spacing: 0.2em; text-transform: uppercase;
            color: color-mix(in srgb, var(--ink) 55%, transparent);
        }
        .blogs-more-wrap .btn { min-width: min(280px, 100%); justify-content: center; }

        .blogs-foot {
            margin-top: clamp(36px, 5vw, 56px); padding-top: 28px;
            border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
            display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
        }
        .blogs-foot p { margin: 0; font-family: var(--font-body); font-size: 14.5px; color: color-mix(in srgb, var(--ink) 62%, transparent); max-width: 32em; }

        @media (max-width: 1100px) {
            .blog-grid { --blog-cols: 2; }
            .blog-card.is-lead { grid-column: span 2; }
        }
        @media (max-width: 640px) {
            .blog-grid { --blog-cols: 1; gap: 14px; }
            .blog-card { min-height: 200px; padding: 22px 20px; }
            .blog-card.is-lead { grid-column: span 1; min-height: 220px; }
            .blogs-head h2 .h1-line { white-space: normal; }
            .blogs-foot { flex-direction: column; align-items: flex-start; }
            .blogs-foot .btn { width: 100%; justify-content: center; }
        }

/* ===== blogs-mobile ===== */
/* Final responsive layer — phones & small tablets (wins cascade) */
@media (max-width: 899px) {
    :root {
        --header-h: 78px;
        --pad: clamp(16px, 4.5vw, 28px);
    }

    html, body { overflow-x: clip; }

    .section {
        padding-block: clamp(56px, 14vw, 88px) !important;
    }

    /* Hero */
    .hero {
        min-height: 0 !important;
        min-height: max(480px, calc(100svh - var(--header-h))) !important;
        padding: calc(var(--header-h) + 16px) var(--pad) clamp(36px, 8vh, 56px) !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    .hero .hero-inner { width: 100%; max-width: 100% !important; }
    .hero h1.display,
    .hero #heroTitle {
        font-size: clamp(2rem, 9.2vw, 2.75rem) !important;
        max-width: 100% !important;
        line-height: 1.08 !important;
        letter-spacing: -0.01em !important;
    }
    .hero #heroTitle .h1-line {
        white-space: normal;
        overflow: visible;
    }
    .hero #heroSub,
    .hero .hero-sub {
        max-width: 100% !important;
        font-size: clamp(15px, 3.8vw, 17px);
        line-height: 1.65;
    }
    .hero #heroCtas,
    .hero .hero-ctas {
        width: 100%;
        gap: 12px;
    }
    .hero #heroCtas .btn,
    .hero .hero-ctas .btn {
        flex: 1 1 auto;
        min-width: min(100%, 168px);
        justify-content: center;
        padding: 14px 18px !important;
    }
    .hero .hm-brand { font-size: 10px; letter-spacing: 0.18em; }

    /* Blog listing head */
    .blogs-head,
    .section-head {
        text-align: left !important;
        align-items: flex-start !important;
        max-width: 100% !important;
    }
    .blogs-head h2,
    .section-head h2 {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        max-width: none !important;
        text-align: left !important;
    }
    .blogs-head h2 .h1-line {
        white-space: normal !important;
        display: block;
    }
    .blogs-head .lede,
    .section-head p.lede {
        text-align: left !important;
        margin-inline: 0 !important;
        max-width: none;
    }
    .blogs-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }
    .blogs-meta strong { font-size: 22px; }

    /* Filter chips — scroll horizontally on narrow screens */
    .blog-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        margin-bottom: 24px;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .blog-filters::-webkit-scrollbar { display: none; }
    .blog-filter {
        flex-shrink: 0;
        padding: 9px 14px;
        font-size: 9px;
    }

    /* Blog grid + cards */
    .blog-grid {
        --blog-cols: 1 !important;
        gap: 12px;
    }
    .blog-card {
        min-height: 0;
        padding: 18px 16px 16px;
        transform: none !important;
    }
    .blog-card:hover {
        transform: none !important;
        box-shadow: none;
    }
    .blog-card.is-lead {
        grid-column: span 1 !important;
        min-height: 0;
        padding: 20px 18px 18px;
    }
    .blog-card.is-lead h3 {
        font-size: clamp(1.15rem, 5.2vw, 1.35rem) !important;
        max-width: none;
    }
    .blog-card h3 {
        font-size: clamp(1.05rem, 4.6vw, 1.2rem) !important;
        max-width: none !important;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .blog-card-top { margin-bottom: 14px; }
    .blog-card-foot { padding-top: 16px; }
    .blog-card-arr { width: 32px; height: 32px; font-size: 14px; }

    .blogs-more-wrap {
        margin-top: 24px;
        align-items: stretch;
        text-align: left;
    }
    .blogs-more-wrap .btn { width: 100%; min-width: 0; }
    .blogs-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 28px;
        padding-top: 22px;
    }
    .blogs-foot p { max-width: none; }
    .blogs-foot .btn { width: 100%; justify-content: center; }

    /* Final CTA */
    .final-cta { text-align: left !important; }
    .final-cta .eyebrow { justify-content: flex-start !important; }
    .final-cta h2 {
        font-size: clamp(1.5rem, 7vw, 2.25rem) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none;
        text-align: left !important;
    }
    .final-cta p {
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }
    .final-cta .hero-ctas {
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }
    .final-cta .hero-ctas .btn { width: 100%; justify-content: center; }

    .float-stack {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 600px) {
    .hero #heroCtas,
    .hero .hero-ctas { flex-direction: column; }
    .hero #heroCtas .btn,
    .hero .hero-ctas .btn { width: 100%; min-width: 0; }

    .blog-filters {
        margin-left: calc(-1 * var(--pad));
        margin-right: calc(-1 * var(--pad));
        padding-left: var(--pad);
        padding-right: var(--pad);
    }

    .float-btn { width: 48px; height: 48px; }
    .float-btn svg { width: 20px; height: 20px; }

    .footer-shell { padding: 20px 16px !important; }
}

@media (max-width: 480px) {
    :root {
        --header-h: 72px;
        --pad: 16px;
    }

    .hero #heroBadge.hero-masthead { flex-wrap: wrap; gap: 8px; }
    .hero .hm-rule { display: none; }
    .hero .hm-loc { display: none; }

    .blog-tag {
        font-size: 9px;
        padding: 5px 10px;
    }
}

@media (max-width: 360px) {
    .hero h1.display,
    .hero #heroTitle {
        font-size: clamp(1.65rem, 8.6vw, 2rem) !important;
    }
    .blogs-head h2,
    .section-head h2,
    .final-cta h2 {
        font-size: clamp(1.4rem, 7.8vw, 1.65rem) !important;
    }
}
