/* Render Social — site styles */
:root {
  --ground: #d4c9b5;
  --paper: #e5dccb;
  --stone: #c6b9a3;
  --ink: #0a0905;
  --char: #2b2826;
  --muted: #544d46;
  --line: #a99d89;
  --accent: #bf3200;
  --shadow: #655c4f; /* floor shadow under the chair spin; the contact section continues it */
  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --round: 'Quicksand', 'Manrope', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
.dot { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.ph { background: var(--stone); width: 100%; height: 100%; }

/* type */
.h2 { margin: 0; font-weight: 600; font-size: clamp(34px, 4.5vw, 60px); line-height: 1; letter-spacing: -0.015em; }
.h3 { margin: 0 0 20px; font-weight: 600; font-size: 26px; }
.eyebrow { margin: 0 0 24px; font-size: 15px; font-weight: 600; color: var(--muted); }
.prose { max-width: 720px; font-size: 18px; line-height: 1.7; }
.prose p { margin: 0 0 1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill--light { background: var(--paper); color: var(--ink); }
.pill--accent { background: var(--accent); color: var(--paper); }
.pill-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; }
.pill-btn:hover { background: var(--paper); }
.pill-btn.is-active { background: var(--ink); color: var(--paper); }

/* nav + logo */
.logo { display: block; line-height: 0; }
.logo img { height: 62px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 600; font-size: 16px; }
.bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--pad); background: var(--ink); color: var(--paper); }
.bar .logo img { height: 58px; }
@media (max-width: 600px) { .logo img, .bar .logo img { height: 46px; } }

/* hero */
.hero { position: relative; min-height: min(100svh, 820px); display: flex; flex-direction: column; justify-content: space-between; background: var(--char); color: var(--paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: rgba(10, 9, 5, .38); }
.hero__bar { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 28px var(--pad); }
.hero__bar a:hover { color: #fff; opacity: .8; }
.hero__bottom { position: relative; padding: 0 var(--pad) 52px; }
.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero__title { margin: 0; max-width: 780px; font-weight: 600; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.015em; }

/* header awards: one row of laurels visible at a time; rows roll upward as you scroll down the header */
.awards { --lw: 168px; --lh: 94px; --row: calc(var(--lh) + 34px); position: relative; display: flex; gap: 14px; align-items: stretch; margin: 0 0 30px; }
.awards__window { height: var(--row); overflow: hidden; -webkit-mask-image: linear-gradient(#000 0 calc(100% - 6px), transparent); mask-image: linear-gradient(#000 0 calc(100% - 6px), transparent); }
.awards__track { list-style: none; margin: 0; padding: 0; transition: transform .7s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.awards__row { height: var(--row); }
.awards__row { transition: opacity .5s ease; }
.awards:not(.is-live) .awards__row + .awards__row { visibility: hidden; }
.awards__film { margin: 0 0 8px; font-size: 13px; line-height: 18px; color: var(--paper); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(3 * var(--lw) + 44px); }
.awards__film strong { font-weight: 700; opacity: 1; }
.awards__film span { margin-left: 6px; opacity: .75; }
.laurels { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 22px; }
.laurel { position: relative; flex: none; width: var(--lw); height: var(--lh); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--paper); }
.laurel img { max-height: var(--lh); width: auto; }
/* rows with four laurels (per_row: 4 on the film's awards group) use slightly smaller wreaths so they fit the same row height */
.awards__row--4 .laurel { --lw: 146px; --lh: 82px; }
.awards__row--4 .laurels { gap: 0 16px; }
.awards__row--4 .laurel__text { max-width: 86px; }
.awards__row--4 .laurel__festival { font-size: 12px; }
.awards__row--4 .laurel--long .laurel__festival { font-size: 9.5px; }
.awards__row--4 .awards__film { max-width: calc(4 * 146px + 48px); }
.awards__row--4 .laurels { margin-top: 6px; }
.laurel__wreath { position: absolute; inset: 0; width: 100%; height: 100%; }
.laurel__text { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 98px; line-height: 1.12; }
.laurel__win { font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; filter: brightness(1.5); }
.laurel__win--nom { color: var(--paper); filter: none; opacity: .8; }
.laurel__award { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.laurel__festival { font-size: 13px; font-weight: 700; margin: 3px 0 2px; }
.laurel--long .laurel__festival { font-size: 10.5px; }
.laurel__year { font-size: 10px; font-weight: 500; }
@media (max-width: 600px) {
  .awards { --lw: calc((100vw - 2 * var(--pad) - 30px) / 3); --lh: calc(var(--lw) * .58); gap: 10px; }
  .laurels { gap: 0 6px; }
  .laurel__text { max-width: 64%; }
  .laurel__award { font-size: 7px; letter-spacing: .08em; }
  .laurel__win { font-size: 6.5px; }
  .laurel__festival { font-size: 9.5px; margin: 2px 0 1px; }
  .laurel--long .laurel__festival { font-size: 7.5px; }
  .laurel__year { font-size: 8px; }
  .awards { --row: calc(var(--lh) + 46px); }
  .awards__film { font-size: 12px; line-height: 16px; white-space: normal; max-width: calc(100vw - 2 * var(--pad) - 16px); }
  .awards__film span { display: block; margin: 0; font-size: 11px; }
  .awards__row--4 .laurel { --lw: calc((100vw - 2 * var(--pad) - 15px) / 4); --lh: calc(var(--lw) * .6); }
  .awards__row--4 .laurels { gap: 0 5px; margin-top: 4px; }
  .awards__row--4 .laurel__text { max-width: 66%; }
  .awards__row--4 .laurel__award { font-size: 5.5px; letter-spacing: .04em; }
  .awards__row--4 .laurel__win { font-size: 5.5px; letter-spacing: .1em; }
  .awards__row--4 .laurel__festival { font-size: 8px; }
  .awards__row--4 .laurel--long .laurel__festival { font-size: 6.5px; }
  .awards__row--4 .laurel__year { font-size: 7px; }
  .awards__row--4 .awards__film { max-width: calc(100vw - 2 * var(--pad) - 16px); }
}

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 96px var(--pad); }
.section-pad { padding: 0 var(--pad); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* work grid + cards: the site's warm monochrome (the same tone as the header reel) until hover, then full colour */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 44px 24px; }
.grid.is-featured .card { order: var(--fo, 9); }
/* Featured view: the two films large across the top, the rest three-up beneath */
@media (min-width: 900px) {
  .grid.is-featured { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .grid.is-featured .card { grid-column: span 4; }
  /* Featured: Hand Rolled front and centre, then two rows of two, then three */
  .grid.is-featured .card[data-featured="1"] { grid-column: 1 / -1; }
  .grid.is-featured .card[data-featured="1"] .card__media { aspect-ratio: 21 / 9; }
  .grid.is-featured .card[data-featured="2"], .grid.is-featured .card[data-featured="3"], .grid.is-featured .card[data-featured="4"], .grid.is-featured .card[data-featured="5"] { grid-column: span 6; }
  .grid.is-featured .card[data-featured="1"] .card__title { font-size: 34px; }
  .grid.is-featured .card[data-featured="2"] .card__title, .grid.is-featured .card[data-featured="3"] .card__title, .grid.is-featured .card[data-featured="4"] .card__title, .grid.is-featured .card[data-featured="5"] .card__title { font-size: 26px; }
}
.card__feat { display: none; margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.grid.is-featured .card__feat { display: block; }
.work__more[hidden] { display: none; }
.work__more { display: flex; justify-content: center; margin-top: 44px; }
.work__all span { margin-left: 4px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.card__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: filter .6s ease, transform .8s ease; }
.card:hover .card__img, .card:focus-visible .card__img, .card.is-color .card__img { filter: none; transform: scale(1.03); }
.card__media::after { content: none; }
.card:hover .card__media::after, .card:focus-visible .card__media::after, .card.is-color .card__media::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .card__img, .card__media::after { transition: none; } .card:hover .card__img { transform: none; } }
.card__tags { position: absolute; z-index: 2; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.card__tag { position: static; }
.card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--accent); transition: color .2s ease; }
.card:hover .card__title { color: var(--ink); }
.card__meta { margin: -8px 0 0; font-size: 14px; font-weight: 500; color: var(--muted); }

/* shared content column: section headings that share the screen line up exactly */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); box-sizing: border-box; }

/* clients: inverted section with two split-flap tiles (see main.js). Without JS or with reduced motion
   it's a plain grid of logos. */
.clients { background: var(--shadow); color: var(--paper); padding: 96px 0; }
.clients__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 64px; }
.clients .h2 { max-width: 8.5em; }
.flaps { margin-left: auto; }
.clients__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 28px 44px; max-width: 720px; font-weight: 700; font-size: 18px; }
.clients__grid img { height: calc(48px * var(--k, .7)); width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) invert(1) brightness(1.1); }
.flaps.is-ready .clients__grid { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.flaps__board { display: flex; gap: 12px; }
.flap { --fw: 300px; --fh: 196px; position: relative; width: var(--fw); height: var(--fh); perspective: 520px; border-radius: 10px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .7); }
.flap__half { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; backface-visibility: hidden; }
.flap__top { top: 0; border-radius: 10px 10px 0 0; background: #1d1b19; transform-origin: 50% 100%; }
.flap__bottom { bottom: 0; border-radius: 0 0 10px 10px; background: #191715; transform-origin: 50% 0; }
.flap__leaf { z-index: 2; will-change: transform; }
.flap__top.flap__leaf { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.flap__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.flap__bottom > .flap__shade { background: linear-gradient(#000, rgba(0, 0, 0, .55)); }
/* the edges of the cards waiting in the stack, just under the hinge */
.flap__top:not(.flap__leaf)::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 5px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 2px); }
.flap__face { position: absolute; left: 0; right: 0; height: 200%; display: grid; place-items: center; padding: 0 30px; box-sizing: border-box; }
.flap__top .flap__face { top: 0; }
.flap__bottom .flap__face { bottom: 0; }
/* every logo becomes the same light tone on the dark flap, whatever colours it came in */
.flap__face img { height: calc(var(--logo-h, 70px) * var(--k, .7)); width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) invert(1) brightness(1.1); }
.flap__face span { font-weight: 700; font-size: 20px; color: var(--paper); text-align: center; }
.flap__hinge { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); }
.flap__hinge::before, .flap__hinge::after { content: ''; position: absolute; top: -4px; width: 5px; height: 10px; border-radius: 2px; background: #3a3633; }
.flap__hinge::before { left: 6px; }
.flap__hinge::after { right: 6px; }
@media (max-width: 760px) {
  .clients { padding: 72px 0; }
  .flaps { margin-left: 0; width: 100%; }
  .flaps__board { gap: 8px; }
  .flap { --fw: calc((100vw - 2 * var(--pad) - 8px) / 2); --fh: 116px; }
  .flap__face { padding: 0 14px; }
  .flap__face { --logo-h: 44px; }
}

/* about — full-bleed chair spin. The photo starts right at the section's top edge; "Who we are." sits on the
   photo's backdrop at the top left, lined up with the other section headings and above the heads. */
.about { --col: max(52%, 560px); background: var(--set, #fae3d1); }
.about__h { position: absolute; z-index: 1; top: clamp(20px, 3.5vh, 36px); left: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); margin: 0; }
.about__layout { position: relative; height: 130vh; }
.about__track { position: absolute; inset: 0; }
.about__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.about__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__empty { position: absolute; inset: 0 50% 0 0; margin: 0; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.about__card { display: none; }
/* Bios are pinned in the upper part of the screen and swap at the same moment the chair turns. */
.about__people { position: sticky; top: 0; height: 100vh; height: 100svh; margin-left: var(--col); padding-right: var(--pad); max-width: 640px; }
.person { position: absolute; top: 12vh; left: 0; right: var(--pad); display: flex; flex-direction: column; gap: 18px; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
.person.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .1s, transform .45s ease .1s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .person, .person.is-active { transition: none; transform: none; } }
.person__name { margin: 0; font: 700 clamp(40px, 4.2vw, 60px)/1 var(--round); }
.person__role { margin: 0; font-size: 15px; font-weight: 700; }
.person__details { font-size: 17px; line-height: 1.65; }
.person__details p { margin: 0 0 1em; }
.person__details > p:first-child { font-size: 19px; font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 4px 0 0; }
.facts:has(.facts__wide) { grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
.facts__wide { grid-row: span 3; }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.facts__list li { padding-left: 14px; position: relative; }
.facts__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.about__more, .about__sheet { display: none; }

@media (max-width: 1300px) {
  .about { --col: 55%; }
}
@media (max-width: 760px) {
  .about__layout { height: auto; }
  .about__track { position: relative; height: 130svh; }
  .about__people { display: none; }
  .about__card { display: block; position: absolute; left: 50%; top: 27%; transform: translate(-50%, -50%); width: min(84%, 320px); text-align: center; padding: 16px 18px; transition: top .35s ease; }
  .about__stage.is-open .about__card { top: 22%; }
  .about__name { margin: 0; font: 700 26px/1.15 var(--round); }
  .about__role { margin: 2px 0 10px; font-size: 13px; font-weight: 600; }
  .about__more { display: inline-flex; align-items: center; }
  .about__sheet:not([hidden]) { display: block; position: absolute; left: 0; right: 0; bottom: 0; max-height: 56%; overflow: auto; background: var(--paper); border-radius: 18px 18px 0 0; padding: 26px 22px 30px; }
  .about__close { position: absolute; top: 6px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; }
  .facts, .facts:has(.facts__wide) { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .facts__wide { grid-row: auto; }
}

/* contact — sits on the floor-shadow colour so it reads as one continuous floor */
.contact-band { background: var(--shadow); color: var(--paper); }
.contact-band a:hover { color: #fff; }
.contact__grid { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 40px; }
.form { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea { min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 400; }
.form textarea { padding: 14px; resize: vertical; }
.form .btn { align-self: flex-start; }
.contact-band .btn--dark { background: var(--paper); color: var(--ink); }
.contact-band .btn--dark:hover { background: #fff; color: var(--ink); }
.contact-band .muted { color: #d8cfc6; }
.hp { position: absolute; left: -9999px; }
.contact__map { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
/* Google's map, toned to the site's khaki, with our own red pin over theirs. The map is a picture here; clicking opens Google Maps. */
.map__frame { position: relative; flex: 1; display: block; min-height: 320px; overflow: hidden; border-radius: 8px; background: var(--ground); }
.map__frame iframe { position: absolute; left: 0; top: -130px; width: 100%; height: calc(100% + 130px); border: 0; filter: grayscale(1) sepia(.45) saturate(.75) contrast(.9) brightness(1.02); pointer-events: none; }
.map__tint { position: absolute; inset: 0; background: var(--ground); mix-blend-mode: multiply; opacity: .5; pointer-events: none; }
.map__pin { position: absolute; left: 50%; top: calc(50% - 65px); width: 34px; height: 46px; transform: translate(-50%, -100%); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.map__pin path { fill: var(--accent); stroke: #7a1f00; stroke-width: 1.5; }
.map__pin circle { fill: var(--paper); }
.map__pulse { position: absolute; left: 50%; top: calc(50% - 65px); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); animation: mapPulse 2s ease-out infinite; }
@keyframes mapPulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map__pulse { animation: none; opacity: 0; } }
.map__open { position: absolute; left: 12px; top: 12px; padding: 7px 12px; border-radius: 99px; background: rgba(10, 9, 5, .78); color: var(--paper); font-size: 13px; font-weight: 700; transition: background .2s ease; }
.map__frame:hover .map__open, .map__frame:focus-visible .map__open { background: var(--accent); }
.contact__map p { margin: 0; font-weight: 600; }

/* footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 28px var(--pad); background: var(--ink); color: var(--ground); font-size: 14px; font-weight: 500; }
.footer__links { display: flex; gap: 24px; }

/* project page */
.wrap { max-width: 1328px; margin: 0 auto; padding: 48px var(--pad) 40px; }
.back { font-size: 15px; font-weight: 700; }
.project__title { margin: 28px 0 0; font-weight: 600; font-size: clamp(40px, 5.5vw, 80px); line-height: 1; letter-spacing: -0.02em; }
.meta { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 28px 0 40px; font-size: 16px; }
.meta dt { font-weight: 700; }
.meta dd { margin: 2px 0 0; }
.meta--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 0; }
.lead { position: relative; aspect-ratio: 16 / 9; background: var(--char); margin-bottom: 32px; }
.lead__media, .lead iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.lead__tag { position: absolute; left: 16px; bottom: 16px; }
.setup, .angles, .credits { margin-top: 88px; }
.setup__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 32px; align-items: start; }
.setup__diagram { margin: 0; background: var(--paper); border-radius: 12px; overflow: hidden; }
.setup__diagram img { width: 100%; }
.angles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 24px; margin-top: 32px; }
.angle { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.angle__open { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.angle__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.angle figcaption { font-size: 15px; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 72px; padding: 56px var(--pad); background: var(--ink); color: var(--ground); }
.next:hover { color: var(--paper); }
.next__label { font-size: 15px; font-weight: 700; }
.next__title { font-weight: 600; font-size: clamp(28px, 4vw, 52px); }
.next:hover .next__title { color: var(--accent); }
.notfound { min-height: 60vh; }

/* lightbox */
.lightbox { max-width: min(92vw, 1600px); padding: 0; border: 0; background: transparent; color: var(--paper); }
.lightbox::backdrop { background: rgba(10, 9, 5, .92); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox__caption { margin: 12px 0 0; text-align: center; font-weight: 600; }
.lightbox__close { position: fixed; top: 12px; right: 16px; width: 48px; height: 48px; border: 0; background: none; color: var(--paper); font-size: 34px; cursor: pointer; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* case-study clips: short silent loops that play while on screen */
.pieces { margin-top: 56px; }
.pieces__grid { display: grid; gap: 72px; }
.pieces__group { margin: 24px 0 -40px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 20px; border-top: 1px solid rgba(10, 9, 5, .14); }
.pieces__group:first-child { margin-top: 0; }
.piece { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; }
.piece__frame .player { border-radius: 6px; }
.piece__meta { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.piece__title { margin: 6px 0 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.015em; }
.piece__tech { margin: 12px 0 0; font-weight: 600; }
.piece__note { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
.piece__links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.piece__links a { font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid currentColor; }
@media (max-width: 860px) { .piece { grid-template-columns: 1fr; } .pieces__grid { gap: 56px; } }
.pieces--grid .pieces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; }
.pieces--grid .pieces__group { grid-column: 1 / -1; margin: 16px 0 -20px; }
.pieces--grid .pieces__group:first-child { margin-top: 0; }
.pieces--grid .piece { grid-template-columns: 1fr; gap: 14px; align-items: start; }
.pieces--grid .piece__title { font-size: 22px; }
@media (max-width: 760px) { .pieces--grid .pieces__grid { grid-template-columns: 1fr; } }
.clips { margin-top: 96px; }
.clips__note { margin: 12px 0 0; max-width: 62ch; color: var(--muted); }
.clips__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin-top: 32px; }
.clip { margin: 0; }
.clip--wide { grid-column: 1 / -1; }
.clip__frame { position: relative; aspect-ratio: 16 / 9; background: var(--char); overflow: hidden; }
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.clip figcaption strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .clips__grid { grid-template-columns: 1fr; } .clips { margin-top: 64px; } }
.clips__grid--top { margin: 8px 0 48px; }
.setup__clip { align-self: start; }
.summary-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.summary-row .prose { margin: 0; }
.summary-row__clip { margin-top: 4px; }
@media (max-width: 860px) { .summary-row { grid-template-columns: 1fr; gap: 28px; } }
.setup__photo { margin: 0; align-self: start; }
.setup__photo img { display: block; width: 100%; height: auto; }
.setup__photo figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- film pages: dark, cinematic; the film and its laurels lead ---------- */
.film { --fbg: var(--ink); --ffg: var(--paper); --fmuted: #a99d89; background: var(--fbg); color: var(--ffg); }
.film--char { --fbg: #1d1a17; }
.film .bar { background: var(--fbg); }
.film a { color: inherit; }
.film .btn--light { color: var(--ink); }
.film .btn--light:hover { color: var(--ink); }
.film .back { color: var(--fmuted); }
.film .h2, .film .h3 { color: var(--ffg); }
.film .prose { color: var(--ffg); opacity: .92; }
.film main { padding-bottom: 40px; }
.film__hero { position: relative; padding-top: 24px; padding-bottom: 44px; }
.film__hero--image { min-height: min(92vh, 900px); display: flex; align-items: flex-end; padding-top: 0; padding-bottom: 64px; overflow: hidden; isolation: isolate; }
.film__hero--image .film__hero-inner { width: 100%; }
.film__hero--image .back { position: absolute; top: 24px; }
.film__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.8) brightness(.78); }
.film__hero--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--fbg) 0%, color-mix(in srgb, var(--fbg) 70%, transparent) 34%, transparent 70%), linear-gradient(0deg, var(--fbg) 0%, color-mix(in srgb, var(--fbg) 45%, transparent) 35%, transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--fbg) 55%, transparent) 0, transparent 160px); }
.film__title--logo { max-width: none; line-height: 0; }
.film__title--logo img { width: clamp(260px, 40vw, 560px); height: auto; }
/* hero_align: right puts the words on the right so the subject on the left stays clear */
.film__hero--right .film__hero-inner > :not(.back) { margin-left: auto; margin-right: 0; width: min(100%, 600px); max-width: 600px; }
.film__hero--right .film__title { font-size: clamp(52px, 7vw, 104px); }
.film__hero--right::before { background: linear-gradient(270deg, var(--fbg) 0%, color-mix(in srgb, var(--fbg) 72%, transparent) 36%, transparent 68%), linear-gradient(0deg, var(--fbg) 0%, color-mix(in srgb, var(--fbg) 40%, transparent) 28%, transparent 55%), linear-gradient(180deg, color-mix(in srgb, var(--fbg) 55%, transparent) 0, transparent 160px); }
/* phones: the still sits as a band at the top and the words follow underneath */
@media (max-width: 760px) {
  .film__hero--image { --bandh: 82vw; display: block; min-height: 0; padding-top: calc(var(--bandh) - 64px); padding-bottom: 40px; }
  .film__bg { height: var(--bandh); bottom: auto; object-position: var(--focus, center center); }
  .film__hero--image::before, .film__hero--right::before { bottom: auto; height: calc(var(--bandh) + 2px); background: linear-gradient(0deg, var(--fbg) 0%, color-mix(in srgb, var(--fbg) 60%, transparent) 26%, transparent 55%), linear-gradient(180deg, color-mix(in srgb, var(--fbg) 60%, transparent) 0, transparent 90px); }
  .film__hero--right .film__hero-inner > :not(.back) { width: auto; max-width: none; }
  .film__hero--right .film__title { font-size: clamp(52px, 9vw, 132px); }
}
.film__kicker { margin: 40px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fmuted); }
.film__title { margin: 14px 0 0; font-weight: 700; font-size: clamp(52px, 9vw, 132px); line-height: .92; letter-spacing: -.035em; max-width: 12ch; }
.film__logline { margin: 26px 0 0; max-width: 40ch; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.film__credit { margin: 14px 0 0; color: var(--fmuted); font-size: 15px; font-weight: 500; }
.film__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn--ghost { gap: 6px; background: transparent; color: var(--ffg, var(--ink)); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--ffg, var(--ink)); color: var(--fbg, var(--paper)); }
.film__watch { margin-bottom: 18px; }
.film__note { margin: 12px 0 0; color: var(--fmuted); font-size: 14px; }

.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__start { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; color: var(--paper); }
.player__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .85; transition: filter .6s ease, opacity .6s ease, transform .8s ease; }
.player__start::after { content: ''; position: absolute; inset: 0; background: #9b8f81; mix-blend-mode: color; opacity: .7; transition: opacity .6s ease; }
.player__start:hover img, .player__start:focus-visible img { filter: none; opacity: 1; transform: scale(1.02); }
.player__start:hover::after, .player__start:focus-visible::after { opacity: 0; }
.player__btn { position: absolute; z-index: 1; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform .3s ease, background .3s ease; }
.player__btn svg { width: 30px; height: 30px; fill: var(--ink); margin-left: 4px; }
.player__start:hover .player__btn { transform: scale(1.08); background: #fff; }
.player__label { position: absolute; z-index: 1; left: 20px; bottom: 18px; font-weight: 700; font-size: 15px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }

.film__laurels { padding-top: 34px; padding-bottom: 10px; }
.laurels--wrap { flex-wrap: wrap; gap: 18px 22px; }
.film .laurel { --lw: 168px; --lh: 94px; }

.film__quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; padding-top: 72px; padding-bottom: 24px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.quote figcaption { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fmuted); }
.quote figcaption a { text-decoration: none; border-bottom: 1px solid currentColor; }

.film__about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; padding-top: 80px; }
.film__about .h2 { margin-bottom: 24px; }
.film__onesheet { margin: 0 0 36px; }
.film__onesheet img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.film__people .h3 { margin: 6px 0 12px; }
.film__people p { margin: 0; color: var(--fmuted); line-height: 1.7; }
.film__feature { margin-top: 36px; padding: 26px 28px; border-radius: 10px; background: rgba(229, 220, 203, .06); box-shadow: inset 0 0 0 1px rgba(229, 220, 203, .12); }
.film__feature-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fmuted); }
.film__feature p { margin: 0 0 18px; line-height: 1.6; }

.film__episodes { padding-top: 96px; }
.film__episodes .prose { margin-top: 18px; }
.eps { margin: 36px 0 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px 48px; align-items: start; }
.eps__out, .eps__soon { list-style: none; margin: 0; padding: 0; }
.eps__out { display: grid; gap: 40px; }
.eps__soon { border-top: 1px solid rgba(229, 220, 203, .14); }
.ep--soon { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 18px 0 19px; border-bottom: 1px solid rgba(229, 220, 203, .14); }
.ep--soon .ep__num { grid-column: 1 / -1; margin: 0; }
.ep--soon .ep__title { margin: 4px 0 0; font-size: 22px; }
.ep__status { margin: 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fmuted); }
.ep__dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.ep--post .ep__dot { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.ep--done .ep__status { color: var(--ffg); }
.ep--done .ep__dot { background: var(--accent); box-shadow: none; filter: brightness(1.4); }
.ep--soon .ep__sum { grid-column: 1 / -1; }
.ep__num { margin: 14px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fmuted); }
.ep__title { margin: 6px 0 0; font-size: 22px; line-height: 1.25; }
.ep__sum { margin: 8px 0 0; color: var(--fmuted); line-height: 1.6; max-width: 56ch; }
.ep__link { display: inline-block; margin-top: 10px; font-weight: 700; }
.film__platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.film__platforms p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fmuted); }
.film__platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }

.film__end { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; padding-top: 96px; }
.film .meta dt { color: var(--fmuted); }
.film .meta dd { color: var(--ffg); }
.film__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.film__links a { font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(229, 220, 203,.35); }
.film__links a:hover { border-color: currentColor; }
.film__links span { color: var(--fmuted); font-size: 14px; }
.film .next { background: #000; }
@media (max-width: 860px) {
  .film__about, .film__end { grid-template-columns: 1fr; gap: 40px; }
  .eps { grid-template-columns: 1fr; }
  .film .laurel { --lw: calc((100vw - 2 * var(--pad) - 30px) / 3); --lh: calc(var(--lw) * .58); }
  .player__btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}
/* header awards: film names link to their pages */
.awards__film a { color: inherit; text-decoration: none; }
.awards__film a:hover strong { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .ep--soon { grid-template-columns: 1fr; }
  .ep--soon .ep__status { margin-top: 6px; }
}

/* soft corners on every image and video frame */
:root { --radius: 10px; }
.card__media, .lead, .player, .piece__frame .player, .angle__img, .setup__photo img, .setup__diagram img, .clip__frame, .film__onesheet img, .ep__soon { border-radius: var(--radius); overflow: hidden; }
.card__media { isolation: isolate; }

/* player: red play button, running time, slow push-in on the still */
.player__btn { background: var(--accent); }
.player__btn svg { fill: var(--paper); }
.player__start:hover .player__btn { background: var(--accent); transform: scale(1.1); }
.player__start img { transition: filter .8s ease, opacity .8s ease, transform 2.4s cubic-bezier(.2, .6, .2, 1); }
.player__start:hover img, .player__start:focus-visible img { transform: scale(1.06); }
.player__label { display: flex; align-items: center; gap: 10px; }
.player__dur { padding: 3px 9px; border-radius: 999px; background: rgba(10, 9, 5, .55); font-size: 13px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; text-shadow: none; }

/* theater mode */
.theater { width: min(92vw, calc(82vh * 16 / 9), 1600px); max-width: none; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible; }
.theater::backdrop { background: rgba(6, 5, 3, .94); }
.theater[open] { animation: theater-in .45s cubic-bezier(.2, .7, .2, 1); }
.theater[open]::backdrop { animation: theater-fade .45s ease; }
@keyframes theater-in { from { opacity: 0; transform: scale(.96); } }
@keyframes theater-fade { from { opacity: 0; } }
.theater__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.theater__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.theater__title { margin: 16px 0 0; font-weight: 700; font-size: 15px; color: rgba(229, 220, 203, .8); }
.theater__close { position: fixed; top: 14px; right: 18px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(229, 220, 203, .1); color: var(--paper); font-size: 30px; line-height: 1; cursor: pointer; }
.theater__close:hover { background: rgba(229, 220, 203, .2); }
html.is-theater { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .theater[open], .theater[open]::backdrop { animation: none; } .player__start:hover img { transform: none; } }

/* ---------- reels: a phone with a vertical feed ---------- */
.reels { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px 72px; align-items: center; margin: 8px 0 56px; padding: 56px clamp(24px, 5vw, 72px); border-radius: calc(var(--radius) * 2); background: radial-gradient(120% 90% at 70% 40%, #2a2420 0%, #141210 60%, #0b0a08 100%); color: var(--paper); }
.reels__count { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a99d89; }
.reels__list { list-style: none; margin: 0; padding: 0; max-width: 420px; }
.reels__list--two { columns: 2; column-gap: 28px; max-width: none; }
.reels__list li { break-inside: avoid; }
.reels__list button { display: flex; gap: 12px; align-items: baseline; width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid rgba(229, 220, 203, .1); background: none; color: rgba(229, 220, 203, .62); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: color .2s ease; }
.reels__list button:hover, .reels__list button[aria-current] { color: var(--paper); }
.reels__list button[aria-current] .reels__n { color: var(--accent); filter: brightness(1.4); }
.reels__n { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #7d736a; font-variant-numeric: tabular-nums; }
.reels__hint { margin: 22px 0 0; font-size: 13px; color: #a99d89; }
.phone { --pw: min(340px, 78vw); position: relative; width: var(--pw); aspect-ratio: 9 / 19.5; padding: 11px; border-radius: calc(var(--pw) * .16); background: linear-gradient(145deg, #3a3532, #1a1715 45%, #2b2724); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 0 0 1px #000, 0 50px 90px -20px rgba(0, 0, 0, .8), 0 20px 40px rgba(0, 0, 0, .4); }
.phone::before, .phone::after { content: ''; position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: #2b2724; }
.phone::before { top: 22%; height: 9%; }
.phone::after { top: 34%; height: 14%; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .135); background: #000; }
.phone__feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; cursor: pointer; }
.phone__feed::-webkit-scrollbar { display: none; }
.phone__feed:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.reel { position: relative; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-size: 14px; line-height: 1.35; pointer-events: none; }
.reel__cap strong { display: block; font-size: 15px; }
.reel__cap span { display: block; opacity: .8; }
.phone__top { position: absolute; top: 0; left: 0; right: 0; height: 64px; display: flex; justify-content: center; padding-top: 12px; background: linear-gradient(rgba(0, 0, 0, .45), transparent); pointer-events: none; }
.phone__top::before { content: ''; position: absolute; top: 10px; left: 50%; width: 30%; height: 24px; margin-left: -15%; border-radius: 99px; background: #000; }
.phone__handle { position: relative; margin-top: 30px; font-size: 12px; font-weight: 700; color: #fff; opacity: .9; }
.phone__sound { position: absolute; top: 52px; right: 12px; padding: 5px 10px; border: 0; border-radius: 99px; background: rgba(0, 0, 0, .45); color: #fff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; backdrop-filter: blur(6px); }
.phone__sound[aria-pressed="true"] { background: var(--accent); }
.phone__dots { position: absolute; right: 6px; top: 50%; display: flex; flex-direction: column; gap: 4px; transform: translateY(-50%); pointer-events: none; }
.phone__dots i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: height .3s ease, background .3s ease; }
.phone__dots i.is-on { height: 12px; border-radius: 2px; background: #fff; }
@media (max-width: 860px) {
  .reels { grid-template-columns: 1fr; padding: 32px 20px 40px; justify-items: center; }
  .reels__side { order: 2; width: 100%; }
  .reels__list, .reels__list--two { columns: 1; max-width: none; }
  .phone { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .phone { transform: none; } }

/* if the browser blocks autoplay (e.g. iPhone Low Power Mode), show a play button on the reel */
.reel.needs-tap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23e4dcd4'/%3E%3C/svg%3E") 56% 50% / 26px no-repeat; pointer-events: none; }

.reels__intro { margin-bottom: 36px; }

.see-also { margin: 28px 0 0; }
.see-also a { font-weight: 700; color: var(--accent); text-decoration: none; border-bottom: 1.5px solid currentColor; }

/* a heading that ends in ? or ! gets its dot in red instead of an extra full stop */
.dot-mark { background: linear-gradient(to bottom, currentColor 0 65%, var(--accent) 65% 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- full-bleed banner loop at the top of a case study ---------- */
.banner { position: relative; height: min(78vh, 760px); min-height: 420px; overflow: hidden; background: var(--char); color: var(--paper); display: flex; align-items: flex-end; isolation: isolate; }
.banner__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 9, 5, .82) 0%, rgba(10, 9, 5, .35) 38%, transparent 62%), linear-gradient(180deg, rgba(10, 9, 5, .45) 0, transparent 140px); }
.banner__inner { width: 100%; padding-bottom: 48px; }
.banner .back { position: absolute; top: 24px; color: var(--paper); }
.banner__kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(229, 220, 203, .8); }
.banner__title { color: var(--paper); margin: 0; }
.project .banner + main { padding-top: 36px; }
@media (max-width: 760px) { .banner { height: 64svh; min-height: 360px; } .banner__inner { padding-bottom: 28px; } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px 48px; margin: 56px 0 0; padding: 32px 0; border-top: 1px solid rgba(10, 9, 5, .14); border-bottom: 1px solid rgba(10, 9, 5, .14); }
.stats dt { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--accent); }
.stats dd { margin: 10px 0 0; color: var(--muted); line-height: 1.5; max-width: 30ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- story sections: words beside a compact clip grid, alternating sides ---------- */
.story { margin-top: 72px; }
.story .prose { margin-top: 14px; }
.story--clips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; align-items: center; }
.story--flip { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.story--flip .story__text { order: 2; }
.story__clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.story__clips--odd > .clip:first-child { grid-column: 1 / -1; }
.story__clips .clip figcaption { margin-top: 8px; font-size: 14px; }
@media (max-width: 900px) { .story--clips, .story--flip { grid-template-columns: 1fr; } .story--flip .story__text { order: 0; } }
@media (max-width: 760px) { .story { margin-top: 56px; } }

/* enlarge a clip into the theater */
.clip__enlarge { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border: 0; border-radius: 99px; background: rgba(10, 9, 5, .6); color: var(--paper); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s ease; }
.clip__enlarge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.clip__enlarge:hover, .clip__enlarge:focus-visible { background: var(--accent); }
.clip__frame { cursor: default; }
.theater__frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* page palettes: a project can swap the page ground to match its client (palette: "golden") */
body.palette--golden { --ground: #e3b94e; --stone: #d4a83c; --muted: #4a3a12; --line: #8a6b1f; background: var(--ground); }
body.palette--golden .banner__title { color: #f0d27f; }
body.palette--golden .stats { border-color: rgba(10, 9, 5, .18); }
body.palette--golden .clip figcaption strong { color: var(--ink); }

/* ---------- in-store screen hero ---------- */
/* The looping scene sticks while the title, intro and segment list scroll up its right side. */
.entry { position: relative; background: var(--ground); }
.entry__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.entry__sticky::after { content: ''; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(rgba(227, 185, 78, 0), var(--ground)); pointer-events: none; }
.entry__plate { position: absolute; left: 0; top: 0; width: max(100%, 100svh * 3840 / 2500); aspect-ratio: var(--ar); }
.entry__poster, .entry__poster img, .entry__bgvid { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.entry__bgvid { opacity: 0; transition: opacity .6s ease; }
.entry__bgvid.is-on { opacity: 1; }
.entry__screen { position: absolute; left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh); overflow: hidden; background: #000; border-radius: 2px; box-shadow: 0 0 60px rgba(255, 200, 120, .22); }
.entry__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.entry__flow { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; padding: 0 var(--pad) 14vh; color: var(--ink); }
.entry__head { margin-left: 46%; padding-top: max(28px, 4.5vh); min-height: calc(100svh - 270px); }
.entry__head .back { margin: 0 0 14px; color: var(--ink); }
.entry__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.entry__title { margin: 0; font-size: clamp(44px, 5.4vw, 104px); line-height: .95; }
.entry__role { margin: 12px 0 0; max-width: 30em; font-size: 15px; font-weight: 600; color: var(--muted); }
.entry__side { width: min(520px, 40vw); margin-left: auto; }
.entry__intro, .entry .segs__item { background: rgba(236, 199, 104, .78); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.entry__intro { padding: 22px 24px; border-radius: var(--radius); font-size: 17px; line-height: 1.55; }
.entry__intro p { margin: 0; }
.entry .segs { margin-top: 28px; }
.entry .segs .h2 { margin: 0; text-shadow: 0 0 24px rgba(227, 185, 78, .9); }
.segs__hint { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.entry .segs__list { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.entry .segs__item { border-color: rgba(10, 9, 5, .12); }
.entry .segs__item:hover, .entry .segs__item[aria-current] { background: rgba(244, 214, 136, .9); border-color: var(--accent); }
.entry + #main { padding-top: 24px; }
.entry + #main > .stats:first-child, .entry + #main > .stats { margin-top: 0; }
@media (max-width: 760px) {
  /* phones: a cropped plate around the screen, then everything below it in the flow */
  .entry__sticky { position: relative; height: auto; }
  .entry__plate { position: relative; width: 100%; aspect-ratio: var(--mar); }
  .entry__sticky::after { height: 9%; }
  .entry__screen { left: var(--msx); top: var(--msy); width: var(--msw); height: var(--msh); }
  .entry__flow { margin-top: 0; padding-bottom: 8px; }
  .entry__head { margin-left: 0; min-height: 0; padding-top: 18px; }
  .entry__title { font-size: clamp(40px, 11vw, 64px); }
  .entry__side { width: auto; margin-top: 18px; }
  .entry__intro { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 16px; }
}

/* scroll cue: centered at the bottom of the screen, there until the sections after the scene come up */
.entry__cue { position: fixed; left: 50%; bottom: 22px; z-index: 3; display: grid; place-items: center; gap: 6px; transform: translateX(-50%); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: opacity .4s ease; }
.entry__cue span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(236, 199, 104, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4px 18px rgba(10, 9, 5, .18); }
.entry__cue svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: cue 1.8s ease-in-out infinite; }
.entry__cue.is-gone { opacity: 0; pointer-events: none; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .entry__cue svg { animation: none; } }
@media (max-width: 760px) { .entry__cue { display: none; } }

/* segment list */
.segs { margin-top: 64px; }
.segs__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.segs__item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; height: 100%; padding: 20px 20px 18px; border: 1px solid rgba(10, 9, 5, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .18); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.segs__item:hover, .segs__item[aria-current] { background: rgba(255, 255, 255, .38); border-color: var(--accent); }
.segs__n { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.segs__item strong { font-size: 18px; line-height: 1.25; }
.segs__note { color: var(--muted); font-size: 15px; line-height: 1.55; }
.segs__now { display: none; }
.segs__item[aria-current] .segs__go { display: none; }
.segs__item[aria-current] .segs__now { display: inline; color: var(--ink); }
.segs__play { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 960px) { .segs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .segs__list { grid-template-columns: 1fr; } }

/* vertical clips (BTS) */
.clip--vertical .clip__frame { aspect-ratio: 9 / 16; }
.story__clips--vertical { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; }

/* ---------- film scenes: silent scope clips with a screenplay slug line, cast and a short write-up ---------- */
.film__scenes { padding-top: 96px; }
.scenes__intro { margin: 14px 0 0; max-width: 46ch; color: var(--fmuted); font-size: 17px; line-height: 1.55; }
.scenes { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 72px; counter-reset: none; }
.scene { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.scene--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.scene--flip .clip { order: 2; }
.clip--scope .clip__frame { aspect-ratio: 1280 / 536; border-radius: 6px; background: #000; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.scene__slug { display: flex; align-items: baseline; gap: 14px; margin: 0; font-family: "Courier Prime", "Courier New", Courier, monospace; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--fmuted); text-transform: uppercase; }
.scene__no { font-family: inherit; font-size: 15px; color: var(--accent); }
.scene__title { margin: 12px 0 0; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -.015em; color: var(--ffg); }
.scene__body { margin: 14px 0 0; font-size: 16px; line-height: 1.6; opacity: .92; }
.scene__cast { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(229, 220, 203, .16); font-size: 14px; line-height: 1.6; color: var(--fmuted); }
.scene__cast span { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ffg); }
@media (max-width: 860px) {
  .film__scenes { padding-top: 64px; }
  .scenes { gap: 52px; }
  .scene, .scene--flip { grid-template-columns: 1fr; gap: 18px; }
  .scene--flip .clip { order: 0; }
}

/* pitch framing: a script title page beside the heading, FADE OUT at the end */
.scenes__top { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 56px; align-items: center; }
.titlepage { position: relative; aspect-ratio: 8.5 / 11; padding: 14% 10% 9%; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); color: #1d1a14; font-family: "Courier Prime", "Courier New", Courier, monospace; font-size: 12px; line-height: 1.45; border-radius: 2px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transform: rotate(-2.2deg); }
.titlepage::before { content: ''; position: absolute; left: 6%; top: 0; bottom: 0; width: 12px; background: radial-gradient(circle at 6px 6px, #b39a5e 0 4px, #6d5a2e 4.5px 5.5px, transparent 6px) 0 12% / 12px 12px no-repeat, radial-gradient(circle at 6px 6px, #b39a5e 0 4px, #6d5a2e 4.5px 5.5px, transparent 6px) 0 50% / 12px 12px no-repeat, radial-gradient(circle at 6px 6px, #b39a5e 0 4px, #6d5a2e 4.5px 5.5px, transparent 6px) 0 88% / 12px 12px no-repeat; }
.titlepage p { margin: 0; }
.titlepage__mid { margin-top: 18%; text-align: center; }
.titlepage__title { font-size: 17px; font-weight: 700; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.titlepage__sub { margin-top: 10px !important; }
.titlepage__by { margin-top: 26px !important; }
.titlepage__foot { display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; text-transform: uppercase; }
.titlepage__foot p:last-child { text-align: right; }
.scenes__head .h2 { margin: 0; }
.scenes__head .scenes__intro { max-width: 52ch; }
.scenes__outro { margin-top: 96px; padding-top: 48px; border-top: 1px solid rgba(229, 220, 203, .16); }
.scenes__fade { margin: 0 0 14px; text-align: right; font-family: "Courier Prime", "Courier New", Courier, monospace; font-weight: 700; color: var(--fmuted); }
.scenes__outro .h2 { margin: 0; }
.scenes__outro p:not(.scenes__fade) { margin: 12px 0 24px; color: var(--fmuted); font-size: 18px; }
@media (max-width: 860px) {
  .scenes__top { grid-template-columns: 1fr; gap: 36px; }
  .titlepage { width: min(260px, 70vw); }
}

/* laurels on film thumbnails (top right), sized to the card */
.card__media { container-type: inline-size; }
.card__laurels { position: absolute; z-index: 2; top: 3.5cqw; right: 3cqw; gap: 0 1.2cqw; pointer-events: none; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .65)); }
.card__laurels .laurel { --lw: clamp(64px, 15cqw, 150px); --lh: calc(var(--lw) * .56); font-size: calc(var(--lw) * .082); color: #f1eadc; }
.card__laurels .laurel__text { max-width: 64%; }
.card__laurels .laurel__win { font-size: .62em; letter-spacing: .14em; margin-bottom: .15em; }
.card__laurels .laurel__award { font-size: .64em; letter-spacing: .06em; }
.card__laurels .laurel__festival { font-size: 1em; margin: .18em 0 .12em; }
.card__laurels .laurel--long .laurel__festival { font-size: .7em; }
.card__laurels .laurel__year { font-size: .7em; }
.card__scrim { position: absolute; inset: 0 0 auto 0; height: 42%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 6, 3, .55), rgba(8, 6, 3, 0)); }
.card__scrim--right { inset: 0 0 0 auto; width: 40%; height: auto; background: linear-gradient(270deg, rgba(8, 6, 3, .6), rgba(8, 6, 3, 0)); }
.card__laurels--col { flex-direction: column; gap: 1cqw 0; top: 3cqw; }
.card__laurels--col .laurel { --lw: clamp(60px, 14cqw, 140px); }
.card__scrim--tall { height: 58%; }
.card__laurels--many { flex-wrap: wrap; justify-content: flex-end; max-width: 66cqw; gap: .4cqw 1.2cqw; }
.card__laurels--many .laurel { --lw: 14.5cqw; }
