        /* ===== NAVIGATION ===== */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 1.5rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.4s ease, backdrop-filter 0.4s ease;
        }

        nav.scrolled {
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
        }

        .logo {
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--white);
            text-decoration: none;
        }

        .logo span {
            color: var(--gray);
            font-weight: 400;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--gray-light);
            text-decoration: none;
            font-size: 0.8rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--white);
            transition: width 0.3s ease, background 0.3s ease;
        }

        .nav-links a:hover {
            color: #bbc7b5;
        }

        .nav-links a:hover::after {
            width: 100%;
            background: #bbc7b5;
        }

        .nav-links a.active {
            color: var(--white);
        }

        .nav-links a.active::after {
            width: 100%;
        }

        /* Account / login icon — placeholder for the future backend. */
        .nav-login {
            display: flex;
            align-items: center;
        }

        .login-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            padding: 0;
            background: transparent;
            border: 1px solid var(--gray-dark);
            border-radius: 50%;
            color: var(--gray-light);
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease;
        }

        .login-icon:hover {
            color: #bbc7b5;
            border-color: #bbc7b5;
        }

        .login-icon svg {
            width: 20px;
            height: 20px;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 24px;
            height: 1px;
            background: var(--white);
            transition: all 0.3s ease;
        }

        /* ===== HERO ===== */
        .hero {
            min-height: 60vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 2rem;
            position: relative;
            overflow: hidden;
            padding-top: 6rem;
            /* Override the base `section { max-width: 1200px }` so the hero
               image spans the full viewport width on large screens. */
            max-width: none;
            width: 100%;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
        }

        .hero-label {
            font-size: 0.75rem;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--gray);
            margin-bottom: 2rem;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 5rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        /* Sage brand accent (#bbc7b5) on the BOLD title words (Creative,
           Committed, One Name, Many Passions…) and bold body emphasis. */
        .hero h1,
        .section-title,
        .cta-section h2,
        .about-text strong,
        .about-quote span,
        .section-header strong,
        .about strong {
            color: #bbc7b5;
        }

        /* The thin accent word in the hero stays neutral so the bold words pop. */
        .hero h1 .accent {
            color: var(--white);
            font-weight: 300;
        }

        /* A section title that is white except for its highlighted phrase. */
        .section-title.title-white {
            color: var(--white);
        }

        .section-title .accent {
            color: #bbc7b5;
        }

        /* Elegant wavy-serif treatment for hero highlight phrases, echoing a
           display-font specimen the client liked. Fraunces' SOFT/WONK axes
           give the same hand-set, irregular-baseline feel as a paid font
           like it, without needing a licensed file. Pages using this must
           load the Fraunces font (see Google Fonts link in <head>). */
        .script-font {
            font-family: 'Fraunces', serif;
            font-style: italic;
            font-weight: 400;
            font-variation-settings: 'SOFT' 100, 'WONK' 1;
            letter-spacing: 0;
        }

        .hero-subtitle {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: var(--gray-light);
            max-width: 600px;
            margin: 0 auto 3rem;
            font-weight: 300;
        }

        .hero-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2.5rem;
            border: 1px solid var(--gray-dark);
            color: var(--white);
            text-decoration: none;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            transition: all 0.4s ease;
        }

        .hero-cta:hover {
            background: #bbc7b5;
            color: var(--black);
            border-color: #bbc7b5;
        }

        /* All buttons use the sage accent on hover. (.cta-btn and .social-links
           are defined in the per-page base; these override on hover.) */
        .cta-btn:hover {
            background: #bbc7b5;
            color: var(--black);
            transform: translateY(-2px);
        }

        .social-links a:hover {
            color: #bbc7b5;
            border-color: #bbc7b5;
        }

        /* ===== FULL-SCREEN IMAGE HERO =====
           Shared across every page. Each page supplies its own photo via the
           --hero-img custom property (and optional --hero-pos / --hero-pos-mobile).
           The photo is black-and-white by default and fades to full colour when
           the cursor is anywhere over the hero. Layers: ::before = photo,
           ::after = legibility scrim, .hero-content = text on top. */
        .hero.hero--img {
            min-height: 100vh;
            min-height: 100svh;
            padding-top: 0;
            background: var(--black);
        }

        .hero.hero--img::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 0;
            background-image: var(--hero-img);
            background-size: cover;
            background-position: var(--hero-pos, center);
            background-repeat: no-repeat;
            filter: grayscale(1);
            transition: filter 0.8s ease;
            pointer-events: none;
        }

        .hero.hero--img:hover::before {
            filter: grayscale(0);
        }

        .hero.hero--img::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            opacity: 1;
            transition: opacity 0.8s ease;
            background:
                radial-gradient(ellipse 70% 60% at 50% 45%,
                    rgba(10, 10, 10, 0.55) 0%, transparent 70%),
                linear-gradient(to bottom,
                    rgba(10, 10, 10, 0.82) 0%,
                    rgba(10, 10, 10, 0.55) 35%,
                    rgba(10, 10, 10, 0.6) 70%,
                    var(--black) 100%);
        }

        /* Lift the scrim on hover so the revealed colour actually reads. */
        .hero.hero--img:hover::after {
            opacity: 0.5;
        }

        .hero.hero--img .hero-content,
        .hero.hero--img .scroll-indicator {
            position: relative;
            z-index: 2;
        }

        /* Over a photo the site greys (#888) drop out; lift small text to hold
           WCAG AA against the scrimmed highlights. */
        .hero.hero--img .hero-label,
        .hero.hero--img .hero-subtitle {
            color: #e8e8e8;
        }

        .hero.hero--img .scroll-indicator span {
            color: #e8e8e8;
        }

        @media (max-width: 768px) and (orientation: portrait) {
            .hero.hero--img::before {
                background-position: var(--hero-pos-mobile, var(--hero-pos, center));
            }
        }

        /* Touch devices have no hover: reveal colour on tap-focus instead. */
        @media (hover: none) {
            .hero.hero--img:active::before { filter: grayscale(0); }
            .hero.hero--img:active::after { opacity: 0.5; }
        }

        /* ===== MOBILE NAV =====
           These must live in global.css: it defines the nav base styles and
           loads after the per-page stylesheets, so a mobile @media block in a
           page file would be overridden by the base rules here. */
        @media (max-width: 768px) {
            nav {
                padding: 1.25rem 1.5rem;
            }

            .menu-toggle {
                display: flex;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 78%;
                max-width: 320px;
                height: 100vh;
                height: 100svh;
                background: var(--black);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2.25rem;
                transition: right 0.4s ease;
                border-left: 1px solid var(--gray-dark);
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links a {
                font-size: 1rem;
            }

            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(4px, 4px);
            }

            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(4px, -4px);
            }
        }

        /* ===== SHARED LEAD-CAPTURE MODAL =====
           Used by the Pixel Studio interest-selector, the AR Land Docs
           service-request flow, and the chat widget. Sits above the custom
           cursor (.cursor / .cursor-follower are z-index 9999/9998). */
        body.lead-modal-locked {
            overflow: hidden;
        }

        .lead-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            background: rgba(10, 10, 10, 0.85);
            backdrop-filter: blur(20px);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .lead-modal-overlay.is-open {
            opacity: 1;
            pointer-events: auto;
        }

        .lead-modal {
            position: relative;
            width: 100%;
            max-width: 480px;
            max-height: calc(100vh - 3rem);
            overflow-y: auto;
            background: var(--black);
            border: 1px solid var(--gray-dark);
            padding: 3rem 2.5rem 2.5rem;
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lead-modal-overlay.is-open .lead-modal {
            opacity: 1;
            transform: translateY(0);
        }

        .lead-modal-close {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            background: transparent;
            border: 1px solid var(--gray-dark);
            border-radius: 50%;
            color: var(--gray-light);
            font-size: 1.1rem;
            line-height: 1;
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease;
        }

        .lead-modal-close:hover {
            color: #bbc7b5;
            border-color: #bbc7b5;
        }

        .lead-modal-body h3 {
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            margin-bottom: 0.5rem;
            padding-right: 2rem;
        }

        .lead-modal-body p {
            color: var(--gray);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1.75rem;
        }

        .lead-modal-service {
            display: inline-block;
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #bbc7b5;
            border: 1px solid var(--gray-dark);
            padding: 0.5rem 0.9rem;
            margin-bottom: 1.5rem;
        }

        /* Multi-select interest chips (Pixel Studio form). */
        .lead-modal-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-bottom: 1.5rem;
        }

        .lead-modal-option {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 1rem;
            border: 1px solid var(--gray-dark);
            color: var(--gray-light);
            font-size: 0.8rem;
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease;
        }

        .lead-modal-option input {
            accent-color: #bbc7b5;
        }

        .lead-modal-option:hover {
            border-color: #bbc7b5;
            color: var(--white);
        }

        .lead-modal-option.is-selected {
            border-color: #bbc7b5;
            color: #bbc7b5;
        }

        .lead-modal-field {
            margin-bottom: 1.25rem;
        }

        .lead-modal-field label {
            display: block;
            font-size: 0.7rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gray);
            margin-bottom: 0.5rem;
        }

        .lead-modal-field input,
        .lead-modal-field textarea {
            width: 100%;
            background: transparent;
            border: 1px solid var(--gray-dark);
            color: var(--white);
            font-family: inherit;
            font-size: 0.95rem;
            padding: 0.85rem 1rem;
            transition: border-color 0.3s ease;
        }

        .lead-modal-field textarea {
            resize: vertical;
            min-height: 90px;
        }

        .lead-modal-field input:focus,
        .lead-modal-field textarea:focus {
            outline: none;
            border-color: #bbc7b5;
        }

        .lead-modal-error {
            color: #e57373;
            font-size: 0.85rem;
            margin: -0.5rem 0 1.25rem;
            display: none;
        }

        .lead-modal-error.is-visible {
            display: block;
        }

        .lead-modal-submit {
            width: 100%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            background: var(--white);
            color: var(--black);
            border: none;
            font-size: 0.8rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
        }

        .lead-modal-submit:hover {
            background: #bbc7b5;
        }

        .lead-modal-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .lead-modal-fallback {
            text-align: center;
            font-size: 0.8rem;
            color: var(--gray);
            margin-top: 1.5rem;
        }

        .lead-modal-fallback a {
            color: var(--gray-light);
            transition: color 0.3s ease;
        }

        .lead-modal-fallback a:hover {
            color: #bbc7b5;
        }

        /* Confirmation state — modal content is swapped in place. */
        .lead-modal-confirm {
            text-align: center;
            padding: 1rem 0;
        }

        .lead-modal-confirm-icon {
            width: 56px;
            height: 56px;
            margin: 0 auto 1.5rem;
            border-radius: 50%;
            border: 1px solid #bbc7b5;
            color: #bbc7b5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        .lead-modal-confirm h3 {
            padding-right: 0;
        }

        /* ===== TOAST (admin-side low-stakes feedback) ===== */
        .toast {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 10001;
            background: var(--black);
            border: 1px solid #bbc7b5;
            color: var(--white);
            padding: 0.9rem 1.5rem;
            font-size: 0.85rem;
            max-width: 320px;
            opacity: 0;
            transform: translateY(12px);
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .toast.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .toast[data-type="error"] {
            border-color: #e57373;
        }

        @media (max-width: 480px) {
            .lead-modal {
                padding: 2.5rem 1.5rem 2rem;
            }
        }

        /* ===== CHAT WIDGET (guided quick-reply lead capture) =====
           Docked bottom-right so it never competes with the centered
           .lead-modal-overlay for attention. */
        .chat-launcher {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 9000;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 54px;
            height: 54px;
            padding: 0;
            background: var(--black);
            border: 1px solid var(--gray-dark);
            border-radius: 50%;
            color: var(--gray-light);
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
        }

        .chat-launcher:hover {
            color: #bbc7b5;
            border-color: #bbc7b5;
        }

        .chat-launcher.is-hidden {
            transform: scale(0.8);
            opacity: 0;
            pointer-events: none;
        }

        .chat-launcher svg {
            width: 22px;
            height: 22px;
        }

        .chat-panel {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 9001;
            width: min(360px, calc(100vw - 3rem));
            max-height: min(560px, calc(100vh - 3rem));
            background: var(--black);
            border: 1px solid var(--gray-dark);
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateY(20px);
            pointer-events: none;
            transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .chat-panel.is-open {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .chat-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--gray-dark);
        }

        .chat-panel-header h4 {
            font-size: 0.85rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: var(--white);
        }

        .chat-panel-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            background: transparent;
            border: 1px solid var(--gray-dark);
            border-radius: 50%;
            color: var(--gray-light);
            font-size: 1rem;
            line-height: 1;
            cursor: pointer;
            transition: color 0.3s ease, border-color 0.3s ease;
        }

        .chat-panel-close:hover {
            color: #bbc7b5;
            border-color: #bbc7b5;
        }

        .chat-panel-body {
            flex: 1;
            overflow-y: auto;
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .chat-bubble {
            max-width: 85%;
            padding: 0.65rem 0.9rem;
            font-size: 0.85rem;
            line-height: 1.5;
        }

        .chat-bubble.chat-bubble-bot {
            align-self: flex-start;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--gray-dark);
            color: var(--gray-light);
        }

        .chat-bubble.chat-bubble-user {
            align-self: flex-end;
            background: #bbc7b5;
            color: var(--black);
        }

        .chat-options {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .chat-option-btn {
            text-align: left;
            padding: 0.7rem 1rem;
            background: transparent;
            border: 1px solid var(--gray-dark);
            color: var(--gray-light);
            font-size: 0.85rem;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .chat-option-btn:hover {
            border-color: #bbc7b5;
            color: #bbc7b5;
        }

        .chat-step-form {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .chat-step-form input,
        .chat-step-form textarea {
            width: 100%;
            background: transparent;
            border: 1px solid var(--gray-dark);
            color: var(--white);
            font-family: inherit;
            font-size: 0.85rem;
            padding: 0.65rem 0.85rem;
        }

        .chat-step-form input:focus,
        .chat-step-form textarea:focus {
            outline: none;
            border-color: #bbc7b5;
        }

        .chat-step-form button {
            padding: 0.7rem 1rem;
            background: var(--white);
            color: var(--black);
            border: none;
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .chat-step-form button:hover {
            background: #bbc7b5;
        }

        .chat-step-error {
            color: #e57373;
            font-size: 0.8rem;
            display: none;
        }

        .chat-step-error.is-visible {
            display: block;
        }

        @media (max-width: 480px) {
            .chat-panel {
                right: 1rem;
                bottom: 1rem;
                left: 1rem;
                width: auto;
            }

            .chat-launcher {
                right: 1rem;
                bottom: 1rem;
            }
        }
