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

        html {
            scroll-behavior: smooth;
        }

        :root {
            --ink: #0c1320;
            --navy: #14233a;
            --navy-soft: #1d3050;
            --gold: #c4a35a;
            --gold-bright: #d9b96f;
            --aqua: #5b8c9b;
            --stone: #8a8578;
            --line: #e3ddd1;
            --paper: #f7f4ef;
            --paper-warm: #efe9df;
            --text: #1c2330;
            --text-soft: #545b67;
            --white: #ffffff;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--text);
            background-color: var(--paper);
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        ::selection {
            background: var(--gold);
            color: var(--ink);
        }

        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            line-height: 1.15;
            color: var(--navy);
            letter-spacing: -0.01em;
        }

        a { color: inherit; }

        .container {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Eyebrow / section label */
        .eyebrow {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--gold);
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            margin-bottom: 1.1rem;
        }
        .eyebrow::before {
            content: "";
            width: 28px;
            height: 1px;
            background: var(--gold);
            display: inline-block;
        }

        .section-head {
            max-width: 640px;
            margin-bottom: 3.5rem;
        }
        .section-head h2 {
            font-size: clamp(2rem, 4vw, 2.9rem);
        }
        .section-head p {
            color: var(--text-soft);
            font-size: 1.08rem;
            margin-top: 1rem;
        }

        section {
            padding: 6.5rem 0;
        }

        /* ===== Header ===== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
            padding: 0.4rem 0;
        }
        header.scrolled {
            background: rgba(247, 244, 239, 0.88);
            backdrop-filter: saturate(180%) blur(14px);
            -webkit-backdrop-filter: saturate(180%) blur(14px);
            box-shadow: 0 1px 0 var(--line);
        }
        .header-container {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0.9rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            text-decoration: none;
        }
        .logo svg { flex-shrink: 0; }
        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.45rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            color: var(--navy);
            line-height: 1;
        }
        .logo-subtext {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.56rem;
            font-weight: 500;
            letter-spacing: 0.28em;
            color: var(--stone);
            text-transform: uppercase;
            line-height: 1.3;
            margin-top: 3px;
        }
        nav {
            display: flex;
            align-items: center;
            gap: 2.2rem;
        }
        nav a:not(.nav-cta) {
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text);
            position: relative;
            padding: 0.2rem 0;
        }
        nav a:not(.nav-cta)::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            height: 1.5px;
            background: var(--gold);
            transition: width 0.3s ease;
        }
        nav a:not(.nav-cta):hover::after { width: 100%; }
        .nav-switch {
            color: #5b7a4a !important;
            font-weight: 600 !important;
        }
        .nav-switch::after { background: #6f7d4e !important; }
        /* Light nav over the dark hero (until header turns frosted on scroll) */
        #siteHeader:not(.scrolled) .logo-text { color: #fff; }
        #siteHeader:not(.scrolled) .logo-subtext { color: rgba(255,255,255,0.55); }
        #siteHeader:not(.scrolled) nav a:not(.nav-cta) { color: rgba(255,255,255,0.85); }
        #siteHeader:not(.scrolled) .nav-cta { color: #fff; border-color: rgba(255,255,255,0.55); }
        #siteHeader:not(.scrolled) .nav-cta:hover { background: #fff; color: var(--navy); }
        #siteHeader:not(.scrolled) .nav-switch { color: #a9cf86 !important; }
        .nav-cta {
            text-decoration: none;
            font-size: 0.86rem;
            font-weight: 600;
            color: var(--navy);
            border: 1.5px solid var(--navy);
            padding: 0.55rem 1.2rem;
            border-radius: 2px;
            transition: all 0.25s ease;
        }
        .nav-cta:hover {
            background: var(--navy);
            color: var(--white);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: none;
            border: none;
            gap: 5px;
            padding: 6px;
        }
        .menu-toggle span {
            width: 24px;
            height: 2px;
            background-color: var(--navy);
            transition: all 0.3s ease;
        }
        .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
        .menu-toggle.active span:nth-child(2) { opacity: 0; }
        .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

        /* ===== Hero ===== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background:
                radial-gradient(1200px 600px at 75% -10%, rgba(196,163,90,0.16), transparent 60%),
                linear-gradient(160deg, var(--ink) 0%, var(--navy) 60%, var(--navy-soft) 100%);
            color: var(--white);
            overflow: hidden;
            padding: 8rem 0 5rem;
        }
        /* Blueprint grid */
        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%);
            -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 75%);
            pointer-events: none;
        }
        .hero-inner {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 3rem;
            align-items: center;
            width: 100%;
        }
        .hero-eyebrow {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: var(--gold);
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            margin-bottom: 1.6rem;
        }
        .hero-eyebrow::before {
            content: "";
            width: 30px; height: 1px;
            background: var(--gold);
        }
        .hero h1 {
            color: var(--white);
            font-size: clamp(2.6rem, 6vw, 4.4rem);
            font-weight: 700;
            line-height: 1.05;
            letter-spacing: -0.02em;
        }
        .hero h1 .accent {
            color: var(--gold);
            font-style: italic;
            font-weight: 600;
        }
        .hero .tagline {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.85rem;
            letter-spacing: 0.06em;
            color: var(--gold-bright);
            margin-top: 1.6rem;
        }
        .hero .subtitle {
            font-size: 1.12rem;
            color: rgba(255,255,255,0.78);
            max-width: 30rem;
            margin-top: 1.1rem;
        }
        .cta-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2.4rem;
            flex-wrap: wrap;
        }
        .btn {
            font-family: 'Inter', sans-serif;
            font-size: 0.92rem;
            font-weight: 600;
            padding: 0.95rem 1.8rem;
            border-radius: 2px;
            border: 1.5px solid transparent;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            transition: all 0.25s ease;
            letter-spacing: 0.01em;
        }
        .btn-primary {
            background: var(--gold);
            color: var(--ink);
            border-color: var(--gold);
        }
        .btn-primary:hover {
            background: var(--gold-bright);
            border-color: var(--gold-bright);
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(196,163,90,0.28);
        }
        .btn-secondary {
            background: transparent;
            color: var(--white);
            border-color: rgba(255,255,255,0.35);
        }
        .btn-secondary:hover {
            border-color: var(--white);
            background: rgba(255,255,255,0.06);
        }
        .btn .arrow { transition: transform 0.25s ease; }
        .btn:hover .arrow { transform: translateX(3px); }

        /* Hero technical card */
        .hero-card {
            position: relative;
            border: 1px solid rgba(196,163,90,0.35);
            background: rgba(255,255,255,0.03);
            padding: 2rem;
            backdrop-filter: blur(2px);
        }
        .hero-card::before, .hero-card::after {
            content: "";
            position: absolute;
            width: 14px; height: 14px;
            border: 2px solid var(--gold);
        }
        .hero-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
        .hero-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
        .hero-card .draw {
            display: block;
            width: 100%;
            height: auto;
        }
        .hero-card .card-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.5);
            display: flex;
            justify-content: space-between;
            margin-top: 1.1rem;
            padding-top: 0.9rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        .hero-card .card-label span:last-child { color: var(--gold); }

        .hero-stats {
            position: relative;
            z-index: 2;
            display: flex;
            gap: 3rem;
            margin-top: 4rem;
            flex-wrap: wrap;
        }
        .hero-stat .num {
            font-family: 'Playfair Display', serif;
            font-size: 2.1rem;
            font-weight: 700;
            color: var(--gold);
            line-height: 1;
        }
        .hero-stat .label {
            font-size: 0.82rem;
            color: rgba(255,255,255,0.65);
            margin-top: 0.4rem;
        }

        /* ===== Services ===== */
        #services { background: var(--paper); }
        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.4rem;
        }
        .service-card {
            background: var(--white);
            border: 1px solid var(--line);
            padding: 2.2rem 1.9rem;
            border-radius: 3px;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        }
        .service-card::before {
            content: "";
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 3px;
            background: var(--gold);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.35s ease;
        }
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 45px rgba(20,35,58,0.1);
            border-color: transparent;
        }
        .service-card:hover::before { transform: scaleX(1); }
        .service-num {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            color: var(--stone);
            letter-spacing: 0.1em;
        }
        .service-icon {
            width: 54px;
            height: 54px;
            color: var(--navy);
            margin: 1.1rem 0 1.3rem;
        }
        .service-card:hover .service-icon { color: var(--gold); }
        .service-icon svg { width: 100%; height: 100%; transition: color 0.3s ease; }
        .service-card h3 {
            font-size: 1.22rem;
            margin-bottom: 0.6rem;
        }
        .service-card p {
            color: var(--text-soft);
            font-size: 0.95rem;
        }

        /* ===== Why Us ===== */
        #why-us {
            background: var(--navy);
            color: var(--white);
            position: relative;
        }
        #why-us .eyebrow { color: var(--gold-bright); }
        #why-us .section-head h2 { color: var(--white); }
        #why-us .section-head p { color: rgba(255,255,255,0.7); }
        .why-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border-top: 1px solid rgba(255,255,255,0.12);
            border-left: 1px solid rgba(255,255,255,0.12);
        }
        .why-item {
            padding: 2.3rem 2rem;
            border-right: 1px solid rgba(255,255,255,0.12);
            border-bottom: 1px solid rgba(255,255,255,0.12);
            transition: background 0.3s ease;
        }
        .why-item:hover { background: rgba(255,255,255,0.03); }
        .why-stat {
            font-family: 'Playfair Display', serif;
            font-size: 2.3rem;
            font-weight: 700;
            color: var(--gold);
            line-height: 1;
            margin-bottom: 0.9rem;
        }
        .why-item h4 {
            color: var(--white);
            font-size: 1.1rem;
            margin-bottom: 0.55rem;
        }
        .why-item p {
            color: rgba(255,255,255,0.68);
            font-size: 0.92rem;
        }

        /* ===== Portfolio ===== */
        #portfolio { background: var(--paper-warm); }
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.4rem;
        }
        .portfolio-card {
            background: var(--white);
            border: 1px solid var(--line);
            border-radius: 3px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .portfolio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 22px 50px rgba(20,35,58,0.13);
        }
        .portfolio-image {
            position: relative;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background:
                linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
        }
        .portfolio-image::after {
            content: "";
            position: absolute; inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 22px 22px;
            opacity: 0.6;
            pointer-events: none;
        }
        .portfolio-image img {
            position: relative;
            z-index: 1;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }
        .portfolio-card:hover .portfolio-image img { transform: scale(1.03); }
        .portfolio-image .view-tag {
            position: absolute;
            z-index: 2;
            bottom: 0.9rem; right: 0.9rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.62rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: var(--ink);
            background: var(--gold);
            padding: 0.35rem 0.7rem;
            border-radius: 2px;
            opacity: 0;
            transform: translateY(6px);
            transition: all 0.3s ease;
        }
        .portfolio-card:hover .view-tag { opacity: 1; transform: translateY(0); }
        .portfolio-content { padding: 1.4rem 1.5rem 1.6rem; }
        .portfolio-content h4 {
            font-size: 1.12rem;
            margin-bottom: 0.45rem;
        }
        .portfolio-content p {
            color: var(--text-soft);
            font-size: 0.9rem;
        }
        .portfolio-note {
            margin-top: 2.6rem;
            text-align: center;
            font-size: 0.95rem;
            color: var(--text-soft);
            background: var(--white);
            border: 1px dashed var(--line);
            padding: 1.1rem 1.5rem;
            border-radius: 3px;
        }

        /* ===== About ===== */
        #about { background: var(--paper); }
        .about-layout {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 4rem;
            align-items: start;
        }
        .about-sticky { position: sticky; top: 110px; }
        .about-sticky h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
        .pullquote {
            border-left: 3px solid var(--gold);
            padding: 0.4rem 0 0.4rem 1.5rem;
            margin: 2rem 0;
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 1.25rem;
            line-height: 1.5;
            color: var(--navy);
        }
        .about-body p { margin-bottom: 1.1rem; color: var(--text-soft); }
        .about-body h3 {
            font-size: 1.3rem;
            margin: 2rem 0 0.8rem;
        }
        .about-body strong { color: var(--text); }
        .about-list {
            list-style: none;
            margin: 1.2rem 0;
        }
        .about-list li {
            position: relative;
            padding-left: 1.7rem;
            margin-bottom: 0.65rem;
            color: var(--text-soft);
        }
        .about-list li::before {
            content: "";
            position: absolute;
            left: 0; top: 0.55em;
            width: 8px; height: 8px;
            background: var(--gold);
            transform: rotate(45deg);
        }

        /* ===== Contact ===== */
        #contact {
            background:
                radial-gradient(900px 500px at 15% 0%, rgba(196,163,90,0.12), transparent 60%),
                linear-gradient(160deg, var(--ink), var(--navy));
            color: var(--white);
        }
        #contact .eyebrow { color: var(--gold-bright); }
        .contact-wrapper {
            display: grid;
            grid-template-columns: 0.85fr 1.15fr;
            gap: 4rem;
            align-items: start;
        }
        .contact-info h2 {
            color: var(--white);
            font-size: clamp(1.9rem, 3.5vw, 2.6rem);
            margin-bottom: 1.3rem;
        }
        .contact-info .lead {
            color: rgba(255,255,255,0.75);
            margin-bottom: 2rem;
        }
        .contact-detail {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            margin-bottom: 1.1rem;
        }
        .contact-detail .ic {
            width: 38px; height: 38px;
            flex-shrink: 0;
            border: 1px solid rgba(196,163,90,0.4);
            display: flex; align-items: center; justify-content: center;
            color: var(--gold);
        }
        .contact-detail .ic svg { width: 18px; height: 18px; }
        .contact-detail .k {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.62rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.5);
        }
        .contact-detail .v {
            font-size: 1.02rem;
            color: var(--white);
            text-decoration: none;
        }
        .contact-detail a.v:hover { color: var(--gold-bright); }
        .contact-meta {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.55);
            margin-top: 1.8rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.12);
        }

        .contact-form {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.12);
            padding: 2.4rem;
            border-radius: 4px;
        }
        .form-group { margin-bottom: 1.3rem; }
        .form-group label {
            display: block;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.6);
            margin-bottom: 0.5rem;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.16);
            border-radius: 2px;
            padding: 0.85rem 1rem;
            color: var(--white);
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            transition: border-color 0.25s ease, background 0.25s ease;
        }
        .form-group input::placeholder,
        .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--gold);
            background: rgba(255,255,255,0.08);
        }
        .form-group textarea { resize: vertical; min-height: 130px; }
        .contact-form .btn-primary { width: 100%; justify-content: center; }
        .hidden { display: none; }

        /* ===== Footer ===== */
        footer {
            background: var(--ink);
            color: rgba(255,255,255,0.7);
            padding: 3.5rem 0 2.5rem;
        }
        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .footer-brand {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        .footer-brand .logo-text { color: var(--white); }
        .footer-links {
            display: flex;
            gap: 1.8rem;
            flex-wrap: wrap;
        }
        .footer-links a {
            text-decoration: none;
            font-size: 0.88rem;
            color: rgba(255,255,255,0.65);
            transition: color 0.25s ease;
        }
        .footer-links a:hover { color: var(--gold); }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-top: 2rem;
            font-size: 0.82rem;
        }
        .footer-motto {
            font-family: 'JetBrains Mono', monospace;
            letter-spacing: 0.1em;
            color: var(--gold);
        }

        /* ===== Lightbox ===== */
        .lightbox-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(8,12,20,0.96);
            z-index: 2000;
            flex-direction: column;
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        .lightbox-overlay.active { display: flex; }
        .lightbox-overlay.shown { opacity: 1; }
        .lightbox-stage {
            position: relative;
            flex: 1 1 auto;
            min-height: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3.4rem 5.6rem 0.6rem;
            overflow: hidden;
        }
        #lightbox-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border: 1px solid rgba(255,255,255,0.15);
            background: #fff;
            cursor: zoom-in;
        }
        .lightbox-stage.zoomed { overflow: auto; align-items: flex-start; justify-content: flex-start; padding: 3.4rem 1rem 1rem; }
        .lightbox-stage.zoomed #lightbox-img { max-width: none; max-height: none; cursor: grab; }
        .lightbox-stage.zoomed.dragging #lightbox-img { cursor: grabbing; }
        .lightbox-spinner {
            position: absolute; top: 50%; left: 50%;
            width: 34px; height: 34px; margin: -17px 0 0 -17px;
            border: 2px solid rgba(255,255,255,0.18);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: lb-spin 0.7s linear infinite;
            opacity: 0; pointer-events: none;
            transition: opacity 0.15s ease;
        }
        .lightbox-spinner.on { opacity: 1; }
        @keyframes lb-spin { to { transform: rotate(360deg); } }
        .lightbox-close {
            position: absolute;
            top: 1rem; right: 1.3rem;
            width: 44px; height: 44px;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.9rem; line-height: 1;
            color: var(--white);
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
            cursor: pointer;
            z-index: 6;
            transition: background 0.2s ease, color 0.2s ease;
        }
        .lightbox-close:hover { background: rgba(255,255,255,0.18); color: var(--gold); }
        .lightbox-nav {
            position: absolute;
            top: 0; bottom: 0;
            width: 5rem;
            display: flex; align-items: center; justify-content: center;
            background: transparent; border: none;
            color: var(--white);
            cursor: pointer;
            user-select: none;
            z-index: 5;
            -webkit-tap-highlight-color: transparent;
        }
        .lightbox-nav span {
            width: 48px; height: 48px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,0.1);
            font-size: 1.3rem; line-height: 1;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }
        .lightbox-nav:hover span { background: var(--gold); color: #10131a; transform: scale(1.07); }
        .lightbox-prev { left: 0; }
        .lightbox-next { right: 0; }
        .lightbox-nav[hidden] { display: none; }
        .lightbox-meta { flex: 0 0 auto; text-align: center; padding: 0.9rem 1.2rem 1.35rem; }
        .lightbox-caption {
            color: var(--white);
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
        }
        .lightbox-desc {
            color: rgba(255,255,255,0.62);
            font-size: 0.87rem;
            max-width: 620px;
            margin: 0.3rem auto 0;
        }
        .lightbox-counter {
            font-family: 'JetBrains Mono', monospace;
            color: var(--gold);
            font-size: 0.72rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            margin-top: 0.6rem;
        }
        .lightbox-hint {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase;
            color: rgba(255,255,255,0.3); margin-top: 0.4rem;
        }
        .lightbox-dots { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 0.7rem; }
        .lightbox-dot { width: 26px; height: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .lightbox-dot::after { content: ""; width: 100%; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.26); transition: background 0.2s ease; }
        .lightbox-dot:hover::after { background: rgba(255,255,255,0.6); }
        .lightbox-dot.active::after { background: var(--gold); }
        @media (max-width: 760px) {
            .lightbox-stage { padding: 3.2rem 0.5rem 0.4rem; }
            .lightbox-nav { width: 3.4rem; }
            .lightbox-nav span { width: 40px; height: 40px; font-size: 1.1rem; }
            .lightbox-desc { display: none; }
            .lightbox-caption { font-size: 1rem; }
        }

        /* ===== Reveal animation ===== */
        .reveal {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== Responsive ===== */
        @media (max-width: 940px) {
            .hero { flex-direction: column; justify-content: center; }
            .hero-stats { width: 100%; }
            .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
            .hero-card { max-width: 420px; }
            .services-grid, .why-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
            .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
            .about-sticky { position: static; }
            .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
        }
        @media (max-width: 760px) {
            nav {
                position: fixed;
                top: 0; right: -100%;
                height: 100vh;
                width: 75%;
                max-width: 320px;
                background: var(--navy);
                flex-direction: column;
                justify-content: center;
                gap: 1.8rem;
                transition: right 0.35s ease;
                box-shadow: -10px 0 40px rgba(0,0,0,0.3);
            }
            nav.active { right: 0; }
            nav a:not(.nav-cta) { color: var(--white); font-size: 1.1rem; }
            .nav-cta { color: var(--white); border-color: var(--gold); }
            .menu-toggle { display: flex; z-index: 1001; }
            header.menu-open .menu-toggle span { background: var(--white); }
            section { padding: 4.5rem 0; }
            .services-grid, .why-grid, .portfolio-grid { grid-template-columns: 1fr; }
            .why-grid { border-left: none; }
            .why-item { border-left: 1px solid rgba(255,255,255,0.12); }
            .hero-stats { gap: 2rem; }
            .container { padding: 0 1.4rem; }
            .header-container { padding: 0.9rem 1.4rem; }
        }
        /* Refined subheading / supporting typography (Fraunces) */
        .eyebrow, .hero-eyebrow {
            font-family: 'Fraunces', Georgia, serif;
            font-weight: 600;
            letter-spacing: 0.12em;
        }
        .hero .tagline {
            font-family: 'Fraunces', Georgia, serif;
            font-style: italic;
            font-weight: 500;
            letter-spacing: 0;
            text-transform: none;
            font-size: 1rem;
        }
        .hero .subtitle,
        .section-head p {
            font-family: 'Fraunces', Georgia, serif;
            font-weight: 400;
        }
        /* ===== Polish pass ===== */
        :root { --gold-ink: #8a6a24; }
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
            .reveal { opacity: 1 !important; transform: none !important; }
        }
        .eyebrow { color: var(--gold-ink); }
        .eyebrow::before { background: var(--gold-ink); }
        .hero-inner { align-items: start; }
        .hero-stats { margin-top: 4.5rem; padding-top: 2.6rem; border-top: 1px solid rgba(255,255,255,0.1); }
        .services-grid, .portfolio-grid { gap: 1.9rem; }
        .about-body p { max-width: 64ch; }
        .service-card { box-shadow: 0 1px 2px rgba(12,19,32,0.04), 0 6px 16px -10px rgba(12,19,32,0.10); }
        .portfolio-card { box-shadow: 0 1px 2px rgba(12,19,32,0.04), 0 8px 20px -12px rgba(12,19,32,0.10); }
        .service-card:hover { box-shadow: 0 18px 40px -12px rgba(12,19,32,0.28), 0 4px 12px rgba(12,19,32,0.10); }
        .portfolio-card:hover { box-shadow: 0 24px 54px -14px rgba(12,19,32,0.32), 0 6px 14px rgba(12,19,32,0.12); }
        .btn:focus-visible, .nav-cta:focus-visible, .portfolio-card:focus-visible, .service-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
        nav a:not(.nav-cta):focus-visible::after { width: 100%; }
        .lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; color: var(--gold); }
        /* Tools & deliverables strip */
        .tools-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 2.6rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
        .tools-strip .tools-label { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-right: 0.3rem; }
        .tools-strip .tool { font-size: 0.82rem; font-weight: 500; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 2px; padding: 0.35rem 0.75rem; }
        .tools-strip .tools-divider { width: 1px; height: 20px; background: var(--line); margin: 0 0.4rem; }
        /* Testimonial */
        #testimonial { background: var(--paper); padding-top: 0; }
        .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1040px; margin: 0 auto; align-items: stretch; }
        .quote-card { position: relative; max-width: 840px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 3rem 3rem 2.4rem; box-shadow: 0 18px 50px rgba(20,35,58,0.08); }
        .quote-card .quote-mark { position: absolute; top: 0.2rem; left: 1.6rem; font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 1; color: var(--gold); opacity: 0.3; }
        .quote-card blockquote { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--navy); margin: 0 0 1.6rem; position: relative; }
        .quote-attrib { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--line); }
        .quote-attrib .stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
        .quote-attrib .attrib-name { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
        .quote-card { padding: 2rem 1.9rem 1.6rem; }
        .quote-card blockquote { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; margin-bottom: 1.3rem; }
        .quote-card .quote-mark { font-size: 3.6rem; top: 0.1rem; }
        .ratings-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.7rem; max-width: 1000px; margin: 2.6rem auto 0; }
        .ratings-strip .ratings-label { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); width: 100%; text-align: center; margin-bottom: 0.2rem; }
        .ratings-strip .rated { font-size: 0.85rem; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: 0.45rem 1rem; }
        .ratings-strip .rated b { color: var(--gold-ink); font-weight: 700; }
        /* Form success message */
        .form-success { background: rgba(255,255,255,0.05); border: 1px solid rgba(196,163,90,0.4); border-radius: 4px; padding: 2.6rem; text-align: center; }
        .form-success h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.7rem; }
        .form-success p { color: rgba(255,255,255,0.78); }
        .form-success a { color: var(--gold-bright); }
        /* Process */
        #process { background: var(--paper-warm); }
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
        .process-step { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 1.9rem 1.6rem; position: relative; }
        .process-step .step-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
        .process-step h3 { font-size: 1.08rem; margin: 0.9rem 0 0.5rem; }
        .process-step p { color: var(--text-soft); font-size: 0.9rem; }
        .process-note { margin-top: 2rem; text-align: center; font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--text-soft); }
        @media (max-width: 940px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }
        /* FAQ */
        #faq { background: var(--paper); }
        .faq-list { max-width: 800px; margin: 0 auto; }
        .faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 3px; margin-bottom: 0.8rem; padding: 0; }
        .faq-list summary { cursor: pointer; list-style: none; padding: 1.2rem 1.4rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
        .faq-list summary::-webkit-details-marker { display: none; }
        .faq-list summary::after { content: "+"; font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold-ink); flex-shrink: 0; transition: transform 0.25s ease; }
        .faq-list details[open] summary::after { transform: rotate(45deg); }
        .faq-list details p { padding: 0 1.4rem 1.3rem; color: var(--text-soft); font-size: 0.95rem; }
        .faq-list summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
        /* Portfolio CTA */
        .portfolio-cta { text-align: center; margin-top: 2rem; }
        /* Form selects */
        .form-group select { width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); border-radius: 2px; padding: 0.85rem 1rem; color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.95rem; }
        .form-group select:focus { outline: none; border-color: var(--gold); }
        .form-group select option { color: var(--text); background: var(--white); }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
        @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
        .portfolio-image picture { display: block; width: 100%; height: 100%; }
    

/* ================= GATEWAY (homepage hero, from original index) ================= */

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

        :root {
            --navy: #14233a;
            --navy-ink: #0c1320;
            --green: #1f3326;
            --green-ink: #14201a;
            --gold: #c4a35a;
            --gold-bright: #d9b96f;
            --white: #ffffff;
        }

/* ===== Gateway split ===== */
        .gateway {
            display: flex;
            min-height: 92vh;
            width: 100%;
        }
        .panel {
            position: relative;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 2rem;
            text-decoration: none;
            color: var(--white);
            overflow: hidden;
            transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1), filter 0.45s ease;
            cursor: pointer;
        }
        /* blueprint grid texture */
        .panel::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 46px 46px;
            opacity: 0.5;
            transition: opacity 0.5s ease, transform 0.7s ease;
            pointer-events: none;
        }
        /* subtle glow that intensifies on hover */
        .panel::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(700px 500px at 50% 38%, rgba(196,163,90,0.18), transparent 65%);
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .panel-pool {
            background: linear-gradient(165deg, var(--navy-ink) 0%, var(--navy) 70%, #1d3050 100%);
        }
        .panel-land {
            background: linear-gradient(165deg, var(--green-ink) 0%, var(--green) 70%, #2c4634 100%);
        }

        /* hover-expand interaction (desktop) */
        @media (min-width: 821px) {
            .gateway:hover .panel { flex: 0.82; filter: brightness(0.7) saturate(0.85); }
            .gateway .panel:hover { flex: 1.5; filter: brightness(1.05); }
            .gateway .panel:hover::after { opacity: 1; }
            .gateway .panel:hover::before { opacity: 0.8; transform: scale(1.04); }
            .gateway .panel:hover .enter { background: var(--gold); color: #0c1320; border-color: var(--gold); }
            .gateway .panel:hover .enter .gw-arrow { transform: translateX(4px); }
        }

        .panel-content {
            position: relative;
            z-index: 2;
            max-width: 360px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .panel-eyebrow {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.72rem;
            letter-spacing: 0.24em;
            text-transform: uppercase;
            color: var(--gold-bright);
            margin-bottom: 1.5rem;
        }
        .panel-icon {
            width: 76px;
            height: 76px;
            color: var(--white);
            margin-bottom: 1.6rem;
            opacity: 0.95;
        }
        .panel-icon svg { width: 100%; height: 100%; }
        .panel h2 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            font-size: clamp(1.9rem, 3.4vw, 2.7rem);
            line-height: 1.08;
            letter-spacing: -0.01em;
            margin-bottom: 1rem;
        }
        .panel p {
            font-size: 1rem;
            line-height: 1.6;
            color: rgba(255,255,255,0.78);
            margin-bottom: 2rem;
        }
        .enter {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            padding: 0.8rem 1.7rem;
            border: 1.5px solid rgba(255,255,255,0.5);
            border-radius: 2px;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            transition: all 0.3s ease;
        }
        .enter .gw-arrow { transition: transform 0.3s ease; }

        /* ===== Center brand badge (decorative, click passes through) ===== */
.brand-mark .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.4rem;
            font-weight: 800;
            letter-spacing: 0.04em;
            color: var(--white);
            line-height: 1;
        }
/* ===== Bottom hint / contact ===== */
        .gateway-foot {
            position: absolute;
            bottom: 1.6rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 1.2rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.66rem;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.55);
            pointer-events: none;
        }
        .gateway-foot a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            pointer-events: auto;
            border-bottom: 1px solid transparent;
            transition: color 0.25s ease, border-color 0.25s ease;
        }
        .gateway-foot a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
        .gateway-foot .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

        .choose-hint {
            position: absolute;
            top: 7.6rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.62rem;
            letter-spacing: 0.26em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.45);
            pointer-events: none;
        }

        /* ===== Mobile: stack ===== */
        @media (max-width: 820px) {
.gateway { flex-direction: column; height: auto; min-min-height: 92vh; }
            .panel { min-height: 60vh; padding: 5.5rem 1.5rem 3rem; }
            .panel-pool { min-height: 56vh; }
            .panel::after { opacity: 0.5; }
            .choose-hint { display: none; }
.gateway-foot {
                position: static;
                transform: none;
                justify-content: center;
                padding: 1.6rem;
                background: #0c1320;
            }
        }
        @media (max-width: 820px) and (max-height: 9999px) {
            .panel-icon { width: 60px; height: 60px; margin-bottom: 1.2rem; }
        }
        /* Refined subheading typography (Fraunces) */
        .panel-eyebrow {
            font-family: 'Fraunces', Georgia, serif;
            font-weight: 600;
            letter-spacing: 0.15em;
        }
        .panel p {
            font-family: 'Fraunces', Georgia, serif;
        }
        .brand-sub, .choose-hint {
            font-family: 'Fraunces', Georgia, serif;
            letter-spacing: 0.16em;
        }
        /* ===== Polish pass ===== */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
        }
        .panel p { margin-bottom: 1rem; }
        .panel-proof { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.9rem; display: block; }
        .panel:focus-visible { outline: none; flex: 1.5; filter: brightness(1.05); }
        .panel:focus-visible::after { opacity: 1; }
        .panel:focus-visible .enter { background: var(--gold); color: #0c1320; border-color: var(--gold); }
        .gateway-foot a:focus-visible { color: var(--gold-bright); border-color: var(--gold-bright); outline: none; }
    

/* ---- rebuild additions ---- */
.gw-scope { position: relative; overflow: hidden; background: #0c1320; }
.gw-scope .panel h2, .gw-scope .panel .panel-eyebrow { color: inherit; }
.gw-scope .panel h2 { color: #fff; }
.gw-scope .panel-eyebrow { color: var(--gold-bright); }
.scroll-cue { position: absolute; bottom: 4.4rem; left: 50%; transform: translateX(-50%); z-index: 10;
  font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.45); pointer-events: none; text-align: center; }
.scroll-cue span { display: block; margin: .55rem auto 0; width: 1px; height: 26px;
  background: linear-gradient(rgba(196,163,90,.9), transparent); }
a.service-card { display: block; text-decoration: none; color: inherit; }
a.service-card:hover h3 { color: var(--gold); }
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.state-card { display: block; text-decoration: none; color: inherit; padding: 2rem 1.6rem;
  background: var(--white); border: 1px solid var(--line); transition: .28s; }
.state-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.state-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; margin-bottom: .7rem; color: var(--navy); }
.state-card p { font-size: .88rem; color: var(--text-soft); line-height: 1.6; }
.seal-band { background: var(--navy); }
.seal-band h2, .seal-band h3 { color: #fff; }
.seal-band p { color: rgba(255,255,255,.78); }
.seal-band .eyebrow { color: var(--gold-bright); }
.seal-band .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.seal-band .btn-secondary:hover { background: #fff; color: var(--navy); }
.seal-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: start; }
.seal-steps { list-style: none; margin-top: 1.5rem; }
.seal-steps li { display: flex; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: .95rem; color: rgba(255,255,255,.82); }
.seal-steps li:last-child { border-bottom: 0; }
.seal-steps b { font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .1em;
  color: var(--gold-bright); padding-top: .25rem; }
@media (max-width: 900px) { .seal-layout { grid-template-columns: 1fr; gap: 2.4rem; } .state-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .state-grid { grid-template-columns: 1fr; } }

/* H1 shares the h2 treatment inside section heads */
.section-head h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; color: var(--navy); letter-spacing: -0.01em; }
.seal-band .section-head h1, .seal-band h2 { color: #fff; }
.seal-band p { margin-bottom: 1rem; }
.seal-band p:last-of-type { margin-bottom: 0; }
#intro { background: var(--paper); }
#states { background: var(--paper-warm); }

/* secondary button on light (paper) sections */
#intro .btn-secondary, #services .btn-secondary, #states .btn-secondary,
#faq .btn-secondary, #testimonial .btn-secondary {
  color: var(--navy); border-color: rgba(20,35,58,0.35);
}
#intro .btn-secondary:hover, #services .btn-secondary:hover, #states .btn-secondary:hover,
#faq .btn-secondary:hover { border-color: var(--navy); background: rgba(20,35,58,0.05); }
.seal-band h2 { margin-bottom: 1.2rem; }
.seal-band .eyebrow { display: block; margin-bottom: 1rem; }
