@font-face {
    font-family: "Montserrat";
    src: url("data/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("data/fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --nav-line: rgba(255, 255, 255, 0.09);
    --nav-line-strong: rgba(255, 255, 255, 0.18);
    --nav-text: rgba(255, 255, 255, 0.72);
    --nav-text-active: #ffffff;
    --primary: #32ADE4;
    --accent: #31fcf2;
    --secondary: #0A0D1A;
    --header-height: 82px;
    --page-pad: 28px;
    --content-max: 1560px;
}

* {
    box-sizing: border-box;
}

html {
    background: #050506;
}

body {
    min-width: 320px;
    margin: 0;
    padding-top: var(--header-height);
    overflow-x: hidden;
    background: #050506;
    color: #ffffff;
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

section,
article,
div,
nav,
aside,
header,
footer,
main,
form,
ul,
ol,
li {
    min-width: 0;
}

.button,
.contact-banner-link,
.project-link,
.reference-filter,
.reference-tags span,
.service-detail-highlights li,
.racing-series-label span {
    text-wrap: balance;
}

.button span,
.contact-banner-link span,
.project-link span,
.reference-filter,
.reference-tags span,
.service-detail-highlights li span {
    min-width: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

main {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.2) 0%, rgba(10, 13, 26, 0.82) 22%, rgba(5, 5, 6, 0.98) 48%, rgba(49, 252, 242, 0.1) 72%, rgba(5, 5, 6, 1) 100%),
        #050506;
}

main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;
    height: 2600px;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, transparent 31%, rgba(50, 173, 228, 0.2) 31.1%, rgba(50, 173, 228, 0.035) 46%, transparent 46.1%),
        linear-gradient(245deg, transparent 0%, transparent 58%, rgba(49, 252, 242, 0.13) 58.1%, rgba(49, 252, 242, 0.025) 72%, transparent 72.1%);
    opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.72) 88%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.72) 88%, transparent 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, 0.74) 0%, rgba(5, 5, 6, 0.42) 52%, rgba(5, 5, 6, 0.18) 100%),
        linear-gradient(0deg, #050506 0%, rgba(5, 5, 6, 0.94) 8%, rgba(5, 5, 6, 0.58) 24%, rgba(5, 5, 6, 0.14) 54%, rgba(5, 5, 6, 0.52) 100%);
}

.hero-background-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #050506;
}

.container {
    width: min(var(--content-max), calc(100vw - (var(--page-pad) * 2)));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    gap: 30px;
    min-height: var(--header-height);
    padding: 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(180deg, rgba(10, 13, 26, 0.78) 0%, rgba(5, 5, 6, 0.58) 100%);
    box-shadow:
        0 18px 54px rgba(0, 0, 0, 0.26),
        inset 0 -1px 0 rgba(49, 252, 242, 0.08);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-width: max-content;
    color: #ffffff;
}

.brand img {
    width: 178px;
    height: auto;
    object-fit: contain;
}

.nav-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.main-nav {
    justify-self: center;
    min-width: 0;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav a,
.nav-dropdown-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 13px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--nav-text);
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.has-dropdown:hover > .nav-dropdown-toggle,
.has-dropdown:focus-within > .nav-dropdown-toggle {
    color: var(--nav-text-active);
    border-color: var(--nav-line-strong);
    background: rgba(255, 255, 255, 0.055);
}

.main-nav i {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
}

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 242px;
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid var(--nav-line);
    background: rgba(6, 6, 7, 0.98);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown a {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.78rem;
}

.language-switch {
    display: grid;
    place-items: center;
    width: 42px;
    height: 38px;
    border: 1px solid var(--nav-line-strong);
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 160ms ease, background 160ms ease;
}

.language-switch:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.language-switch img {
    width: 26px;
    height: auto;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 10px;
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 40px;
    height: 38px;
    border: 1px solid var(--nav-line-strong);
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.nav-toggle:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-checkbox:checked ~ .header-actions .nav-toggle {
    border-color: rgba(52, 173, 229, 0.48);
    background: rgba(52, 173, 229, 0.14);
}

@media (max-width: 820px) {
    :root {
        --header-height: 78px;
        --page-pad: 18px;
    }

    .site-header {
        position: fixed;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 14px;
        min-height: var(--header-height);
        padding: 0 16px;
    }

    .brand img {
        width: 158px;
    }

    .header-actions {
        grid-column: 3;
    }

    .nav-toggle {
        display: grid;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        min-width: 0;
        padding: 12px 16px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
        background:
            linear-gradient(180deg, rgba(10, 13, 26, 0.94) 0%, rgba(5, 5, 6, 0.9) 100%);
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(20px) saturate(135%);
        -webkit-backdrop-filter: blur(20px) saturate(135%);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .nav-toggle-checkbox:checked ~ .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav ul {
        display: grid;
        justify-content: stretch;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a,
    .nav-dropdown-toggle {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 0 12px;
        border-color: transparent;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.84rem;
    }

    .main-nav li:first-child > a,
    .main-nav li:first-child > .nav-dropdown-toggle {
        border-top: 0;
    }

    .dropdown {
        position: static;
        min-width: 0;
        display: grid;
        gap: 0;
        max-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        overflow: hidden;
        transform: none;
        transition: max-height 180ms ease;
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        max-height: 260px;
    }

    .dropdown a {
        min-height: 42px;
        padding-left: 26px;
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.76rem;
    }
}

@media (max-width: 460px) {
    .brand img {
        width: 138px;
    }

    .language-switch {
        width: 36px;
        height: 36px;
    }

    .nav-toggle {
        width: 38px;
        height: 36px;
    }
}

.hero {
    position: relative;
    isolation: isolate;
    z-index: 1;
    display: grid;
    align-content: center;
    overflow: hidden;
    height: 60vh;
    padding: 132px var(--page-pad) 34px;
    background: #050506;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background: #050506;
}

.hero h1 {
    margin: 0;
    text-transform: uppercase;
    font-weight: 900;
    font-size: clamp(4.4rem, 8vw, 8rem);
    line-height: .88;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid transparent;
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button i {
    font-size: 0.95em;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--primary);
    color: #ffffff;
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.about-section {
    position: relative;
    z-index: 1;
    margin-top: -1px;
    padding: 112px var(--page-pad) 110px;
    background:
        linear-gradient(180deg, #050506 0%, rgba(5, 5, 6, 0.98) 16%, rgba(10, 13, 26, 0.58) 48%, rgba(5, 5, 6, 0) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(380px, 0.92fr);
    gap: clamp(34px, 5vw, 82px);
    align-items: center;
}

.about-heading {
    display: grid;
    justify-items: start;
    gap: 4px;
}

.about-heading p {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.about-heading h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(2.15rem, 3.55vw, 4.2rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    transform: translateX(-0.045em);
}

.about-copy {
    align-self: center;
    display: grid;
    gap: 18px;
    padding-top: 0;
}

.about-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.68;
}

.services-section {
    position: relative;
    z-index: 1;
    isolation: isolate;
    padding: 96px var(--page-pad) 130px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0) 0%, rgba(10, 13, 26, 0.36) 48%, rgba(5, 5, 6, 0.86) 82%, #050506 100%);
}

.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, transparent 31%, rgba(50, 173, 228, 0.16) 31.1%, rgba(50, 173, 228, 0.03) 46%, transparent 46.1%),
        linear-gradient(245deg, transparent 0%, transparent 58%, rgba(49, 252, 242, 0.1) 58.1%, rgba(49, 252, 242, 0.02) 72%, transparent 72.1%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 82%, transparent 100%);
}

.services-section > .container {
    position: relative;
    z-index: 1;
}

.services-list {
    display: grid;
    gap: 0;
}

.service-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
    gap: clamp(26px, 5vw, 86px);
    align-items: center;
    min-height: 360px;
    padding: 42px 0;
    color: inherit;
    text-decoration: none;
    outline-offset: 8px;
}

.service-item:nth-child(even) {
    grid-template-columns: minmax(340px, 0.78fr) minmax(0, 0.9fr);
}

.service-item:focus-visible {
    outline: 2px solid var(--accent);
}

.service-item:nth-child(even) .service-copy {
    order: 2;
}

.service-item:nth-child(even) .service-media {
    order: 1;
}

.service-copy {
    position: relative;
    display: grid;
    gap: 12px;
    padding-left: 24px;
}

.service-copy::before {
    content: "";
    position: absolute;
    top: 0.1em;
    bottom: 0.25em;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(50, 173, 228, 0.08));
}

.service-copy span {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 900;
}

.service-copy h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.7rem, 2.65vw, 3.25rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.service-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.98rem, 1.05vw, 1.1rem);
    line-height: 1.65;
}

.service-link-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: 8px;
    border: 1px solid rgba(49, 252, 242, 0.28);
    color: var(--accent);
    font-size: 0.95rem;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.service-link-icon i {
    display: block;
    line-height: 1;
}

.service-item:hover .service-link-icon,
.service-item:focus-visible .service-link-icon {
    border-color: rgba(49, 252, 242, 0.68);
    background: rgba(49, 252, 242, 0.12);
    color: #ffffff;
    transform: translateX(4px);
}

.service-item:hover .service-media img,
.service-item:focus-visible .service-media img {
    transform: scale(1.025);
}

.service-media {
    aspect-ratio: 3 / 2;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.18), rgba(49, 252, 242, 0.06)),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    transition: transform 220ms ease, opacity 220ms ease;
}

.why-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 148px var(--page-pad) 118px;
    background:
        linear-gradient(180deg, #050506 0%, #070d16 18%, #08111c 34%, #08111c 74%, #070d16 88%, #050506 100%);
}

.why-grid {
    position: relative;
    z-index: 1;
    display: grid;
}

.why-heading {
    display: grid;
    justify-items: start;
    gap: 8px;
    text-align: left;
}

.why-heading > p:not(.why-intro),
.testimonials-heading p {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.why-heading h2 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.15rem, 4.2vw, 5.1rem);
    line-height: 0.96;
    font-weight: 900;
    text-transform: uppercase;
}

.why-intro {
    max-width: 720px;
    margin: 0;
    padding-top: 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    font-weight: 500;
    line-height: 1.7;
    text-transform: none;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 62px;
    border-block: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.stat-item {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 190px;
    padding: 32px 34px 34px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:first-child {
    border-left: 0;
}

.stat-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(50, 173, 228, 0.02));
    opacity: 0;
    transition: opacity 180ms ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item i {
    color: var(--accent);
    font-size: 1rem;
}

.stat-item strong {
    color: #ffffff;
    font-size: clamp(1.75rem, 2.4vw, 3rem);
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
}

.stat-item span {
    max-width: 330px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.95rem;
    line-height: 1.55;
}

.client-logo-marquee {
    --client-logo-gap: clamp(34px, 4.8vw, 76px);
    --client-logo-max-height: clamp(68px, 6.5vw, 110px);
    --client-logo-loop-distance: -50%;
    position: relative;
    z-index: 1;
    margin-top: 58px;
    padding-block: clamp(14px, 1.6vw, 24px);
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(49, 252, 242, 0.055), rgba(50, 173, 228, 0.035));
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.22);
}

.client-logo-marquee::before,
.client-logo-marquee::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: clamp(58px, 11vw, 170px);
    pointer-events: none;
}

.client-logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #07101b 0%, rgba(7, 16, 27, 0) 100%);
}

.client-logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #07101b 0%, rgba(7, 16, 27, 0) 100%);
}

.client-logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: kfs-client-logo-scroll 38s linear infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.client-logo-set {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: var(--client-logo-gap);
    padding-right: var(--client-logo-gap);
}

.client-logo-item {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(132px, 12vw, 210px);
    min-height: var(--client-logo-max-height);
    padding: 0;
    transform: translate3d(0, 0, 0);
}

.client-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: var(--client-logo-max-height);
    object-fit: contain;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: opacity, transform;
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.client-logo-image-muted {
    filter: grayscale(1) brightness(1.78);
    opacity: 0.78;
}

.client-logo-image-color {
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    filter: none;
    pointer-events: none;
    transform: translate3d(-50%, -50%, 0);
}

.client-logo-item:hover .client-logo-image-muted {
    opacity: 0;
}

.client-logo-item:hover .client-logo-image-color {
    opacity: 1;
    transform: translate3d(-50%, calc(-50% - 1px), 0);
}

@keyframes kfs-client-logo-scroll {
    to {
        transform: translate3d(var(--client-logo-loop-distance), 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-logo-track {
        animation: none;
        transform: none;
    }

    .client-logo-set[aria-hidden="true"] {
        display: none;
    }

    .client-logo-marquee {
        overflow-x: auto;
    }
}

.testimonials-block {
    position: relative;
    z-index: 1;
    margin-top: 78px;
}

.testimonials-heading {
    display: grid;
    gap: 8px;
    max-width: 720px;
}

.testimonials-heading h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.35vw, 3rem);
    line-height: 1.02;
    font-weight: 900;
    text-transform: uppercase;
}

.testimonials-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, calc((100% - 36px) / 3));
    gap: 18px;
    margin-top: 28px;
    padding: 0 0 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(49, 252, 242, 0.75) rgba(255, 255, 255, 0.08);
}

.testimonial-card {
    scroll-snap-align: start;
    display: grid;
    align-content: space-between;
    gap: 28px;
    min-height: 320px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.12), rgba(49, 252, 242, 0.035)),
        rgba(255, 255, 255, 0.045);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.testimonial-card > i {
    color: var(--accent);
    font-size: 1.25rem;
}

.testimonial-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.72;
}

.testimonial-card div {
    display: grid;
    gap: 4px;
}

.testimonial-card strong {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 900;
    text-transform: uppercase;
}

.testimonial-card span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.88rem;
}

.references-section {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    padding: 88px var(--page-pad) 144px;
    background:
        linear-gradient(180deg, #050506 0%, rgba(7, 13, 22, 0.52) 16%, rgba(10, 13, 26, 0.42) 34%, rgba(5, 5, 6, 0.9) 100%);
}

.references-page .references-section {
    padding-top: 128px;
}

.references-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 0%, transparent 9%, rgba(49, 252, 242, 0.085) 9.1%, rgba(49, 252, 242, 0.018) 25%, transparent 25.1%),
        linear-gradient(246deg, transparent 0%, transparent 72%, rgba(50, 173, 228, 0.075) 72.1%, rgba(50, 173, 228, 0.016) 88%, transparent 88.1%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
}

.references-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 18%, rgba(50, 173, 228, 0.12), transparent 28%),
        radial-gradient(circle at 14% 64%, rgba(49, 252, 242, 0.075), transparent 30%);
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
}

.references-heading {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: 10px;
}

.references-heading > p:first-child {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.references-heading h1,
.references-heading h2 {
    max-width: 840px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.15rem, 4.2vw, 5.1rem);
    line-height: 0.96;
    font-weight: 900;
    text-transform: uppercase;
}

.references-archive-heading h1 {
    max-width: 960px;
}

.references-heading > p:last-child {
    max-width: 690px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.7;
}

.references-overview-link {
    margin-top: 14px;
}

.references-tools {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    margin-top: 46px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.08), rgba(49, 252, 242, 0.016)),
        rgba(5, 5, 6, 0.58);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.18);
}

.references-search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 6, 0.54);
}

.references-search i {
    color: var(--accent);
    font-size: 0.96rem;
}

.references-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 760;
    outline: 0;
}

.references-search input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.references-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reference-filter {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.reference-filter:hover {
    border-color: rgba(49, 252, 242, 0.34);
    color: #ffffff;
    transform: translateY(-1px);
}

.reference-filter.active {
    border-color: rgba(49, 252, 242, 0.48);
    background: rgba(49, 252, 242, 0.1);
    color: var(--accent);
}

.references-result-count {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.references-result-count span {
    color: #ffffff;
}

.references-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 42px;
    margin-top: 66px;
}

.references-archive-list {
    margin-top: 42px;
}

.reference-card {
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 0.88fr);
    gap: clamp(28px, 5vw, 86px);
    align-items: center;
    padding: clamp(18px, 2.3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01)),
        rgba(5, 5, 6, 0.66);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
}

.reference-card[hidden] {
    display: none;
}

.reference-card:nth-child(even) {
    grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.82fr);
}

.reference-card:nth-child(even) .reference-media {
    order: 2;
}

.reference-card:nth-child(even) .reference-content {
    order: 1;
}

.reference-media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
}

.reference-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-content {
    display: grid;
    justify-items: start;
    gap: 18px;
}

.reference-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reference-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(49, 252, 242, 0.28);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.reference-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.reference-date {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.reference-client {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.reference-client::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 10px 1px 0;
    border-radius: 50%;
    background: var(--accent);
}

.reference-content h2,
.reference-content h3 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 2.9vw, 3.65rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.references-empty {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-top: 32px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 5, 6, 0.58);
}

.references-empty[hidden] {
    display: none;
}

.references-empty i {
    color: var(--accent);
    font-size: 1.1rem;
}

.references-empty p {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
}

.references-empty span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.55;
}

.reference-detail-page > section {
    position: relative;
    z-index: 1;
}

.reference-detail-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    overflow: hidden;
    min-height: clamp(460px, 56svh, 640px);
    padding: 112px var(--page-pad) 66px;
    background: #050506;
}

.reference-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, 0.78) 0%, rgba(5, 5, 6, 0.56) 46%, rgba(5, 5, 6, 0.22) 100%),
        linear-gradient(0deg, rgba(5, 5, 6, 0.84) 0%, rgba(5, 5, 6, 0.62) 16%, rgba(5, 5, 6, 0.14) 46%, rgba(5, 5, 6, 0.54) 100%),
        radial-gradient(circle at 78% 24%, rgba(50, 173, 228, 0.16), transparent 31%);
}

.reference-detail-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: clamp(110px, 18vw, 260px);
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0) 0%, rgba(5, 5, 6, 0.58) 58%, #050506 100%);
}

.reference-detail-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #050506;
}

.reference-detail-hero-background img,
.reference-detail-hero-background video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.56;
    filter: saturate(1.08) contrast(1.08);
}

.reference-detail-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: center;
}

.reference-detail-copy {
    display: grid;
    justify-items: start;
    gap: 18px;
    min-width: 0;
    max-width: min(980px, 76vw);
}

.reference-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: color 160ms ease, transform 160ms ease;
}

.reference-back-link i {
    color: var(--accent);
    font-size: 0.9em;
}

.reference-back-link:hover {
    color: #ffffff;
    transform: translateX(-2px);
}

.reference-detail-copy h1 {
    max-width: min(960px, 100%);
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.15rem, 4.35vw, 5.1rem);
    line-height: 0.98;
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: normal;
}

.reference-detail-copy > p:not(.service-detail-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.08vw, 1.14rem);
    line-height: 1.72;
    overflow-wrap: normal;
}

.reference-detail-body {
    padding: 38px var(--page-pad) 124px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.92) 0%, rgba(8, 17, 28, 0.46) 48%, rgba(5, 5, 6, 0.96) 100%);
}

.reference-detail-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.reference-detail-facts article {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 126px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.08), rgba(49, 252, 242, 0.018)),
        rgba(5, 5, 6, 0.6);
}

.reference-detail-facts span {
    order: 2;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.reference-detail-facts strong {
    order: 1;
    color: var(--accent);
    font-size: clamp(2.25rem, 3.85vw, 4.4rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.reference-detail-story {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.5fr);
    gap: clamp(28px, 4.5vw, 72px);
    align-items: center;
    margin-top: 70px;
}

.reference-story-copy {
    display: grid;
    justify-items: start;
    gap: 14px;
    min-width: 0;
    padding-left: 22px;
    border-left: 2px solid rgba(49, 252, 242, 0.72);
}

.reference-story-copy > p,
.reference-detail-gallery-heading p {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.reference-story-copy h2 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.3vw, 2.65rem);
    line-height: 1.04;
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: normal;
}

.reference-detail-gallery-heading h2 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.6vw, 4.2rem);
    line-height: 0.98;
    font-weight: 900;
    text-transform: uppercase;
}

.reference-story-text {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.reference-story-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.02vw, 1.08rem);
    line-height: 1.76;
    overflow-wrap: normal;
}

.reference-story-media {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.18);
}

.reference-story-media img,
.reference-story-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #050506;
}

.kfs-video-player {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #050506;
}

.kfs-video-player video {
    cursor: pointer;
}

.kfs-video-player-play,
.kfs-video-player-controls {
    display: none;
}

.kfs-video-player.is-ready .kfs-video-player-play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: clamp(58px, 5vw, 82px);
    height: clamp(58px, 5vw, 82px);
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(49, 252, 242, 0.42);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(49, 252, 242, 0.18), rgba(50, 173, 228, 0.18)),
        rgba(5, 5, 6, 0.62);
    color: #ffffff;
    cursor: pointer;
    font-size: clamp(1rem, 1.35vw, 1.4rem);
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34);
    transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.kfs-video-player.is-ready .kfs-video-player-play:hover,
.kfs-video-player.is-ready .kfs-video-player-play:focus-visible {
    border-color: rgba(49, 252, 242, 0.78);
    background:
        linear-gradient(135deg, rgba(49, 252, 242, 0.28), rgba(50, 173, 228, 0.24)),
        rgba(5, 5, 6, 0.72);
    transform: translate(-50%, -50%) scale(1.04);
}

.kfs-video-player.is-ready.is-playing .kfs-video-player-play {
    opacity: 0;
    pointer-events: none;
}

.kfs-video-player.is-ready .kfs-video-player-controls {
    position: absolute;
    inset: auto 0 0;
    z-index: 4;
    display: grid;
    grid-template-columns: auto auto minmax(90px, 1fr) auto auto;
    gap: clamp(8px, 1vw, 14px);
    align-items: center;
    padding: clamp(10px, 1.15vw, 16px);
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0) 0%, rgba(5, 5, 6, 0.86) 100%);
    transform: translateY(0);
    transition: opacity 160ms ease, transform 160ms ease;
}

.kfs-video-player.is-ready.is-playing:not(:hover):not(:focus-within) .kfs-video-player-controls {
    opacity: 0;
    transform: translateY(8px);
}

.kfs-video-player-controls button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.075);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.kfs-video-player-play i,
.kfs-video-player-controls button i {
    display: block;
    line-height: 1;
}

.kfs-video-player-play .fa-play {
    transform: translateX(0.08em);
}

.kfs-video-player-controls button:hover,
.kfs-video-player-controls button:focus-visible {
    border-color: rgba(49, 252, 242, 0.62);
    background: rgba(49, 252, 242, 0.14);
    color: var(--accent);
}

.kfs-video-player-time {
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(0.72rem, 0.78vw, 0.82rem);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.kfs-video-player-progress {
    width: 100%;
    min-width: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.reference-detail-gallery-heading {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-top: 72px;
}

.reference-detail-gallery {
    --gallery-gap: clamp(14px, 1.25vw, 22px);
    container-type: inline-size;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(132px, 11vw, 300px);
    grid-auto-rows: clamp(132px, calc((100cqw - var(--gallery-gap) - var(--gallery-gap) - var(--gallery-gap)) / 6), 300px);
    grid-auto-flow: dense;
    gap: var(--gallery-gap);
    margin-top: 34px;
}

.reference-detail-gallery figure {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.reference-detail-gallery figure[data-gallery-orientation="portrait"] {
    grid-row: span 2;
}

.reference-detail-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-detail-gallery .kfs-video-player,
.reference-detail-gallery .kfs-video-player video {
    width: 100%;
    height: 100%;
}

.reference-detail-gallery .kfs-video-player video {
    display: block;
    object-fit: cover;
}

.reference-not-found {
    min-height: 58vh;
    display: grid;
    align-content: center;
}

.site-not-found-page {
    min-height: calc(100svh - var(--header-height));
    background: #050506;
}

.site-not-found-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: center;
    min-height: calc(100svh - var(--header-height));
    padding: clamp(118px, 13vh, 170px) var(--page-pad) clamp(124px, 14vh, 190px);
    background: #050506;
}

.site-not-found-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 0%, transparent 12%, rgba(49, 252, 242, 0.11) 12.1%, rgba(50, 173, 228, 0.09) 35%, transparent 35.1%),
        linear-gradient(62deg, transparent 0%, transparent 45%, rgba(50, 173, 228, 0.13) 45.1%, rgba(49, 252, 242, 0.055) 63%, transparent 63.1%),
        radial-gradient(circle at 78% 24%, rgba(50, 173, 228, 0.18), transparent 31%),
        linear-gradient(135deg, rgba(6, 18, 30, 0.92), #050506 56%);
}

.site-not-found-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.25) 0%, rgba(5, 5, 6, 0.08) 38%, rgba(5, 5, 6, 0.7) 78%, #050506 100%);
}

.site-not-found-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
    align-items: center;
}

.site-not-found-copy {
    display: grid;
    justify-items: start;
    gap: 22px;
}

.site-not-found-copy h1 {
    max-width: 930px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.6rem, 7.2vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
}

.site-not-found-copy > p:not(.service-detail-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.18vw, 1.18rem);
    line-height: 1.7;
}

.site-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.reference-content p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.98rem, 1.05vw, 1.1rem);
    line-height: 1.68;
}

.project-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.project-link:hover {
    border-color: rgba(49, 252, 242, 0.46);
    background: rgba(49, 252, 242, 0.08);
    transform: translateY(-1px);
}

.project-link i {
    color: var(--accent);
    font-size: 0.88em;
}

.service-detail-page > section {
    position: relative;
    z-index: 1;
}

.service-detail-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: center;
    overflow: hidden;
    min-height: min(760px, calc(100svh - var(--header-height)));
    padding: 128px var(--page-pad) 112px;
    background: #050506;
}

.service-detail-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.service-detail-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.56;
    filter: saturate(1.08) contrast(1.08);
}

.service-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, 0.78) 0%, rgba(5, 5, 6, 0.56) 46%, rgba(5, 5, 6, 0.22) 100%),
        linear-gradient(0deg, rgba(5, 5, 6, 0.84) 0%, rgba(5, 5, 6, 0.62) 16%, rgba(5, 5, 6, 0.14) 46%, rgba(5, 5, 6, 0.54) 100%),
        radial-gradient(circle at 78% 24%, rgba(50, 173, 228, 0.16), transparent 31%);
}

.service-detail-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: clamp(180px, 28vw, 430px);
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0) 0%, rgba(5, 5, 6, 0.58) 58%, #050506 100%);
}

.service-detail-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: center;
}

.service-detail-copy {
    display: grid;
    justify-items: start;
    gap: 22px;
    max-width: 900px;
}

.service-detail-eyebrow,
.media-section-heading > p,
.audience-heading > p {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-detail-copy h1 {
    max-width: 960px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.55rem, 5vw, 5.9rem);
    line-height: 0.96;
    font-weight: 900;
    text-transform: uppercase;
}

.service-detail-copy > p:not(.service-detail-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.08vw, 1.14rem);
    line-height: 1.72;
}

.service-detail-highlights {
    width: min(100%, 620px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 6px 0 0;
    padding: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.025);
    list-style: none;
}

.service-detail-highlights li {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-detail-highlights li:first-child {
    border-left: 0;
}

.service-detail-highlights i {
    color: var(--accent);
    font-size: 0.94rem;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.media-services-section {
    position: relative;
    z-index: 1;
    padding: 104px var(--page-pad) 88px;
    background:
        linear-gradient(180deg, #050506 0%, rgba(5, 5, 6, 0.96) 18%, rgba(10, 13, 26, 0.36) 52%, rgba(5, 5, 6, 0.82) 100%);
}

.media-section-heading {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.media-section-heading h2,
.audience-heading h2 {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.15rem, 4.2vw, 5.1rem);
    line-height: 0.96;
    font-weight: 900;
    text-transform: uppercase;
}

.media-section-heading span {
    max-width: 730px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.7;
}

.media-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 60px;
}

.media-service-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 205px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.08), rgba(49, 252, 242, 0.018)),
        rgba(255, 255, 255, 0.032);
}

.media-service-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(50, 173, 228, 0.02));
    opacity: 0;
    transition: opacity 180ms ease;
}

.media-service-card:hover::before {
    opacity: 1;
}

.media-service-card > i {
    color: var(--accent);
    font-size: 1rem;
}

.media-service-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.2rem, 1.38vw, 1.78rem);
    line-height: 1.02;
    font-weight: 900;
    text-transform: uppercase;
    overflow-wrap: normal;
}

.media-service-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.66;
}

.audience-section {
    padding: 68px var(--page-pad) 86px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.78) 0%, rgba(8, 17, 28, 0.52) 52%, rgba(5, 5, 6, 0.9) 100%);
}

.audience-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
}

.audience-heading {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.audience-heading h2 {
    max-width: 850px;
    font-size: clamp(2.15rem, 4.2vw, 5.1rem);
}

.audience-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.audience-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-height: 142px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.032);
}

.audience-item i {
    color: var(--accent);
    font-size: 1rem;
}

.audience-item h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.audience-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.96rem;
    line-height: 1.6;
}

.process-section {
    padding: 82px var(--page-pad) 116px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, rgba(10, 13, 26, 0.34) 44%, rgba(5, 5, 6, 0.92) 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 54px;
    border-block: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.024);
}

.process-item {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 220px;
    padding: 32px 34px 36px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.process-item:first-child {
    border-left: 0;
}

.process-item > span {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
}

.process-item h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.35vw, 3rem);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.process-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.98rem;
    line-height: 1.66;
}

.racing-series-section {
    padding: 82px var(--page-pad) 116px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, rgba(10, 13, 26, 0.34) 44%, rgba(5, 5, 6, 0.92) 100%);
}

.racing-series-layout {
    position: relative;
    isolation: isolate;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
    align-items: stretch;
    margin-top: 54px;
    border: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 36%, rgba(232, 247, 246, 0.72) 52%, rgba(111, 178, 174, 0.46) 68%, rgba(14, 67, 65, 0.5) 84%, rgba(5, 5, 6, 0.9) 100%),
        rgba(255, 255, 255, 0.045);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08),
        inset 1px 0 0 rgba(255, 255, 255, 0.1),
        0 28px 72px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.racing-series-layout::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(0);
    background:
        radial-gradient(ellipse at 16% 50%, rgba(255, 255, 255, 0.92), transparent 38%),
        radial-gradient(ellipse at 48% 50%, rgba(255, 255, 255, 0.34), transparent 28%),
        radial-gradient(ellipse at 88% 48%, rgba(49, 252, 242, 0.2), transparent 36%);
    opacity: 0.96;
}

.racing-series-group {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 12px;
    min-height: 132px;
    padding: clamp(18px, 1.85vw, 28px);
}

.racing-series-group:first-child {
    background: transparent;
}

.racing-series-group:last-child {
    border-left: 0;
    background: transparent;
}

.racing-series-label span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(49, 252, 242, 0.28);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.racing-series-group:first-child .racing-series-label span {
    border-color: rgba(5, 5, 6, 0.26);
    color: #050506;
    background: rgba(255, 255, 255, 0.32);
}

.racing-series-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(30px, 3.4vw, 58px);
    align-items: center;
    min-height: 72px;
    isolation: isolate;
}

.racing-series-card {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 10px;
    align-content: start;
    width: clamp(118px, 10vw, 168px);
    outline: 0;
    transition: opacity 160ms ease, transform 160ms ease;
}

.racing-series-card:hover,
.racing-series-card:focus-visible {
    opacity: 0.9;
    transform: translateY(-1px);
}

.racing-series-card::after {
    content: attr(data-label);
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 4;
    width: max-content;
    max-width: 240px;
    padding: 8px 10px;
    border: 1px solid rgba(49, 252, 242, 0.28);
    background: rgba(5, 5, 6, 0.92);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.racing-series-card:hover::after,
.racing-series-card:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.racing-series-card img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    height: clamp(48px, 5vw, 72px);
    object-fit: contain;
}

.racing-series-card-wide {
    width: clamp(170px, 15vw, 250px);
}

.racing-series-card-wide img {
    height: clamp(58px, 5.8vw, 84px);
}

.contact-page > section {
    position: relative;
    z-index: 1;
}

.contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 128px var(--page-pad) 104px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.96) 0%, rgba(10, 13, 26, 0.48) 52%, rgba(5, 5, 6, 0.88) 100%);
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 0%, transparent 21%, rgba(49, 252, 242, 0.1) 21.1%, rgba(49, 252, 242, 0.024) 38%, transparent 38.1%),
        linear-gradient(246deg, transparent 0%, transparent 56%, rgba(50, 173, 228, 0.15) 56.1%, rgba(50, 173, 228, 0.03) 73%, transparent 73.1%),
        radial-gradient(circle at 78% 22%, rgba(50, 173, 228, 0.14), transparent 33%);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: clamp(34px, 6vw, 96px);
    align-items: end;
}

.contact-hero-copy {
    display: grid;
    justify-items: start;
    gap: 22px;
    min-width: 0;
    max-width: 940px;
}

.contact-hero-copy h1,
.contact-profile-copy h2,
.contact-form-intro h2 {
    margin: 0;
    color: #ffffff;
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
}

.contact-hero-copy h1 {
    max-width: 930px;
    font-size: clamp(2.7rem, 5vw, 6rem);
}

.contact-hero-copy > p:not(.service-detail-eyebrow) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.08vw, 1.14rem);
    line-height: 1.72;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-direct-panel {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: clamp(24px, 2.4vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.1), rgba(49, 252, 242, 0.026)),
        rgba(255, 255, 255, 0.035);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}

.contact-direct-panel > p {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-direct-panel a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.contact-direct-panel a:first-of-type {
    border-top: 0;
}

.contact-direct-panel i {
    color: var(--accent);
    font-size: 1rem;
    line-height: 1.25;
}

.contact-direct-panel span {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 0.96rem;
    font-weight: 850;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.contact-direct-panel small {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-profile-section {
    padding: 96px var(--page-pad) 98px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.88) 0%, rgba(8, 17, 28, 0.5) 52%, rgba(5, 5, 6, 0.92) 100%);
}

.contact-profile-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: center;
}

.contact-profile-media {
    position: relative;
    isolation: isolate;
    min-width: 0;
    max-width: 100%;
}

.contact-profile-media::before {
    content: "";
    position: absolute;
    inset: 24px -18px -20px 18px;
    z-index: -1;
    border: 1px solid rgba(49, 252, 242, 0.22);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.11), rgba(49, 252, 242, 0.026));
}

.contact-profile-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.contact-profile-meta {
    display: grid;
    gap: 10px;
    margin: 18px -18px 0 18px;
    padding: 18px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.022);
}

.contact-profile-meta span {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
}

.contact-profile-meta i {
    color: var(--accent);
    font-size: 0.95rem;
}

.contact-profile-copy {
    display: grid;
    justify-items: start;
    gap: 18px;
    min-width: 0;
}

.contact-profile-copy h2,
.contact-form-intro h2 {
    max-width: 900px;
    font-size: clamp(2.15rem, 4.2vw, 5.1rem);
}

.contact-profile-copy > p:not(.service-detail-eyebrow),
.contact-form-intro > p:not(.service-detail-eyebrow) {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.72;
}

.contact-form-section {
    padding: 92px var(--page-pad) 120px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, rgba(10, 13, 26, 0.36) 44%, #050506 100%);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(480px, 1fr);
    gap: clamp(34px, 6vw, 92px);
    align-items: start;
}

.contact-form-intro {
    display: grid;
    justify-items: start;
    gap: 16px;
    min-width: 0;
}

.contact-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    max-width: 560px;
    margin-top: 10px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.94rem;
    line-height: 1.6;
}

.contact-note i {
    color: var(--accent);
    margin-top: 4px;
}

.contact-form {
    display: grid;
    gap: 20px;
    min-width: 0;
    padding: clamp(24px, 3vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.08), rgba(49, 252, 242, 0.018)),
        rgba(255, 255, 255, 0.032);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field span,
.form-checkbox span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.45;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 5, 6, 0.58);
    color: #ffffff;
    font: inherit;
    font-size: 0.96rem;
    outline: 0;
    transition: border-color 160ms ease, background 160ms ease;
}

.form-field textarea {
    min-height: 168px;
    padding-block: 14px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(49, 252, 242, 0.64);
    background: rgba(5, 5, 6, 0.78);
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
}

.form-checkbox {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--accent);
}

.form-checkbox span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.78rem;
    text-transform: none;
}

.form-checkbox a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(49, 252, 242, 0.5);
    text-underline-offset: 3px;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
}

.form-status {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.45;
}

.form-status i {
    margin-top: 3px;
}

.form-status-success {
    border: 1px solid rgba(49, 252, 242, 0.32);
    background: rgba(49, 252, 242, 0.08);
    color: #ffffff;
}

.form-status-success i {
    color: var(--accent);
}

.form-status-error {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.form-status-error i {
    color: var(--primary);
}

.contact-submit {
    justify-self: start;
}

.contact-banner-section {
    position: relative;
    z-index: 1;
    padding: 0 var(--page-pad) 120px;
    background:
        linear-gradient(180deg, rgba(5, 5, 6, 0.9) 0%, #050506 100%);
}

.contact-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(30px, 4.4vw, 68px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.14), rgba(49, 252, 242, 0.035)),
        rgba(8, 17, 28, 0.82);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.contact-banner::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--primary));
}

.contact-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(118deg, transparent 0%, transparent 58%, rgba(49, 252, 242, 0.08) 58.1%, rgba(49, 252, 242, 0.018) 78%, transparent 78.1%);
}

.contact-banner-copy {
    display: grid;
    gap: 10px;
}

.contact-banner-copy p {
    margin: 0;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-banner-copy h2 {
    max-width: 860px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 4.6rem);
    line-height: 0.98;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-banner-copy span {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.68;
}

.contact-banner-link {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid rgba(49, 252, 242, 0.42);
    background: var(--primary);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-banner-link:hover {
    border-color: rgba(49, 252, 242, 0.7);
    background: #258fc2;
    transform: translateY(-1px);
}

.contact-banner-link i {
    font-size: 0.88em;
}

.site-footer {
    background:
        linear-gradient(180deg, #050506 0%, #030304 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
    gap: clamp(28px, 4vw, 72px);
    padding: 64px 0 44px;
}

.footer-brand {
    display: grid;
    align-content: start;
    gap: 18px;
}

.footer-brand img {
    width: 178px;
    height: auto;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.96rem;
    line-height: 1.65;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-column h2 {
    margin: 0 0 4px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.9rem;
    line-height: 1.35;
    transition: color 160ms ease;
}

.footer-column a i {
    width: 16px;
    color: var(--accent);
    font-size: 0.86em;
    text-align: center;
}

.footer-link-image {
    width: 16px;
    height: auto;
    flex: 0 0 16px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.footer-bottom a,
.footer-cookie-settings {
    color: rgba(255, 255, 255, 0.58);
    transition: color 160ms ease;
}

.footer-cookie-settings {
    appearance: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.footer-cookie-settings[hidden] {
    display: none;
}

.footer-bottom a:hover,
.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
    color: #ffffff;
}

.legal-page {
    background:
        linear-gradient(135deg, rgba(50, 173, 228, 0.16), rgba(5, 5, 6, 0.96) 42%, rgba(49, 252, 242, 0.08) 100%),
        #050506;
}

.legal-hero {
    position: relative;
    z-index: 1;
    padding: clamp(76px, 10vw, 142px) var(--page-pad) clamp(42px, 7vw, 84px);
}

.legal-hero .container {
    display: grid;
    gap: 18px;
}

.legal-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.1rem, 8vw, 7.6rem);
    font-weight: 900;
    line-height: 0.88;
    text-transform: uppercase;
}

.legal-hero p:not(.service-detail-eyebrow) {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(1rem, 1.5vw, 1.28rem);
    line-height: 1.65;
}

.legal-content-section {
    position: relative;
    z-index: 1;
    padding: 0 var(--page-pad) clamp(78px, 10vw, 132px);
}

.legal-content {
    display: grid;
    gap: 0;
    max-width: 1080px;
}

.legal-block {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.legal-block:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.legal-block h1,
.legal-block h2,
.legal-block h3,
.legal-block h4 {
    max-width: 760px;
    margin: 0 0 12px;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.04;
    text-transform: uppercase;
}

.legal-block h1 {
    font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.legal-block h2 {
    font-size: clamp(1.25rem, 2.5vw, 2.15rem);
}

.legal-block h3 {
    margin-top: 28px;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}

.legal-block h4 {
    margin-top: 22px;
    font-size: 1rem;
}

.legal-block p,
.legal-block li {
    max-width: 860px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.72;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul,
.legal-block ol {
    display: grid;
    gap: 8px;
    margin: 0 0 18px 1.2em;
    padding: 0;
}

.legal-block li {
    padding-left: 4px;
}

.legal-document > h1:not(:first-child),
.legal-document > h2:not(:first-child) {
    margin-top: 36px;
}

.legal-document table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    border-collapse: collapse;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    -webkit-overflow-scrolling: touch;
}

.legal-document th,
.legal-document td {
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    vertical-align: top;
}

.legal-document th {
    color: #ffffff;
}

.legal-block a,
.legal-block code {
    color: var(--accent);
    overflow-wrap: anywhere;
}

.legal-block code {
    font-family: inherit;
    font-weight: 800;
}

.cookie-banner {
    position: fixed;
    z-index: 3000;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    left: max(18px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    max-width: 980px;
    margin-inline: auto;
    padding: 22px;
    border: 1px solid rgba(49, 252, 242, 0.26);
    background:
        linear-gradient(135deg, rgba(49, 252, 242, 0.13), rgba(50, 173, 228, 0.08) 34%, rgba(5, 5, 6, 0.9) 100%),
        rgba(7, 12, 16, 0.9);
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.cookie-banner-copy p {
    margin: 0;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cookie-banner-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 0.98;
    text-transform: uppercase;
}

.cookie-banner-copy span {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
    line-height: 1.55;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-button,
.cookie-privacy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cookie-button-primary {
    border-color: rgba(49, 252, 242, 0.42);
    background: var(--primary);
}

.cookie-button-secondary,
.cookie-privacy-link {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-button:hover,
.cookie-button:focus-visible,
.cookie-privacy-link:hover,
.cookie-privacy-link:focus-visible {
    border-color: rgba(49, 252, 242, 0.7);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 620px) {
    .hero-actions .button {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: calc(100svh - var(--header-height));
        height: auto;
        align-content: center;
        padding: 72px var(--page-pad) 42px;
    }

    .hero h1 {
        max-width: 720px;
        font-size: clamp(3.2rem, 11vw, 5.4rem);
        line-height: 0.9;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 26px;
    }

    .button {
        min-height: 48px;
        padding-inline: 18px;
        font-size: 0.82rem;
    }

    .service-detail-hero {
        padding: 76px var(--page-pad) 78px;
    }

    .service-detail-background img {
        object-position: center;
        opacity: 0.46;
    }

    .service-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .service-detail-copy h1 {
        max-width: 720px;
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .service-detail-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 520px;
    }

    .service-detail-highlights li:nth-child(odd) {
        border-left: 0;
    }

    .service-detail-highlights li:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .media-services-section {
        padding: 76px var(--page-pad) 72px;
    }

    .media-section-heading h2,
    .audience-heading h2 {
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .media-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 46px;
    }

    .media-service-card {
        min-height: 190px;
        padding: 22px;
    }

    .audience-section {
        padding: 64px var(--page-pad) 72px;
    }

    .audience-grid {
        gap: 36px;
    }

    .audience-heading h2 {
        max-width: 720px;
    }

    .process-section {
        padding: 68px var(--page-pad) 84px;
    }

    .process-grid {
        margin-top: 44px;
    }

    .process-item {
        min-height: 210px;
        padding: 28px;
    }

    .racing-series-section {
        padding: 68px var(--page-pad) 84px;
    }

    .racing-series-layout {
        grid-template-columns: 1fr;
        margin-top: 44px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.035);
    }

    .racing-series-layout::before {
        display: none;
    }

    .racing-series-group {
        align-content: start;
        min-height: 0;
        padding: 22px;
    }

    .racing-series-group:first-child {
        background:
            radial-gradient(ellipse at 24% 40%, rgba(255, 255, 255, 0.82), transparent 48%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(202, 229, 226, 0.66));
    }

    .racing-series-group:last-child {
        border-top: 1px solid rgba(49, 252, 242, 0.18);
        border-left: 0;
        background:
            radial-gradient(ellipse at 74% 42%, rgba(49, 252, 242, 0.16), transparent 42%),
            linear-gradient(135deg, rgba(10, 52, 54, 0.8), rgba(5, 5, 6, 0.95));
    }

    .racing-series-label span {
        min-height: 28px;
        padding-inline: 9px;
        font-size: 0.66rem;
    }

    .racing-series-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
        gap: 20px;
        justify-items: center;
        min-height: 0;
    }

    .racing-series-card {
        width: 100%;
        max-width: 158px;
        justify-items: center;
    }

    .racing-series-card-wide {
        max-width: 210px;
    }

    .racing-series-card img,
    .racing-series-card-wide img {
        width: 100%;
        height: auto;
        max-height: 68px;
    }

    .racing-series-card::after {
        display: none;
    }

    .about-section {
        padding: 76px var(--page-pad);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    .about-heading h2 {
        max-width: 560px;
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
        transform: none;
    }

    .about-copy {
        align-self: start;
        padding-top: 0;
        gap: 16px;
    }

    .services-section {
        padding: 74px var(--page-pad) 90px;
    }

    .service-item,
    .service-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 0;
        padding: 34px 0;
    }

    .service-item:nth-child(even) .service-copy,
    .service-item:nth-child(even) .service-media {
        order: initial;
    }

    .service-media {
        aspect-ratio: 4 / 3;
    }

    .why-section {
        padding: 78px var(--page-pad) 72px;
    }

    .why-heading h2 {
        max-width: 620px;
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 46px;
    }

    .stat-item:nth-child(odd) {
        border-left: 0;
    }

    .stat-item:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .client-logo-marquee {
        margin-top: 44px;
    }

    .client-logo-track {
        animation-duration: 30s;
    }

    .client-logo-item {
        width: 126px;
    }

    .testimonials-block {
        margin-top: 58px;
    }

    .testimonials-slider {
        grid-auto-columns: minmax(300px, 78vw);
    }

    .references-section {
        padding: 66px var(--page-pad) 96px;
    }

    .references-heading h1,
    .references-heading h2 {
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .references-tools {
        margin-top: 36px;
    }

    .references-list {
        gap: 28px;
        margin-top: 46px;
    }

    .reference-card,
    .reference-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .reference-card:nth-child(even) .reference-media,
    .reference-card:nth-child(even) .reference-content {
        order: initial;
    }

    .reference-media {
        aspect-ratio: 4 / 3;
    }

    .reference-detail-hero {
        min-height: clamp(410px, 54svh, 560px);
        padding: 68px var(--page-pad) 48px;
    }

    .reference-detail-hero-grid,
    .reference-detail-story {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reference-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(118px, 26vw, 220px);
        grid-auto-rows: clamp(118px, calc((100cqw - var(--gallery-gap)) / 3), 220px);
    }

    .reference-detail-copy h1 {
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .reference-detail-copy {
        max-width: min(720px, 100%);
    }

    .reference-detail-body {
        padding: 30px var(--page-pad) 96px;
    }

    .reference-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reference-detail-story {
        margin-top: 58px;
    }

    .reference-story-media {
        max-width: 720px;
    }

    .contact-banner-section {
        padding: 0 var(--page-pad) 84px;
    }

    .contact-banner {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    .contact-banner-copy h2 {
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .contact-hero {
        padding: 76px var(--page-pad) 78px;
    }

    .contact-hero-grid,
    .contact-profile-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-hero-copy h1,
    .contact-profile-copy h2,
    .contact-form-intro h2 {
        max-width: 720px;
        font-size: clamp(1.85rem, 7.2vw, 3rem);
        line-height: 1.02;
    }

    .contact-direct-panel {
        max-width: 560px;
    }

    .contact-profile-section {
        padding: 76px var(--page-pad) 78px;
    }

    .contact-profile-media {
        max-width: 460px;
    }

    .contact-form-section {
        padding: 76px var(--page-pad) 84px;
    }

    .contact-form {
        max-width: 760px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 50px 0 34px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .reference-detail-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .reference-detail-gallery figure,
    .reference-detail-gallery figure[data-gallery-orientation="portrait"] {
        grid-row: auto;
        height: auto;
    }

    .reference-detail-gallery img {
        height: auto;
        object-fit: contain;
    }

    .kfs-video-player.is-ready .kfs-video-player-controls {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
    }

    .kfs-video-player-time {
        display: none;
    }

    .kfs-video-player-controls button {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }
}

@media (max-width: 520px) {
    .hero {
        min-height: calc(100svh - var(--header-height));
        align-content: end;
        padding: 48px var(--page-pad) 34px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9.6vw, 2.95rem);
        line-height: 0.92;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .hero-actions {
        display: grid;
        width: 100%;
        gap: 10px;
        margin-top: 24px;
    }

    .button {
        width: 100%;
        min-height: 50px;
        padding-inline: 16px;
        font-size: 0.8rem;
    }

    .service-detail-hero {
        padding: 58px var(--page-pad) 62px;
    }

    .service-detail-background img {
        opacity: 0.38;
    }

    .service-detail-copy {
        gap: 18px;
    }

    .service-detail-copy h1 {
        font-size: clamp(1.45rem, 6.9vw, 2.28rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .service-detail-copy > p:not(.service-detail-eyebrow),
    .media-section-heading span,
    .media-service-card p,
    .audience-item p,
    .process-item p {
        font-size: 0.96rem;
    }

    .service-detail-highlights {
        width: 100%;
    }

    .service-detail-highlights li {
        min-height: 54px;
        justify-content: flex-start;
        padding-inline: 16px;
        font-size: 0.78rem;
    }

    .service-detail-actions {
        display: grid;
        width: 100%;
        gap: 10px;
    }

    .media-services-section {
        padding: 62px var(--page-pad) 62px;
    }

    .media-section-heading h2,
    .audience-heading h2 {
        font-size: clamp(1.45rem, 6.9vw, 2.28rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .media-services-grid,
    .audience-list,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .media-services-grid {
        margin-top: 38px;
    }

    .media-service-card {
        min-height: 0;
        padding: 20px;
    }

    .media-service-card h3 {
        font-size: clamp(1.08rem, 5.7vw, 1.75rem);
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .audience-section {
        padding: 58px var(--page-pad) 62px;
    }

    .audience-item {
        min-height: 0;
        padding: 22px;
    }

    .process-section {
        padding: 58px var(--page-pad) 72px;
    }

    .process-grid {
        margin-top: 36px;
    }

    .process-item {
        min-height: 0;
        padding: 24px 0 24px 20px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .process-item:first-child {
        border-top: 0;
    }

    .process-item h3 {
        font-size: clamp(1.15rem, 6.1vw, 1.85rem);
        line-height: 1.04;
    }

    .racing-series-section {
        padding: 58px var(--page-pad) 72px;
    }

    .racing-series-layout {
        margin-top: 32px;
    }

    .racing-series-group {
        gap: 18px;
        padding: 18px;
    }

    .racing-series-group:last-child {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        min-height: 122px;
    }

    .racing-series-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        justify-content: initial;
    }

    .racing-series-card {
        width: 100%;
        max-width: 146px;
    }

    .racing-series-card-wide {
        max-width: 186px;
    }

    .racing-series-group:first-child .racing-series-card-wide {
        grid-column: 1 / -1;
        max-width: 224px;
    }

    .racing-series-grid-future {
        grid-template-columns: minmax(0, 158px);
        justify-content: end;
    }

    .racing-series-card img {
        width: 100%;
        height: auto;
        max-height: 56px;
    }

    .racing-series-card-wide img {
        width: 100%;
        height: auto;
        max-height: 62px;
    }

    .about-section {
        padding: 62px var(--page-pad);
    }

    .about-heading h2 {
        font-size: clamp(1.45rem, 6.9vw, 2.28rem);
        line-height: 1.04;
    }

    .about-copy p {
        font-size: 0.96rem;
        line-height: 1.68;
    }

    .services-section {
        padding: 62px var(--page-pad) 76px;
    }

    .services-list {
        gap: 0;
    }

    .service-item,
    .service-item:nth-child(even) {
        padding: 34px 0;
    }

    .service-copy {
        padding-left: 18px;
    }

    .service-copy h3 {
        font-size: clamp(1.08rem, 5.8vw, 1.9rem);
        line-height: 1.05;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .service-media {
        aspect-ratio: 4 / 3;
    }

    .why-section {
        padding: 64px var(--page-pad) 60px;
    }

    .why-heading h2 {
        font-size: clamp(1.45rem, 6.9vw, 2.28rem);
        line-height: 1.04;
    }

    .why-intro {
        font-size: 0.96rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }

    .stat-item {
        min-height: 0;
        padding: 24px 0 24px 20px;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:first-child {
        border-top: 0;
    }

    .stat-item::before {
        opacity: 1;
    }

    .client-logo-marquee {
        --client-logo-gap: 24px;
        --client-logo-max-height: 58px;
        margin-top: 34px;
        padding-block: 12px;
    }

    .client-logo-marquee::before,
    .client-logo-marquee::after {
        width: 42px;
    }

    .client-logo-track {
        animation-duration: 24s;
    }

    .client-logo-item {
        width: 110px;
    }

    .testimonials-heading h3 {
        font-size: clamp(1.15rem, 6.1vw, 1.8rem);
        line-height: 1.06;
    }

    .testimonials-slider {
        grid-auto-columns: minmax(260px, 86vw);
        gap: 14px;
        margin-top: 22px;
    }

    .testimonial-card {
        min-height: 300px;
        padding: 24px;
    }

    .references-section {
        padding: 56px var(--page-pad) 80px;
    }

    .references-heading h1,
    .references-heading h2 {
        font-size: clamp(1.45rem, 6.9vw, 2.28rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .references-page .references-section {
        padding-top: 72px;
    }

    .references-tools {
        gap: 14px;
        margin-top: 34px;
        padding: 16px;
    }

    .references-search {
        min-height: 50px;
        padding: 0 14px;
    }

    .reference-filter {
        min-height: 32px;
        padding-inline: 9px;
        font-size: 0.64rem;
    }

    .references-heading > p:last-child,
    .reference-content p {
        font-size: 0.96rem;
    }

    .reference-card {
        padding: 16px;
    }

    .reference-content {
        gap: 14px;
    }

    .reference-tags span {
        min-height: 28px;
        padding-inline: 8px;
        font-size: 0.64rem;
    }

    .reference-meta {
        gap: 8px;
    }

    .reference-date,
    .reference-client {
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .reference-client::before {
        display: none;
    }

    .reference-content h2,
    .reference-content h3 {
        font-size: clamp(1.12rem, 6vw, 1.85rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .reference-detail-hero {
        min-height: auto;
        padding: 54px var(--page-pad) 36px;
    }

    .reference-detail-copy h1,
    .reference-detail-gallery-heading h2 {
        font-size: clamp(1.35rem, 6.6vw, 2.2rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .reference-story-copy h2 {
        font-size: clamp(1.08rem, 5.8vw, 1.6rem);
        line-height: 1.06;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .reference-detail-copy > p:not(.service-detail-eyebrow),
    .reference-story-text p {
        font-size: 0.96rem;
    }

    .reference-detail-body {
        padding: 26px var(--page-pad) 78px;
    }

    .reference-detail-facts {
        grid-template-columns: 1fr;
    }

    .reference-detail-facts article,
    .reference-detail-facts article:nth-child(even),
    .reference-detail-facts article:nth-child(-n + 2) {
        min-height: 0;
        padding: 22px;
    }

    .reference-detail-story {
        gap: 24px;
        margin-top: 42px;
    }

    .reference-detail-gallery {
        margin-top: 28px;
    }

    .reference-story-copy {
        padding-left: 18px;
    }

    .reference-detail-gallery-heading {
        margin-top: 54px;
    }

    .project-link {
        width: 100%;
        justify-content: center;
    }

    .contact-banner-section {
        padding: 0 var(--page-pad) 66px;
    }

    .contact-banner {
        padding: 24px;
    }

    .contact-banner-copy h2 {
        font-size: clamp(1.35rem, 6.8vw, 2.05rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .contact-banner-copy span {
        font-size: 0.96rem;
    }

    .contact-banner-link {
        width: 100%;
    }

    .contact-hero {
        padding: 58px var(--page-pad) 62px;
    }

    .contact-hero-copy {
        gap: 18px;
    }

    .contact-hero-copy h1,
    .contact-profile-copy h2,
    .contact-form-intro h2 {
        font-size: clamp(1.3rem, 6.4vw, 1.88rem);
        line-height: 1.04;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .contact-hero-copy > p:not(.service-detail-eyebrow),
    .contact-profile-copy > p:not(.service-detail-eyebrow),
    .contact-form-intro > p:not(.service-detail-eyebrow),
    .contact-note {
        max-width: 100%;
        font-size: 0.96rem;
        overflow-wrap: normal;
    }

    .contact-hero-grid,
    .contact-profile-grid,
    .contact-form-grid,
    .contact-hero-copy,
    .contact-profile-copy,
    .contact-form-intro,
    .contact-direct-panel,
    .contact-profile-media,
    .contact-form {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .contact-page .container {
        width: min(100%, calc(100vw - (var(--page-pad) * 2)));
        max-width: 100%;
        min-width: 0;
    }

    .contact-hero-actions {
        display: grid;
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    .contact-direct-panel {
        padding: 22px;
    }

    .contact-profile-section {
        padding: 62px var(--page-pad);
    }

    .contact-profile-media::before {
        inset: 14px 0 -12px 10px;
    }

    .contact-profile-meta {
        margin: 18px 0 0 10px;
        padding: 16px 16px 18px;
    }

    .contact-profile-copy {
        gap: 16px;
    }

    .contact-form-section {
        padding: 62px var(--page-pad) 72px;
    }

    .contact-form {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 0 30px;
    }

    .footer-brand img {
        width: 158px;
    }

    .footer-bottom {
        display: grid;
        justify-items: start;
        padding-bottom: 26px;
    }

    .footer-bottom div {
        justify-content: flex-start;
    }

    .legal-hero h1 {
        font-size: clamp(1.85rem, 9.4vw, 2.85rem);
        line-height: 0.98;
    }

    .legal-block {
        padding-block: 24px;
    }

    .legal-block p,
    .legal-block li {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .legal-document table {
        font-size: 0.84rem;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 18px;
        padding: 18px;
    }

    .cookie-banner-actions {
        display: grid;
        justify-content: stretch;
    }

    .cookie-button,
    .cookie-privacy-link {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .site-not-found-hero {
        min-height: calc(100svh - var(--header-height));
        padding: 82px var(--page-pad) 92px;
    }

    .site-not-found-grid {
        grid-template-columns: 1fr;
    }

    .site-not-found-copy h1 {
        font-size: clamp(1.8rem, 9vw, 3.05rem);
        line-height: 0.98;
    }
}

@media (max-width: 390px) {
    .hero h1 {
        font-size: clamp(1.82rem, 9.6vw, 2.26rem);
    }

    .button,
    .contact-banner-link,
    .project-link {
        min-height: 46px;
        padding-inline: 12px;
        font-size: 0.72rem;
    }

    .service-detail-copy h1,
    .media-section-heading h2,
    .audience-heading h2,
    .about-heading h2,
    .why-heading h2,
    .references-heading h1,
    .references-heading h2 {
        font-size: clamp(1.26rem, 6.25vw, 1.82rem);
    }

    .reference-detail-copy h1,
    .reference-detail-gallery-heading h2,
    .contact-banner-copy h2,
    .contact-hero-copy h1,
    .contact-profile-copy h2,
    .contact-form-intro h2 {
        font-size: clamp(1.16rem, 5.9vw, 1.68rem);
    }

    .service-copy h3,
    .media-service-card h3,
    .reference-content h2,
    .reference-content h3 {
        font-size: clamp(1rem, 5.4vw, 1.58rem);
    }

    .service-detail-highlights {
        grid-template-columns: 1fr;
    }

    .service-detail-highlights li,
    .service-detail-highlights li:nth-child(n + 2) {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .service-detail-highlights li:first-child {
        border-top: 0;
    }

    .reference-filter,
    .reference-tags span {
        font-size: 0.6rem;
    }

    .racing-series-card {
        width: 100%;
        justify-items: center;
    }

    .racing-series-label {
        justify-self: center;
    }

    .footer-column a {
        font-size: 0.84rem;
    }
}
