@font-face {
  font-family: "Akzidenz-Grotesk Pro";
  src: url("fonts/akzidenz-grotesk-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --neon: #BBFF00;
  --ink: #000;
  --ink-60: #000;   /* small text is solid black now (was 60% grey) */
  --grid-line: rgba(0, 0, 0, 0.07);
  --grid-cell: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background-color: var(--neon);
  /* light grid behind the whole page */
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: var(--grid-cell) var(--grid-cell);
  color: var(--ink);
  font-family: "Akzidenz-Grotesk Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
a:hover { opacity: 0.5; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.page {
  max-width: 1232px; /* 1200px content + 16px page margin each side, as on Framer */
  margin: 0 auto;
  padding: 16px;
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px; /* 16px page padding + 56 = 72, three grid cells */
  padding: 14px 0; /* text lines up with the reel edge */
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
/* Name: rolling 3D tube (four stacked copies, letters flip in sequence) */
.logo { font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
.logo { position: relative; }
.logo .roll { transition: opacity 0.25s var(--ease); }
.logo.is-voicing .roll { opacity: 0; transition: opacity 0.12s linear; }
.logo:hover { opacity: 1; }   /* no link dimming on the name, so the voice note stays solid black */
.logo__voice { position: absolute; pointer-events: none; opacity: 0; transition: opacity 0.25s linear; }
.logo.is-voicing .logo__voice { transition: none; }
.say { position: relative; display: inline-block; }
.say__text { transition: opacity 0.25s var(--ease); }
.say.is-voicing .say__text { opacity: 0; transition: opacity 0.12s linear; }
.say.is-voicing .logo__voice { transition: none; }
.footer__left:hover { opacity: 1; }   /* keep the Say Hello dots solid black */
.nav a { position: relative; }
.nav a .roll { transition: opacity 0.25s var(--ease); }
.nav a.is-voicing { opacity: 1; }   /* Playground voice note: dots stay solid black while it plays */
.nav a.is-voicing .roll { opacity: 0; transition: opacity 0.12s linear; }
.nav a.is-voicing .logo__voice { transition: none; }
.play__title .logo__voice { z-index: 4; }
.play__title.is-voicing .play__word { visibility: hidden; }   /* big title: dots stand in for the words */
.play__title.is-voicing .logo__voice { transition: none; }
/* masked band: padding leaves room for descenders (y), negative margin keeps layout unchanged */
.roll { position: relative; display: inline-block; vertical-align: top; line-height: 1; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.roll__line { display: block; white-space: nowrap; }
.roll__line + .roll__line { position: absolute; left: 0; top: 0; visibility: hidden; }
.roll__line:nth-child(n+3) { display: none; }
.roll.is-rolling .roll__line { visibility: visible; }

.nav { display: flex; align-items: center; gap: 24px; animation: fade 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both; }

/* Intro above the reel (after estd.dev): a short statement, some air, then a small label row */
/* everything above the reel is sized in 24px grid steps, so the reel's top edge sits on a grid line */
.lede { padding: 24px 0 0; }
.lede__text { margin: 0; font-weight: inherit; max-width: 30em; font-size: clamp(17px, 1.6vw, 20px); line-height: 24px; letter-spacing: -0.015em; }
.lede__row { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; height: 32px; font-size: 13px; line-height: 16px; color: var(--ink-60); }
.lede__where { margin-left: auto; }   /* stays on the right now the "Showreel 2026" label is gone */

/* Hero reel */
.hero {
  position: relative;
  background: #000;
  border-radius: 4px; /* same rounding as the project tiles */
  aspect-ratio: 16 / 9;
  /* always the full 1920x1080 frame, never cropped (logos sit near the edges of the reel) */
  width: 100%;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px 0;
  border-radius: 0 0 5px 5px;
}
.intro, .body { margin: 0; max-width: 760px; }
.intro { font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; }
.body { font-size: 17px; line-height: 24px; color: var(--ink-60); }

/* Bento gallery: starts as a grid the width of the page, scroll zooms the centre tile to full screen */
.bento__wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bento__grid {
  --w: min(calc(100vw - 32px), 1200px);
  --gap: 8px;
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, calc((var(--w) - 2 * var(--gap)) / 3));
  grid-template-rows: repeat(4, 23vh);
  justify-content: center;
  align-content: center;
}
.bento__grid.is-final {
  grid-template-columns: repeat(3, 100vw);
  grid-template-rows: repeat(4, 49.5vh);
  gap: 1vh;
}
.bento__item { position: relative; margin: 0; overflow: hidden; background: #000; border-radius: 4px; }
.bento__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bento__item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.bento__item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.bento__item:nth-child(3) { grid-area: 2 / 2 / 4 / 3; }
.bento__item:nth-child(4) { grid-area: 1 / 3 / 3 / 4; }
.bento__item:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
.bento__item:nth-child(6) { grid-area: 3 / 3 / 5 / 4; }
.bento__item:nth-child(7) { grid-area: 4 / 1 / 5 / 2; }
.bento__item:nth-child(8) { grid-area: 4 / 2 / 5 / 3; }

/* Projects: full-bleed editorial grid (12 columns, mixed tile sizes) */
/* sits in the page column (same width as the reel); tiles sized between the old 3-up and the full-bleed version */
.projects { padding: 8px 0 64px; }
.projects__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.projects__title { margin: 0; font-size: clamp(20px, 2.8vw, 36px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.projects__note { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-60); }
/* Projects page: its own big heading above the grid */
.projects--page { padding-top: clamp(32px, 5vw, 72px); }
.pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.pagehead__title { margin: 0; font-weight: 300; font-size: clamp(48px, 9vw, 128px); line-height: 0.9; letter-spacing: -0.055em; }
.pagehead .projects__note { max-width: 26em; }
/* Landing: link through to the projects page */
.more { padding: 8px 0 72px; }
.more__link { font-size: clamp(20px, 2.8vw, 36px); line-height: 1; letter-spacing: -0.04em; color: inherit; text-decoration: none; }
.more__link::after { content: " →"; }
.nav a[aria-current="page"] { color: var(--ink-60); }
.projects__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 16px; }
.proj { margin: 0; grid-column: span 4; }
.proj--wide { grid-column: span 8; }
.proj--tall { grid-column: span 4; }
.proj--half { grid-column: span 6; }
.proj--full { grid-column: 1 / -1; }
.proj__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #000; border-radius: 4px; }
/* tall + wide row height = exactly the TikTok clip shape (776x960) on a 4-column tile, so its logo never crops */
.proj--wide .proj__media, .proj--tall .proj__media { aspect-ratio: auto; height: calc(((min(100vw, 1232px) - 208px) / 3 + 48px) * 1.2371); }
.proj--half .proj__media { aspect-ratio: 16 / 10; }
.proj--full .proj__media { aspect-ratio: 21 / 9; }
/* Dither reveal mask (drawn by gallery.js as a canvas image; only while motion is allowed and until the tile has revealed). */
.proj__media.dot-reveal { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 0; mask-position: 0 0; }
.proj__media img, .proj__media video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.proj:hover .proj__media img, .proj:hover .proj__media video { transform: scale(1.03); }
.proj__overlay--ink { color: var(--ink) !important; }   /* on light pictures */
.proj__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: clamp(18px, 2.1vw, 28px); letter-spacing: -0.03em;
}
.proj__media img.pos-left { object-position: 30% 50%; }
.proj__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.proj__h { margin: 0; font: inherit; }
.proj__name {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; font-size: 20px; letter-spacing: -0.02em; line-height: 1;
  cursor: pointer; text-align: left;
}
.proj__name { position: relative; transition: color 0.25s var(--ease); }
.proj__name.is-voicing { color: transparent; transition: color 0.12s linear; }   /* dots stand in for the name */
.proj__name.is-voicing .logo__voice { transition: none; }
.proj__name:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.proj__meta { font-size: 12px; line-height: 24px; color: var(--ink-60); text-align: right; }

/* About page: small text left, placeholder video right */
/* small portrait on the left, text on the right, sized so the two sit together without a tall page */
.about-page { display: grid; grid-template-columns: clamp(299px, 31.4vw, 430px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding: clamp(32px, 5vw, 72px) 0 72px; }
.about-page__text { display: flex; flex-direction: column; gap: 18px; max-width: 34em; }
.about-page__lead { margin: 0; font-weight: inherit; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; letter-spacing: -0.02em; }
.about-page__small { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-60); }
.about-page__avail { display: flex; align-items: center; gap: 10px; }
.about-page__avail .about-page__small { color: var(--ink); }
.about-page__avail .dot { width: 8px; height: 8px; }
.about-page__avail .dot { animation: avail-flash 1.4s ease-in-out infinite; }
@keyframes avail-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .about-page__avail .dot { animation: none; } }
.about-page__links { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.about-page__studio { display: flex; flex-direction: column; font-style: normal; font-size: 15px; line-height: 24px; color: var(--ink-60); }
.about-page__studio-label { color: var(--ink); }
.aches { position: relative; display: inline-block; }
.aches__text { transition: opacity 0.25s var(--ease); }
.aches.is-voicing { opacity: 1; }
.aches.is-voicing .aches__text { opacity: 0; transition: opacity 0.12s linear; }
.aches.is-voicing .logo__voice { transition: none; }
.contact-wrap { margin-top: 6px; }
.contact-toggle { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.contact-toggle .dot { width: 8px; height: 8px; }
.contact-toggle__label { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; }
.contact-toggle__label > span { display: block; }
.contact-toggle__label > span + span { position: absolute; left: 0; top: 100%; }
.contact-toggle:focus-visible, .contact__send:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.contact { position: relative; overflow: hidden; }
.contact[hidden] { display: none; }
.contact__inner { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; position: relative; }
.contact__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.contact__field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-60); }
.contact__field input, .contact__field textarea { font: inherit; font-size: 15px; color: var(--ink); background: linear-gradient(var(--ink-60), var(--ink-60)) left bottom / 100% 1px no-repeat; border: 0; border-radius: 0; padding: 4px 0 6px; outline: none; resize: vertical; }
.contact__field input:focus, .contact__field textarea:focus { background-image: linear-gradient(var(--ink), var(--ink)); }
.contact__send { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.contact__send .dot { width: 8px; height: 8px; }
.contact__send:hover, .contact-toggle:hover { opacity: .5; }
.about-page__media { margin: 0; order: -1; }
.about-page__media video, .about-page__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: #fff; }
.about-page__credit { padding-top: 10px; font-size: 12px; line-height: 24px; color: var(--ink-60); }
.about-page__credit a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.nav a[aria-current="page"] { opacity: 1; }   /* nav stays solid black on every page */

/* Footer */
.footer {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 122px;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
}
.footer > * { flex: 1 1 0; }
.footer__left { display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; }
.lg { font-size: 18px; line-height: 1.2; }
.footer__center { text-align: center; color: rgba(0, 0, 0, 0.85); }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.social { display: flex; gap: 8px; }

/* Tablet */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .about { padding: 48px 0; }
}

/* Phone */
@media (max-width: 809.98px) {
  .topbar { padding: 14px 0; }
  .nav { gap: 12px; }
  .hero { aspect-ratio: 16 / 9; height: auto; }
  .about { padding: 40px 0; }

  .projects { padding: 0 0 40px; }
  .proj, .proj--wide, .proj--tall, .proj--half { grid-column: 1 / -1; }
  .proj--wide .proj__media, .proj--tall .proj__media { height: auto; aspect-ratio: 1 / 1; }
  .proj--tall .proj__media { aspect-ratio: 776 / 960; }
  .proj--full .proj__media { aspect-ratio: 4 / 3; }
  .projects__grid { gap: 32px; }
  .about-page { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 40px; }
  .about-page__media { width: 90%; max-width: 359px; }
  .contact__row { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; gap: 20px; height: auto; padding: 28px 0; }
  .footer__left, .footer__right { flex-basis: 100%; }
  .footer__center { flex: none; text-align: left; }
  .footer__right { align-items: flex-start; }
}

/* Type reveals (JS adds .reveal-ready; content stays visible without JS) */
.reveal-ready .tok {
  display: inline-block;
  opacity: 0;
  transform: translateY(var(--y, 14px));
  filter: blur(var(--b, 0px));
  transition:
    opacity var(--d, 0.7s) var(--ease),
    transform var(--d, 0.7s) var(--ease),
    filter var(--d, 0.7s) var(--ease);
  transition-delay: var(--t, 0s);
  will-change: opacity, transform, filter;
}
.reveal-ready.in .tok { opacity: 1; transform: none; filter: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
  .reveal-ready .tok { opacity: 1; transform: none; filter: none; transition: none; }
}

/* Playground: full-screen field of images under the top bar */
.is-playground { overflow: hidden; height: 100svh; overscroll-behavior: none; }
.is-playground .page { position: relative; z-index: 10; pointer-events: none; }
/* the top bar always sits above the images: a band of page background, full width, that the field slides under */
.is-playground .topbar { position: relative; z-index: 20; pointer-events: auto; }
.is-playground .topbar::before { content: ""; position: absolute; z-index: -1; left: 50%; width: 100vw; top: -16px; bottom: 0; transform: translateX(-50%); background-color: var(--neon); background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px); background-size: var(--grid-cell) var(--grid-cell); background-position: calc(50vw - 50%) 0; }
.play { position: fixed; inset: 0; z-index: 1; }
.play__intro { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 0 16px; pointer-events: none; }
.play__title { position: relative; margin: 0; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2vw, 32px); font-weight: 300; font-size: clamp(44px, 9vw, 150px); line-height: 1; letter-spacing: -0.05em; pointer-events: none; }
.play__word { display: inline-block; }
.play__strip { display: block; flex: none; width: clamp(150px, 34vw, 560px); height: clamp(110px, 22vw, 320px); }
.play__field { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: auto; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.play__field.is-live { cursor: grab; }
.play__field.is-dragging { cursor: grabbing; }
.play__tile { position: absolute; left: 0; top: 0; margin: 0; opacity: 0; z-index: 2; will-change: transform; }
.play__media { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: #000; box-shadow: 0 0 0 0.5px #fff; pointer-events: none; -webkit-user-drag: none; }   /* 0.5px white stroke */
/* depth: tiles further back are smaller (set in JS), softer and sit behind */
.play__tile.is-far { z-index: 1; }   /* depth now from size and speed only, no blur */
.play__cap { position: absolute; left: 0; top: 100%; padding-top: 4px; font-size: 11px; line-height: 16px; white-space: nowrap; color: var(--ink); opacity: 0; transition: opacity 0.4s; }
.play__field.is-live .play__cap { opacity: 1; }
.play__lede { margin: 0; max-width: 30em; text-align: center; font-size: 15px; line-height: 24px; opacity: 0; }
.play__hint { position: absolute; left: 50%; bottom: 24px; z-index: 3; margin: 0; transform: translateX(-50%); font-size: 12px; line-height: 24px; opacity: 0; pointer-events: none; }
@media (max-width: 809.98px) {
  /* phones: the words stack above and below the wave so it can use the full width */
  .play__title { flex-direction: column; gap: 10px; font-size: clamp(48px, 15vw, 76px); }
  .play__strip { width: 84vw; height: 46vw; }
  .play__lede { padding: 0 8px; }
}

/* ---------- Project cards that open a case study ---------- */
a.proj__media { display: block; color: #fff; }
a.proj__media:hover { opacity: 1; }
.proj__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 13px; line-height: 1; letter-spacing: -0.01em;
  padding: 8px 12px; border-radius: 999px;
  color: #fff; background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease);
}
a.proj__media:hover .proj__tag { background: rgba(0, 0, 0, 0.85); }
.proj__meta--link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Case study page ---------- */
.case { padding: clamp(32px, 5vw, 72px) 0 72px; }
.case__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(28px, 4vw, 56px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.case__back { grid-column: 1 / -1; font-size: 15px; justify-self: start; }
.case__title { margin: 0; font-weight: inherit; font-size: clamp(56px, 10vw, 140px); line-height: 0.9; letter-spacing: -0.05em; }
.case__lead { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; letter-spacing: -0.02em; max-width: 30em; }
.case__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 15px; line-height: 24px; }
.case__facts div { display: flex; gap: 10px; }
.case__facts dt { opacity: 0.5; }
.case__facts dd { margin: 0; }
.case__film { margin: 0 0 clamp(48px, 7vw, 96px); }
.case__film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #fff; border-radius: 4px; }
.case__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(28px, 4vw, 56px); margin-bottom: clamp(40px, 6vw, 80px); }
.case__h { margin: 0; font-weight: inherit; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.03em; }
.case__copy { display: flex; flex-direction: column; gap: 14px; max-width: 34em; }
.case__copy p { margin: 0; font-size: 17px; line-height: 26px; }
.case__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.case__still { margin: 0; }
.case__still img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #fff; border-radius: 4px; }
.case__still figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; font-size: 15px; line-height: 22px; }
.case__still figcaption span { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.case__next { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 7vw, 96px); padding-top: 16px; border-top: 1px solid var(--ink); font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.02em; }
@media (max-width: 809.98px) {
  .case { padding: 24px 0 40px; }
  .case__head, .case__body { grid-template-columns: 1fr; }
  .case__grid { grid-template-columns: 1fr; gap: 28px; }
  .case__facts { flex-direction: column; gap: 4px; }
  .case__next { flex-direction: column; }
}

/* Case study: film only, with a Play button over the poster */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.case--film { padding-top: clamp(24px, 4vw, 56px); }
.case__film { position: relative; }
.case__play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  display: inline-flex; align-items: center; gap: 12px;
  appearance: none; border: 0; cursor: pointer;
  font: inherit; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: -0.02em; line-height: 1;
  padding: 16px 24px 16px 20px; border-radius: 999px;
  color: #fff; background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), background 0.25s var(--ease);
}
.case__play:hover { transform: scale(1.05); background: rgba(0, 0, 0, 0.85); }
.case__play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.case__play-icon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.case__film.is-playing .case__play { opacity: 0; pointer-events: none; }
.case__caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.case__caption span:last-child { font-size: 15px; }
.case--film .case__body { margin: clamp(32px, 5vw, 64px) 0 0; }

/* VEP: standalone reel page for Visually Evoked Potentials Limited (black, just the reel) */
.vep { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: #000; color: #fff; }
.vep a { color: inherit; text-decoration: none; }
.vep__top, .vep__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px clamp(16px, 2.5vw, 32px); font-size: 15px; line-height: 20px; letter-spacing: -0.01em; }
.vep__mark { margin: 0; font: inherit; font-size: 20px; letter-spacing: -0.02em; }
.vep__mark span { color: rgba(255, 255, 255, 0.55); margin-left: 10px; font-size: 15px; }
.vep__top a:hover, .vep__foot a:hover { opacity: 0.6; }
.vep__reel { flex: 1; display: flex; align-items: center; padding: 0 clamp(16px, 2.5vw, 32px); }
.vep__reel video { display: block; width: 100%; height: auto; max-height: calc(100svh - 140px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #111; }
.vep__foot { font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 809.98px) {
  .vep__mark span { display: block; margin: 4px 0 0; }
  .vep__foot { flex-direction: column; gap: 6px; }
}
