:root {
  color-scheme: dark;
  --bg: #0C0A10;
  --bg-2: #131018;
  --line: #2B2536;
  --text: #F2EFF7;
  --muted: #A69EB6;
  --accent: #A78BFA;
  --btn: #6E48F0;
  --btn-hover: #7F5DF5;
  --paper: #F5F4F1;
  --ink: #1B1822;
  --type: "Courier Prime", "Courier New", Courier, monospace;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.label { font: 700 14px/1.3 var(--type); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.tbc { display: inline-block; border: 1px dashed var(--muted); color: var(--muted); padding: 0 .4em; font: 400 14px/1.6 var(--body); white-space: nowrap; }

.btn {
  display: inline-block;
  padding: 13px 20px;
  background: var(--btn);
  color: #fff;
  border: 1px solid var(--btn);
  font: 700 15px/1 var(--type);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.line { background: transparent; color: var(--text); border-color: var(--text); }
.btn.line:hover { background: var(--text); color: var(--bg); }
.btn.soon { background: transparent; color: var(--muted); border: 1px dashed var(--muted); cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: baseline; gap: 28px; padding-block: 16px; }
.mark { font: 700 20px/1 var(--type); text-decoration: none; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font: 700 14px/1 var(--type); text-transform: uppercase; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 5px; }
.nav a.hire { color: var(--accent); }
@media (max-width: 760px) { .nav a:not(.hire) { display: none; } }

/* scene headings */
.scene { display: grid; grid-template-columns: 3ch 1fr; gap: 14px; align-items: baseline; font: 700 clamp(24px, 3vw, 32px)/1.2 var(--type); text-transform: uppercase; }
.scene .n { color: var(--muted); font-size: 18px; }
section { padding-block: clamp(64px, 8vw, 110px); }
section + section { border-top: 1px solid var(--line); }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.slugline { font: 700 16px/1 var(--type); color: var(--accent); }
.name { margin-top: 18px; font: 700 clamp(64px, 15vw, 188px)/.9 var(--type); letter-spacing: -.03em; white-space: nowrap; }
.name span { display: inline-block; animation: place .36s steps(3, end) both; animation-delay: calc(var(--i) * 90ms); }
.name .j { color: var(--accent); }
.name:hover span { animation: boil .42s steps(1, end) infinite; animation-delay: calc(var(--i) * -70ms); }
@keyframes place { 0% { transform: translateY(-38%) rotate(-9deg); } 100% { transform: none; } }
@keyframes boil { 0% { transform: rotate(-1.4deg) translateY(1px); } 33% { transform: rotate(1deg) translateY(-2px); } 66% { transform: rotate(-.4deg) translateY(1px); } }
.hero-grid { margin-top: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.intro { font-size: 21px; line-height: 1.5; max-width: 26ch; }
.hero-grid .actions { margin-top: 28px; }
.reel { display: block; text-decoration: none; border: 1px solid var(--line); }
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); }
.sheet img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reel-bar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-2); border-top: 1px solid var(--line); font: 700 16px/1 var(--type); text-transform: uppercase; }
.reel-bar .tri { width: 0; height: 0; border-left: 14px solid var(--accent); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.reel-bar .time { margin-left: auto; color: var(--muted); font-weight: 400; }
.reel:hover .reel-bar { color: var(--accent); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .intro { max-width: 34ch; } }

/* work */
.filters { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 6px 22px; font: 700 15px/1.6 var(--type); text-transform: uppercase; }
.filters button { font: inherit; text-transform: inherit; color: var(--muted); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.group { margin-top: 44px; }
.group > .label { margin-bottom: 18px; }
.top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.item { display: grid; gap: 10px; align-content: start; }
.item .thumb { display: block; position: relative; }
.item .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.item .thumb:hover img { filter: brightness(1.1); }
.item .time { position: absolute; right: 0; bottom: 0; background: var(--bg); padding: 4px 7px; font: 400 14px/1 var(--type); }
.item h3 { font: 600 19px/1.3 var(--body); }
.top3 .item h3 { font-size: 22px; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.item .meta { font: 400 14px/1.4 var(--type); color: var(--muted); text-transform: uppercase; }
.item .what { font-size: 16px; line-height: 1.5; }
.item .roles { font-size: 15px; color: var(--muted); }
.item .roles b { color: var(--text); font-weight: 600; }
.item .flag { font: 700 14px/1.3 var(--type); color: var(--accent); text-transform: uppercase; }
@media (max-width: 980px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .top3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .more { grid-template-columns: minmax(0, 1fr); } }

/* voice and acting */
.duo { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.duo > div { padding: 30px 0; display: grid; gap: 16px; align-content: start; }
.duo > div:first-child { padding-right: 40px; border-right: 1px solid var(--line); }
.duo > div:last-child { padding-left: 40px; }
.duo h3 { font: 700 22px/1.25 var(--type); text-transform: uppercase; }
.demo { border: 1px dashed var(--muted); padding: 18px; display: grid; gap: 4px; }
.demo b { font: 700 16px/1.3 var(--type); text-transform: uppercase; }
.demo span { color: var(--muted); font-size: 16px; }
.textlink { color: var(--accent); font: 700 15px/1.4 var(--type); text-transform: uppercase; text-underline-offset: 5px; }
.award { font: 400 16px/1.5 var(--type); color: var(--accent); }
@media (max-width: 820px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo > div:first-child { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .duo > div:last-child { padding-left: 0; }
}

/* scripts */
.writing { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.writing h3 { font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--type); }
.logline { margin-top: 16px; font-size: 20px; line-height: 1.5; }
.specs { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 16px; }
.specs dt { font: 700 14px/1.6 var(--type); text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; }
.warn { margin-top: 20px; font-size: 16px; }
.warn b { font-family: var(--type); text-transform: uppercase; }
.writing .actions { margin-top: 26px; }
.page { position: relative; background: var(--paper); color: var(--ink); padding: 44px 40px 0; height: 520px; overflow: hidden; font: 400 15px/1.55 var(--type); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); transform: rotate(1.2deg); }
.page::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, rgba(245, 244, 241, 0), var(--paper) 85%); }
.pg-num { position: absolute; right: 40px; top: 22px; }
.sc { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 12px; }
.act { margin-bottom: 12px; }
.chr { margin: 12px 0 0 38%; }
.dia { margin: 0 12% 0 22%; }
@media (max-width: 860px) {
  .writing { grid-template-columns: minmax(0, 1fr); }
  .page { transform: none; padding: 34px 22px 0; height: 460px; font-size: 14px; }
  .pg-num { right: 22px; }
  .chr { margin-left: 30%; }
  .dia { margin: 0 4% 0 14%; }
}

/* credits */
.credits-top { margin-top: 36px; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.credits-top p { max-width: 50ch; }
.table-wrap { margin-top: 24px; overflow-x: auto; }
.credits { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 16px; }
.credits th { text-align: left; font: 700 14px/1.2 var(--type); text-transform: uppercase; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 1px solid var(--text); }
.credits td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits td:first-child { font-family: var(--type); font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.credits td:nth-child(2) { font-weight: 600; }
.cv { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cv .label { margin-bottom: 10px; }
.cv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.cv p { font-size: 16px; }
.kv li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
@media (max-width: 900px) { .cv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cv { grid-template-columns: minmax(0, 1fr); } }

/* about */
.about { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 40%; }
.about-copy { display: grid; gap: 18px; max-width: 58ch; font-size: 18px; }
.about-copy .first { font-size: 22px; line-height: 1.45; }
@media (max-width: 820px) { .about { grid-template-columns: minmax(0, 1fr); } .about img { max-width: 420px; } }

/* contact */
.contact-lines { margin-top: 44px; display: grid; gap: 22px; }
.c-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.c-line .v { font: 700 clamp(24px, 4.4vw, 52px)/1.1 var(--type); letter-spacing: -.02em; overflow-wrap: anywhere; }
.copy { font: 700 14px/1 var(--type); text-transform: uppercase; color: var(--muted); background: none; border: 1px solid var(--line); padding: 8px 10px; cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--text); }
.contact-lines .label { display: block; margin-bottom: 4px; }
.socials { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 26px; font: 700 16px/1.4 var(--type); text-transform: uppercase; }
.socials a { text-underline-offset: 5px; }
.socials a:hover { color: var(--accent); }
.based { margin-top: 20px; color: var(--muted); font-size: 16px; }

footer { border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .name span, .name:hover span { animation: none; }
}

/* video player: a thumbnail turns into the YouTube player when clicked */
.player { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel .player { border: 0; }
.c-line a.v { text-decoration: none; }
.c-line a.v:hover { color: var(--accent); }
footer a { text-decoration: none; }
