:root {
  --void: #071018;
  --ink: #0e1a24;
  --panel: #122230;
  --hair: #1e3344;
  --mist: #9bb0c2;
  --lunar: #d7e4ee;
  --paper: #e8eef4;
  --ember: #e07a4a;
  --ember-dim: #b45c36;
  --ok: #7db8a5;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: radial-gradient(1200px 600px at 10% -10%, #163044 0%, var(--void) 55%);
  color: var(--lunar);
  font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif;
  letter-spacing: 0.01em;
  touch-action: manipulation;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  z-index: 8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.05rem 6vw;
  padding-top: max(1.05rem, env(safe-area-inset-top));
  padding-left: max(6vw, env(safe-area-inset-left));
  padding-right: max(6vw, env(safe-area-inset-right));
  background: color-mix(in srgb, var(--void) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
img.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.foot-brand img.brand-mark {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 0.75rem;
}
.brand-name {
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--mist);
  margin-left: auto;
}
.nav a[aria-current="page"] { color: var(--lunar); }

#app { min-height: calc(100vh - 10rem); position: relative; z-index: 2; }
.wrap { width: min(1120px, 88vw); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  padding: 5.5rem 7vw 4rem;
  align-items: center;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--ember);
  text-transform: uppercase;
}

h1, h2, h3 { font-family: "Noto Serif SC", serif; font-weight: 600; margin: 0.3rem 0 0.8rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.15; letter-spacing: 0.04em; }
.lede { color: var(--mist); font-size: 1.05rem; line-height: 1.8; max-width: 36rem; }

.cta-row { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.btn {
  border: 1px solid var(--ember);
  background: transparent;
  color: var(--lunar);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}
.btn-solid { background: var(--ember); color: #1a0d08; border-color: var(--ember); font-weight: 600; }

.slice {
  background: var(--ink);
  border: 1px solid var(--hair);
  border-radius: 2px;
  padding: 1.4rem 1.5rem 1.6rem;
  min-height: 28rem;
  position: relative;
}
.slice::before {
  content: "";
  position: absolute;
  width: 4.2rem;
  height: 4.2rem;
  border: 1px solid color-mix(in srgb, var(--ember) 70%, white);
  border-radius: 50%;
  right: 1.2rem;
  top: 1.2rem;
  opacity: 0.55;
}
.slice-kicker { font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; color: var(--mist); }
.slice .heading {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--mist);
  margin: 1rem 0 0.6rem;
}
.slice .scene { margin-top: 1.1rem; color: var(--paper); }
.char { font-weight: 600; letter-spacing: 0.12em; font-size: 0.82rem; color: var(--ember); }
.parenthetical { color: var(--mist); font-size: 0.82rem; }
.dialogue { margin: 0.15rem 0 0.9rem; line-height: 1.75; }
.action { color: var(--mist); line-height: 1.75; margin: 0.6rem 0; }

.section { padding: 1rem 7vw 4rem; }
.section h2 { font-size: 1.8rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--hair);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
.cover-frame {
  position: relative;
  width: 100%;
  height: 17.5rem;
  min-height: 17.5rem;
  max-height: 17.5rem;
  overflow: hidden;
  background: #10202b;
  flex: 0 0 17.5rem;
}
.cover-frame img,
.cover-frame .cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #10202b;
}
.card-body p { color: var(--mist); font-size: 0.9rem; line-height: 1.55; margin: 0 0 0.6rem; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.meta { color: var(--mist); font-size: 0.8rem; font-family: "IBM Plex Mono", monospace; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.step { border-top: 1px solid var(--hair); padding-top: 1rem; }
.step b { font-family: "IBM Plex Mono", monospace; color: var(--ember); font-weight: 500; }

.library-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 2.4rem 0 1rem;
  flex-wrap: wrap;
}
.search {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hair);
  padding: 0.45rem 0;
  min-width: 16rem;
  outline: none;
}
.search:focus { border-bottom-color: var(--ember); }

.reader {
  display: grid;
  grid-template-columns: 8.5rem 1fr 16rem;
  gap: 1.6rem;
  padding: 2rem 7vw 4rem;
}

.iris {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: sticky;
  top: 5.5rem;
  height: fit-content;
}
.iris button {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--hair);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.iris button.current {
  border-color: var(--ember);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ember) 16%, transparent);
}
.iris button.locked { opacity: 0.45; }
.iris .n { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; }

.paper {
  --reader-fs: 18px;
  background: var(--paper);
  color: #1b2730;
  padding: 2.4rem 8% 3.4rem;
  min-height: 70vh;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  font-size: var(--reader-fs);
}
.paper .ep-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.35em;
  margin-bottom: 0.3rem;
}
.paper .heading {
  margin: 1.8rem 0 0.8rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78em;
  letter-spacing: 0.12em;
  color: #5d7382;
}
.paper .char {
  font-size: 0.9em;
  color: #9a4a1f;
}
.paper .parenthetical {
  font-size: 0.88em;
  color: #5d7382;
}
.paper .dialogue,
.paper .action {
  font-size: 1em;
}
.paper .action { color: #4a5d6a; }
.tools { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; align-items: center; }
.tools button {
  border: 1px solid #c5d2dc;
  background: #fff;
  color: #1b2730;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  min-width: 2.6rem;
}
.tools .font-size {
  min-width: 1.8rem;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: #5d7382;
}

.locked-panel {
  min-height: 22rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: #5d7382;
}
.locked-ring {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  border: 1px solid var(--ember);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--ember) 12%, transparent);
}

.aside {
  position: sticky;
  top: 5.5rem;
  height: fit-content;
  color: var(--mist);
  font-size: 0.92rem;
  line-height: 1.7;
}
.aside h2 { color: var(--lunar); font-size: 1.4rem; }

.site-footer {
  position: relative;
  z-index: 2;
  padding: 4.8rem 6vw 2.8rem;
  border-top: 1px solid var(--hair);
  color: var(--mist);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 4rem;
}
.site-footer strong {
  font-family: "Noto Serif SC", serif;
  color: var(--lunar);
  letter-spacing: 0.16em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.7rem;
}
.foot-brand p, .foot-contact p {
  line-height: 1.75;
  max-width: 28rem;
  margin: 0;
}
.foot-contact h2 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: var(--lunar);
}
.foot-contact a {
  color: var(--ember);
  letter-spacing: 0.04em;
}
.foot-line {
  margin-top: 0.55rem !important;
}
.foot-qr {
  display: flex;
  gap: 2.4rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot-qr figure {
  margin: 0;
  width: 11.5rem;
}
.foot-qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
  background: #0b0b0b;
  object-fit: contain;
  image-rendering: auto;
}
.foot-qr figcaption {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--lunar);
}
.foot-copy {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  opacity: 0.7;
}
.dim { opacity: 0.7; }

.aurora {
  pointer-events: none;
  position: fixed;
  inset: -10% -8% auto;
  height: 55vh;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0.55;
  background:
    radial-gradient(ellipse at 18% 40%, color-mix(in srgb, var(--ember) 28%, transparent), transparent 58%),
    radial-gradient(ellipse at 88% 10%, color-mix(in srgb, #5a8cad 32%, transparent), transparent 52%);
  filter: blur(36px);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.stage-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.stage-fx .orbit {
  display: block;
  position: absolute;
  right: 8vw;
  top: 14vh;
  width: 22rem;
  height: 22rem;
  opacity: 0.55;
}
.stage-fx .orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, var(--ember) 70%, transparent);
  border-radius: 50%;
  animation: orbitPulse 9s ease-in-out infinite;
}
.stage-fx .orbit span:nth-child(2) {
  inset: 14%;
  animation-duration: 13s;
  border-color: color-mix(in srgb, var(--lunar) 35%, transparent);
}
.stage-fx .orbit span:nth-child(3) {
  inset: 30%;
  animation-duration: 7s;
}
.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation: floatSpark 7s ease-in-out infinite;
}
.spark.s1 { left: 18%; top: 28%; animation-duration: 6.5s; }
.spark.s2 { left: 72%; top: 22%; animation-duration: 8.2s; }
.spark.s3 { left: 44%; top: 62%; animation-duration: 7.4s; }
.spark.s4 { left: 86%; top: 58%; animation-duration: 9s; }

.mast-title .glyph {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em) rotate(-4deg);
  animation: glyphIn 0.85s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--d, 0s);
}
.portrait {
  padding: 2.4rem 6vw 3.2rem;
  border-bottom: 1px solid var(--hair);
}
.portrait p {
  max-width: 46rem;
  font-size: 1.22rem;
  line-height: 1.9;
  color: var(--lunar);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1) var(--d, 0s), transform 0.9s cubic-bezier(.16,1,.3,1) var(--d, 0s), filter 0.9s ease var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.lane, .card, .btn, .nav a {
  transition: transform 0.45s cubic-bezier(.16,1,.3,1), background 0.35s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.45s ease;
}
.lane:hover { transform: translateY(-6px); }
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ember) 16%, transparent); }

.chat-line {
  opacity: 0;
  animation: chatIn 0.8s ease forwards;
  animation-delay: var(--d, 0s);
}
.paper { animation: paperLift 0.9s cubic-bezier(.16,1,.3,1); }
.locked-ring { animation: irisSpin 16s linear infinite; }

.library-head .lede { margin-top: 0.8rem; }
.library-custom {
  margin: 0.85rem 0 0;
  color: var(--ember);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 36rem;
}
.library-custom a { color: var(--ember); }
.library-page {
  padding-bottom: 6.5rem;
}
.library-page .grid {
  margin-top: 1.4rem;
}
.library-empty {
  grid-column: 1 / -1;
  color: var(--mist);
  padding: 2.4rem 0 1rem;
  margin: 0;
}
.pager {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2.4rem 0 0;
  color: var(--mist);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.pager-btn {
  background: transparent;
  border: 1px solid var(--hair);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.pager-btn:hover:not(:disabled) { border-color: var(--ember); color: var(--lunar); }
.pager-btn:disabled { opacity: 0.35; cursor: default; }
.pager-status { color: var(--lunar); }

.still, .reel { position: relative; margin: 1.2rem 0 1.6rem; overflow: hidden; }
.still img, .reel video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel);
}
.reel {
  background-size: cover;
  background-position: center;
}
.reel video {
  pointer-events: auto;
  position: relative;
  z-index: 0;
  background: transparent;
}
.reel-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--void) 88%, transparent) 0%,
    transparent 100%
  );
}
.reel video::-webkit-media-controls,
.reel video::-webkit-media-controls-enclosure,
.reel video::-webkit-media-controls-panel,
.reel video::-webkit-media-controls-start-playback-button,
.reel video::-webkit-media-controls-overlay-enclosure,
.reel video::-webkit-media-controls-timeline,
.reel video::-webkit-media-controls-current-time-display,
.reel video::-webkit-media-controls-time-remaining-display {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none;
  pointer-events: none;
}
.still-embed { margin: 0 0 1.1rem; }
.lane .still-embed img,
.lane .still-embed video { aspect-ratio: 12 / 5; object-position: center; }
.lane .reel-chrome { display: none; }
.still-poster { margin: 0 0 1.1rem; }
.still-poster img { aspect-ratio: 9 / 16; object-position: center top; }
.still-live img { aspect-ratio: 4 / 5; object-position: center top; }

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
  padding: 1.4rem 0 1.6rem;
  background: color-mix(in srgb, var(--ink) 70%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-card {
  width: 10.5rem;
  flex-shrink: 0;
  background: var(--panel);
}
.marquee-card img, .marquee-card .cover,
.marquee-card .cover-frame {
  width: 100%;
}
.marquee-card div { padding: 0.75rem 0.85rem 1rem; }
.marquee-card h3 { font-size: 1rem; margin: 0 0 0.3rem; }
.marquee-card p {
  margin: 0;
  color: var(--mist);
  font-size: 0.8rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.still-house { margin: 0; }
.still-house img { aspect-ratio: 16 / 10; }
.house-photos {
  display: grid;
  gap: 0.8rem;
}
.house-photos .still { margin: 0; }
.house-photos img { aspect-ratio: 16 / 10; }
.about-stills img { aspect-ratio: 16 / 10; }
.crew-stills, .about-stills {
  display: grid;
  gap: 0.9rem;
  margin: 1.3rem 0 1.6rem;
}
.crew-stills { grid-template-columns: repeat(3, 1fr); }
.about-stills { grid-template-columns: 1fr 1fr; }
.crew-stills .still, .about-stills .still { margin: 0; }
.crew-stills img { aspect-ratio: 3 / 4; }
.room-visual {
  margin: -1.1rem -1.2rem 1rem;
}
.room-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.stage {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
  isolation: isolate;
  transform: translateZ(0);
}
.reel-stage {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
}
.reel-stage video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 0;
}
.reel-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(to top, var(--void) 8%, color-mix(in srgb, var(--void) 40%, transparent) 48%, transparent 78%);
}
.reel-stage .reel-chrome {
  height: 28%;
  z-index: 5;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--void) 96%, transparent) 0%,
    color-mix(in srgb, var(--void) 70%, transparent) 48%,
    transparent 100%
  );
}
.stage-copy {
  position: relative;
  z-index: 8;
  padding: 7.5rem 6vw 4.5rem;
  max-width: 38rem;
  -webkit-transform: translate3d(0, 0, 2px);
  transform: translate3d(0, 0, 2px);
}
.lockup-wrap {
  position: relative;
  width: min(22.5rem, 82vw);
  isolation: isolate;
}
.lockup-title {
  margin: 0;
  font-size: 0;
  line-height: 0;
  position: relative;
  z-index: 1;
}
.lockup {
  width: 100%;
  height: auto;
  display: block;
  animation: lockupIn 1.2s cubic-bezier(.16,1,.3,1) both;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.55));
}
.lockup-rings {
  position: absolute;
  left: 50%;
  top: 33%;
  width: 76%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.lockup-rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--ember) 58%, transparent);
  animation: irisWake 11s ease-in-out infinite;
}
.lockup-rings span:nth-child(2) {
  inset: 12%;
  border-color: color-mix(in srgb, var(--lunar) 32%, transparent);
  animation-duration: 15s;
  animation-direction: reverse;
}
.lockup-rings span:nth-child(3) {
  inset: 26%;
  animation-duration: 8s;
}
.lockup-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 38%, color-mix(in srgb, #ffe6c2 42%, transparent) 50%, transparent 62%);
  mix-blend-mode: screen;
  transform: translateX(-130%);
  animation: lockupGleam 6.2s ease-in-out 1.1s infinite;
}
.foot-lockup {
  width: 9.2rem;
  height: auto;
  display: block;
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.live-hero { align-items: stretch; }
.live-sheet {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.15rem 0 0.2rem;
}
.live-sheet h1 { margin-bottom: 0.9rem; }
.live-sheet .lede { max-width: 28rem; }
.night-board {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--hair);
}
.night-board li {
  display: grid;
  grid-template-columns: 6.8rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hair);
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.65;
  align-items: baseline;
}
.night-board b {
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  color: var(--lunar);
}
.live-sheet-foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: auto 0 0;
  padding-top: 1.8rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ember);
}
.room {
  background: #0a141c;
  border: 1px solid var(--hair);
  min-height: 28rem;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem 1.3rem;
}
.room-bar {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.onair {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ember) 70%, transparent);
  animation: pulse 1.8s ease-out infinite;
}
.room-title {
  font-family: "Noto Serif SC", serif;
  font-size: 1.35rem;
  margin: 1.6rem 0 1.2rem;
  max-width: 16ch;
  line-height: 1.4;
}
.room-chat {
  margin-top: auto;
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--mist);
}
.room-chat b { color: var(--ember); font-weight: 500; margin-right: 0.4rem; }

.crew, .ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.crew { grid-template-columns: repeat(3, 1fr); }
.crew article, .ladder > div {
  border-top: 1px solid var(--ember);
  padding-top: 1rem;
}
.crew p, .ladder p { color: var(--mist); line-height: 1.7; margin: 0.4rem 0 0; }
.ladder em {
  display: block;
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  color: var(--ember);
  margin-bottom: 0.5rem;
}

.broadcast-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.4rem;
  margin-top: 1.2rem;
  align-items: start;
}
.run-of-show {
  list-style: none;
  margin: 0;
  padding: 0;
}
.run-of-show li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hair);
  color: var(--mist);
}
.run-of-show span { color: var(--lunar); font-family: "Noto Serif SC", serif; }
.note {
  border: 1px solid var(--hair);
  padding: 1.2rem 1.3rem;
  color: var(--mist);
  line-height: 1.75;
}

.rate {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.92rem;
}
.rate th, .rate td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--hair);
}
.rate th { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 0.75rem; color: var(--mist); }
.rate-foot { margin-top: 1.2rem; max-width: 46rem; line-height: 1.7; }

.mast {
  padding: 5.2rem 6vw 2.4rem;
  border-bottom: 1px solid var(--hair);
}
.mast-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--ember);
  margin: 0 0 1.4rem;
}
.mast h1 {
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0;
}
.mast-line {
  margin: 1.6rem 0 0;
  max-width: 34rem;
  color: var(--mist);
  font-size: 1.12rem;
  line-height: 1.85;
}

.lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--hair);
}
.lane {
  padding: 3.2rem 6vw 3.4rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.lane:first-child { border-right: 1px solid var(--hair); }
.lane-id {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ember);
}
.lane h2 { font-size: 2.2rem; margin: 0.4rem 0 0.8rem; }
.lane p { color: var(--mist); line-height: 1.75; margin: 0; max-width: 28rem; }
.lane-go { font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; color: var(--lunar); }
.lane:hover { background: color-mix(in srgb, var(--panel) 55%, transparent); }

.creed {
  padding: 4.4rem 6vw 4.8rem;
  border-bottom: 1px solid var(--hair);
}
.creed-quote {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.45;
  max-width: 22em;
  margin: 0 0 2.8rem;
  color: var(--lunar);
}
.creed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}
.creed-grid h3 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.creed-grid p { color: var(--mist); line-height: 1.8; margin: 0; max-width: 22rem; }

.house {
  padding: 4rem 6vw;
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: 3rem;
  border-bottom: 1px solid var(--hair);
}
.house h2 { margin-top: 0; }
.house-copy { max-width: 38rem; color: var(--mist); line-height: 1.85; font-size: 1.05rem; }
.work-page { padding: 3.5rem 0 5rem; }
.work-page h1 { margin-bottom: 0.6rem; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.4rem;
}
.work-grid article {
  border-top: 1px solid var(--hair);
  padding-top: 1.2rem;
}
.work-grid h2 { font-size: 1.55rem; margin: 0 0 0.7rem; }
.work-grid p {
  color: var(--mist);
  line-height: 1.8;
  margin: 0 0 1rem;
}
.work-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  line-height: 1.75;
}
.work-grid li {
  padding: 0.35rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--hair) 70%, transparent);
}
.work-grid li:last-child { border-bottom: none; }
.work-contact { margin-top: 2.4rem; max-width: none; }
.work-contact a { color: var(--ember); }
.work-cases-title {
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  margin: 2.6rem 0 1rem;
}
.work-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.work-cases .reel {
  margin: 0;
  border-radius: 0.7rem;
}
.work-cases .reel video {
  aspect-ratio: 9 / 16;
  border-radius: 0.7rem;
  border: 1px solid var(--hair);
  background: #070b10;
}
.work-cases .reel-chrome { height: 14%; }

.about-page { padding: 3.5rem 0 5rem; }
.about-flow {
  max-width: 54rem;
  overflow: hidden;
}
.about-flow::after {
  content: "";
  display: table;
  clear: both;
}
.about-flow h2 {
  clear: both;
  margin-bottom: 1.05rem;
}
.about-media {
  float: right;
  width: min(16.6rem, 36%);
  margin: 0.1rem 0 1.5rem 1.7rem;
  shape-outside: margin-box;
}
.about-reel {
  margin: 0;
  width: 100%;
  border-radius: 1.15rem;
  z-index: 0;
}
.about-reel video {
  aspect-ratio: 9 / 16;
  min-height: 18rem;
  border-radius: 1.15rem;
  border: 1px solid var(--hair);
  background: #070b10;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48);
}
.about-flow > p { max-width: none; }
.brand-plate {
  margin: 0 0 1.6rem;
  max-width: 18rem;
}
.brand-plate img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}
.about-grid h3 { font-size: 1.2rem; }
.about-grid a { color: var(--ember); }
.dossier {
  margin-top: 2.8rem;
  max-width: 44rem;
}
.dossier h2, .values h2 {
  font-size: 1.45rem;
  letter-spacing: 0.08em;
}
.dossier p {
  color: var(--mist);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0 0 1.05rem;
}
.dossier a { color: var(--ember); }
.values {
  margin-top: 2.8rem;
}
.values-lead { max-width: 40rem; margin-bottom: 1.4rem; }
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}
.value-grid article {
  border-top: 1px solid var(--hair);
  padding-top: 1rem;
}
.value-grid h3 {
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
}
.value-grid p {
  margin: 0;
  color: var(--mist);
  line-height: 1.75;
  font-size: 0.98rem;
}
.house-copy .btn {
  display: inline-block;
  margin-top: 0.4rem;
  text-decoration: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ember) 55%, transparent); }
  100% { box-shadow: 0 0 0 12px transparent; }
}
@keyframes floatSpark {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
  50% { transform: translateY(-22px) scale(1.35); opacity: 1; }
}
@keyframes orbitPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.06) rotate(12deg); opacity: 1; }
}
@keyframes glyphIn {
  to { opacity: 1; transform: none; }
}
@keyframes lockupIn {
  from { opacity: 0; transform: translateY(22px) scale(0.94); filter: blur(12px) drop-shadow(0 18px 42px rgba(0, 0, 0, 0.55)); }
  to { opacity: 1; transform: none; filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.55)); }
}
@keyframes lockupGleam {
  0%, 62% { transform: translateX(-130%); opacity: 0; }
  70% { opacity: 0.9; }
  100% { transform: translateX(130%); opacity: 0; }
}
@keyframes irisWake {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.07) rotate(10deg); opacity: 0.9; }
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes paperLift {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes irisSpin {
  to { transform: rotate(360deg); }
}
@keyframes auroraDrift {
  from { transform: translate3d(-4%, 0, 0) scale(1); }
  to { transform: translate3d(6%, 8%, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .onair, .aurora, .orbit span, .lockup, .lockup-wrap::after, .lockup-rings span, .chat-line, .paper, .locked-ring, .marquee-track, .spark { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    padding: 0.7rem max(5vw, env(safe-area-inset-right)) 0.65rem max(5vw, env(safe-area-inset-left));
    padding-top: max(0.7rem, env(safe-area-inset-top));
  }
  .brand-name { letter-spacing: 0.1em; font-size: 0.95rem; }
  .nav {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 0.2rem;
    font-size: 0.82rem;
  }
  .nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.2rem;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 3rem max(6vw, env(safe-area-inset-left)) max(2rem, env(safe-area-inset-bottom));
    padding-right: max(6vw, env(safe-area-inset-right));
  }
  .hero, .reader, .steps, .crew, .ladder, .broadcast-split, .lanes, .creed-grid, .house, .about-grid, .crew-stills, .about-stills, .value-grid, .work-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .live-sheet { min-height: 0; }
  .live-sheet-foot { margin-top: 1.2rem; padding-top: 0.9rem; }
  .lane { padding: 2rem 6vw 2.2rem; min-height: 0; }
  .lane:first-child { border-right: none; border-bottom: 1px solid var(--hair); }
  .run-of-show li { grid-template-columns: 1fr; gap: 0.2rem; }
  .reader { padding: 1.2rem 6vw 3rem; }
  .iris { flex-direction: row; flex-wrap: wrap; position: static; }
  .stage {
    min-height: 0;
    display: block;
  }
  .reel-stage {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    z-index: 0;
  }
  .reel-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .reel-stage::after {
    z-index: 1;
    background: linear-gradient(
      to top,
      color-mix(in srgb, var(--void) 88%, transparent) 0%,
      color-mix(in srgb, var(--void) 35%, transparent) 38%,
      transparent 72%
    );
  }
  .stage-fx { opacity: 0.35; z-index: 2; }
  .stage-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 0 5.5vw 1.15rem;
    max-width: none;
    pointer-events: none;
    -webkit-transform: translate3d(0, 0, 2px);
    transform: translate3d(0, 0, 2px);
  }
  .lockup-wrap {
    width: min(11.2rem, 48vw);
    opacity: 1;
    position: relative;
    z-index: 11;
  }
  .lockup {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
  }
  .lockup-rings { opacity: 0.28; }
  .mast-line { display: none; }
  .portrait { padding: 1.5rem 6vw 2rem; }
  .portrait p { font-size: 1.05rem; }
  .search { min-width: 0; width: 100%; font-size: 16px; }
  .library-head { align-items: stretch; }
  .marquee-card { width: 8.4rem; }
  .pager { flex-wrap: wrap; gap: 0.75rem; }
  .night-board li { grid-template-columns: 1fr; gap: 0.2rem; }
  .house { padding: 2.2rem 6vw 3rem; }
  .about-media {
    float: right;
    width: min(11.4rem, 42vw);
    margin: 0.1rem 0 1rem 1rem;
  }
  .cover-frame {
    height: 14.5rem;
    min-height: 14.5rem;
    max-height: 14.5rem;
    flex-basis: 14.5rem;
  }
}
