/* PRISM shared brand, homepage, navigation and footer styles. */
:root {
    --black: #000;
    --text: #e0eeee;
    --muted: #96a4a4;
    --orange: #f58232;
    --tile: #0b0b0b;
    --line: rgba(224, 238, 238, 0.1);
    --line-strong: rgba(224, 238, 238, 0.16);
    --header: 84px;
    --edge: clamp(20px, 5vw, 72px);
    --display: "Boldonse", Impact, "Arial Narrow", sans-serif;
    --body: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 24px);
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--orange);
    color: var(--black);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    background: var(--text);
    color: var(--black);
    padding: 12px 18px;
    font-size: 12px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: none;
}

/* The reference page's full-height column rules. */
.site-grid {
    position: fixed;
    inset: var(--header) 0 0;
    z-index: 0;
    pointer-events: none;
}

.site-grid span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(224, 238, 238, 0.075);
}

.site-grid span:nth-child(1) { left: 5%; }
.site-grid span:nth-child(2) { left: 25%; }
.site-grid span:nth-child(3) { left: 45%; }
.site-grid span:nth-child(4) { left: 65%; }
.site-grid span:nth-child(5) { left: 85%; }
.site-grid span:nth-child(6) { left: 95%; }

main,
footer {
    position: relative;
    z-index: 1;
}

.container {
    width: min(calc(100% - (var(--edge) * 2)), 1440px);
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 0 var(--edge);
    background: #000;
    background: rgba(0, 0, 0, 0.84);
    -webkit-backdrop-filter: blur(18px) saturate(0.8);
    backdrop-filter: blur(18px) saturate(0.8);
    border-bottom: 1px solid rgba(224, 238, 238, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.site-header::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 54px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent);
    pointer-events: none;
}

.logo {
    grid-column: 1;
    justify-self: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 0.9;
    color: var(--text);
    font-family: var(--display);
    font-size: 28px;
    letter-spacing: 0.005em;
}

.logo small {
    font-family: var(--body);
    font-size: 7px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.19em;
}

.logo img {
    display: block;
    width: clamp(156px, 14vw, 190px);
    height: auto;
}

.main-nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(48vw, 690px);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.015em;
    text-transform: uppercase;
    color: var(--text);
}

.main-nav a {
    position: relative;
    padding: 9px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 1px;
    background: var(--orange);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.connect {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    min-height: 40px;
    padding: 10px 20px;
    background: var(--text);
    color: #060606;
    border-radius: 2px;
    font-size: 13px;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.connect:hover {
    background: var(--orange);
}

.menu-toggle {
    display: none;
    grid-column: 3;
    justify-self: end;
    width: 38px;
    height: 38px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    margin: 5px 0 0 auto;
    background: currentColor;
}

.menu-toggle span:last-child {
    width: 18px;
}

/* Shared type and controls */
.section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: var(--text);
}

.section-label span {
    font-size: 14px;
    line-height: 1;
}

.section-title {
    margin: 0 0 74px;
    font-family: var(--display);
    font-size: clamp(50px, 5.2vw, 75px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.005em;
    text-align: center;
    text-transform: uppercase;
}

.section-title--left {
    text-align: left;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: fit-content;
    padding: 11px 18px;
    border: 1px solid rgba(224, 238, 238, 0.75);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline span {
    font-size: 17px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.btn-outline:hover {
    background: var(--text);
    color: var(--black);
    border-color: var(--text);
}

.btn-outline:hover span {
    transform: translateX(4px);
}

.btn-outline--large {
    padding: 15px 24px;
    font-size: 14px;
}

/* Hero */
.hero {
    position: relative;
    height: 280vh;
    padding: 0;
    overflow: visible;
    background: transparent;
}

.hero-pin {
    position: sticky;
    top: var(--header);
    height: calc(100vh - var(--header));
    height: calc(100svh - var(--header));
    display: flex;
    flex-direction: column;
    padding: clamp(48px, 7vw, 92px) var(--edge) 36px;
    overflow: hidden;
    touch-action: pan-y;
}

.hero-glow {
    position: absolute;
    top: -18%;
    left: -16%;
    bottom: auto;
    z-index: 0;
    width: 80vw;
    height: 40vh;
    max-width: 1100px;
    max-height: 520px;
    background:
        radial-gradient(ellipse 46% 44% at 35% 56%, rgba(217, 78, 43, 0.95) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 56% 46%, rgba(28, 79, 160, 0.9) 0%, transparent 72%),
        radial-gradient(ellipse 38% 42% at 64% 66%, rgba(242, 140, 40, 0.95) 0%, transparent 70%),
        radial-gradient(ellipse 22% 24% at 45% 45%, rgba(244, 233, 220, 0.36) 0%, transparent 75%);
    mix-blend-mode: screen;
    filter: blur(82px) saturate(1.15);
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
    animation: prism-breathe 11s ease-in-out infinite;
    will-change: transform, opacity, filter;
    pointer-events: none;
}

.hero-glow::after {
    content: "";
    position: absolute;
    inset: 22% 26%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26) 0%, transparent 66%);
    filter: blur(55px);
    animation: light-sheen 7s ease-in-out infinite;
}

@keyframes prism-breathe {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.98) translate3d(-1%, 1%, 0);
        filter: blur(82px) saturate(1.15) hue-rotate(0deg);
    }
    35% {
        opacity: 0.62;
        transform: scale(1.045) translate3d(1.5%, -1%, 0);
        filter: blur(95px) saturate(1.3) hue-rotate(14deg);
    }
    68% {
        opacity: 0.48;
        transform: scale(1.01) translate3d(-1%, -0.5%, 0);
        filter: blur(88px) saturate(1.2) hue-rotate(-10deg);
    }
}

@keyframes light-sheen {
    0%,
    100% { opacity: 0.22; transform: translate3d(-2%, 1%, 0) scale(0.96); }
    50% { opacity: 0.48; transform: translate3d(2%, -2%, 0) scale(1.08); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(220px, 23vw, 360px);
}

.hero-title {
    max-width: 72%;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(46px, 5.55vw, 80px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    opacity: calc(1 - var(--hero-exit, 0));
    transform: translateY(calc(var(--hero-exit, 0) * -16vh));
    will-change: transform, opacity;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(38px);
    animation: hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title span:nth-child(2) { animation-delay: 0.09s; }
.hero-title span:nth-child(3) { animation-delay: 0.18s; }

@keyframes hero-rise {
    to { opacity: 1; transform: none; }
}

.hero-aside {
    width: min(300px, 34vw);
    margin-top: auto;
    margin-bottom: 28px;
    margin-left: 59%;
    align-self: flex-start;
    color: var(--text);
    opacity: calc(1 - var(--hero-exit, 0));
    transform: translateY(calc(var(--hero-exit, 0) * -9vh));
    will-change: transform, opacity;
}

.hero-aside p {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.hero-strip {
    position: absolute;
    right: var(--strip-bleed, 0px);
    bottom: 0;
    left: var(--strip-bleed, 0px);
    z-index: 1;
    display: flex;
    gap: 20px;
    height: clamp(190px, 20vw, 330px);
    min-height: 0;
    transform: translateY(var(--strip-rise, 0px));
    pointer-events: none;
}

.hero-strip figure {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}

.hero-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-strip figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 34px 14px 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
    color: var(--text);
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-strip figcaption span {
    color: rgba(224, 238, 238, 0.66);
}

.hero-strip figcaption strong {
    font-weight: 500;
    text-align: right;
}

.hero-strip figure:hover img {
    transform: scale(1.035);
}

/* About */
.about {
    padding: clamp(120px, 13vw, 185px) 0 clamp(110px, 11vw, 150px);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 0;
}

.about-grid > .section-label {
    grid-column: 1 / 4;
    align-self: start;
    margin-top: 8px;
}

.about-title {
    grid-column: 5 / 13;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(46px, 5.2vw, 75px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}

.about-image {
    position: relative;
    grid-column: 1 / 5;
    width: calc(100% + 26px);
    margin: 190px 0 0 calc(-1 * (var(--edge) - 10px));
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-film-cover, .about-film-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}
.about-film-video { opacity: 0; }
.about-film[data-playing="true"] .about-film-cover { opacity: 0; }
.about-film[data-playing="true"] .about-film-video { opacity: 1; }
.about-film-toggle {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: #0009;
    color: #fff;
    cursor: pointer;
}

.about-body {
    grid-column: 6 / 13;
    margin-top: 190px;
}

.about-body > p {
    max-width: 500px;
}

.about-body > p {
    margin: 0;
    font-size: clamp(18px, 1.55vw, 23px);
    font-weight: 400;
    line-height: 1.45;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 702px;
    margin-top: 58px;
    border-top: 1px solid var(--line);
}

.stat {
    padding: 24px 28px 0 0;
    border-right: 1px solid var(--line);
}

.stat + .stat {
    padding-left: 36px;
}

.stat > span {
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.stat strong {
    display: block;
    margin-top: 16px;
    font-family: var(--display);
    font-size: clamp(52px, 5.2vw, 76px);
    font-weight: 400;
    line-height: 1;
}

.stat small {
    display: block;
    margin-top: 8px;
    padding-bottom: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
}

/* Services */
.services {
    padding: clamp(90px, 10vw, 130px) 0 clamp(100px, 10vw, 140px);
}

.service-list {
    border-top: 1px solid var(--line);
}

.service-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    min-height: 200px;
    padding: 46px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s ease;
}

.service-row h3 {
    grid-column: 2 / 7;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    transition: transform 0.35s ease;
}

.service-row p {
    grid-column: 7 / 10;
    max-width: 370px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.service-arrow {
    grid-column: 12;
    justify-self: end;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 21px;
    line-height: 1;
    color: var(--text);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.service-row:hover h3 {
    transform: translateX(7px);
}

.service-row:hover .service-arrow {
    background: var(--text);
    border-color: var(--text);
    color: var(--black);
}

/* Project carousel: native horizontal fallback, pinned full-screen motion when enabled. */
.works { position: relative; background: var(--black); }
.works-pin { position: relative; padding: 80px 0 40px; }
.works-bg {
    position: relative; margin: 0 0 36px; padding-inline: var(--edge);
    color: var(--text); font-family: var(--display); font-size: clamp(36px, 5vw, 72px);
    font-weight: 400; line-height: 1.2; text-transform: uppercase;
}
.works-track {
    display: flex; gap: 22px; padding: 0 var(--edge) 20px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
}
.work-card { position: relative; flex: 0 0 auto; width: min(82vw, 700px); scroll-snap-align: start; }
.work-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.work-image img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.work-caption h3 { margin: 20px 0 10px; font-family: var(--display); font-size: clamp(22px, 2.3vw, 36px); font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.work-caption ul { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.55; }
.work-caption .work-services { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.work-services li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.work-services svg { flex: 0 0 17px; width: 17px; height: 17px; color: var(--orange); }
.work-caption-meta { display: flex; align-items: center; gap: 12px; }
.work-country { display: inline-flex; flex: 0 0 28px; width: 28px; height: 28px; overflow: hidden; border: 1px solid #ffffff80; border-radius: 50%; box-shadow: 0 1px 6px #0005; }
.work-country img { display: block; width: 100%; height: 100%; object-fit: cover; }
.works-end { flex: 0 0 min(82vw, 700px); display: grid; place-items: center; scroll-snap-align: start; }
.works.is-animated { height: var(--works-scroll-height, 700svh); }
.works.is-animated .works-pin {
    position: sticky; top: var(--header); height: calc(100svh - var(--header));
    padding: 0; overflow: hidden; touch-action: pan-y; cursor: grab;
}
.works.is-animated .works-pin.is-dragging { cursor: grabbing; user-select: none; }
.works.is-animated .works-bg {
    position: absolute; top: 24px; left: var(--edge); z-index: 3; width: auto;
    margin: 0; padding: 0; transform: none; color: #fff; font-size: clamp(18px, 2vw, 28px);
    line-height: 1.2; white-space: normal; text-align: left; pointer-events: none;
    text-shadow: 0 2px 18px #000;
}
.works.is-animated .works-track {
    position: relative; z-index: 2; width: max-content; height: 100%; gap: 0;
    padding: 0; overflow: visible; scroll-snap-type: none; will-change: transform;
}
.works.is-animated .work-card, .works.is-animated .works-end {
    width: var(--work-slide-width, 100vw); height: 100%; flex: 0 0 var(--work-slide-width, 100vw); min-height: 0; padding: 0;
}
.works.is-animated .work-image {
    position: absolute; inset: var(--work-inset-y, 20%) var(--work-inset-x, 30%); aspect-ratio: auto;
}
.works.is-animated .work-card::after {
    content: ""; position: absolute; inset: var(--work-inset-y, 20%) var(--work-inset-x, 30%); pointer-events: none;
    background: linear-gradient(180deg, #0006, transparent 28%, transparent 42%, #000d);
}
.works.is-animated .work-caption {
    position: absolute; z-index: 2;
    left: calc(var(--work-inset-x, 30%) + 16px + var(--work-focus, 0) * (var(--edge) - 16px));
    right: calc(var(--work-inset-x, 30%) + 16px);
    bottom: calc(var(--work-inset-y, 20%) + 16px + var(--work-focus, 0) * 20px);
    max-width: 700px; color: #fff; pointer-events: none;
}
.works.is-animated .work-caption h3 {
    font-size: calc(16px + var(--work-focus, 0) * clamp(4px, 1.2vw, 10px));
    margin: 0 0 10px;
    transition: font-size 350ms cubic-bezier(.22, 1, .36, 1);
}
.works.is-animated .work-caption ul {
    color: #f0f0f0; font-size: clamp(12px, 1.2vw, 15px);
}
.works.is-animated .works-end { background: var(--black); }

/* Click-to-play samples stay inside their project, with no automatic sound. */
.work-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; pointer-events: auto; }
.work-project-link, .work-sample-button, .work-radio-close {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; border: 1px solid #ffffff60; background: #111b; color: #fff; cursor: pointer;
}
.work-project-link { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; }
.work-project-link svg, .work-sample-button svg { width: 19px; height: 19px; flex-shrink: 0; }
.work-sample-button { gap: 8px; padding: 0 16px; border-radius: 24px; font-size: 13px; }
.work-project-link:hover, .work-sample-button:hover, .work-radio-close:hover { border-color: var(--orange); color: var(--orange); }
.work-video-layer { position: absolute; inset: 0 0 auto; aspect-ratio: 4 / 3; z-index: 1; background: #000; }
.work-video-layer[hidden], .work-radio-panel[hidden] { display: none; }
.work-film { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.works.is-animated .work-video-layer { inset: var(--work-inset-y, 20%) var(--work-inset-x, 30%); aspect-ratio: auto; }
.work-card.is-radio-open .work-actions { display: none; }
.work-card.is-radio-open .work-caption h3, .work-card.is-video-open .work-caption h3 {
    font-family: var(--body); font-size: 16px; font-weight: 600; line-height: 1.35; text-transform: none; margin: 0 0 8px;
}
.work-card.is-radio-open .work-caption {
    max-width: none; padding: 14px; border: 1px solid #ffffff26; border-radius: 12px; background: #0b0b0bf0;
}
.works.is-animated .work-card.is-radio-open .work-caption {
    left: calc(var(--work-inset-x, 0px) + 16px); right: calc(var(--work-inset-x, 0px) + 16px);
    bottom: calc(var(--work-inset-y, 0px) + 16px); pointer-events: auto;
}
.work-radio-panel { pointer-events: auto; }
.work-radio-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.work-track-select { flex: 1; min-width: 0; height: 36px; padding: 0 8px; border: 1px solid #ffffff30; border-radius: 6px; background: #191919; color: #fff; font: inherit; font-size: 13px; }
.work-radio-close { flex: 0 0 36px; min-height: 36px; border-radius: 50%; font-size: 23px; }
.work-radio-row { display: flex; align-items: center; gap: 10px; }
.work-audio { display: block; flex: 1; min-width: 0; width: 100%; height: 44px; color-scheme: dark; }
.works.is-animated .work-card.is-video-open .work-caption { bottom: calc(var(--work-inset-y, 0px) + 66px); }
.work-card.is-video-open .work-actions { margin-top: 0; }
.work-card.is-video-open .work-caption { text-shadow: 0 1px 6px #000; }
body:has(.work-card.is-radio-open, .work-card.is-video-open) .to-top { opacity: 0; pointer-events: none; }
.work-media-status { margin: 8px 0 0; font-size: 12px; color: #fff; }
.work-media-status:empty { display: none; }

/* Clients */
.clients {
    padding: clamp(90px, 10vw, 130px) 0 clamp(100px, 10vw, 140px);
}

.clients .section-title {
    margin-bottom: 110px;
    margin-left: 9%;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.client-tile {
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 30px;
    background: var(--tile);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.client-tile:hover {
    background: #111;
}

.client-tile img {
    width: auto;
    max-width: 120px;
    max-height: 46px;
    object-fit: contain;
    filter: grayscale(1) invert(1) brightness(1.5) contrast(1.05);
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.client-tile:hover img {
    opacity: 1;
}

/* Full-bleed gallery image */
.gallery {
    position: relative;
    height: min(540px, 55vw);
    min-height: 360px;
    overflow: hidden;
    border-top: 1px solid rgba(224, 238, 238, 0.8);
    background: #1a0d05;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    filter: saturate(1.05) contrast(1.02);
}

.gallery::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, #0002);
    pointer-events: none;
}

.gallery::after {
    display: none;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245, 130, 50, 0.7), rgba(245, 130, 50, 0.24) 58%, rgba(0, 0, 0, 0.16));
    mix-blend-mode: color;
    opacity: 0.9;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: clamp(70px, 8vw, 108px) 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 0;
    align-items: start;
}

.footer-links {
    grid-column: 1 / 4;
}

.footer-centre {
    grid-column: 5 / 9;
    text-align: center;
}

.footer-find {
    grid-column: 10 / 13;
}

.footer-label {
    display: block;
    margin-bottom: 18px;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    width: fit-content;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-logo {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-family: var(--display);
    font-size: clamp(62px, 6.2vw, 90px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: 0.005em;
}

.footer-contact {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    font-size: 14px;
    line-height: 1.3;
}

.footer-contact + .footer-contact {
    margin-top: 8px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.03em;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.socials a:hover {
    background: var(--text);
    color: var(--black);
}

.footer-find address {
    max-width: 280px;
    margin: 0;
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: clamp(70px, 8vw, 110px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

/* Back to top */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    color: var(--text);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.25s ease;
}

.to-top svg {
    width: 22px;
    height: 22px;
}

.to-top.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.to-top:hover {
    background: var(--text);
    color: var(--black);
}

/* Mobile menu */
.site-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--black);
    color: var(--text);
    overflow-y: auto;
}

.site-menu::backdrop {
    background: rgba(0, 0, 0, 0.65);
    animation: menu-backdrop-in 560ms ease both;
}

.site-menu.is-closing::backdrop { animation: menu-backdrop-out 420ms ease both; }
@keyframes menu-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .site-menu::backdrop, .site-menu.is-closing::backdrop { animation: none; } }

.menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--edge);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.menu-top button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
}

.site-menu nav {
    padding: 7vh var(--edge);
}

.site-menu nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(38px, 7.4vw, 88px);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}

.menu-foot {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 24px var(--edge) 36px;
    color: var(--muted);
    font-size: 12px;
}

/* Reveal */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1120px) {
    .main-nav {
        gap: 20px;
        font-size: 12px;
    }

    .hero-title {
        max-width: 78%;
    }
}

@media (min-width: 761px) and (max-height: 820px) {
    .hero-pin {
        padding-top: 48px;
        padding-bottom: 20px;
    }

    .hero-title {
        font-size: clamp(46px, 4.8vw, 68px);
        line-height: 1.32;
    }

    .hero-aside {
        margin-bottom: 14px;
    }

    .hero-strip {
        height: clamp(140px, 15vw, 190px);
    }

    .hero-strip figcaption {
        padding: 24px 10px 9px;
        font-size: 9px;
    }
}

@media (max-width: 1000px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .main-nav,
    .connect {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-aside {
        width: min(330px, 60vw);
        margin-left: 52%;
    }

    .about-title {
        grid-column: 4 / 13;
    }

    .about-body {
        grid-column: 5 / 12;
    }

    .about-image {
        grid-column: 1 / 4;
    }

    .service-row h3 {
        grid-column: 1 / 7;
    }

    .service-row p {
        grid-column: 7 / 11;
    }

    .service-arrow {
        grid-column: 12;
    }

}

@media (max-width: 760px) {
    :root {
        --header: 76px;
        --edge: 20px;
    }

    .logo {
        font-size: 26px;
    }

    .logo small {
        font-size: 6px;
    }

    .hero {
        height: 280vh;
        min-height: 0;
        padding: 0;
    }

    .hero-pin {
        position: sticky;
        top: var(--header);
        height: calc(100svh - var(--header));
        min-height: 0;
        padding: 46px var(--edge) 24px;
        overflow: hidden;
    }

    .hero-inner {
        padding-bottom: 116px;
    }

    .hero-glow {
        left: -26%;
        top: -18%;
        bottom: auto;
        width: 122vw;
        height: 40vh;
        max-width: none;
        max-height: none;
        filter: blur(55px);
        opacity: 0.55;
    }

    .hero-title {
        font-size: clamp(40px, 11.4vw, 52px);
        line-height: 1.4;
    }

    .hero-aside {
        width: 100%;
        margin-top: 36px;
        margin-bottom: 0;
        margin-left: 0;
        align-self: flex-start;
    }

    .hero-strip {
        display: flex;
        gap: 6px;
        height: 92px;
        margin-top: auto;
    }

    .hero-strip figure {
        border-radius: 4px;
    }

    .hero-strip figcaption {
        gap: 4px;
        padding: 18px 6px 6px;
        font-size: 7px;
        letter-spacing: 0.02em;
    }

    .hero-strip figcaption span {
        font-size: 6.5px;
    }

    .hero-strip figcaption strong {
        font-size: 7.5px;
    }

    .section-title {
        margin-bottom: 36px;
        font-size: clamp(42px, 12vw, 58px);
    }

    .about {
        padding-top: 88px;
        padding-bottom: 90px;
    }

    .about-grid {
        display: block;
    }

    .about-grid > .section-label {
        margin-bottom: 46px;
    }

    .about-title {
        font-size: clamp(40px, 11.3vw, 54px);
    }

    .about-image {
        width: 100%;
        margin: 46px 0 0;
        aspect-ratio: 1 / 1;
    }

    .about-body {
        margin-top: 34px;
    }

    .about-body > p {
        font-size: 17px;
    }

    .stats {
        margin-top: 36px;
    }

    .stat {
        padding-right: 14px;
    }

    .stat + .stat {
        padding-left: 18px;
    }

    .stat strong {
        font-size: clamp(46px, 14vw, 62px);
    }

    .services {
        padding-top: 86px;
        padding-bottom: 90px;
    }

    .service-row {
        display: block;
        min-height: 0;
        padding: 30px 0 34px;
    }

    .service-row h3 {
        font-size: clamp(25px, 7.4vw, 33px);
        line-height: 1.24;
    }

    .service-row p {
        max-width: 300px;
        margin-top: 16px;
        font-size: 14px;
    }

    .service-arrow {
        width: 48px;
        height: 48px;
        margin-top: 22px;
        margin-left: auto;
        font-size: 17px;
    }

    .works-pin {
        padding-top: 68px;
    }

    .works-bg {
        font-size: clamp(46px, 14vw, 70px);
    }

    .work-card {
        width: 78vw;
    }

    .work-caption h3 {
        font-size: 23px;
    }

    .clients {
        padding-top: 86px;
        padding-bottom: 90px;
    }

    .clients .section-title {
        margin-bottom: 30px;
        margin-left: 0;
    }

    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px;
    }

    .client-tile {
        min-height: 118px;
        padding: 18px;
    }

    .client-tile img {
        max-width: 84px;
        max-height: 32px;
    }

    .gallery {
        height: 340px;
        min-height: 0;
    }

    .footer {
        padding-top: 68px;
    }

    .footer-grid {
        display: block;
    }

    .footer-centre {
        margin: 52px 0;
        text-align: left;
    }

    .footer-logo,
    .footer-contact {
        margin-left: 0;
    }

    .socials {
        justify-content: flex-start;
    }

    .footer-find address {
        max-width: 100%;
    }

    .footer-bottom {
        display: block;
        margin-top: 48px;
    }

    .footer-bottom span {
        display: block;
    }

    .footer-bottom span + span {
        margin-top: 6px;
    }

    .to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

    .site-grid span:nth-child(1),
    .site-grid span:nth-child(3),
    .site-grid span:nth-child(5),
    .site-grid span:nth-child(6) {
        display: none;
    }

    .site-grid span:nth-child(2) { left: 33.33%; }
    .site-grid span:nth-child(4) { left: 66.66%; }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-strip {
        height: 76px;
    }

    .about-title {
        font-size: 37px;
    }

    .stat strong {
        font-size: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-film-cover,
    .about-film-video { transition: none; }

    html {
        scroll-behavior: auto;
    }

    .hero-title span {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-glow,
    .hero-glow::after {
        animation: none;
    }

    .hero {
        height: auto;
        min-height: calc(100svh - var(--header));
    }

    .hero-pin {
        position: relative;
        top: auto;
        height: auto;
        min-height: calc(100svh - var(--header));
        padding: clamp(48px, 7vw, 92px) var(--edge) 36px;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-strip img,
    .work-image img,
    .works.is-animated .work-caption h3,
    .btn-outline span {
        transition: none;
    }

}

/* A longer hero timeline gives the enlarged images time to settle and be seen. */
@media (prefers-reduced-motion: no-preference) {
    .js .hero { height: 480svh; }
}

/* Automatic in-view work media; no manual controls. */
.work-audio { display: none !important; }
.work-video-layer,
.work-film { pointer-events: none; }

/* Plain background, without flares or column rules. */
.site-grid, .hero-glow { display: none; }

.services-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:36px; }
.services-heading .section-title { margin-bottom:0; }
.services-heading > a { font-size:12px; white-space:nowrap; border-bottom:1px solid #ffffff50; padding-bottom:6px; }
@media(max-width:600px) { .services-heading { align-items:flex-start; flex-direction:column; gap:18px; } }
