/* ==========================================================================
   Friday Production — landing v2
   Monochrome, Apple-inspired one-page layout + full-screen presentation decks
   ========================================================================== */

:root {
    --black: #000;
    --ink: #0a0a0a;
    --ink-2: #111113;
    --ink-3: #1c1c1e;
    --white: #fff;
    --paper: #f5f5f7;
    --paper-2: #e8e8ed;

    --text-dark: #1d1d1f;
    --text-dark-2: #6e6e73;
    --text-light: #f5f5f7;
    --text-light-2: rgba(245, 245, 247, 0.64);

    --line-dark: rgba(255, 255, 255, 0.12);
    --line-light: rgba(0, 0, 0, 0.1);

    /* Monochrome photo treatment — set to `none` to bring colour back */
    --mono: grayscale(1) contrast(1.06);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

    --nav-h: 52px;
    --pad: clamp(20px, 4vw, 40px);
    --radius: 28px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    background: var(--black);
}
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-light);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
html.is-locked, html.is-locked body { overflow: hidden; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.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;
}
.mono { filter: var(--mono); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Typography ---------- */
.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.62;
}
.display {
    font-size: clamp(2.6rem, 6.4vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
}
.h2 {
    font-size: clamp(2.1rem, 4.8vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.032em;
    line-height: 1.05;
    margin-top: 18px;
}
.lead {
    font-size: clamp(1.1rem, 1.55vw, 1.45rem);
    line-height: 1.45;
    font-weight: 400;
    margin-top: 22px;
    color: var(--text-light-2);
    text-wrap: pretty;
}
.sec--light .lead { color: var(--text-dark-2); }
.sec--light .eyebrow { opacity: 0.55; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 26px; border-radius: 999px;
    font-size: 15px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
    transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--paper-2); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--ink-3); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.34); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.sec--light .btn--ghost { border-color: rgba(0, 0, 0, 0.22); color: var(--black); }
.sec--light .btn--ghost:hover { border-color: var(--black); background: rgba(0, 0, 0, 0.04); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }

.link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 880px; }
.sec { position: relative; padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.sec--dark { background: var(--black); color: var(--text-light); }
.sec--dark + .sec--dark { border-top: 1px solid var(--line-dark); }
.sec--light { background: var(--paper); color: var(--text-dark); }
.sec--white { background: var(--white); color: var(--text-dark); }

/* Reveal on scroll */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
    transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.4s var(--ease);
}
.nav.is-scrolled { background: rgba(0, 0, 0, 0.8); }
.nav__in {
    max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); height: 100%;
    display: flex; align-items: center; gap: 32px;
}
.nav__logo { display: flex; align-items: center; height: 100%; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
    position: relative; padding: 4px 0;
    font-size: 13px; font-weight: 500; letter-spacing: 0.005em;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.25s;
}
.nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: var(--white); transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta {
    height: 30px; padding: 0 14px; border-radius: 999px;
    font-size: 12px; font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white);
    display: inline-flex; align-items: center;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav__cta:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.nav__burger {
    display: none; margin-left: auto; width: 40px; height: 40px;
    align-items: center; justify-content: center; position: relative;
}
.nav__burger span {
    position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--white);
    transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger span:first-child { transform: translateY(-4px); }
.nav__burger span:last-child { transform: translateY(4px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 90; background: var(--black);
    padding: calc(var(--nav-h) + 32px) var(--pad) 40px;
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease), visibility 0s; }
.menu a {
    display: block; padding: 14px 0;
    font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(1) { transition-delay: 60ms; }
.menu.is-open a:nth-child(2) { transition-delay: 110ms; }
.menu.is-open a:nth-child(3) { transition-delay: 160ms; }
.menu.is-open a:nth-child(4) { transition-delay: 210ms; }
.menu.is-open a:nth-child(5) { transition-delay: 260ms; }
.menu.is-open a:nth-child(6) { transition-delay: 310ms; }
.menu.is-open a:nth-child(7) { transition-delay: 360ms; }
.menu a.is-active { color: var(--white); }
.menu__foot { margin-top: auto; font-size: 13px; color: var(--text-light-2); display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 960px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; height: 100svh; min-height: 640px;
    display: grid; place-items: center; overflow: hidden;
    background: var(--black); color: var(--white); text-align: center;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; container-type: size; }
/* YouTube background (about.landing_vid): a 16:9 frame scaled to cover the hero, muted and looping, not interactive.
   Sized from the hero itself (cq units) with viewport units as the fallback, then enlarged 30% so YouTube's own
   chrome (title bar at the top, logo/controls at the bottom) falls outside the visible area. */
.hero__yt {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.3);
    width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh;
    width: 100cqw; height: 56.25cqw; min-width: 177.78cqh; min-height: 100cqh;
    border: 0; pointer-events: none; filter: var(--mono);
    opacity: 0; transition: opacity 0.8s var(--ease); /* revealed by landing.js once the video is really playing */
}
.hero__yt.is-playing { opacity: 0.62; }
.hero__media video, .hero__media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: var(--mono); opacity: 0.62;
    transform: scale(1.04);
    animation: hero-settle 2.4s var(--ease) both;
}
@keyframes hero-settle { from { transform: scale(1.1); opacity: 0; } to { transform: scale(1.04); opacity: 0.62; } }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(90% 70% at 50% 45%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85) 100%);
}
.hero__in { position: relative; padding: calc(var(--nav-h) + 24px) var(--pad) 96px; max-width: 900px; }
.hero__logo { width: clamp(220px, 32vw, 420px); height: auto; margin: 0 auto; }
.hero__rule { width: 72px; height: 1px; background: rgba(255, 255, 255, 0.7); margin: 28px auto 20px; }
.hero__tag { font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.hero__lead { margin: 24px auto 0; max-width: 560px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.hero__scroll {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
}
.hero__scroll i { display: block; width: 1px; height: 44px; background: rgba(255, 255, 255, 0.35); position: relative; overflow: hidden; }
.hero__scroll i::after {
    content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff;
    animation: scroll-line 2.2s var(--ease-io) infinite;
}
@keyframes scroll-line { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* Hero stagger */
.hero .reveal:nth-child(1) { --d: 120ms; }
.hero .reveal:nth-child(2) { --d: 260ms; }
.hero .reveal:nth-child(3) { --d: 340ms; }
.hero .reveal:nth-child(4) { --d: 460ms; }
.hero .reveal:nth-child(5) { --d: 580ms; }

/* ---------- Feature sections ---------- */
.feature__head { max-width: 840px; margin: 0 auto; text-align: center; }
.feature__head--left { margin: 0; text-align: left; }
.feature__links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.feature__head--left .feature__links { justify-content: flex-start; }
.feature__tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.feature__head--left .feature__tags { justify-content: flex-start; }
.tag {
    font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--text-light-2);
}
.sec--light .tag { border-color: var(--line-light); color: var(--text-dark-2); }

.media-card {
    position: relative; margin-top: clamp(44px, 6vw, 80px);
    border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
    aspect-ratio: 16 / 9;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}
.sec--light .media-card { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.14); }
.media-card img {
    width: 100%; height: 100%; object-fit: cover;
    filter: var(--mono); transform: scale(1.02);
    transition: transform 1.6s var(--ease);
}
.media-card:hover img { transform: scale(1.06); }
.media-card--tall { aspect-ratio: 4 / 5; margin-top: 0; }
.media-card--wide { aspect-ratio: 21 / 9; }
.media-card__cap {
    position: absolute; left: 24px; bottom: 22px; right: 24px;
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8);
}

/* Full-bleed variant */
.feature--bleed { min-height: 92svh; display: flex; align-items: flex-end; padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); }
.bleed-bg { position: absolute; inset: 0; }
.bleed-bg img { width: 100%; height: 100%; object-fit: cover; filter: var(--mono); opacity: 0.55; }
.bleed-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.9) 100%);
}
.feature--bleed .wrap { position: relative; width: 100%; }
.feature--bleed .feature__head { max-width: 760px; }

/* Split variant */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* Service index tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(48px, 6vw, 80px); }
.tile {
    display: flex; flex-direction: column; min-height: 200px; padding: 24px 24px 22px;
    border-radius: 22px; background: var(--white); border: 1px solid var(--line-light);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08); }
.tile__num { font-size: 12px; letter-spacing: 0.16em; color: var(--text-dark-2); font-variant-numeric: tabular-nums; }
.tile__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: auto; padding-top: 28px; }
.tile__desc { font-size: 14px; line-height: 1.4; color: var(--text-dark-2); margin-top: 6px; }
.tile__arrow { margin-top: 16px; width: 18px; height: 18px; color: var(--text-dark); transition: transform 0.35s var(--ease); }
.tile:hover .tile__arrow { transform: translateX(4px); }

/* Projects rail */
/* ---------- Works grid (all portfolio pieces, filtered by category) ---------- */
.works { margin-top: clamp(40px, 6vw, 72px); }
.works__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font-size: 13px; font-weight: 500; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.72); background: none;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.chip:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.chip.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.chip--year { font-variant-numeric: tabular-nums; }
.chip:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 3px; }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; margin-top: 28px; }
.works__empty { margin-top: 28px; color: var(--text-light-2); }
.works__foot { display: flex; justify-content: center; margin-top: 36px; }
/* Picture categories: portrait posters, four to a row (five in the modal); the zoom mark only shows on hover */
.works__grid.is-posters { grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
.is-posters .work__media, .is-grouped .work[data-layout="poster"] .work__media { aspect-ratio: 2 / 3; }
/* Grouped grid (labelled groups: picture/video within a tab, or category by category for a year):
   12 columns — poster cards span 3 (4 a row), video cards span 4 (3 a row); group order is set inline by landing.js */
.works__grid.is-grouped, .wmodal__grid.is-grouped { grid-template-columns: repeat(12, 1fr); --pcols: 4; --vcols: 3; } /* per-row counts, read by landing.js */
.is-grouped .work[data-layout="poster"] { grid-column: span 3; }
.is-grouped .work[data-layout="video"] { grid-column: span 4; }
.works__label { display: none; grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.is-grouped .works__label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.works__label-more { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.works__label--next { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.is-posters .work__play--zoom { opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease); }
.is-posters .work:hover .work__play--zoom, .is-posters .work:focus-visible .work__play--zoom { opacity: 1; }

/* All-works modal: full-screen list of the current filter, cards open the lightbox */
.wmodal {
    position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column;
    background: var(--black); color: var(--white);
    opacity: 0; transform: scale(0.985);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.wmodal.is-open { opacity: 1; transform: none; }
.wmodal__bar {
    flex: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 18px clamp(20px, 4.5vw, 64px); border-bottom: 1px solid var(--line-dark);
}
.wmodal__title { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 6px; }
.wmodal__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px clamp(20px, 4.5vw, 64px) 72px; }
.wmodal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; max-width: 1280px; margin: 0 auto; }
.wmodal__grid.is-posters { grid-template-columns: repeat(5, 1fr); }
.wmodal .work { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.wmodal.is-open .work { opacity: 1; transform: none; }
.circ {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line-dark); color: var(--white);
    transition: background 0.3s, border-color 0.3s;
}
.circ:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }
.circ svg { width: 16px; height: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.details { display: grid; gap: 22px; margin-top: 40px; }
.detail__k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dark-2); }
.detail__v { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; margin-top: 6px; line-height: 1.4; }
.detail__v a:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.form {
    background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--line-light); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.08);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark-2); }
.field input, .field textarea {
    width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.14); background: #fbfbfd; color: var(--text-dark);
    transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__msg { font-size: 14px; min-height: 20px; }
.form__msg.is-ok { color: var(--text-dark); }
.form__msg.is-err { color: #b00020; }
.btn.is-busy { opacity: 0.6; pointer-events: none; }

/* Footer */
.footer { background: var(--black); color: rgba(255, 255, 255, 0.6); padding: 56px 0 40px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__logo img { height: 46px; width: auto; opacity: 0.95; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--white); }

/* ==========================================================================
   Presentation decks (full-screen modals)
   ========================================================================== */
.deck {
    position: fixed; inset: 0; z-index: 200;
    background: var(--black); color: var(--white);
    opacity: 0; visibility: hidden; transform: scale(0.985);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.5s;
    outline: none;
}
.deck.is-open {
    z-index: 201;
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
/* Deck-to-deck switch: the old deck stays fully visible underneath (no fade-out),
   the new one cross-fades in on top without the zoom, so the page never shows through */
.deck.is-leaving { z-index: 200; opacity: 1; visibility: visible; transform: none; transition: none; }
.deck.is-switching, .deck.is-switching.is-open { transform: none; transition: opacity 0.7s var(--ease-io), visibility 0s; }
.deck.is-switching .slide__body > * { transition-delay: calc(var(--i, 0) * 90ms + 260ms); }
.deck__bar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 5;
    height: var(--nav-h); display: flex; align-items: center; gap: 16px;
    padding: 0 clamp(16px, 3vw, 28px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    pointer-events: none;
}
.deck__bar > * { pointer-events: auto; }
/* Scrolled inside a slide taller than the screen (landing.js): content passes under the bar, so it turns solid */
.deck__bar::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0; transition: opacity 0.35s var(--ease);
}
.deck.is-inside .deck__bar::before { opacity: 1; }
.deck__logo { height: 24px; width: auto; }
.deck__title { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin-left: 4px; }
.deck__count { margin-left: auto; font-size: 12px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; }
.deck__close {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.12); transition: background 0.25s, transform 0.3s var(--ease);
}
.deck__close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }
.deck__close svg { width: 14px; height: 14px; }

/* Deck menu (top centre): switches between decks; current one is inactive */
.deck__tabs {
    position: absolute; left: 50%; top: 0; height: var(--nav-h); transform: translateX(-50%);
    display: flex; align-items: center; gap: 24px;
}
.deck__tab {
    position: relative; padding: 4px 0; white-space: nowrap;
    font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.58);
    transition: color 0.25s;
}
.deck__tab::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
    background: var(--white); transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s var(--ease);
}
button.deck__tab:hover { color: var(--white); }
.deck__tab.is-current { color: var(--white); cursor: default; }
.deck__tab.is-current::after { transform: scaleX(1); }
@media (max-width: 1279px) { .deck__title { display: none; } }

/* Services slide (last slide of every deck) */
.s-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.s-tile {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
    width: 100%; min-height: 190px; padding: 22px 22px 20px;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white);
    transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
button.s-tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.36); }
.s-tile__num { font-size: 12px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.s-tile__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: auto; padding-top: 28px; }
.s-tile__desc { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.62); margin-top: 6px; }
.s-tile__arrow { width: 18px; height: 18px; margin-top: 16px; transition: transform 0.35s var(--ease); }
button.s-tile:hover .s-tile__arrow { transform: translateX(4px); }
.s-tile.is-current { opacity: 0.42; cursor: default; }
.s-tile__badge {
    position: absolute; top: 18px; right: 18px;
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4);
}

.deck__scroller {
    position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
    scroll-snap-type: y mandatory; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.deck__scroller::-webkit-scrollbar { display: none; }

.deck__nav { position: absolute; right: clamp(16px, 3vw, 28px); bottom: 22px; z-index: 5; display: flex; gap: 8px; }
.deck__nav .circ { width: 40px; height: 40px; background: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* Price pill pinned to every slide of the Broadcast deck (left of the prev/next circles) */
.deck__cta {
    position: absolute; right: calc(clamp(16px, 3vw, 28px) + 98px); bottom: 21px; z-index: 6;
    display: flex; align-items: center; gap: 10px;
    height: 42px; padding: 0 5px 0 16px; border-radius: 999px;
    background: rgba(28, 28, 30, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.deck__cta-price { display: flex; align-items: baseline; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.deck__cta-price small { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.62); }
.deck__cta-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 14px; border-radius: 999px;
    background: #952b27; color: var(--white); font-size: 13px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(149, 43, 39, 0.28);
    transition: background 0.3s, transform 0.35s var(--ease), box-shadow 0.3s;
}
.deck__cta-btn svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.deck__cta-btn:hover { background: #7f2521; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(149, 43, 39, 0.38); }
.deck__cta-btn:hover svg { transform: translateX(3px); }
@media (max-width: 560px) {
    .deck__cta { right: 16px; bottom: 16px; height: 40px; gap: 8px; padding-left: 14px; }
    .deck__cta-price { font-size: 13px; gap: 6px; }
    .deck__cta-price small { display: none; }
    .deck__cta-btn { height: 30px; padding: 0 11px 0 13px; font-size: 12.5px; }
    #deck-broadcast .deck__hint { display: none; }
}

.deck__hint {
    position: absolute; left: clamp(16px, 3vw, 28px); bottom: 30px; z-index: 5;
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.5s;
}
.deck__hint.is-hidden { opacity: 0; }
.deck__hint svg { width: 14px; height: 14px; animation: nudge 1.8s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
/* Vertical pager (right edge) */
.deck__pager {
    position: absolute; right: clamp(12px, 2vw, 22px); top: 50%; transform: translateY(-50%); z-index: 6;
    display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.deck__pip { position: relative; width: 28px; height: 14px; display: flex; align-items: center; justify-content: flex-end; }
.deck__pip::before {
    content: ""; width: 3px; height: 12px; border-radius: 2px;
    background: rgba(255, 255, 255, 0.28);
    transition: height 0.4s var(--ease), background 0.3s, width 0.3s;
}
.deck__pip:hover::before { background: rgba(255, 255, 255, 0.7); }
.deck__pip.is-active { height: 28px; }
.deck__pip.is-active::before { height: 28px; background: var(--white); }
.deck__pip span {
    position: absolute; right: 22px; top: 50%; transform: translateY(-50%) translateX(6px);
    white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85); opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.deck__pip:hover span, .deck__pip:focus-visible span { opacity: 1; transform: translateY(-50%); }
.deck__pip:focus-visible { outline: none; }
.deck__pip:focus-visible::before { background: var(--white); }
@media (max-width: 560px) {
    .deck__pager { right: 8px; gap: 5px; }
    .deck__pip { width: 22px; height: 10px; }
    .deck__pip::before { width: 2px; height: 10px; }
    .deck__pip.is-active { height: 22px; }
    .deck__pip.is-active::before { height: 22px; }
    .deck__pip span { display: none; }
}
.deck__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 2px; background: rgba(255, 255, 255, 0.12); }
.deck__progress i { display: block; height: 100%; width: 0; background: var(--white); transition: width 0.6s var(--ease); }

/* Slides */
.slide {
    position: relative; min-height: 100%;
    scroll-snap-align: start; scroll-snap-stop: always;
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--nav-h) + 28px) clamp(20px, 4.5vw, 64px) 96px;
    isolation: isolate;
}
.slide__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.slide__bg img, .slide__bg video {
    width: 100%; height: 100%; object-fit: cover;
    filter: var(--mono); opacity: 0.42;
    transform: scale(1.06);
    transition: transform 6s var(--ease);
}
.slide.is-active .slide__bg img, .slide.is-active .slide__bg video { transform: scale(1); }
.slide__bg::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(110% 80% at 50% 50%, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.82));
}
.slide__bg--soft img { opacity: 0.28; }
.slide__body { width: 100%; max-width: 1120px; }
.slide__body > * {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.slide.is-active .slide__body > * { opacity: 1; transform: none; }

.s-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.s-title {
    font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
    text-transform: uppercase; margin-top: 12px;
}
.s-title--sentence { text-transform: none; letter-spacing: -0.032em; }
.s-text { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.65; color: rgba(255, 255, 255, 0.78); margin-top: 20px; text-wrap: pretty; }
.s-text p + p { margin-top: 14px; }
.s-text strong { color: var(--white); font-weight: 600; }
.s-text--lg { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.s-media {
    border-radius: 20px; overflow: hidden; background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.s-media video, .s-media img { width: 100%; height: 100%; object-fit: cover; }
.s-media--16x9 { aspect-ratio: 16 / 9; }
.s-media--4x5 { aspect-ratio: 4 / 5; }
.s-media--mono img { filter: var(--mono); }
.s-center { max-width: 960px; margin: 0 auto; text-align: center; }
.s-center .s-text { max-width: 760px; margin-left: auto; margin-right: auto; }
.s-cover { text-align: center; }
.s-cover__logo { width: clamp(200px, 26vw, 340px); height: auto; margin: 0 auto; }
.s-cover .hero__rule { margin: 26px auto 18px; }
.s-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.s-split--rev > :first-child { order: 2; }
.s-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 28px; }
.s-cols h4, .s-point h4 {
    font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
    padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.s-cols .s-text { margin-top: 0; font-size: 14.5px; line-height: 1.6; }
.s-points { display: grid; gap: 22px; margin-top: 28px; }
.s-points--cols { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.s-head { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.s-point h4 { border: 0; padding: 0; margin-bottom: 6px; }
.s-point p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.76); }
.s-compare { display: grid; gap: 26px; }
.cmp video { width: 100%; height: auto; display: block; }
.cmp__labels {
    display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; text-align: center;
    font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75);
}
.s-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.spec {
    padding: 22px 24px; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.spec h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-weight: 600; }
.spec li { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.spec li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec--hi { border-color: rgba(255, 255, 255, 0.4); }
.s-posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.s-posters img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.s-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-logos { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px); }
.s-logos img { height: clamp(22px, 3vw, 34px); width: auto; }
.s-logos span { font-size: 18px; color: rgba(255, 255, 255, 0.6); }
.s-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.step { padding: 22px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); }
.step__n { font-size: 12px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
.step__t { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; }
.step__d { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }
.s-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.s-center .s-actions, .s-cover .s-actions { justify-content: center; }
.slide--gallery { align-items: flex-end; }
.slide--gallery .slide__bg img { opacity: 0.85; }
.slide--gallery .slide__bg::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%); }

/* Horizontal timeline (About deck) — year above a continuous rule, dot on the rule, title + copy below.
   Each item reveals in sequence: card fades up, its rule segment draws left→right, then the dot pops. */
.s-timeline {
    --tl-gap: clamp(16px, 2.4vw, 32px);
    list-style: none; margin: 40px 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
}
.tl {
    position: relative; padding-right: var(--tl-gap);
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--k, 0) * 140ms + 420ms);
}
.slide.is-active .tl, .timeline.is-in .tl { opacity: 1; transform: none; }
.tl__year {
    display: block; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
    font-variant-numeric: tabular-nums; margin-bottom: 22px;
}
.tl__body { position: relative; padding-top: 24px; }
.tl__body::before {
    content: ""; position: absolute; left: 0; right: calc(-1 * var(--tl-gap)); top: 0; height: 1px;
    background: rgba(255, 255, 255, 0.2);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.9s var(--ease-io);
    transition-delay: calc(var(--k, 0) * 140ms + 420ms);
}
.tl:last-child .tl__body::before { right: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)); }
.slide.is-active .tl__body::before, .timeline.is-in .tl__body::before { transform: scaleX(1); }
.tl__dot {
    position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%;
    background: var(--white); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
    transform: scale(0);
    transition: transform 0.5s var(--ease) calc(var(--k, 0) * 140ms + 560ms), box-shadow 0.35s var(--ease);
}
.slide.is-active .tl__dot, .timeline.is-in .tl__dot { transform: none; }
.tl__t { font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.tl__d { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.68); margin-top: 8px; text-wrap: pretty; }
.tl__body, .tl__t, .tl__d { display: block; }

/* Each milestone is a button: hover swaps the slide background to its photo, click opens the works of that year */
.tl__card {
    display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 12px;
    background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.tl__card:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 10px; }
.tl__card:hover .tl__dot, .tl__card[aria-expanded="true"] .tl__dot, .tl__card[aria-pressed="true"] .tl__dot { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.16); }
.tl__more {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55);
    opacity: 0; transform: translateY(4px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
}
.tl__more svg { width: 12px; height: 12px; transition: transform 0.35s var(--ease); }
.tl__card:hover .tl__more, .tl__card:focus-visible .tl__more, .tl__card[aria-expanded="true"] .tl__more, .tl__card[aria-pressed="true"] .tl__more { opacity: 1; transform: none; color: var(--white); }
.tl__card:hover .tl__more svg { transform: translateX(3px); }
@media (hover: none) { .tl__more { opacity: 1; transform: none; } }

/* Timeline on the page (projects section): same component, revealed on scroll; the section background fades to the hovered photo */
.timeline { margin-top: clamp(40px, 6vw, 72px); }
.timeline.reveal { opacity: 1; transform: none; }
.timeline .s-timeline { margin-top: 0; }
/* Compact timeline (page): just the year on the rule and the works count, always readable; columns stay narrow when there are few years */
.s-timeline--compact { grid-template-columns: repeat(var(--n, 5), minmax(0, 224px)); }
.s-timeline--compact .tl__body { padding-top: 18px; }
.s-timeline--compact .tl__more { margin-top: 0; opacity: 1; transform: none; }
.sec--bg .wrap { position: relative; }
.bleed-bg--hover img { opacity: 0; transition: opacity 0.9s var(--ease); }
.bleed-bg--hover.is-alt img { opacity: 0.4; }
.bleed-bg--hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.98) 80%); }

/* Second background layer that cross-fades to the hovered milestone's photo */
.slide--timeline .slide__bg img { transition: transform 6s var(--ease), opacity 0.8s var(--ease); }
.slide--timeline .slide__bg-alt { position: absolute; inset: 0; opacity: 0; }
.slide--timeline .slide__bg.is-alt img:first-child { opacity: 0.1; }
.slide--timeline .slide__bg.is-alt .slide__bg-alt { opacity: 0.5; }

/* Video slider (Broadcast deck, teaser slide): one 16:9 frame, a video at a time — the teaser, then YouTube works that
   play inline. The frame narrows on short screens so the caption and the copy under it still fit the slide. */
.vslider { margin: 22px auto 0; width: min(100%, (100vh - 432px) * 16 / 9); width: min(100%, (100dvh - 432px) * 16 / 9); min-width: min(100%, 300px); }
.vslider__frame { position: relative; touch-action: pan-y; } /* sideways swipes go to landing.js */
.vslide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s; }
.vslide.is-current { opacity: 1; visibility: visible; z-index: 1; transition-delay: 0s; }
.vslide img { filter: var(--mono); transform: scale(1.04); transition: transform 1.4s var(--ease), filter 0.6s var(--ease), opacity 0.9s var(--ease); }
.vslide.is-current img { transform: none; }
.vslide:hover img, .vslide.is-loading img, .vslide.is-playing img { filter: none; }
/* The player loads unseen over the poster and cross-fades in once the video really plays (landing.js) */
.vslide iframe {
    position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: var(--black);
    opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease);
}
.vslide.is-playing iframe { opacity: 1; pointer-events: auto; }
.vslide__play { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; cursor: pointer; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45)); }
.vslide__disc {
    width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.vslide__disc svg { width: 20px; height: 20px; margin-left: 3px; }
.vslide__play:hover .vslide__disc, .vslide__play:focus-visible .vslide__disc { transform: scale(1.08); background: rgba(255, 255, 255, 0.18); }
.vslide__play { transition: opacity 0.5s var(--ease); }
.vslide.is-loading .vslide__play { pointer-events: none; }
.vslide.is-loading .vslide__disc { animation: vsWait 1.3s var(--ease-io) infinite; }
.vslide.is-loading .vslide__disc svg { opacity: 0.55; }
@keyframes vsWait { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28); } 60% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }
.vslide.is-playing .vslide__play { opacity: 0; pointer-events: none; }
/* Arrows on both sides of the frame: beside it when the screen is wide enough, otherwise laid over its edges */
.vslider__stage { position: relative; }
.vslider__arrow {
    position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px;
    background: rgba(0, 0, 0, 0.45); border-color: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.vslider__arrow:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.55); }
.vslider__arrow--prev { left: 12px; }
.vslider__arrow--prev svg { transform: rotate(180deg); }
.vslider__arrow--next { right: 12px; }
@media (min-width: 1200px) {
    .vslider__arrow { background: rgba(255, 255, 255, 0.08); }
    .vslider__arrow--prev { left: -68px; }
    .vslider__arrow--next { right: -68px; }
}
.vslider__cap { display: flex; align-items: baseline; justify-content: center; gap: 12px; min-width: 0; margin-top: 16px; font-size: 14.5px; }
.vslider__count { flex: none; font-size: 12px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.vslider__title { font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vslider__meta { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
/* Short laptop screens: the video matters more than the copy under it */
@media (max-height: 760px) and (min-width: 861px) {
    [data-vslider] .s-text { display: none; }
    .vslider { width: min(100%, (100vh - 290px) * 16 / 9); width: min(100%, (100dvh - 290px) * 16 / 9); }
}

/* Team slide (About deck): a grid of member cards, four to a row — position + name on top, the member's sticker below
   (every picture arrives as a transparent sticker: a die-cut figure, or a white-bordered photo print).
   The slide simply grows with the team; the deck scrolls through it and the cards reveal as they come into view. */
.tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.tcard {
    position: relative; display: flex; flex-direction: column; aspect-ratio: 1 / 1.3; overflow: hidden;
    border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #232326, #111113);
    transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms), border-color 0.4s var(--ease);
}
/* soft spotlight behind the sticker — it brightens for the card in focus */
.tcard::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(78% 52% at 50% 72%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 72%);
    opacity: 0.55; transition: opacity 0.6s var(--ease);
}
.tcard__top { position: relative; flex: none; padding: 22px 22px 0; }
.tcard__n { position: absolute; top: 22px; right: 22px; font-size: 12px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.4); font-variant-numeric: tabular-nums; }
.tcard__role { padding-right: 32px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); }
.tcard__name { font-size: clamp(18px, 1.75vw, 23px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin-top: 7px; }
.tcard__photo { position: relative; flex: 1; min-height: 0; margin: 12px 7% 6.5%; }
.tcard__photo img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
    filter: var(--mono) drop-shadow(0 14px 20px rgba(0, 0, 0, 0.55));
    transform-origin: center bottom; transition: filter 0.6s var(--ease), transform 0.7s var(--ease);
    -webkit-user-drag: none; user-select: none;
}
/* In focus — hovered, or crossing the middle of the screen on touch devices (landing.js): colour returns, the sticker lifts */
@media (hover: hover) {
    .tcard:hover { border-color: rgba(255, 255, 255, 0.26); }
    .tcard:hover::before { opacity: 1; }
    .tcard:hover .tcard__photo img { filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.6)); transform: translateY(-5px) scale(1.04) rotate(-1.2deg); }
}
@media (hover: none) {
    .tcard.is-current { border-color: rgba(255, 255, 255, 0.22); }
    .tcard.is-current::before { opacity: 1; }
    .tcard.is-current .tcard__photo img { filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.6)); transform: scale(1.03); }
}

/* Works slide (Projects deck): the page's year timeline + works grid inside a deck. It is taller than the screen, so it is
   top-aligned and the deck scrolls through it; the hovered / selected year's photo stays pinned behind the content.
   --pad follows the slide's side padding so the mobile edge-to-edge scrollers (timeline, chips) reach the screen edges. */
.slide--works { align-items: flex-start; --pad: clamp(20px, 4.5vw, 64px); }
.slide--works .slide__bg { overflow: clip; }
.slide--works .slide__bg::after { background: rgba(0, 0, 0, 0.55); }
.slide--works .slide__bg-alt {
    position: sticky; top: 0; height: 100vh; height: 100dvh; opacity: 0;
    transition: transform 6s var(--ease), opacity 0.8s var(--ease);
}
.slide--works .slide__bg.is-alt .slide__bg-alt { opacity: 0.4; }
.slide--works .works__bar .eyebrow { display: none; } /* the slide title already says it */

/* Works-of-the-year panel, laid over the timeline slide */
.tl-works {
    position: absolute; inset: 0; z-index: 3; display: flex;
    padding: calc(var(--nav-h) + 28px) clamp(20px, 4.5vw, 64px) 96px;
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
    background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
}
.tl-works::-webkit-scrollbar { display: none; }
.tl-works.is-open { opacity: 1; pointer-events: auto; }
.tl-works__in { width: 100%; max-width: 1120px; margin: auto; transform: translateY(18px); transition: transform 0.55s var(--ease); }
.tl-works.is-open .tl-works__in { transform: none; }
.tl-works__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.tl-works__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 10px; }
.tl-works__close { flex: none; background: rgba(255, 255, 255, 0.08); }
.tl-works__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
button.work { width: 100%; margin: 0; padding: 0; border: 0; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.work { display: block; color: inherit; text-decoration: none; border-radius: 14px; }
.work:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.6); outline-offset: 6px; }
.work__media {
    display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
}
.work__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--mono); transform: scale(1.02); transition: transform 0.8s var(--ease); }
.work:hover .work__media img { transform: scale(1.07); }
.work__play {
    position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.work__play svg { width: 12px; height: 12px; margin-left: 2px; }
.work__play--zoom svg { width: 14px; height: 14px; margin-left: 0; }
.work:hover .work__play { transform: scale(1.1); background: rgba(255, 255, 255, 0.18); }
.work__t { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.work__c { display: block; margin-top: 3px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.tl-works__empty { margin-top: 26px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.tl-works .s-actions { margin-top: 26px; }

/* Lightbox: the clicked work grows out of its card to the centre of the screen —
   a YouTube work then plays inline, a picture simply shows large.
   Only transform/opacity animate here (the box is laid out at its final size by landing.js). */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, 0); transition: background 0.7s var(--ease); }
.lb.is-open { background: rgba(0, 0, 0, 0.84); }
.lb__box {
    position: absolute; overflow: hidden; border-radius: 20px; background: var(--ink);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
    transform-origin: 0 0; will-change: transform;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.lb__box--morph {
    will-change: left, top, width, height;
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1), top 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.8s cubic-bezier(0.16, 1, 0.3, 1), height 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.lb__box img, .lb__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb__img { z-index: 2; object-fit: cover; transition: opacity 0.6s var(--ease); }
.lb__img--mono { z-index: 3; filter: var(--mono); }
.lb.is-open .lb__img--mono { opacity: 0; transition-delay: 0.3s; }
.lb.is-playing .lb__img { opacity: 0; pointer-events: none; }
.lb__cap {
    position: absolute;
    font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    opacity: 0; transition: opacity 0.3s var(--ease);
}
.lb__cap b { color: var(--white); font-weight: 600; }
.lb.is-open .lb__cap { opacity: 1; transition-delay: 0.45s; }
.lb__close {
    position: fixed; top: 14px; right: 16px; z-index: 3;
    background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.lb.is-open .lb__close { opacity: 1; transition-delay: 0.35s, 0s, 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .tl-works__grid { grid-template-columns: repeat(3, 1fr); }
    .tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wmodal__grid { grid-template-columns: repeat(3, 1fr); }
    .works__grid.is-posters { grid-template-columns: repeat(3, 1fr); }
    .wmodal__grid.is-posters { grid-template-columns: repeat(4, 1fr); }
    .is-grouped .work[data-layout="poster"] { grid-column: span 4; }
    .works__grid.is-grouped { --pcols: 3; }
}
@media (max-width: 860px) {
    .split, .split--rev { grid-template-columns: 1fr; }
    .split--rev > :first-child { order: 0; }
    .contact { grid-template-columns: 1fr; }
    .s-split, .s-split--rev { grid-template-columns: 1fr; }
    .s-split--rev > :first-child { order: 0; }
    .s-cols { grid-template-columns: 1fr; }
    .s-head { grid-template-columns: 1fr; }
    .s-points--cols { grid-template-columns: 1fr; gap: 22px; }
    .s-spec { grid-template-columns: 1fr; }
    .s-steps { grid-template-columns: 1fr; }
    /* Timeline (deck) turns vertical: rule down the left, dot beside the year */
    .s-timeline:not(.s-timeline--compact) { grid-template-columns: 1fr; margin-top: 32px; }
    .s-timeline:not(.s-timeline--compact) .tl { padding: 0 0 28px 30px; }
    .s-timeline:not(.s-timeline--compact) .tl:last-child { padding-bottom: 0; }
    .s-timeline:not(.s-timeline--compact) .tl::before { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.28); }
    .s-timeline:not(.s-timeline--compact) .tl:last-child::before { background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)); }
    .s-timeline:not(.s-timeline--compact) .tl__year { font-size: 1.5rem; margin-bottom: 8px; }
    .s-timeline:not(.s-timeline--compact) .tl__body { position: static; padding-top: 0; }
    .s-timeline:not(.s-timeline--compact) .tl__body::before { display: none; }
    .s-timeline:not(.s-timeline--compact) .tl__dot { left: 0; top: 7px; }
    .s-timeline:not(.s-timeline--compact) .tl__more { margin-top: 10px; }
    /* Compact timeline (page) stays horizontal and scrolls sideways, bleeding to the screen edges;
       the block padding keeps the dot's halo and the focus ring from being clipped by the scroller */
    .s-timeline--compact {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 144px;
        margin: 0 calc(-1 * var(--pad)); padding: 14px var(--pad);
        overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity; scroll-padding-left: var(--pad);
    }
    .s-timeline--compact::-webkit-scrollbar { display: none; }
    .s-timeline--compact .tl { scroll-snap-align: start; }
    .s-timeline--compact .tl__year { font-size: 1.5rem; margin-bottom: 16px; }
    .s-timeline--compact .tl__more { white-space: nowrap; }
    .tl-works { padding-top: calc(var(--nav-h) + 58px); padding-bottom: 88px; }
    .tl-works__in { margin: 0 auto; }
    .tl-works__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .works__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
    .wmodal__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .works__grid.is-posters, .wmodal__grid.is-posters { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
    .is-grouped .work[data-layout="video"] { grid-column: span 6; }
    .works__grid.is-grouped { --pcols: 3; --vcols: 2; }
    .s-posters { grid-template-columns: repeat(2, 1fr); }
    .s-tiles { grid-template-columns: repeat(2, 1fr); }
    .vslide__disc { width: 60px; height: 60px; }
    .vslider__arrow { width: 40px; height: 40px; margin-top: -20px; }
    .vslider__arrow--prev { left: 8px; }
    .vslider__arrow--next { right: 8px; }
    .vslider__meta { display: none; }
    .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
    .tcard { border-radius: 20px; }
    .tcard__top { padding: 16px 16px 0; }
    .tcard__n { top: 16px; right: 16px; font-size: 11px; }
    .tcard__role { padding-right: 26px; font-size: 9.5px; letter-spacing: 0.12em; }
    .tcard__name { font-size: 17px; margin-top: 5px; }
    .tcard__photo { margin-top: 8px; }
    .slide { padding-top: calc(var(--nav-h) + 58px); padding-bottom: 88px; }
    .deck__tabs {
        left: 0; right: 0; top: var(--nav-h); height: 40px; transform: none;
        justify-content: flex-start; gap: 6px; padding: 0 16px;
        overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .deck__tabs::-webkit-scrollbar { display: none; }
    .deck__bar::before { bottom: -46px; }
    .deck__tab { font-size: 11px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.75); }
    .deck__tab::after { display: none; }
    .deck__tab.is-current { background: var(--white); color: var(--black); border-color: var(--white); }
    .slide__body > * { transition-delay: calc(var(--i, 0) * 70ms + 80ms); }
    .s-media--4x5 { aspect-ratio: 16 / 10; }
    .deck__title { display: none; }
    .media-card--tall { aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .form__row { grid-template-columns: 1fr; }
    .hero { min-height: 560px; }
    .tiles { grid-template-columns: 1fr; }
    .s-posters { gap: 10px; }
    .deck__nav { display: none; }
    .s-tiles { grid-template-columns: 1fr; }
    .s-tile { min-height: 0; }
    .s-tile__name { padding-top: 18px; }
    .tl-works__grid { grid-template-columns: 1fr; }
    .works__grid { grid-template-columns: 1fr; }
    .wmodal__grid { grid-template-columns: 1fr; }
    .works__grid.is-posters, .wmodal__grid.is-posters { grid-template-columns: repeat(2, 1fr); }
    .is-grouped .work[data-layout="poster"] { grid-column: span 6; }
    .is-grouped .work[data-layout="video"] { grid-column: span 12; }
    .works__grid.is-grouped { --pcols: 2; --vcols: 1; }
    .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
    .chips::-webkit-scrollbar { display: none; }
}
