/* Layout: one dark production slate. The show's own figures (shot codes,
   bid days, tokens, margin) run through it in mono, the way they read in
   the product; cyan marks only what to look at or click. */
:root {
  --ink: #07090b;
  --slate: #0e1215;
  --raise: #151a1e;
  --line: rgba(214, 236, 242, 0.10);
  --fg: #e8eef0;
  --muted: #8d999e;
  --cyan: #00f6ff;
  --cyan-ink: #031417;
  --display: "Anton", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink); color: var(--fg);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }

.eyebrow { font: 500 12.5px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { color: var(--cyan); font-weight: 500; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(48px, 8.4vw, 112px); line-height: 0.95; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1; }
h3 { font: 600 21px/1.3 var(--body); margin: 0; text-wrap: balance; }
p { margin: 0; }
.accent { color: var(--cyan); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--body); text-decoration: none;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--cyan-ink); }
.btn-primary:hover { background: #7ffaff; }
.btn-quiet { border-color: var(--line); color: var(--fg); }
.btn-quiet:hover { border-color: rgba(0, 246, 255, 0.5); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* Header */
header.band { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(7, 9, 11, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.bar img { height: 20px; width: auto; }
.bar nav { display: flex; gap: 24px; margin-left: auto; }
.bar nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.bar nav a:hover { color: var(--fg); }
.bar .btn { padding: 10px 16px; font-size: 14.5px; }
@media (max-width: 640px) { .bar nav { display: none; } .bar .btn { margin-left: auto; } }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 112px) 0; }
.hero .wrap { display: grid; gap: 28px; }
.hero .lede { max-width: 40ch; font-size: clamp(18px, 2vw, 21px); color: #c3cdd1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.screen { margin-top: clamp(36px, 5vw, 56px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--slate); box-shadow: 0 30px 120px -40px rgba(0, 246, 255, 0.28); }
.screen video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 12px 16px; border-top: 1px solid var(--line); font: 400 13px/1.4 var(--mono); color: var(--muted); }
.caption span:first-child { color: var(--fg); }

/* The show, stage by stage */
.show { padding-block: clamp(72px, 9vw, 120px) 0; }
.show .head { display: grid; gap: 14px; max-width: 760px; }
.stages { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stages li { padding: 20px 18px 4px 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.stages li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.stages .n { font: 500 12px/1 var(--mono); color: var(--cyan); letter-spacing: 0.1em; }
.stages strong { font: 600 17px/1.3 var(--body); }
.stages .fig { font: 500 22px/1.15 var(--mono); color: var(--fg); font-variant-numeric: tabular-nums; }
.stages .note { font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 980px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stages li:nth-child(4) { padding-left: 0; border-left: 0; }
  .stages li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stages li:nth-child(4) { padding-left: 18px; border-left: 1px solid var(--line); }
  .stages li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stages li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Who it's for */
.who { padding-block: clamp(80px, 10vw, 136px) 0; }
.who > .wrap > .head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.role { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.role:nth-of-type(even) .copy { order: 2; }
.role .copy { display: grid; gap: 14px; min-width: 0; }
.role .copy > p { color: #c3cdd1; max-width: 46ch; }
.role ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.role li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15.5px; max-width: 50ch; }
.role li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--cyan); }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--slate); min-width: 0; }
.shot img { width: 100%; height: auto; }
.shot.tall { max-width: 380px; justify-self: center; }
@media (max-width: 820px) {
  .role { grid-template-columns: minmax(0, 1fr); }
  .role:nth-of-type(even) .copy { order: 0; }
}

/* Tutorials */
.learn { padding-block: clamp(80px, 10vw, 136px) 0; }
.learn .head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.learn .head p { color: #c3cdd1; }
.playlists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.playlist { background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.playlist .total { margin-top: auto; }
.playlist .for { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.playlist > p { color: var(--muted); font-size: 15px; }
.playlist ol { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: v; }
.playlist li { counter-increment: v; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.35; }
.playlist li::before { content: counter(v, decimal-leading-zero); font: 400 12px/1 var(--mono); color: var(--muted); }
.playlist li a { text-decoration: none; }
.playlist li a:hover { color: var(--cyan); }
.playlist .len { font: 400 13px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.playlist .total { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font: 400 13px/1.4 var(--mono); color: var(--muted); }
.playlist .total a { color: var(--fg); text-decoration: none; }
.playlist .total a:hover { color: var(--cyan); }
@media (max-width: 980px) { .playlists { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* Close */
.close { padding-block: clamp(88px, 11vw, 144px); }
.close .wrap { display: grid; gap: 22px; justify-items: start; }
.close p { color: #c3cdd1; max-width: 52ch; font-size: 18px; }
footer.band { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-block: 24px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
footer img { height: 14px; width: auto; opacity: 0.8; }

/* Playlist rows with thumbnails (home) */
.playlist li { grid-template-columns: 22px 72px minmax(0, 1fr) auto; }
.playlist li .thumb { width: 72px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.playlist li a.row { display: contents; color: inherit; }
.playlist li a.row:hover .t { color: var(--cyan); }
.playlist .more { margin-top: 28px; }

/* Header: the current page */
.bar nav a[aria-current="page"] { color: var(--fg); }

/* Tutorials index */
.page-head { padding-block: clamp(48px, 7vw, 88px) 0; }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(44px, 6.4vw, 84px); }
.page-head p.lede { max-width: 58ch; color: #c3cdd1; font-size: 18px; }
.shelf { padding-block: clamp(48px, 6vw, 72px) 0; }
.shelf .head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 24px; }
.shelf .head p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.card { display: grid; gap: 10px; text-decoration: none; color: inherit; align-content: start; min-width: 0; }
.card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); transition: border-color .15s ease, transform .15s ease; }
.card:hover img { border-color: rgba(0, 246, 255, 0.55); transform: translateY(-2px); }
.card .meta { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.card h3 { font-size: 17px; }
.card:hover h3 { color: var(--cyan); }
.card .len { font: 400 13px/1 var(--mono); color: var(--muted); flex: none; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.end { padding-block: clamp(72px, 9vw, 112px); }

/* Tutorial page */
.crumbs { font: 400 13px/1.4 var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.watch { padding-block: 28px 0; }
.watch .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px; align-items: start; }
.player { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; }
.player video, .player iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.chapters { background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 16px 8px 8px; max-height: min(560px, 56vw); overflow-y: auto; }
.chapters h2 { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; color: var(--muted); padding: 0 10px 8px; }
.chapters ol { list-style: none; margin: 0; padding: 0; }
.chapters a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-radius: 6px; text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.chapters a:hover, .chapters a.on { background: var(--raise); }
.chapters a.on .c { color: var(--cyan); }
.chapters .c { font: 400 12.5px/1.6 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .watch .wrap { grid-template-columns: minmax(0, 1fr); } .chapters { max-height: none; } }

.about { padding-block: clamp(40px, 5vw, 64px) 0; }
.about .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
.about .intro { font-size: 18.5px; color: #c3cdd1; max-width: 60ch; }
.points { background: var(--slate); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.points ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 18px; font-size: 15.5px; color: #c3cdd1; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--cyan); }
@media (max-width: 900px) { .about .wrap { grid-template-columns: minmax(0, 1fr); } }

.steps { padding-block: clamp(56px, 7vw, 88px) 0; }
.steps > .wrap > .head { display: grid; gap: 10px; margin-bottom: 8px; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 40px); padding-block: 28px; border-top: 1px solid var(--line); align-items: start; }
.step .copy { display: grid; gap: 10px; min-width: 0; }
.step .n { font: 500 12px/1 var(--mono); color: var(--cyan); letter-spacing: 0.1em; }
.step .copy p { color: #c3cdd1; font-size: 16px; }
.step .copy strong { color: var(--fg); font-weight: 600; }
.step .copy em { color: var(--fg); }
.step img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 820px) { .step { grid-template-columns: minmax(0, 1fr); } }

.next { padding-block: clamp(64px, 8vw, 104px); }
.next .wrap { display: grid; gap: 20px; }
.next .card { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: center; }
.next .card .txt { display: grid; gap: 8px; }
@media (max-width: 640px) { .next .card { grid-template-columns: minmax(0, 1fr); } }
.also { font-size: 15px; color: var(--muted); }
.also a { color: var(--fg); }

/* Playlist rows: number, thumbnail, title and length share one top line. */
.playlist li { align-items: start; }
.playlist li::before, .playlist li .len { padding-top: 3px; }
.playlist li .t { padding-top: 1px; }
.card .meta { align-items: start; }

/* Made on Loft: the productions themselves, then the tally across them. */
.made { padding-block: clamp(80px, 10vw, 128px) 0; }
.made .head { display: grid; gap: 14px; margin-bottom: 32px; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.credits li { display: grid; gap: 6px; padding: 22px 18px 22px 0; min-width: 0; }
.credits li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.credits .name { font: 400 clamp(34px, 4.4vw, 56px)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.credits .facts { font: 400 13px/1.4 var(--mono); color: var(--muted); }
.tally { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tally div { padding: 18px 18px 18px 0; display: grid; gap: 4px; min-width: 0; }
.tally div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.tally dt { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tally dd { margin: 0; font: 500 clamp(24px, 2.6vw, 32px)/1.1 var(--mono); color: var(--cyan); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
  .credits { grid-template-columns: minmax(0, 1fr); }
  .credits li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tally div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.made .head p:not(.eyebrow) { color: #c3cdd1; max-width: 56ch; }
.made .tally-head { margin: 32px 0 0; padding-bottom: 4px; }
.made .tally { margin-top: 10px; }

/* Our story */
.story-head .lede { max-width: 62ch; }
.career, .research, .shows { padding-block: clamp(72px, 9vw, 120px) 0; }
.career .head, .research .head, .shows .head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 36px; }
.career .head p:not(.eyebrow), .research .head p:not(.eyebrow) { color: #c3cdd1; }
.years { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.years li { display: grid; grid-template-columns: 96px minmax(0, 260px) minmax(0, 1fr); gap: 8px 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.years .yr { font: 500 15px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.years strong { font: 600 18px/1.3 var(--body); }
.years li > span:last-child { color: var(--muted); font-size: 15.5px; }
.years li.now .yr, .years li.now strong { color: var(--cyan); }
.years li.now > span:last-child { color: #c3cdd1; }
@media (max-width: 720px) {
  .years li { grid-template-columns: 64px minmax(0, 1fr); }
  .years li > span:last-child { grid-column: 2; }
}
.qa { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.qa div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; min-width: 0; }
.qa dt { font: 600 19px/1.35 var(--body); text-wrap: balance; }
.qa dd { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .qa { grid-template-columns: minmax(0, 1fr); } }
.shows .credits { list-style: none; }
.shows .credits .facts { font: 400 15px/1.5 var(--body); color: var(--muted); max-width: 34ch; }
.close .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Our story: a full-bleed frame behind the opening, the shows as galleries. */
.story-hero { position: relative; overflow: hidden; background: var(--ink); }
.story-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0.7; }
.story-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 11, 0.94) 0%, rgba(7, 9, 11, 0.72) 48%, rgba(7, 9, 11, 0.2) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(7, 9, 11, 0) 40%); }
.story-hero > .band { position: relative; z-index: 1; padding-block: clamp(96px, 14vw, 200px) clamp(56px, 7vw, 96px); }
.story-hero .wrap { display: grid; gap: 22px; }
.story-hero h1 { font-size: clamp(48px, 7.6vw, 104px); }
.story-hero .lede { max-width: 56ch; font-size: clamp(17px, 1.8vw, 20px); color: #d3dbde; }
.hero-credit { position: relative; z-index: 1; margin: 0; padding-block: 0 20px; font: 400 12.5px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.hero-credit .wrap { display: block; }

.director { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 36px; }
.director .head { margin-bottom: 0; }
.director:has(.portrait) { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.portrait { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.portrait figcaption { padding: 10px 14px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); border-top: 1px solid var(--line); background: var(--slate); }
@media (max-width: 720px) { .director:has(.portrait) { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 320px; } }

.shows .head p:not(.eyebrow) { color: #c3cdd1; }
.show-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "copy lead" ". strip"; gap: 14px clamp(24px, 4vw, 48px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.show-copy { grid-area: copy; display: grid; gap: 12px; align-content: start; min-width: 0; }
.show-copy p:not(.eyebrow) { color: #c3cdd1; max-width: 40ch; }
.show-name { font: 400 clamp(44px, 5.6vw, 76px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; margin: 0; }
.show-row .lead { grid-area: lead; margin: 0; min-width: 0; }
.show-row .lead img, .strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.strip { grid-area: strip; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.show-row.featured .lead img { box-shadow: 0 30px 120px -50px rgba(0, 246, 255, 0.35); }
@media (max-width: 820px) {
  .show-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "lead" "strip"; }
  .strip { gap: 8px; }
}
.show-copy .press { font: 400 13px/1.5 var(--mono); color: var(--muted); }
.show-copy .press a { color: var(--fg); text-decoration-color: rgba(0, 246, 255, 0.5); text-underline-offset: 3px; }
.show-copy .press a:hover { color: var(--cyan); }

/* Header: Sign in beside Get started. */
.bar .account { display: flex; align-items: center; gap: 18px; flex: none; }
.bar .sign-in { color: var(--fg); text-decoration: none; font-size: 15px; font-weight: 500; }
.bar .sign-in:hover { color: var(--cyan); }
@media (max-width: 640px) { .bar .account { margin-left: auto; gap: 14px; } }
