@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/inter-300.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/inter-400.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/inter-500.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/inter-600.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/inter-700.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/inter-800.ttf") format("truetype");
}

:root {
            --brand: #ef232a;
            --ink: #17191c;
            --soft: #f7f7f4;
            --muted: #676b72;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            overflow-x: hidden;
            background: var(--soft);
            color: var(--ink);
            font-family: "Inter", Arial, sans-serif;
            letter-spacing: 0;
        }

        canvas {
            display: block;
            width: 100%;
            height: 100%;
            outline: none;
        }

        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
        }

        #site-header.header-frosted {
            background: rgba(26, 27, 29, 0.9);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
            mix-blend-mode: normal;
        }

        .map-shell {
            background: #17191c;
        }

        .map-shell::before,
        .map-shell::after {
            content: none;
        }

        .map-frame {
            mix-blend-mode: normal;
        }

        #contact .map-shell {
            width: 100%;
            height: 380px;
            min-height: 340px;
        }

        @media (min-width: 768px) {
            #contact .map-shell {
                height: 590px;
                min-height: 0;
            }
        }

        @media (min-width: 1024px) {
            #contact .map-shell {
                align-self: stretch;
                height: 100%;
                min-height: 620px;
            }
        }

        .nav-link {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .nav-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -0.45rem;
            width: 100%;
            height: 1px;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.35s ease;
        }

        .nav-link:hover::after {
            transform: scaleX(1);
            transform-origin: left;
        }

        .mobile-header-phone {
            display: inline-flex;
            height: 2.5rem;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            padding: 0 0.78rem;
            color: #000000;
            font-size: 0.58rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            line-height: 1;
            white-space: nowrap;
            transition: background-color 0.2s ease;
        }

        .mobile-header-phone:hover,
        .mobile-header-phone:focus {
            background: #dddddd;
        }

        .desktop-header-appointment {
            display: none;
        }

        .hero-copy-lock {
            width: min(100%, 22rem);
            min-width: 0;
            margin: 0 auto;
            text-align: center;
            white-space: normal;
        }

        .hero-title {
            font-size: clamp(2.75rem, 13vw, 4.2rem);
            line-height: 0.86;
            letter-spacing: 0;
        }

        .eyebrow {
            display: block;
            margin-bottom: 1.45rem;
            color: rgba(23, 25, 28, 0.42);
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.36em;
            text-transform: uppercase;
        }

        .canvas-vignette {
            position: absolute;
            inset: 0;
            z-index: 5;
            pointer-events: none;
            background:
                linear-gradient(90deg, rgba(247, 247, 244, 0.1), rgba(247, 247, 244, 0) 14%),
                linear-gradient(180deg, rgba(247, 247, 244, 0.72), rgba(247, 247, 244, 0) 18%, rgba(247, 247, 244, 0) 78%, rgba(247, 247, 244, 0.58));
        }

        #hero-callouts {
            position: fixed;
            left: 0;
            top: 0;
            z-index: 20;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            pointer-events: none;
        }

        .hero-callout-lines {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
            pointer-events: none;
        }

        .hero-callout-line {
            stroke: rgba(23, 25, 28, 0.46);
            stroke-width: 1;
            fill: none;
            stroke-linecap: round;
            vector-effect: non-scaling-stroke;
        }

        .hero-hotspot-dot {
            position: absolute;
            width: 0.68rem;
            height: 0.68rem;
            border: 1px solid rgba(255, 255, 255, 0.96);
            border-radius: 999px;
            background: rgba(239, 35, 42, 0.96);
            box-shadow: 0 0 0 0 rgba(239, 35, 42, 0.52), 0 0 1rem rgba(239, 35, 42, 0.42);
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.4);
            animation: premiumPulse 2.2s ease-out infinite;
            pointer-events: none;
        }

        .hero-dot-1 { left: 48%; top: 40%; }
        .hero-dot-2 { left: 56%; top: 47%; }
        .hero-dot-3 { left: 67%; top: 40%; }
        .hero-dot-4 { left: 73%; top: 39%; }
        .hero-dot-5 { left: 81%; top: 44%; }

        @keyframes premiumPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(239, 35, 42, 0.52), 0 0 1rem rgba(239, 35, 42, 0.42);
            }
            72% {
                box-shadow: 0 0 0 0.9rem rgba(239, 35, 42, 0), 0 0 1rem rgba(239, 35, 42, 0.42);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(239, 35, 42, 0), 0 0 1rem rgba(239, 35, 42, 0.42);
            }
        }

        .hero-callout-card {
            position: absolute;
            width: clamp(12.75rem, 17vw, 16.25rem);
            min-height: 7.6rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.2)),
                rgba(247, 247, 244, 0.36);
            box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.46);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            opacity: 0;
            transform: translateY(1rem) scale(0.96);
            pointer-events: auto;
        }

        .hero-callout-card::before {
            content: "";
            position: absolute;
            left: 1.15rem;
            top: 1.15rem;
            width: 0.38rem;
            height: 0.38rem;
            border-radius: 999px;
            background: var(--brand);
            box-shadow: 0 0 1rem rgba(239, 35, 42, 0.72);
        }

        .hero-callout-card h3 {
            margin: 0 0 0.7rem;
            padding-left: 1.1rem;
            color: var(--ink);
            font-size: clamp(1rem, 1.15vw, 1.18rem);
            font-weight: 800;
            letter-spacing: 0;
            line-height: 1;
        }

        .hero-callout-card p {
            margin: 0;
            color: rgba(23, 25, 28, 0.68);
            font-size: 0.86rem;
            font-weight: 300;
            line-height: 1.45;
        }

        .hero-callout-1 { left: 4%; top: 9%; }
        .hero-callout-2 { right: 4%; left: auto; top: 16%; }
        .hero-callout-3 { right: 4%; top: 50%; }
        .hero-callout-4 { left: 4%; bottom: 12%; }
        .hero-callout-5 { right: 4%; bottom: 7%; }

        #service-callouts {
            position: fixed;
            left: 0;
            top: 0;
            z-index: 24;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            pointer-events: none;
        }

        .service-callout-lines {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
            pointer-events: none;
        }

        .service-callout-line {
            stroke: rgba(23, 25, 28, 0.46);
            stroke-width: 1;
            fill: none;
            stroke-linecap: round;
            vector-effect: non-scaling-stroke;
        }

        .service-hotspot-dot {
            position: absolute;
            width: 0.68rem;
            height: 0.68rem;
            border: 1px solid rgba(255, 255, 255, 0.96);
            border-radius: 999px;
            background: rgba(239, 35, 42, 0.96);
            box-shadow: 0 0 0 0 rgba(239, 35, 42, 0.52), 0 0 1rem rgba(239, 35, 42, 0.42);
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.4);
            animation: premiumPulse 2.2s ease-out infinite;
            pointer-events: none;
        }

        .service-dot-ppf { left: 72%; top: 51%; }
        .service-dot-chrome { left: 56%; top: 39%; }
        .service-dot-partial { left: 64%; top: 42%; }

        .service-callout-card {
            position: absolute;
            width: clamp(13.25rem, 17vw, 16.75rem);
            min-height: 7.6rem;
            border: 1px solid rgba(255, 255, 255, 0.22);
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.21)),
                rgba(247, 247, 244, 0.38);
            box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.48);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            opacity: 0;
            transform: translateY(1rem) scale(0.96);
            pointer-events: auto;
        }

        .service-callout-card::before {
            content: "";
            position: absolute;
            left: 1.15rem;
            top: 1.15rem;
            width: 0.38rem;
            height: 0.38rem;
            border-radius: 999px;
            background: var(--brand);
            box-shadow: 0 0 1rem rgba(239, 35, 42, 0.72);
        }

        .service-callout-card h3 {
            margin: 0 0 0.7rem;
            padding-left: 1.1rem;
            color: var(--ink);
            font-size: clamp(1rem, 1.1vw, 1.16rem);
            font-weight: 800;
            letter-spacing: 0;
            line-height: 1.05;
        }

        .service-callout-card p {
            margin: 0;
            color: rgba(23, 25, 28, 0.68);
            font-size: 0.84rem;
            font-weight: 300;
            line-height: 1.45;
        }

        .service-callout-ppf { right: 6%; top: 14%; }
        .service-callout-chrome { left: 5%; top: 22%; }
        .service-callout-partial { left: 41%; top: 8%; }
        .service-callout-architecture { right: 7%; bottom: 10%; }
        .service-callout-interior { left: 7%; bottom: 10%; }

        .service-callout-floating {
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)),
                rgba(247, 247, 244, 0.3);
        }

        .service-callout-floating::before {
            display: none;
        }

        .service-callout-floating h3 {
            padding-left: 0;
        }

        #mobile-focus-callouts {
            position: fixed;
            left: 0;
            top: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
        }

        .mobile-focus-lines {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
            pointer-events: none;
        }

        .mobile-focus-line {
            stroke: rgba(23, 25, 28, 0.42);
            stroke-width: 1;
            fill: none;
            stroke-linecap: round;
            vector-effect: non-scaling-stroke;
            opacity: 0;
        }

        .mobile-focus-dot {
            position: absolute;
            left: 50%;
            top: 46%;
            width: 0.7rem;
            height: 0.7rem;
            border: 1px solid rgba(255, 255, 255, 0.96);
            border-radius: 999px;
            background: rgba(239, 35, 42, 0.96);
            box-shadow: 0 0 0 0 rgba(239, 35, 42, 0.52), 0 0 1rem rgba(239, 35, 42, 0.42);
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.5);
            animation: premiumPulse 2.2s ease-out infinite;
            pointer-events: none;
        }

        .mobile-focus-slot {
            position: absolute;
            left: 50%;
            width: min(21.25rem, calc(100vw - 2rem));
            height: 8.7rem;
            transform: translateX(-50%);
            contain: layout paint;
            pointer-events: none;
        }

        .mobile-focus-slot-top {
            top: max(5.25rem, calc(env(safe-area-inset-top) + 4.5rem));
        }

        .mobile-focus-slot-bottom {
            bottom: max(1.35rem, env(safe-area-inset-bottom));
        }

        .mobile-focus-card {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.42);
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28)),
                rgba(247, 247, 244, 0.42);
            box-shadow: 0 1.4rem 3.8rem rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            padding: 1.05rem 1.2rem;
            opacity: 0;
            transform: translateY(1rem) scale(0.98);
            pointer-events: none;
        }

        .mobile-focus-card::before {
            content: "";
            position: absolute;
            left: 1.2rem;
            top: 1.12rem;
            width: 0.38rem;
            height: 0.38rem;
            border-radius: 999px;
            background: var(--brand);
            box-shadow: 0 0 1rem rgba(239, 35, 42, 0.72);
        }

        .mobile-focus-card h3 {
            margin: 0 0 0.75rem;
            padding-left: 1.05rem;
            color: var(--ink);
            font-size: 1.02rem;
            font-weight: 800;
            letter-spacing: 0;
            line-height: 1.05;
        }

        .mobile-focus-card p {
            margin: 0;
            color: rgba(23, 25, 28, 0.68);
            font-size: 0.82rem;
            font-weight: 300;
            line-height: 1.38;
        }

        .mobile-focus-floating::before {
            display: none;
        }

        .mobile-focus-floating h3 {
            padding-left: 0;
        }

        .portfolio-frame,
        .portfolio-media,
        .portfolio-image {
            will-change: transform, opacity;
        }

        .portfolio-image {
            min-height: 130%;
            margin-top: -15%;
        }

        .page-transition-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: grid;
            place-items: center;
            background: #0a0a0a;
            clip-path: polygon(-42% 0, -8% 0, -48% 100%, -82% 100%);
            opacity: 0;
            pointer-events: none;
            will-change: clip-path, opacity;
        }

        .page-transition-overlay.is-active {
            pointer-events: auto;
        }

        .page-transition-brand {
            color: rgba(255, 255, 255, 0.96);
            font-size: clamp(0.86rem, 1.2vw, 1.35rem);
            font-weight: 700;
            letter-spacing: 0.48em;
            line-height: 1;
            opacity: 0;
            text-transform: uppercase;
            transform: translateY(1rem);
            white-space: nowrap;
        }

        .page-transition-brand span {
            color: rgba(255, 255, 255, 0.5);
        }

        [data-transition-page="legal"] .page-transition-overlay {
            clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
            opacity: 1;
            pointer-events: auto;
        }

        [data-transition-page="legal"] .page-transition-brand {
            opacity: 1;
            transform: translateY(0);
        }

        .legal-page {
            min-height: 100vh;
            background:
                radial-gradient(circle at 20% 0%, rgba(239, 35, 42, 0.1), transparent 28rem),
                linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 32rem),
                #0a0a0a;
            color: #ffffff;
        }

        .legal-card {
            border: 1px solid rgba(255, 255, 255, 0.1);
            background:
                linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
                rgba(255, 255, 255, 0.05);
            box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
        }

        .legal-content h2 {
            margin-top: 2.5rem;
            color: rgba(255, 255, 255, 0.94);
            font-size: 1.1rem;
            font-weight: 800;
            letter-spacing: 0;
        }

        .legal-content p,
        .legal-content li {
            color: rgba(209, 213, 219, 0.78);
            line-height: 1.85;
        }

        .legal-content a {
            color: var(--brand);
            transition: color 0.25s ease;
        }

        .legal-content a:hover {
            color: #ffffff;
        }

        @media (prefers-reduced-motion: reduce) {
            .page-transition-overlay {
                display: none;
            }
        }

        @media (max-width: 767px) {
            .eyebrow {
                margin-bottom: 1rem;
                font-size: 0.54rem;
            }

            #hero-callouts,
            #service-callouts {
                display: none;
            }

            .hero-copy-lock {
                width: min(100%, 21rem);
            }

            #hero-copy p {
                font-size: clamp(1rem, 4.6vw, 1.22rem);
                line-height: 1.22;
            }

            #hero-copy .hero-actions {
                justify-content: center;
                gap: 1.15rem;
            }

            .canvas-vignette {
                background:
                    linear-gradient(180deg, rgba(247, 247, 244, 0.86), rgba(247, 247, 244, 0) 24%, rgba(247, 247, 244, 0) 62%, rgba(247, 247, 244, 0.86));
            }
        }

        @media (min-width: 768px) {
            .mobile-header-phone {
                display: none;
            }

            .desktop-header-appointment {
                display: inline-flex;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .hero-copy-lock {
                width: min(100%, 42rem);
            }

            .hero-title {
                font-size: clamp(3.8rem, 7.2vw, 5.3rem);
                line-height: 0.88;
            }

            #hero-copy p {
                max-width: 36rem;
                margin-left: auto;
                margin-right: auto;
                font-size: clamp(1.12rem, 2.2vw, 1.45rem);
            }

            .hero-callout-card {
                width: min(13.5rem, 30vw);
            }

            .hero-callout-1 { left: 7%; top: 11%; }
            .hero-callout-2 { left: 38%; top: 12%; }
            .hero-callout-3 { right: 6%; top: 30%; }
            .hero-callout-4 { left: 6%; bottom: 14%; }
            .hero-callout-5 { right: 7%; bottom: 12%; }
        }

        @media (min-width: 1024px) {
            .hero-copy-lock {
                width: clamp(22rem, 37vw, 44rem);
                min-width: clamp(22rem, 37vw, 44rem);
                margin: 0;
                text-align: left;
            }

            .hero-title {
                font-size: clamp(4.6rem, 8.8vw, 10rem);
                line-height: 0.82;
            }

            .hero-callout-1 { left: 14%; top: 15%; }
            .hero-callout-2 { left: 43%; top: 16%; }
            .hero-callout-3 { right: 8%; top: 22%; }
            .hero-callout-4 { left: 8%; bottom: 15%; }
            .hero-callout-5 { right: 10%; bottom: 12%; }
        }

        #contact .wpcf7 {
            width: 100%;
        }

        #contact .wpcf7-form {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.9rem 1rem;
        }

        #contact .wpcf7-form p {
            min-width: 0;
            margin: 0;
        }

        #contact .wpcf7-form > p:nth-of-type(n+5) {
            grid-column: 1 / -1;
        }

        #contact .wpcf7-form label {
            display: grid;
            gap: 0.5rem;
            color: rgba(23, 25, 28, 0.55);
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.28em;
            text-transform: uppercase;
        }

        #contact .wpcf7-form .wpcf7-form-control-wrap {
            display: block;
            width: 100%;
        }

        #contact .wpcf7-form input:not([type="submit"]),
        #contact .wpcf7-form select,
        #contact .wpcf7-form textarea {
            width: 100%;
            min-height: 3.5rem;
            border: 1px solid rgba(23, 25, 28, 0.12);
            background: #ffffff;
            padding: 0 1rem;
            color: #17191c;
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 0;
            outline: none;
            transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
        }

        #contact .wpcf7-form select {
            appearance: none;
            background-image: linear-gradient(45deg, transparent 50%, rgba(23, 25, 28, 0.55) 50%), linear-gradient(135deg, rgba(23, 25, 28, 0.55) 50%, transparent 50%);
            background-position: calc(100% - 1.2rem) 50%, calc(100% - 0.85rem) 50%;
            background-repeat: no-repeat;
            background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
        }

        #contact .wpcf7-form textarea {
            min-height: 10rem;
            padding-top: 1rem;
            resize: vertical;
        }

        #contact .wpcf7-form input::placeholder,
        #contact .wpcf7-form textarea::placeholder {
            color: rgba(23, 25, 28, 0.3);
        }

        #contact .wpcf7-form input:not([type="submit"]):focus,
        #contact .wpcf7-form select:focus,
        #contact .wpcf7-form textarea:focus {
            border-color: #17191c;
        }

        #contact .wpcf7-form input[type="submit"] {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 3.5rem;
            margin-top: 0.5rem;
            border: 0;
            background: #17191c;
            padding: 0 1.75rem;
            color: #ffffff;
            cursor: pointer;
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.28em;
            text-transform: uppercase;
            transition: background-color 0.2s ease;
        }

        #contact .wpcf7-form input[type="submit"]:hover,
        #contact .wpcf7-form input[type="submit"]:focus {
            background: #ef232a;
        }

        #contact .wpcf7-spinner {
            margin: 0.75rem auto 0;
        }

        #contact .wpcf7-not-valid-tip {
            margin-top: 0.45rem;
            color: #ef232a;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0;
            text-transform: none;
        }

        #contact .wpcf7 form .wpcf7-response-output {
            grid-column: 1 / -1;
            margin: 0.5rem 0 0;
            border: 1px solid rgba(23, 25, 28, 0.16);
            padding: 0.85rem 1rem;
            color: rgba(23, 25, 28, 0.72);
            font-size: 0.9rem;
            line-height: 1.5;
            letter-spacing: 0;
            text-transform: none;
        }

        @media (max-width: 767px) {
            #contact .wpcf7-form {
                grid-template-columns: 1fr;
            }

            #contact .wpcf7-form > p {
                grid-column: 1 / -1;
            }
        }
