:root {
  color-scheme: dark;
  --paper: #151612;
  --screen: #030303;
  --ink: #f1eee5;
  --soft: #b8b9ac;
  --line: #404238;
  --input: #1c1d18;
  --accent: #d9f587;
  --accent-hover: #e5ffa2;
  --serif: "Baskerville", "Baskerville Old Face", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: absolute;
  z-index: 1;
  left: 8px;
  top: 8px;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--paper);
  padding: 12px 18px;
}
.skip-link:focus { transform: none; }
.page { max-width: 1480px; margin: 0 auto; padding: 0 clamp(20px, 4.5vw, 72px); }
.masthead, figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.masthead {
  padding: 22px 0;
  min-height: 75px;
  border-bottom: 1px solid var(--line);
}
.studio-name { display: flex; align-items: baseline; gap: 16px; }
.studio-name strong { font-size: 21px; font-weight: 650; letter-spacing: -.055em; }
.studio-name > span, .credits, .work-details { font-size: 13px; color: var(--soft); }
.studio-name > span { padding-left: 15px; border-left: 1px solid var(--line); }
.credits span { margin: 0 5px; }
main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  column-gap: clamp(38px, 6.5vw, 102px);
  padding: clamp(30px, 4.2vw, 66px) 0;
}
.work, p { margin: 0; }
.screen {
  display: grid;
  place-items: center;
  background: var(--screen);
  overflow: hidden;
  border: 1px solid var(--line);
}
.screen video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(69svh, 680px);
  aspect-ratio: 1;
  object-fit: contain;
}
figcaption { padding: 18px 0; border-bottom: 1px solid var(--line); }
.work-title { font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.1; }
.work-details { margin-top: 7px; line-height: 1.5; }
.work-details span { margin: 0 3px; }
.film-control {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  min-height: 44px;
  padding: 8px 13px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
}
.film-control:hover { border-color: var(--soft); }
.film-glyph { width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.is-playing .film-glyph { clip-path: polygon(0 0, 36% 0, 36% 100%, 64% 100%, 64% 0, 100% 0, 100% 100%, 0 100%); }
.dialogue { padding: clamp(6px, 1.6vw, 24px) 0; }
h1 { font-family: var(--serif); font-size: clamp(54px, 5.85vw, 90px); font-weight: 400; letter-spacing: -.055em; line-height: .99; margin: 0; }
h1 em { color: var(--accent); }
.intro { color: var(--soft); margin-top: 20px; font-size: clamp(16px, 1.27vw, 19px); line-height: 1.55; max-width: 32ch; }
form { margin-top: clamp(28px, 3.3vw, 52px); }
label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 100px;
  border: 1px solid #616355;
  border-radius: 4px;
  background: var(--input);
  color: var(--ink);
  padding: 15px;
  line-height: 1.5;
  font-size: 16px;
}
textarea::placeholder { color: #a1a395; }
.send {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 46px;
  margin-top: 13px;
  padding: 10px 18px;
  background: var(--accent);
  border: 0;
  border-radius: 3px;
  color: var(--paper);
  font-size: 15px;
  font-weight: 650;
}
.send span { font-size: 20px; font-weight: 400; line-height: .8; }
.send:hover:enabled { background: var(--accent-hover); }
.send:disabled { opacity: .65; }
.note { color: var(--soft); font-size: 14px; line-height: 1.5; }
.note:not(:empty) { margin: 12px 0 0; }
#conversation { margin-top: 36px; border-top: 1px solid var(--line); }
#conversation h2 { font-size: 18px; letter-spacing: -.02em; margin: 22px 0 0; }
.turn { padding: 21px 0; border-bottom: 1px solid var(--line); }
.turn h3 { margin: 0 0 7px; font-size: 12px; color: var(--soft); }
.turn h3.reply-label { color: var(--accent); margin-top: 18px; }
.turn p { overflow-wrap: anywhere; white-space: pre-wrap; }
.turn .question { font-size: 16px; line-height: 1.5; }
.answer { font-family: var(--serif); font-size: clamp(22px, 1.65vw, 26px); line-height: 1.37; }
audio { display: block; width: 100%; height: 42px; margin-top: 14px; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  .masthead { padding: 17px 0; min-height: 59px; }
  main { display: block; padding: 20px 0 35px; }
  .screen video { max-height: clamp(180px, 31svh, 330px); }
  figcaption { padding: 11px 0 12px; }
  .work-title { font-size: 22px; }
  .work-details { margin-top: 3px; }
  .dialogue { padding: 27px 0 0; }
  h1 { font-size: clamp(47px, 9.5vw, 62px); }
  .intro { max-width: 44ch; margin-top: 8px; }
  form { margin-top: 22px; }
  textarea { min-height: 80px; height: 80px; }
}
@media (max-width: 480px) {
  .page { padding: 0 18px; }
  .studio-name { display: block; }
  .studio-name > span { display: block; border: 0; margin-top: 2px; padding: 0; }
  .credits { font-size: 12px; }
  .credits span { margin: 0 1px; }
  .masthead, figcaption { gap: 12px; }
}
