:root {
  color-scheme: dark;

  --black: #15161a;
  --surface: #111216;
  --tile: #222328;
  --line: #26272d;
  --paper: #f5f5f5;
  --muted: #a1a2a8;
  --accent: #ffffff;

  /* Shows stills in black and white. Set to `none` to show them in colour. */
  --still-filter: grayscale(1);

  --display: 'Space Grotesk', system-ui, sans-serif;
  --impact: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --edge: clamp(16px, 4vw, 56px);
  --content-max: 1280px;
  --media-max: 1120px;
  /* Side padding that keeps page content centered at --content-max on wide screens. */
  --gutter: max(var(--edge), calc((100vw - var(--content-max)) / 2));
  --scrub-height: 44px;

  --z-card: 10;
  --z-header: 30;
  --z-scrub: 40;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding-bottom: var(--scrub-height);
  background: var(--black);
  color: var(--paper);
  font: 400 1rem/1.6 var(--sans);
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }

h2 {
  font: 700 clamp(2rem, 4vw, 3.25rem)/1.1 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: calc(var(--z-header) + 20);
  padding: 10px 16px;
  background: var(--paper);
  color: var(--black);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.eyebrow, .slate {
  font: 500 .8125rem/1.4 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.slate {
  color: var(--muted);
  margin-bottom: 14px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  font-weight: 600;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button svg { width: 18px; height: 18px; fill: currentColor; }
.button--primary { background: var(--accent); color: var(--black); }
.button--primary:hover { background: #c4c4c4; }
.button--quiet { border-color: rgb(245 245 245 / .4); font-size: .9375rem; }
.button--quiet:hover { background: var(--paper); border-color: var(--paper); color: var(--black); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 var(--gutter);
  transition: background-color .2s;
}
.site-header.is-solid {
  background: rgb(10 10 10 / .94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 700 1.375rem/1.1 var(--display);
  letter-spacing: .02em;
  text-decoration: none;
}
.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.brand__by {
  color: var(--muted);
  font: 500 .8125rem/1 var(--mono);
  letter-spacing: 0;
  text-transform: none;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s;
}
.primary-nav a:hover { color: var(--muted); }
.primary-nav .primary-nav__cta {
  gap: 8px;
  min-height: 38px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  background: var(--accent);
  font-size: .875rem;
  color: var(--black);
  font-weight: 600;
  transition: background-color .18s;
}
.primary-nav__cta .hire-button__dot { width: 8px; height: 8px; }
.primary-nav .primary-nav__cta:hover { background: #c4c4c4; color: var(--black); }

.menu-toggle {
  display: none;
  min-width: 64px;
  min-height: 44px;
  border: 1px solid rgb(245 245 245 / .5);
  border-radius: 12px;
  background: rgb(10 10 10 / .5);
  font: 500 .8125rem var(--mono);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100svh - var(--scrub-height));
  padding: 96px var(--gutter) clamp(32px, 6vh, 64px);
  overflow: hidden;
  isolation: isolate;
}

.hero__reel, .hero__scrim { position: absolute; inset: 0; z-index: -1; }
.hero__reel { background: var(--surface); filter: var(--still-filter); }
.hero__reel img, .hero__reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
}
.hero__reel .is-active, .hero__reel .hero__first { visibility: visible; }
.hero__reel video { visibility: visible; opacity: 0; }
.hero__reel video.is-active { opacity: 1; z-index: 1; }
/* Keep this duration in step with HERO_FADE_SECONDS in js/main.js. */
.hero__reel video.is-fading-in { opacity: 1; z-index: 2; transition: opacity 1s linear; }

@media (prefers-reduced-motion: no-preference) {
  .hero__reel img.is-active { animation: push-in 3.4s linear forwards; }
  .hero.is-paused .hero__reel img.is-active { animation-play-state: paused; }
}

@keyframes push-in {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

.hero__scrim {
  background:
    linear-gradient(to top, rgb(10 10 10 / .94) 0%, rgb(10 10 10 / .68) 42%, rgb(10 10 10 / .08) 74%),
    linear-gradient(to bottom, rgb(10 10 10 / .7), transparent 22%);
}

.viewfinder {
  position: absolute;
  inset: 76px var(--edge) 20px;
  z-index: -1;
  font: 500 .8125rem/1 var(--mono);
  pointer-events: none;
}
.viewfinder__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: solid rgb(245 245 245 / .75);
  border-width: 0;
}
.viewfinder__corner--tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.viewfinder__corner--tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.viewfinder__corner--bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder__corner--br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.viewfinder__readout {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.monitor-label { display: inline-flex; align-items: center; gap: 8px; }
.monitor-label__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.hero__content { width: 100%; }
.hero__title {
  margin: 14px 0 clamp(20px, 3vh, 32px);
  /* Anton is a free font close to Impact. It has one weight, so a thin stroke adds extra. */
  font: 400 min(9.6vw, clamp(2.75rem, 6vw, 5.75rem))/1.1 var(--impact);
  letter-spacing: .005em;
  -webkit-text-stroke: .012em currentColor;
  color: #c8c8c8;
  text-align: center;
}
.hero__content > .eyebrow { text-align: center; }
.hero__title em { color: var(--accent); font-style: normal; }
.hero__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vh, 28px);
}
.hero__lede { max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.1875rem); text-align: center; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; flex: none; }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) var(--gutter); }
.section__head { margin-bottom: clamp(32px, 4.5vw, 56px); text-align: center; }

/* Work */
.section__lede { max-width: 60ch; margin: 16px auto 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1875rem); }
.section__lede a { color: var(--paper); }
.showreel { padding-bottom: 0; }
.showreel__frame { width: min(100%, var(--media-max)); margin-inline: auto; }
.showreel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s;
}
.showreel__sound {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: 999px;
  background: rgb(0 0 0 / .45);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .18s;
}
.showreel__sound svg { width: 18px; height: 18px; fill: currentColor; }
.card-button:hover .showreel__sound { background: rgb(0 0 0 / .7); }
.showreel__frame.is-playing .showreel__video { opacity: 1; }
.showreel__frame.is-playing .showreel__sound { display: inline-flex; }
.showreel__frame.is-playing .card-button__play { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 20px; }
.filters:empty { display: none; }
.filter {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: none;
  font: 500 .8125rem var(--mono);
  transition: background-color .18s, color .18s, border-color .18s;
}
.filter:hover { border-color: var(--paper); }
.filter[aria-pressed='true'] { background: var(--paper); border-color: var(--paper); color: var(--black); }

.work-grid {
  display: grid;
  max-width: var(--media-max);
  margin-inline: auto;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}
/* Two films per row, with a lone last film centered. */
.work-card { grid-column: span 6; min-width: 0; }
.work-card:last-child:nth-child(odd) { grid-column: 4 / span 6; }

.card-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgb(0 0 0 / .5);
}
.card-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .25s;
}
.card-button:hover img, .card-button:focus-visible img { transform: scale(1.04); filter: brightness(.9); }
.card-button:focus-visible { outline-offset: -4px; }

.card-button__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: clamp(56px, 5.5vw, 76px);
  height: clamp(56px, 5.5vw, 76px);
  margin: auto;
  border: 1px solid rgb(255 255 255 / .5);
  border-radius: 50%;
  background: rgb(255 255 255 / .22);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgb(0 0 0 / .3);
  transition: background-color .18s, transform .18s;
}
.card-button:hover .card-button__play {
  background: rgb(255 255 255 / .34);
  transform: scale(1.06);
}
.card-button__play svg { width: 40%; height: 40%; fill: currentColor; }
.showreel__frame .card-button__play {
  width: clamp(64px, 8vw, 104px);
  height: clamp(64px, 8vw, 104px);
}

/* Cards */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card {
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--tile);
  color: var(--paper);
}
.card h3 { font: 600 1.25rem/1.25 var(--display); letter-spacing: -.01em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card__label { display: block; margin-top: 8px; color: var(--muted); font-weight: 500; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.card p:last-child { margin-top: 12px; color: var(--muted); font-size: .9688rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 14px 22px;
  font-weight: 500;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex: none; font-size: 1.25rem; color: var(--muted); }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item summary:hover { color: var(--muted); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__answer a { color: var(--paper); text-underline-offset: 3px; }
.home-faq .faq { margin-inline: auto; }
.home-faq__more { margin-top: 24px; color: var(--muted); text-align: center; }
.home-faq__more a { display: inline-block; padding: 10px 0; color: var(--paper); text-underline-offset: 4px; }

/* Inner pages */
.page-sub { --scrub-height: 0px; }
.page-hero { padding: 120px var(--gutter) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 {
  max-width: 20ch;
  margin: 18px 0 20px;
  font: 700 clamp(2.25rem, 4.5vw, 4rem)/1.1 var(--display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.page-hero__lede { max-width: 62ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.page-hero__byline { margin-top: 16px; color: var(--muted); font-size: .9375rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0 8px; color: var(--muted); font: 500 .8125rem/1.4 var(--mono); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; }
.breadcrumb a { display: inline-block; padding: 10px 0; text-underline-offset: 3px; }
.breadcrumb li[aria-current] { padding: 10px 0; color: var(--paper); }

.prose { max-width: calc(760px + 2 * var(--gutter)); padding: clamp(32px, 5vw, 64px) var(--gutter); }
.prose h2 { margin: 48px 0 14px; font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--paper); text-underline-offset: 3px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--muted); }
.prose .checklist { padding-left: 0; list-style: none; }
.prose .checklist li { position: relative; padding-left: 28px; }
.prose .checklist li::before {
  content: '';
  position: absolute;
  top: .35em;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--muted);
  border-radius: 4px;
}
.prose table { display: block; width: 100%; margin: 0 0 16px; overflow-x: auto; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--muted); font: 500 .8125rem/1.4 var(--mono); text-transform: uppercase; }
.prose td a { overflow-wrap: anywhere; }
.prose__note { color: var(--muted); font-size: .875rem; }
.prose pre { margin: 0 0 16px; padding: 16px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font: 400 .875rem/1.6 var(--mono); }
.prose .faq { margin-bottom: 16px; }

.guide-list { padding-left: 0 !important; list-style: none !important; border-top: 1px solid var(--line); }
.guide-list li { margin: 0; border-bottom: 1px solid var(--line); }
.guide-list a { display: block; padding: 18px 0; text-decoration: none; }
.guide-list strong { display: block; font: 700 clamp(1.5rem, 3vw, 2.25rem)/1.1 var(--display); }
.guide-list span { display: block; margin-top: 6px; color: var(--muted); }
.guide-list a:hover strong { color: var(--muted); }

.page-cta { padding: clamp(40px, 6vw, 72px) var(--gutter); background: var(--surface); }
.page-cta h2 { margin-bottom: 12px; }
.page-cta p { max-width: 60ch; margin-bottom: 20px; color: var(--muted); }
.page-cta .button { text-decoration: none; }

/* About */
.about__layout { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 64px); align-items: center; max-width: var(--media-max); margin-inline: auto; }
.about__image img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; object-fit: cover; filter: var(--still-filter); }
.about__lede { margin-bottom: 16px; font-size: 1.1875rem; font-weight: 500; }
.about__body > p:not(.about__lede) { color: var(--muted); transition: color .2s, border-color .2s; }
@media (hover: hover) {
  .about__body > p:not(.about__lede):hover { color: var(--paper); }
  .about__note:hover { border-left-color: var(--paper); }
}
.about__body > p + p { margin-top: 16px; }
.about__body a, .page-hero__lede a { color: var(--paper); text-underline-offset: 3px; }
.about__note { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--line); }
.kit { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.kit div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kit dt { color: var(--muted); font-weight: 500; font-size: .8125rem; line-height: 1.9; letter-spacing: .08em; text-transform: uppercase; }

/* Contact */
.contact { text-align: center; }
.contact__note { margin-top: 18px; color: var(--muted); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.contact__methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px clamp(40px, 6vw, 96px); }
.contact__method { display: grid; justify-items: center; gap: 6px; min-width: 0; text-decoration: none; }
.contact__icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 10px; border-radius: 50%; background: var(--tile); transition: background-color .18s; }
.contact__method:hover .contact__icon { background: #303138; }
.contact__label { color: var(--muted); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; }
.contact__value { font-weight: 500; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); overflow-wrap: anywhere; }
.contact__follow { margin: clamp(48px, 6vw, 72px) 0 18px; color: var(--muted); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.socials a { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .18s; }
.socials a:hover { background: var(--tile); }
.socials .icon { width: 20px; height: 20px; }

/* Footer */
.site-footer {
  padding: clamp(48px, 6vw, 72px) var(--gutter) 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: .9375rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px clamp(32px, 4vw, 64px);
}
.site-footer__logo { display: inline-block; font: 700 1.5rem/1.2 var(--display); letter-spacing: -.01em; text-decoration: none; }
.site-footer__logo span { display: block; margin-top: 2px; color: var(--muted); font: 400 .8125rem/1.5 var(--sans); letter-spacing: .06em; }
.site-footer__brand p { max-width: 34ch; margin-top: 16px; color: var(--muted); }
.site-footer .socials { justify-content: flex-start; gap: 10px; margin-top: 20px; }
.site-footer .socials a { width: 44px; height: 44px; }
.site-footer .socials .icon { width: 18px; height: 18px; }
.site-footer__title { margin-bottom: 12px; font-weight: 500; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__col a, .site-footer__bottom a {
  display: inline-block;
  padding: 7px 0;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s;
}
.site-footer__col a:hover, .site-footer__bottom a:hover { color: var(--paper); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

/* Floating "Hire me" button */
.hire-button {
  position: fixed;
  right: var(--edge);
  bottom: calc(var(--scrub-height) + 20px);
  z-index: calc(var(--z-header) - 1); /* Stays under the open mobile menu. */
  min-height: 52px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  box-shadow: 0 8px 28px rgb(0 0 0 / .45);
  text-decoration: none;
  transition: background-color .18s, opacity .2s, visibility .2s;
}
.hire-button.is-hidden { opacity: 0; visibility: hidden; }
.hire-button__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--black); }

@media (prefers-reduced-motion: no-preference) {
  .hire-button__dot { animation: hire-pulse 2s ease-in-out infinite; }
}

@keyframes hire-pulse {
  50% { opacity: .25; }
}

/* Scrubber */
.scrub {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--z-scrub);
  display: flex;
  height: var(--scrub-height);
  background: var(--black);
  border-top: 1px solid var(--line);
}
.scrub__tc {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
  color: var(--accent);
  font: 500 .8125rem var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scrub__track { position: relative; flex: 1; display: flex; min-width: 0; }
.scrub__segment {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 10px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font: 500 .8125rem var(--mono);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s, color .18s;
}
.scrub__segment:hover { background: var(--surface); color: var(--paper); }
.scrub__segment[aria-current='true'] { background: var(--surface); color: var(--paper); }
.scrub__segment:focus-visible { outline-offset: -3px; }
.scrub__head {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--progress, 0) * 100%);
  width: 2px;
  background: var(--accent);
  pointer-events: none;
}
.scrub__head::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  border: 5px solid transparent;
  border-top-color: var(--accent);
}
.scrub__fill { display: none; }

/* Player */
.player {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--black);
  color: var(--paper);
}
.player::backdrop { background: rgb(0 0 0 / .9); }
.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
}
.player__title { min-width: 0; font: 700 1.5rem/1.1 var(--display); }
.player__controls { display: flex; flex: none; gap: 4px; }
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: none;
  transition: background-color .18s;
}
.icon-button:hover { background: var(--line); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.player__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 72dvh;
  width: 100%;
  background: #000;
}
.player__stage iframe, .player__stage video, .player__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
.player__stage img { filter: var(--still-filter); }
.player__notice {
  position: absolute;
  inset: auto 12px 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  background: rgb(0 0 0 / .85);
  font: 400 .8125rem/1.4 var(--mono);
}
.player__meta {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 16px 40px;
  padding: 20px 16px 24px;
}
.player__meta dl { display: grid; gap: 8px; }
.player__meta dl div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; }
.player__meta dt { color: var(--muted); font: 500 .8125rem/1.8 var(--mono); }

/* Tablet */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--black);
    border-bottom: 1px solid var(--line);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { min-height: 52px; font-size: 1.125rem; }
  .primary-nav .primary-nav__cta { justify-content: center; min-height: 52px; margin-top: 10px; font-size: 1.125rem; }



  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about__layout { grid-template-columns: 1fr; }
  .about__image { width: 100%; max-width: 480px; margin-inline: auto; }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --scrub-height: 3px; }

  .viewfinder__spec { display: none; }
  .hero__title { -webkit-text-stroke: 0; }

  .work-grid { grid-template-columns: 1fr; }
  .work-card,
  .work-card:last-child:nth-child(odd) { grid-column: auto; }

  .card-grid, .player__meta { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }

  .hero__actions, .hero__actions .button { width: 100%; }

  .scrub { border-top: 0; background: var(--line); }
  .scrub__tc, .scrub__segment, .scrub__head { display: none; }
  .scrub__fill {
    display: block;
    width: 100%;
    background: var(--accent);
    transform: scaleX(var(--progress, 0));
    transform-origin: left;
  }
}

@media (max-height: 620px) and (min-width: 641px) {
  .hero__title { font-size: clamp(2.5rem, 5vw, 4.25rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
