:root {
  color-scheme: dark;
  --page: #0d1019;
  --panel: #141927;
  --line: #30384a;
  --ink: #f3f0e8;
  --muted: #b5bdcf;
  --accent: #c8ed74;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse 790px 560px at 62% 200px, #24365a77, transparent 90%), var(--page);
  color: var(--ink);
  font: 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img, video { width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shell { width: min(1328px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 3; padding: .7rem 1rem; background: var(--page); transform: translateY(-200%); }
.skip:focus { transform: none; }
.mast, .footer {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
}
.brand img { width: 62px; height: 31px; object-fit: contain; }
.brand span { padding-left: .85rem; border-left: 1px solid var(--line); }
.mast nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.mast nav a, .footer > a:last-child { color: var(--muted); font-size: .94rem; text-decoration: none; }
.mast nav a:hover, .footer > a:last-child:hover { color: var(--accent); }
.hero {
  display: grid;
  grid-template-columns: minmax(285px, .78fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(1.4rem, 3.8vw, 4rem);
  padding-block: clamp(3rem, 6.2vw, 6.5rem);
}
.kicker, .runtime, .player-bar, .time, .tool, figcaption span {
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
}
.kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .11em;
}
.kicker > span {
  width: .64rem;
  height: .64rem;
  background: currentColor;
  clip-path: polygon(28% 0,100% 0,72% 100%,0 100%);
}
h1, h2, h3 { font-family: var(--display); }
h1 {
  margin: .16em 0 .25em;
  font-size: clamp(3.1rem, 6.55vw, 7.1rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.027em;
  text-transform: uppercase;
}
h1 span { display: block; }
h1 .accent { color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.29rem); color: var(--muted); max-width: 30ch; }
.film-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.1rem; margin-top: 1.55rem; }
.primary, .shot-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  font-weight: 700;
  text-decoration: none;
}
.primary {
  min-height: 47px;
  padding: .65rem 1.05rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #131a0a;
  font-size: .98rem;
}
.primary:hover { background: #dbffa4; }
.play-icon {
  width: .7rem;
  height: .77rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex: none;
}
.runtime { color: var(--muted); }
.player { border: 1px solid #566483; background: #111523; padding: .55rem; box-shadow: 0 22px 80px #05071276; }
.screen {
  position: relative;
  width: 100%;
  background: #070911;
  aspect-ratio: 7 / 4;
}
.screen video { aspect-ratio: 7 / 4; height: 100%; object-fit: contain; }
.player-bar {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  padding: .62rem .48rem .19rem;
  letter-spacing: .08em;
  color: var(--muted);
}
.player-bar > span:first-child { color: var(--ink); }
.bar-sep { color: var(--accent); }
.storyboard, .workflow { border-top: 1px solid var(--line); padding-block: clamp(2.4rem, 5vw, 4.7rem); scroll-margin-top: 1.5rem; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
  align-items: end;
  gap: .8rem 2rem;
  margin-bottom: clamp(1.3rem, 3vw, 2.2rem);
}
.section-head h2 {
  margin-top: .24rem;
  font-size: clamp(2.55rem, 5vw, 5rem);
  letter-spacing: -.024em;
  font-weight: 700;
  line-height: .97;
}
.section-head > p { max-width: 39ch; color: var(--muted); font-size: 1.07rem; }
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.shot { padding: clamp(.8rem, 1.55vw, 1.4rem); border: 1px solid var(--line); background: var(--panel); }
.shot-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .83rem; }
.shot-heading h3 { font-size: 1.92rem; line-height: 1; font-weight: 700; }
.time { color: var(--muted); white-space: nowrap; }
.anchors, .designs, .motion-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.anchors img, .motion-stills img { aspect-ratio: 7 / 4; object-fit: cover; }
.anchors figcaption { display: grid; gap: .04rem; padding-top: .52rem; }
.anchors figcaption span { color: var(--muted); }
.anchors figcaption strong { font-weight: 600; font-size: 1.02rem; }
.shot-play { padding: .55rem 0 .22rem; margin-top: .65rem; color: var(--accent); justify-content: flex-start; }
.shot-play:hover { text-decoration: underline; text-underline-offset: .25rem; }
.workflow { padding-bottom: 2rem; }
.process-row {
  border-top: 1px solid var(--line);
  padding-block: clamp(1.4rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 1.4rem clamp(1.2rem, 4vw, 4.1rem);
}
.process-copy { max-width: 44ch; }
.tool { color: var(--accent); }
.process-copy h3 {
  font-size: clamp(1.95rem, 3.3vw, 3.2rem);
  line-height: 1;
  font-weight: 700;
  margin: .23rem 0 .8rem;
}
.process-copy > p:not(.tool), .finishing-copy { color: var(--muted); }
.process-copy > p + p, .finishing-copy > p + p { margin-top: .7rem; }
.designs img { aspect-ratio: 3 / 2; object-fit: cover; background: #dedede; }
.designs a, .comic a { display: block; }
.comic { max-width: 660px; }
.comic img { aspect-ratio: 1440 / 896; object-fit: contain; background: #f4f2ee; }
.designs figcaption, .motion-stills figcaption, .comic figcaption { font-size: .94rem; color: var(--muted); margin-top: .4rem; }
.finishing-copy { max-width: 58ch; }
.footer { border-top: 1px solid var(--line); border-bottom: 0; padding-block: 1.3rem; }
.footer p { color: var(--muted); font-size: .9rem; }
dialog {
  width: min(920px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: .9rem;
  color: var(--ink);
  border: 1px solid #566483;
  background: var(--panel);
}
dialog::backdrop { background: #06070de0; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .8rem; }
.dialog-head h2 { font-size: 1.9rem; line-height: 1; }
.dialog-head button {
  min-height: 39px;
  padding: .4rem .8rem;
  border: 1px solid #77819b;
  color: var(--ink);
  background: transparent;
  font: 600 .95rem var(--sans);
  cursor: pointer;
}
.dialog-head button:hover { color: var(--accent); border-color: var(--accent); }
dialog video { aspect-ratio: 7 / 4; background: #070911; object-fit: contain; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 1.8rem; }
}
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; gap: 1.7rem; padding-block: 2.8rem; }
  h1 { font-size: clamp(3.35rem, 10.7vw, 5.7rem); }
  .lede { max-width: 35ch; }
  .mast { min-height: 69px; }
  .section-head, .process-row { grid-template-columns: 1fr; }
  .section-head > p, .process-copy { max-width: 54ch; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 32px); }
  .mast { flex-wrap: wrap; padding-block: .8rem; gap: .65rem 1rem; }
  .mast nav { gap: .92rem; }
  .brand { gap: .55rem; }
  .brand img { width: 49px; height: 25px; }
  .brand span { padding-left: .55rem; }
  .shot-grid { grid-template-columns: 1fr; }
  .player { padding: .36rem; }
  .player-bar { font-size: .74rem; }
  .footer { align-items: flex-start; flex-direction: column; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
