:root {
  --bg: #141414;
  --bg-2: #181818;
  --card: #2f2f2f;
  --text: #fff;
  --muted: #b3b3b3;
  --dim: #808080;
  --red: #e50914;
  --red-dark: #b20710;
  --green: #46d369;
  --gutter: clamp(16px, 4vw, 60px);
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.wordmark {
  font-family: var(--display);
  color: var(--red);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 60; background: #000; display: grid; place-items: center; overflow: hidden; }
.intro[hidden] { display: none; }
.intro__start { position: relative; background: none; border: 0; cursor: pointer; display: grid; place-items: center; width: 100%; height: 100%; }
.intro__logo { position: relative; z-index: 2; width: clamp(120px, 18vw, 230px); overflow: visible; transform-origin: 50% 50%;
  filter: drop-shadow(0 0 28px rgba(229, 9, 20, .55)) drop-shadow(0 18px 30px rgba(0, 0, 0, .8)); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.04); filter: drop-shadow(0 0 50px rgba(229, 9, 20, .8)) drop-shadow(0 18px 30px rgba(0, 0, 0, .8)); } }
.intro__ribbon { fill: none; stroke: url(#intro-s); stroke-width: 30; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 0; }
.intro__ribbon--shade { stroke: #5a040a; stroke-width: 34; transform: translate(3px, 4px); opacity: .8; }
.intro__hint { position: absolute; bottom: 9vh; left: 16px; right: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #ddd; text-align: center; }
.intro__q { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; color: #fff; max-width: 900px; }
.intro__sub { font-size: clamp(14px, 1.2vw, 17px); color: #bbb; max-width: 620px; line-height: 1.5; }
.intro__cta { margin-top: 10px; padding: 10px 22px; border-radius: 4px; background: #fff; color: #000; font-weight: 700; font-size: 16px; }
.intro__cta small { margin-left: 8px; color: #555; font-weight: 500; font-size: 12px; }
.intro__skip { position: absolute; right: 24px; bottom: 24px; background: none; border: 1px solid rgba(255, 255, 255, .4); color: #ccc; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.intro__streaks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.intro__streaks i { position: absolute; top: -10%; bottom: -10%; left: 50%; width: var(--w); background: var(--c); opacity: 0;
  box-shadow: 0 0 18px var(--c); transform: translateX(0) scaleY(0); }
.intro.is-playing .intro__hint, .intro.is-playing .intro__skip { opacity: 0; transition: opacity .3s; }
.intro.is-playing .intro__logo { animation: logo-through 1.5s cubic-bezier(.7, 0, .9, .4) 1.05s forwards; }
.intro.is-playing .intro__ribbon { animation: ribbon-draw .75s cubic-bezier(.6, 0, .2, 1) both; }
.intro.is-playing .intro__ribbon--shade { animation-delay: .06s; }
.intro.is-playing .intro__streaks i { animation: streak 1.5s cubic-bezier(.3, 0, .2, 1) calc(1.15s + var(--d)) forwards; }
.intro.is-playing::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; animation: fade-black .45s ease-in 2.5s forwards; pointer-events: none; }
@keyframes ribbon-draw { from { stroke-dashoffset: 1; } }
@keyframes logo-through { to { transform: scale(16); opacity: 0; filter: blur(6px); } }
@keyframes streak {
  0% { opacity: 0; transform: translateX(0) scaleY(0); }
  25% { opacity: 1; transform: translateX(calc(var(--x) * 8vw)) scaleY(1); }
  100% { opacity: 0; transform: translateX(calc(var(--x) * 70vw)) scaleY(1.1); }
}
@keyframes fade-black { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .intro.is-playing .intro__logo, .intro.is-playing .intro__streaks i, .intro.is-playing .intro__ribbon { animation: none; } }

/* ---------- Who's watching? ---------- */
.profiles {
  position: fixed; inset: 0; z-index: 50; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(120% 90% at 50% 0%, #4d0f18 0%, #2a070c 45%, #120304 100%);
  padding: 90px var(--gutter) 40px;
  transition: opacity .6s ease, transform .6s ease;
}
.profiles.is-leaving { opacity: 0; transform: scale(1.08); pointer-events: none; }
.profiles__mark { position: absolute; top: 28px; left: var(--gutter); font-size: 34px; }
.profiles__lock { width: clamp(70px, 7vw, 100px); filter: drop-shadow(0 6px 24px rgba(229, 9, 20, .45)); }
.profiles__lock svg { display: block; width: 100%; }
.profiles__shackle { transition: transform .35s ease; transform-origin: 72px 58px; }
.profiles.is-unlocked .profiles__shackle { transform: translateY(-6px) rotate(28deg); }
.profiles__lock-text { margin: 18px auto clamp(32px, 6vh, 72px); max-width: 640px; padding: 0 16px; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: #ddd; text-align: center; }
.profiles__lock-text b { display: block; margin-top: 8px; color: #fff; font-size: 1.1em; }
.profiles__guide { max-width: 560px; margin: 22px auto 0; padding: 0 16px; color: #bbb; font-size: 15px; line-height: 1.5; text-align: center; }
.profiles__guide b { color: #fff; }
.profiles__title { font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); margin: 0 0 32px; letter-spacing: -.01em; }
.profiles__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2vw, 28px); }
.profile {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer; padding: 0; color: #bdbdbd;
}
.profile .avatar { width: clamp(92px, 9.5vw, 150px); border: 3px solid transparent; transition: border-color .15s, transform .15s; }
.profile:hover .avatar, .profile:focus-visible .avatar { border-color: #fff; }
.profile:hover, .profile:focus-visible { color: #fff; }
.profile:focus-visible { outline: none; }
.profile.is-shaking .avatar { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.profile__name { font-size: clamp(15px, 1.4vw, 21px); font-weight: 500; }
.profile--add .avatar { display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-size: 64px; font-weight: 200; color: #ddd; }
.profiles__hint { min-height: 1.4em; margin: 22px 0 0; color: #e5e5e5; font-size: 15px; text-align: center; }
.profiles__manage {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px;
  padding: 10px 22px; font-size: 17px; font-weight: 600; cursor: pointer;
}
.profiles__manage svg { width: 20px; height: 20px; }
.profiles__manage:hover { background: rgba(255, 255, 255, .1); }

/* Avatars: drawn faces on a color, square with soft corners */
.avatar { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.avatar svg, .avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar__lock, .avatar__kids { position: absolute; z-index: 1; }
.avatar__lock { left: 9%; bottom: 9%; width: 16%; color: #fff; }
.avatar__kids {
  right: 6%; bottom: 7%; font: 800 clamp(13px, 1.3vw, 20px)/1 var(--body); color: #e50914;
  background: #fff; padding: 2px 5px 3px; border-radius: 5px; letter-spacing: -.02em;
}
.avatar--sm { width: 34px; border-radius: 5px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(20, 3, 6, .95), rgba(20, 3, 6, 0));
  transition: background .3s;
}
.nav.is-solid { background: #000; }
.nav__mark { font-size: 32px; }
.nav__links { display: flex; gap: 4px; font-size: 15px; }
.nav__links a { text-decoration: none; color: #b8b8b8; padding: 8px 15px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .16); font-weight: 600; }
.nav__me { margin-left: auto; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; }
.nav__me:hover .avatar { box-shadow: 0 0 0 2px #fff; }
.nav__caret { font-size: 12px; color: #ddd; }

/* Profile menu */
.nav__menuwrap { margin-left: auto; position: relative; }
.nav__menuwrap .nav__me { margin-left: 0; }
.pmenu { position: absolute; right: 0; top: calc(100% + 12px); width: 280px; background: #262626; border-radius: 12px; padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .6); z-index: 30; }
.pmenu[hidden] { display: none; }
.pmenu__profile, .pmenu__item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 12px; border-radius: 8px; border: 2px solid transparent;
  background: none; color: #fff; font-size: 17px; text-decoration: none; cursor: pointer; text-align: left; }
.pmenu__profile:hover, .pmenu__item:hover, .pmenu__profile:focus-visible, .pmenu__item:focus-visible { border-color: #fff; outline: none; }
.pmenu__profile .avatar { width: 34px; position: relative; }
.pmenu__profile .avatar__kids { font-size: 8px; padding: 1px 2px; }
.pmenu__item svg { width: 26px; height: 26px; flex: none; }
.pmenu__signout { display: block; width: 100%; margin-top: 6px; padding: 14px 12px; border: 0; border-top: 1px solid #3a3a3a; background: none; color: #fff; font-size: 16px; text-align: left; cursor: pointer; }
.pmenu__signout:hover { text-decoration: underline; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 80; background: #fff; color: #111; font-weight: 600; padding: 12px 18px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); animation: toast-out .3s 3s forwards; }
@keyframes toast-out { to { opacity: 0; } }

/* ---------- Hero: an inset billboard with the video playing ---------- */
body { background: linear-gradient(180deg, #2b070d 0, #170507 520px, var(--bg) 900px) no-repeat, var(--bg); }
.hero { padding: 76px var(--gutter) 0; }
.hero__card {
  position: relative; overflow: hidden; border-radius: 22px;
  min-height: min(80vh, 780px);
  display: flex; align-items: flex-end;
  padding: 0 clamp(20px, 3vw, 48px) clamp(28px, 5vh, 56px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.hero__wall { position: absolute; inset: 0; background: #0b0b0b; }

/* The poster wall: my own shows in tilted columns, drifting like a slow camera move */
.wall { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0b0b0b; }
.wall__grid {
  position: absolute; left: -25%; right: -25%; top: -60%; bottom: -60%;
  display: flex; gap: 14px; justify-content: center;
  transform: rotateZ(-14deg);
}
.wall__col { flex: 0 0 auto; width: clamp(110px, 10.5vw, 180px); display: flex; flex-direction: column; gap: 14px; animation: drift var(--speed, 70s) linear infinite; }
.wall__col:nth-child(even) { animation-direction: reverse; margin-top: -60px; }
.wall__col img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); filter: saturate(.9) brightness(.82); }
.wall.is-paused .wall__col { animation-play-state: paused; }
.wall::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 75% at 8% 55%, rgba(229, 9, 20, .55), transparent 70%), linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)); mix-blend-mode: normal; }
.wall::after { content: ""; position: absolute; inset: 0; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 38%, transparent 70%),
    linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, transparent 45%);
}
.hero__mark { position: absolute; top: clamp(18px, 3vw, 40px); left: clamp(20px, 3vw, 48px); font-family: var(--display); color: var(--red); font-size: 52px; line-height: 1; }
.hero__toggle {
  position: absolute; top: clamp(18px, 3vw, 40px); right: clamp(20px, 3vw, 48px);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(0, 0, 0, .35); cursor: pointer; display: grid; place-items: center;
}
.hero__toggle svg { width: 18px; height: 18px; }
.hero__toggle .i-play { display: none; }
.hero__toggle.is-paused .i-play { display: block; }
.hero__toggle.is-paused .i-pause { display: none; }
.hero__body { position: relative; max-width: 720px; }

/* A show-logo title, like the billboard art */
.logo { margin: 0 0 18px; display: inline-grid; line-height: .9; text-shadow: 0 4px 22px rgba(0, 0, 0, .55); }
.logo__the, .logo__script { font-family: "Yellowtail", cursive; color: var(--red); font-weight: 400; }
.logo__the { font-size: clamp(30px, 3.4vw, 50px); margin-left: 12%; margin-bottom: -.25em; }
.logo__big { font-family: var(--display); font-size: clamp(64px, 8vw, 116px); letter-spacing: .01em; }
.logo__script { font-size: clamp(54px, 6.4vw, 96px); margin: -.28em 0 -.2em 6%; transform: rotate(-6deg); transform-origin: left; }
.logo__small { font-family: var(--display); color: var(--red); font-size: clamp(30px, 3.4vw, 50px); justify-self: end; margin-right: 6%; letter-spacing: .04em; }

.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: clamp(15px, 1.25vw, 19px); font-weight: 700; margin: 0 0 14px; }
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #aaa; }
.hero__copy { font-size: clamp(16px, 1.45vw, 22px); line-height: 1.45; margin: 0 0 24px; max-width: 640px; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { position: absolute; right: clamp(20px, 3vw, 48px); bottom: clamp(28px, 5vh, 56px); display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 40%; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); font-size: 14px; font-weight: 600;
}
.chip i { width: 18px; height: 14px; background: linear-gradient(135deg, #ff3d6e, #e50914 50%, #7b2ff7); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.match { color: var(--green); font-weight: 700; }
.pill { border: 1px solid rgba(255, 255, 255, .5); padding: 1px 6px; font-size: 12px; border-radius: 3px; }
.top-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 26px; height: 28px; background: var(--red); border-radius: 2px;
  font-size: 7px; font-weight: 800; line-height: 1; letter-spacing: .02em;
}
.top-badge b { font-size: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 12px 30px 12px 26px; font-size: 19px; font-weight: 700;
  text-decoration: none; transition: background .15s, opacity .15s;
}
.btn__icon { font-size: 22px; line-height: 1; }
.btn--play, .btn--light { background: #fff; color: #000; }
.btn--play:hover, .btn--light:hover { background: rgba(255, 255, 255, .75); }
.btn--info { background: rgba(109, 109, 110, .55); padding-left: 28px; backdrop-filter: blur(6px); }
.btn--info:hover { background: rgba(109, 109, 110, .45); }
.btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .5); padding: 9px 24px; }
.btn--ghost:hover { border-color: #fff; }

/* ---------- Rows ---------- */
.rows { position: relative; margin-top: 44px; z-index: 2; }
.row { margin-bottom: 48px; }
.row__title { font-size: clamp(19px, 1.75vw, 30px); font-weight: 700; margin: 0 var(--gutter) 14px; color: #fff; letter-spacing: -.01em; }
.row__sub { font-weight: 500; color: var(--dim); font-size: .75em; margin-left: 10px; }
.row__track { position: relative; }
.row__scroller {
  display: flex; gap: 8px;
  /* overflow-x alone makes y compute to auto, and the Top 10 numbers poke below the row: it became
     vertically scrollable and caught the page's wheel. Hidden y sends vertical scroll to the page. */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px var(--gutter) 14px; scroll-padding: 0 var(--gutter);
}
.row__scroller::-webkit-scrollbar { display: none; }
.row__arrow {
  position: absolute; top: 6px; bottom: 14px; width: calc(var(--gutter) - 6px); min-width: 32px; z-index: 3;
  border: 0; background: rgba(20, 20, 20, .6); cursor: pointer;
  font-size: 34px; opacity: 0; transition: opacity .2s, background .2s;
}
.row__arrow--prev { left: 0; border-radius: 0 4px 4px 0; }
.row__arrow--next { right: 0; border-radius: 4px 0 0 4px; }
.row__track:hover .row__arrow, .row__arrow:focus-visible { opacity: 1; }
.row__arrow:hover { background: rgba(20, 20, 20, .85); }
.row__arrow[disabled] { visibility: hidden; }

.tile {
  flex: 0 0 auto; width: clamp(220px, 18.4vw, 380px); aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  border: 0; padding: 0; cursor: pointer; border-radius: 8px;
  position: relative; overflow: hidden; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover, .tile:focus-visible { transform: scale(1.06); z-index: 2; box-shadow: 0 10px 24px rgba(0, 0, 0, .6); outline: none; }
.tile:focus-visible { box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .6); }

/* Generated key art: no posters, just the title on a color made from it. */
.art {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, hsla(var(--h2), 85%, 60%, .55), transparent 60%),
    linear-gradient(135deg, hsl(var(--h), 70%, 32%), hsl(var(--h2), 60%, 14%));
}
.art::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 9px);
}
.art--img { background: #222; }
.art--img::after { display: none; }
.art--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art--poster img { object-position: center 18%; }
.art--img .art__name { background: none; }
.art--img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .15) 45%, transparent 70%);
}
.top10 .art--img::before { background: none; }
.art__name {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 1;
  font-family: var(--display); font-size: clamp(22px, 2.1vw, 32px); line-height: .92;
  text-transform: uppercase; letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
  overflow-wrap: anywhere;
}
.art__mark { position: absolute; top: 8px; left: 10px; z-index: 1; font-family: var(--display); color: var(--red); font-size: 20px; }
.tile__meta {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, .55); padding: 3px 7px; border-radius: 3px;
}
.tile__meta--left { right: auto; left: 30px; }
.tile__ribbon {
  position: absolute; top: 0; right: 10px; z-index: 1;
  background: var(--red); font-size: 9px; font-weight: 800; line-height: 1.05; text-align: center;
  padding: 4px 4px 6px; letter-spacing: .02em;
}
.tile__ribbon b { display: block; font-size: 14px; }

.film-tile__play { position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 2px solid #fff; display: grid; place-items: center; font-size: 18px; opacity: 0; transition: opacity .2s; }
.film-tile:hover .film-tile__play, .film-tile:focus-visible .film-tile__play { opacity: 1; }

/* Top 10: big outlined numbers, the poster tucked over the right side */
.top10 { display: flex; flex: 0 0 auto; align-items: flex-end; scroll-snap-align: start; margin-right: 10px; }
.top10__num {
  font-family: Inter, sans-serif; font-weight: 800; font-size: clamp(170px, 15vw, 250px); line-height: .74;
  color: #141414; -webkit-text-stroke: 3px #595959; letter-spacing: -.08em;
  margin-right: -.1em; user-select: none;
}
.top10 .tile { width: clamp(120px, 10.5vw, 170px); aspect-ratio: 2 / 3; }
.top10 .art__name { font-size: clamp(22px, 2vw, 30px); bottom: 34px; text-align: center; }
.tile__eps { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, .65); padding: 3px 7px; border-radius: 4px; }
.top10 .tile__eps { display: none; }
.tag {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1;
  background: var(--red); color: #fff; white-space: nowrap;
  font-size: clamp(11px, .85vw, 14px); font-weight: 700; padding: 4px 10px; border-radius: 3px 3px 0 0;
}

/* Featured collection: copy on the left, wide tiles on the right, a blurred wall behind */
.collection { position: relative; margin: 10px 0 48px; padding: clamp(36px, 6vw, 80px) var(--gutter); overflow: hidden; display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 32px; align-items: center; }
.collection::before { content: ""; position: absolute; inset: -30px; background: var(--collection-bg, #222) center / cover; filter: blur(18px) saturate(1.2) brightness(.5); }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .5), transparent 60%), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.collection > * { position: relative; z-index: 1; }
.collection__copy { text-align: left; }
.collection__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 4.4vw, 68px); line-height: .9; margin: 0 0 14px; letter-spacing: .03em; color: #fff; }
.collection__label { margin: 0 0 10px; color: var(--red); font-size: 12px; letter-spacing: .24em; font-weight: 800; }
.collection__text { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.5; margin: 0 0 20px; max-width: 420px; color: #ddd; }
.collection__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.collection__tiles .tile { width: 100%; }

/* Hover preview card */
.preview {
  position: fixed; z-index: 30; width: 340px; border-radius: 10px; overflow: hidden;
  background: #181818; box-shadow: 0 18px 40px rgba(0, 0, 0, .75);
  transform-origin: center; animation: preview .2s ease;
}
@keyframes preview { from { transform: scale(.85); opacity: 0; } }
.preview[hidden] { display: none; }
.preview__art { position: relative; aspect-ratio: 16 / 9; }
.preview__body { padding: 14px 16px 18px; }
.preview__buttons { display: flex; gap: 8px; margin-bottom: 12px; }
.round {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55);
  background: rgba(42, 42, 42, .6); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.round svg { width: 18px; height: 18px; }
.round--play { background: #fff; border-color: #fff; color: #000; }
.round--more { margin-left: auto; }
.round:hover { border-color: #fff; }
.preview__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #bcbcbc; font-size: 14px; margin: 0 0 8px; }
.preview__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; margin: 0; }
.preview__tags .dot { width: 4px; height: 4px; border-radius: 50%; background: #646464; }

/* ---------- Sections ---------- */
.section { padding: 24px var(--gutter) 48px; }
.section__title { font-size: clamp(20px, 2vw, 28px); margin: 0 0 6px; font-weight: 700; }
.section__sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }

.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: #5a5a5a; transition: fill .15s; }
.chart .bar.hot { fill: var(--red); }
.chart .bar:hover { fill: #fff; }
.chart .axis { fill: var(--dim); font-size: 11px; }
.chart .mark line { stroke: #fff; stroke-dasharray: 3 3; opacity: .6; }
.chart .mark text { fill: #fff; font-size: 12px; font-weight: 600; }
.chart .mark .sub { fill: var(--muted); font-weight: 400; }
.chart .grow { transform-box: fill-box; transform-origin: bottom; }
.chart.playing .grow { animation: grow .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* The case file: guesses a stranger could make from the history alone */
.case { padding: 30px var(--gutter) 20px; }
.case__group { font-size: clamp(20px, 1.8vw, 26px); margin: 34px 0 14px; }
.clues { display: flex; gap: 14px; }
#case-groups .row__scroller { padding: 6px 0 16px; scroll-padding: 0; }
#case-groups .row__arrow { top: 6px; bottom: 16px; }
.clue { flex: 0 0 clamp(280px, 24vw, 360px); scroll-snap-align: start; }
.clue { background: #1c1c1c; border-radius: 12px; overflow: hidden; border: 1px solid #2a2a2a; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.clue:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.clue__img { position: relative; aspect-ratio: 16 / 8; background: #111 center / cover no-repeat; }
.clue__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #1c1c1c 2%, rgba(28, 28, 28, .2) 60%, transparent); }
.clue__label { position: absolute; left: 14px; top: 12px; z-index: 1; background: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .16em; padding: 4px 8px; border-radius: 3px; }
.clue__body { padding: 0 18px 18px; margin-top: -26px; position: relative; z-index: 1; }
.clue__guess { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; margin: 0 0 6px; }
.clue__signal { font-size: 12px; color: var(--dim); margin: 0 0 10px; }
.clue__evidence { font-size: 14px; line-height: 1.55; margin: 0; color: #d6d6d6; }
.clue__evidence b { color: #fff; }
.clue__evidence .dim { color: var(--dim); font-size: 12px; }

.spark { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 54px; margin: 2px 0 26px; }
.spark__col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.spark__col i { display: block; width: 100%; border-radius: 2px 2px 0 0; background: #5a5a5a; }
.spark__col.is-hot i { background: var(--red); box-shadow: 0 0 8px rgba(229, 9, 20, .5); }
.spark__axis { position: absolute; left: 0; right: 0; bottom: -18px; display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); }
.spark__axis b { font-weight: 500; }

/* Growing up: three eras and what changed between them */
.growth { padding: 30px var(--gutter) 60px; }
.growth__kicker { color: var(--red); font-weight: 800; letter-spacing: .22em; font-size: 12px; text-transform: uppercase; margin: 0 0 6px; }
.growth__title { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5.4vw, 84px); line-height: .9; margin: 0 0 10px; }
.growth__sub { color: var(--muted); font-size: clamp(15px, 1.3vw, 19px); margin: 0 0 28px; max-width: 640px; }
.growth__play { margin: 0 0 28px; font-size: 17px; }
.scene--ut .scene__kicker, .scene--ut .scene__line em { color: #bf5700; }
.scene--ut.scene--center::after { background: radial-gradient(70% 70% at 50% 50%, rgba(191, 87, 0, .28), rgba(0, 0, 0, .94)); }
.growth__h { font-size: clamp(20px, 1.8vw, 26px); margin: 48px 0 16px; }
.eras3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.era { position: relative; border-radius: 14px; overflow: hidden; background: #1c1c1c; display: flex; flex-direction: column; }
.era__bg { position: absolute; inset: 0 0 auto; height: 300px; background: center / cover no-repeat; transition: transform 6s ease; }
.era:hover .era__bg { transform: scale(1.06); }
.era__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), #1c1c1c 96%); }
.era__body { position: relative; margin-top: 190px; padding: 22px; }
.era__season { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 4px; }
.era__name { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3vw, 46px); line-height: .95; margin: 0; }
.era__years { color: var(--muted); font-size: 14px; margin: 4px 0 12px; }
.era__who { font-size: 15px; line-height: 1.5; margin: 0 0 14px; color: #e5e5e5; }
.era__who b { color: #fff; }
.era__stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.era__stats span { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.era__stats b { color: var(--red); }
.era__posters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.era__posters .tile { width: 100%; aspect-ratio: 2 / 3; border-radius: 5px; }
.era__posters .art__name { font-size: 14px; }
.shifts { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 14px; }
.shift { background: #1c1c1c; border-radius: 14px; padding: 18px; border: 1px solid #2a2a2a; }
.shift__title { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: #e5e5e5; }
.shift__big { font-family: var(--display); font-size: clamp(34px, 3vw, 44px); line-height: 1; margin: 0; color: #8c8c8c; }
.shift__big span { color: #555; font-size: .7em; margin: 0 4px; }
.shift__big b { color: var(--red); font-weight: 400; }
.shift__signal { font-size: 12px; color: var(--dim); margin: 4px 0 14px; letter-spacing: .04em; }
.shift__eras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shift__era { display: flex; flex-direction: column; gap: 8px; }
.shift__meter { height: 6px; background: #2c2c2c; border-radius: 3px; overflow: hidden; }
.shift__meter span { display: block; height: 100%; width: 0; background: #6b6b6b; border-radius: 3px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.shift__era.is-peak .shift__meter span { background: var(--red); }
.shift__posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; min-height: 64px; align-items: start; }
.shift__poster { position: relative; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; aspect-ratio: 2 / 3; background: #2a2a2a; transition: transform .2s; }
.shift__poster:hover, .shift__poster:focus-visible { transform: scale(1.08); z-index: 1; }
.shift__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shift__poster i { position: absolute; left: 2px; bottom: 2px; font-style: normal; font-size: 9px; font-weight: 800; background: rgba(0, 0, 0, .75); padding: 1px 3px; border-radius: 2px; }
.shift__era:not(.is-peak) .shift__poster img { filter: grayscale(.5) brightness(.8); }
.shift__none { grid-column: 1 / -1; display: grid; place-items: center; aspect-ratio: 2.2 / 1; border: 1px dashed #3a3a3a; border-radius: 4px; color: #555; font-size: 12px; }
.shift__label { margin: 0; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.shift__label b { color: #fff; }
.shift__era.is-peak .shift__label b { color: var(--red); }
/* What changed: poster bar charts */
.pbars { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.pbar { background: linear-gradient(180deg, #1a1a1a, #121212); border: 1px solid #262626; border-radius: 14px; padding: 16px 16px 12px; }
.pbar__head h4 { margin: 0; font-size: 16px; }
.pbar__head p { margin: 2px 0 10px; font-family: var(--display); font-size: 30px; color: #8c8c8c; line-height: 1.05; }
.pbar__head p b { color: var(--red); font-weight: 400; }
.pbar__head p span { font-family: var(--body); font-size: 12px; color: var(--dim); margin-left: 4px; }
.pbar__plot { display: flex; gap: 10px; height: 230px; align-items: flex-end; border-bottom: 1px solid #333; }
.pbar__col { position: relative; flex: 1 1 0; min-width: 0; height: 230px; display: flex; flex-direction: column; justify-content: flex-end; }
.pbar__num { text-align: center; font-family: var(--display); font-size: 22px; color: #fff; margin-bottom: 4px; }
.pbar__col.is-peak .pbar__num { color: var(--red); }
.pbar__bar { flex: 0 0 auto; height: 2px; min-height: 0; overflow: hidden; border-radius: 6px 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 2px;
  background: transparent; transition: height 1.1s cubic-bezier(.2, .8, .2, 1); }
.pbar.is-in .pbar__bar { height: max(2px, calc(var(--h) * 1.8px)); }
.pbar__bar img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.pbar__col.is-peak .pbar__bar { box-shadow: 0 0 0 2px var(--red), 0 0 18px rgba(229, 9, 20, .45); }
.pbar__era { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pbar__plot { margin-bottom: 26px; }

/* The Ones That Never Left */
.never { display: flex; flex-direction: column; gap: 8px; }
.never .tile { width: 100%; }
.never__foot { display: flex; align-items: center; gap: 10px; }
.never__foot b { font-size: 13px; color: #fff; white-space: nowrap; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; flex: 1; }
.strip i { height: 10px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.strip i.on { background: var(--red); box-shadow: 0 0 8px rgba(229, 9, 20, .6); }
.never-list { display: grid; gap: 6px; margin-top: 10px; }
.never-list__row { display: grid; grid-template-columns: 200px 1fr 30px; gap: 12px; align-items: center; background: none; border: 0; padding: 6px 0; cursor: pointer; text-align: left; font-size: 14px; }
.never-list__row b { text-align: right; color: var(--muted); }

.chart .band rect { fill: #fff; opacity: .035; }
.chart .band:nth-child(2n) rect { opacity: .065; }
.chart .band text { fill: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* The broken home: scroll pulls the household apart */
.house { position: relative; }
.house__stage {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: 72px var(--gutter) 24px; overflow: hidden;
}
.house__kicker { color: var(--red); font-weight: 700; letter-spacing: .18em; font-size: 12px; text-transform: uppercase; margin: 0 0 8px; }
.house__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 76px); line-height: .9; margin: 0 0 20px; }
.house__steps { display: grid; }
/* Every step shares one grid cell, so the box is as tall as the longest step and nothing below gets overlapped. */
.house__step {
  grid-area: 1 / 1; margin: 0;
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: #e5e5e5;
  opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s;
}
.house__step.is-on { opacity: 1; transform: none; }
.house__step q { font-weight: 700; color: #fff; }
.house__step b { color: #fff; }
.house__source { font-size: 12px; color: var(--dim); margin: 16px 0 0; }
.house__source a { color: var(--dim); }
.house__art { width: 100%; height: 100%; display: flex; align-items: center; }
.house__art svg { width: 100%; max-height: 100%; overflow: visible; }
.house .piece {
  transform-box: fill-box; transform-origin: center; will-change: transform;
  transition: transform .7s cubic-bezier(.5, 0, .3, 1);
}
.house.is-broken .piece {
  transform: translate(var(--dx), var(--dy)) rotate(var(--r));
  transition: transform 1.25s cubic-bezier(.18, 1.35, .4, 1) calc(.38s + var(--i) * 70ms);
}
.house .bob { transform-box: fill-box; transform-origin: center; }
.house.is-broken .bob { animation: bob 4.5s ease-in-out calc(1.6s + var(--i) * -0.7s) infinite; }
@keyframes bob { 50% { transform: translateY(-9px) rotate(1.2deg); } }
.house .whole { transform-box: fill-box; transform-origin: center bottom; }
.house.is-cracking .whole { animation: rumble .5s linear 2; }
.house.is-broken .whole { animation: quake .38s linear; }
@keyframes rumble { 0%, 100% { transform: none; } 20% { transform: translate(-2px, 1px); } 40% { transform: translate(2px, -1px); } 60% { transform: translate(-1px, -1px); } 80% { transform: translate(1px, 1px); } }
@keyframes quake { 0%, 100% { transform: none; } 15% { transform: translate(-9px, 3px) rotate(-.6deg); } 35% { transform: translate(8px, -4px) rotate(.6deg); } 55% { transform: translate(-6px, 2px); } 75% { transform: translate(4px, -2px); } }
.house .cracks polyline {
  fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8));
  transition: stroke-dashoffset .9s ease-out, opacity .3s;
}
.house.is-cracking .cracks polyline { stroke-dashoffset: 0; }
.house.is-broken .cracks polyline { opacity: 0; transition: opacity .2s .35s; }
.house .wifi { transform-box: fill-box; transform-origin: center bottom; }
.house.is-broken .wifi { animation: signal 1.6s ease-in-out 1.2s infinite; }
@keyframes signal { 50% { opacity: .35; } }
.house.is-broken .me .face-sad { animation: glitch .9s steps(2) 1.5s 2; }
@keyframes glitch { 50% { opacity: .2; } }
.house .warning { transform-box: fill-box; transform-origin: center; transform: scale(.6); transition: opacity .4s 1.5s, transform .5s cubic-bezier(.2, 1.6, .4, 1) 1.5s; }
.house.is-broken .warning { transform: none; }
.house.is-broken .place--austin { transition: opacity .5s 1.7s; }
.house__case { margin-top: 18px; font-size: 15px; padding: 10px 20px; }
.house__controls { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.house__btn[hidden], .house__hint[hidden] { display: none; }
.house__hint { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }
.house__art { cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.house.is-broken .house__art { cursor: default; }
.house.is-broken .piece { cursor: grab; }
.house.is-broken .piece.is-dragging { cursor: grabbing; transition: none; }
.house.is-broken .piece.is-home { cursor: default; transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.house.is-broken .piece.is-dragging .bob, .house.is-broken .piece.is-home .bob { animation: none; }
.house.is-rebuilt .whole { animation: settle .6s cubic-bezier(.2, 1.6, .4, 1); filter: drop-shadow(0 0 22px rgba(229, 9, 20, .55)); }
@keyframes settle { 40% { transform: scale(1.03); } }
.house .face-sad { opacity: 0; transition: opacity .3s; }
.house.is-broken .me .face-happy { opacity: 0; }
.house.is-broken .me .face-sad { opacity: 1; }
.house .place { font-family: var(--display); font-size: 34px; letter-spacing: .06em; fill: #fff; transition: opacity .4s; }
.house .place--austin { opacity: 0; }
.house.is-broken .place--austin { opacity: 1; }
.house .warning { opacity: 0; transition: opacity .4s; }
.house.is-broken .warning { opacity: 1; }

/* The data report download */
.report__card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(120% 140% at 0% 0%, rgba(229, 9, 20, .18), transparent 60%), #181818; border: 1px solid #2a2a2a; border-radius: 16px; padding: 28px; }
.report__title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3vw, 46px); margin: 0 0 6px; line-height: 1; }
.report__card .section__sub { margin: 0; max-width: 620px; }

/* Episodes, like a show's detail page */
.episodes__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.seasons { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.seasons::-webkit-scrollbar { display: none; }
.seasons .season-tab { flex: 0 0 auto; white-space: nowrap; }
.season-tab {
  background: var(--bg-2); border: 1px solid #4d4d4d; border-radius: 4px;
  padding: 8px 14px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.season-tab[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
.episodes { list-style: none; margin: 0; padding: 0; border-top: 1px solid #404040; }
.episode {
  display: grid; grid-template-columns: 48px 200px 1fr; gap: 20px; align-items: center;
  padding: 22px 16px; border-bottom: 1px solid #404040; border-radius: 4px;
}
.episode:hover { background: #333; }
.episode__num { font-size: 26px; color: #d2d2d2; text-align: center; }
.episode__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.episode__thumb .art__name { font-size: 22px; }
.episode__top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.episode__title { font-weight: 700; font-size: 16px; margin: 0; }
.episode__stat { color: #fff; font-weight: 600; white-space: nowrap; font-size: 15px; }
.episode__copy { color: #d2d2d2; margin: 0; font-size: 14px; line-height: 1.5; }
button.episode { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid #404040; cursor: pointer; }
.episode__top, .episode__copy, .episode__title { display: block; }
.episode__top { display: flex; }
.episode__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-size: 30px; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s; }
.episode:hover .episode__play, .episode:focus-visible .episode__play { opacity: 1; }

/* Are you still watching? */
.still {
  margin: 20px var(--gutter) 60px; padding: clamp(32px, 6vw, 72px) 24px;
  text-align: center; border-radius: 8px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(229, 9, 20, .25), transparent 70%), #0b0b0b;
}
.still__q { font-size: clamp(28px, 4vw, 48px); font-weight: 700; margin: 0 0 10px; }
.still__sub { color: var(--muted); margin: 0 auto 28px; max-width: 560px; line-height: 1.5; }
.still__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.about { padding: 20px var(--gutter) 60px; color: var(--dim); font-size: 14px; line-height: 1.6; }
.about h3 { color: var(--muted); font-size: 16px; }
.about strong { color: var(--muted); }
.about__small { font-size: 12px; margin-top: 24px; }

/* Footer, Netflix-style but useful */
.foot { border-top: 1px solid #222; padding: 44px var(--gutter) 56px; }
.foot__inner { max-width: 1000px; margin: 0 auto; }
.foot__social { display: flex; gap: 20px; margin-bottom: 22px; }
.foot__social a { width: 28px; height: 28px; color: #e5e5e5; transition: color .2s, transform .2s; }
.foot__social a:hover { color: var(--red); transform: translateY(-2px); }
.foot__social svg { width: 100%; height: 100%; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 24px; }
.foot__cols nav { display: grid; gap: 12px; align-content: start; }
.foot__cols b { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.foot__cols a { color: #9a9a9a; text-decoration: none; font-size: 15px; }
.foot__cols a:hover { color: #fff; text-decoration: underline; }
.foot__still { margin: 30px 0 6px; color: #cfcfcf; font-size: 14px; }
.foot__still span { color: var(--red); font-weight: 700; }
.foot__copy { margin: 0; color: #6d6d6d; font-size: 13px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: center; overflow-y: auto; padding: 32px 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); }
.modal__card {
  position: relative; width: min(850px, 100%); align-self: flex-start;
  background: var(--bg-2); border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .7);
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg-2); font-size: 16px;
}
.modal__art { position: relative; aspect-ratio: 16 / 7; }
.modal__art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, var(--bg-2)); }
.modal__art .art__name { font-size: clamp(40px, 7vw, 76px); left: 40px; bottom: 28px; z-index: 2; }
.modal__body { padding: 8px 40px 40px; }
.modal__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); margin: 0 0 14px; }
.modal__meta .match { color: var(--green); font-weight: 700; }
.modal__copy { line-height: 1.55; margin: 0 0 12px; }
.modal__side { font-size: 14px; color: var(--muted); line-height: 1.6; }
.modal__side b { color: var(--dim); font-weight: 400; }
.modal h4 { font-size: 22px; margin: 32px 0 12px; }
.mini { display: grid; gap: 6px; }
.mini__row { display: grid; grid-template-columns: 110px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; }
.mini__bar { height: 8px; background: #333; border-radius: 4px; overflow: hidden; }
.mini__bar span { display: block; height: 100%; background: var(--red); border-radius: 4px; }
.mini__n { color: var(--muted); text-align: right; }

/* ---------- Player ---------- */
.player { position: fixed; inset: 0; z-index: 70; background: #000; color: #fff; cursor: default; }
.player[hidden] { display: none; }
.player.is-idle { cursor: none; }
.player__stage { position: absolute; inset: 0; overflow: hidden; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 0s; display: flex; align-items: flex-end; padding: 0 clamp(24px, 7vw, 120px) clamp(130px, 20vh, 200px); }
.scene.is-on { opacity: 1; transition: opacity .9s ease; }
/* Set scenes cut like TV: the old shot is gone at once, the new one comes up fast (or hard-cuts). */
.scene--set.is-on { transition-duration: .35s; }
.scene--cut.is-on { transition: none; }
.scene__bg { position: absolute; inset: -4%; background: center / cover no-repeat; }
.scene__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene__bg .wall { inset: 0; }
.scene.is-on .scene__bg { animation: kenburns var(--dur, 6s) linear both; }
.scene--alt.is-on .scene__bg { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
@keyframes kenburns-alt { from { transform: scale(1.14) translate(-2%, 1%); } to { transform: scale(1.03) translate(1%, 0); } }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .15)), linear-gradient(0deg, rgba(0, 0, 0, .8), transparent 50%); }
.scene--center { align-items: center; justify-content: center; text-align: center; padding-bottom: 0; }
.scene--center::after { background: radial-gradient(70% 70% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .92)); }
.scene__text { position: relative; z-index: 1; max-width: 900px; }
.scene__kicker, .scene__line, .scene__sub { opacity: 0; transform: translateY(18px); }
.scene.is-on .scene__kicker, .scene.is-on .scene__line, .scene.is-on .scene__sub { animation: rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.scene.is-on .scene__line { animation-delay: .35s; }
.scene.is-on .scene__sub { animation-delay: 1.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scene__kicker { color: var(--red); font-weight: 800; letter-spacing: .25em; font-size: clamp(12px, 1.2vw, 16px); margin: 0 0 12px; text-transform: uppercase; }
.scene__line { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 110px); line-height: .92; margin: 0; letter-spacing: .01em; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.scene__line em { font-style: normal; color: var(--red); }
.scene__sub { font-size: clamp(17px, 1.7vw, 26px); line-height: 1.4; margin: 16px 0 0; color: #e8e8e8; max-width: 760px; }
.scene--center .scene__sub { margin-left: auto; margin-right: auto; }
.tile--static { cursor: default; }
/* Inline previews: a film playing in place, muted, scaled to its box. */
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 16px; margin-top: 22px; }
.teaser { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; cursor: pointer; container-type: inline-size;
  background: #000 center / cover no-repeat; border: 1px solid #2a2a2a; transition: transform .25s, box-shadow .25s; }
.teaser:hover, .teaser:focus-visible { transform: scale(1.015); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); outline: none; }
.clues .teaser { flex: 0 0 min(760px, 86vw); align-self: start; scroll-snap-align: start; }
.teaser__stage { position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .6s; }
.teaser.is-playing .teaser__stage, .teaser__stage:has(.is-on) { opacity: 1; }
.teaser:not(.is-playing) * { animation-play-state: paused !important; }
.teaser .scene { padding: 0 6cqw 17cqw; }
.teaser .scene--center { padding: 0 6cqw; }
.teaser .scene__kicker { font-size: clamp(9px, 1.5cqw, 13px); }
.teaser .scene__line { font-size: clamp(22px, 7cqw, 72px); }
.teaser .scene__sub { font-size: clamp(11px, 1.9cqw, 17px); margin-top: 1.4cqw; max-width: 70cqw; }
.teaser .scene--viz .scene__line { font-size: clamp(18px, 4.6cqw, 48px); }
.teaser .scene--viz .scene__text { width: 100%; }
.teaser .scene__viz { margin-top: 2cqw; zoom: .62; }
.teaser__badge { position: absolute; top: 12px; right: 12px; z-index: 3; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 4px 10px; color: #ddd; }
.teaser__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.teaser__ep { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
.teaser__info b { font-size: clamp(15px, 2.6cqw, 22px); }
.teaser__watch { margin-left: auto; font-size: 13px; font-weight: 700; color: #fff; opacity: .85; }
.teaser:hover .teaser__watch { opacity: 1; text-decoration: underline; }
.teaser__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 3px; background: rgba(255, 255, 255, .15); }
.teaser__bar i { display: block; height: 100%; width: 0; background: var(--red); }
/* Charts and tables only ever appear inside a scene. */
.scene--viz .scene__line { font-size: clamp(34px, 4.6vw, 68px); }
.scene--viz .scene__text { width: min(900px, 100%); }
.scene--viz .scene__sub { margin-top: 10px; font-size: clamp(15px, 1.4vw, 20px); }
.scene--viz.scene--center { padding-top: 40px; }
.scene__viz { opacity: 0; transform: translateY(18px); width: min(820px, 100%); margin-top: 26px; }
.scene--center .scene__viz { margin-left: auto; margin-right: auto; }
.scene.is-on .scene__viz { animation: rise .8s cubic-bezier(.2, .8, .2, 1) 1.4s forwards; }
.scene__viz .spark { height: clamp(90px, 18vh, 170px); margin: 0 0 28px; gap: 5px; }
.scene__viz .spark__axis { font-size: 14px; bottom: -24px; }
.scene__viz .pie { justify-content: center; gap: 28px; }
.scene__viz .pie__donut { width: clamp(150px, 22vh, 220px); height: clamp(150px, 22vh, 220px); }
.scene__viz .pie__donut span { background: #0b0b0b; font-size: 13px; }
.scene__viz .pie__donut b { font-size: 40px; }
.scene__viz .pie__legend { font-size: clamp(13px, 1.3vw, 17px); text-align: left; gap: 5px; }
.scene__viz .habits { font-size: clamp(13px, 1.35vw, 18px); }
.scene__viz .habits th, .scene__viz .habits td { padding: 7px 10px; }
.scene__viz .habits__type td { font-size: clamp(12px, 1.2vw, 16px); }
.pbar--scene { background: none; border: 0; padding: 0; }
.pbar--scene .pbar__plot, .pbar--scene .pbar__col { height: clamp(200px, 38vh, 330px); }
.pbar--scene .pbar__num { font-size: clamp(20px, 2.4vw, 32px); }
.pbar--scene .pbar__era { font-size: 13px; }
.pbar--scene .pbar__bar { transition: height 1.4s cubic-bezier(.2, .8, .2, 1) 1.6s; }
.scene.is-on .pbar--scene .pbar__bar { height: max(2px, calc(var(--h) * clamp(1.4px, .3vh, 2.6px))); }
.scene__counter { font-variant-numeric: tabular-nums; }
.montage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 10px; padding: 6vh 4vw; transform: rotate(-8deg) scale(1.25); }
.montage figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; opacity: 0; transform: translateY(30px) scale(.94); }
.scene.is-on .montage figure { animation: rise .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--k) * 180ms); }
.montage img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; }
.montage figcaption { position: absolute; left: 6px; top: 6px; background: var(--red); font-weight: 800; font-size: 13px; padding: 2px 6px; border-radius: 3px; }
/* The dorm cold open */
.scene__bg--dorm svg { width: 100%; height: 100%; display: block; }
.scene:has(.scene__bg--dorm)::after { background: linear-gradient(90deg, rgba(0, 0, 0, .65), transparent 45%), linear-gradient(0deg, rgba(0, 0, 0, .6), transparent 40%); }
.dorm__light { animation: twinkle 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.17s); }
@keyframes twinkle { 50% { opacity: .35; } }
.dorm__msg, .dorm__glow { opacity: 0; }
.scene.is-on .dorm__msg { animation: tv-on .5s steps(3) .9s forwards; }
.scene.is-on .dorm__glow { animation: tv-on .8s ease 1s forwards; }
@keyframes tv-on { to { opacity: 1; } }
.dorm__girl, .dorm__bubble, .dorm__sweat { transform-box: fill-box; transform-origin: center bottom; }
.scene.is-on .dorm__girl { animation: panic .12s linear 2.2s infinite alternate; }
@keyframes panic { from { transform: translateX(-4px) rotate(-.6deg); } to { transform: translateX(4px) rotate(.6deg); } }
.dorm__bubble { opacity: 0; transform: scale(.4); }
.scene.is-on .dorm__bubble--1 { animation: bubble 1.6s cubic-bezier(.2, 1.6, .4, 1) 1.6s forwards; }
.scene.is-on .dorm__bubble--2 { animation: bubble-stay .5s cubic-bezier(.2, 1.6, .4, 1) 3.3s forwards; }
@keyframes bubble { 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.9); } }
@keyframes bubble-stay { to { opacity: 1; transform: scale(1); } }
.dorm__sweat { opacity: 0; }
.scene.is-on .dorm__sweat { animation: sweat 1.1s ease-in 2.4s infinite; }
.scene.is-on .dorm__sweat--2 { animation-delay: 2.9s; }
@keyframes sweat { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(60px); } }

.player__chrome { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .4s; pointer-events: none; }
.player.is-idle .player__chrome { opacity: 0; }
.player__top, .player__bottom { pointer-events: auto; }
.player__top { padding: 20px 24px; background: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent); }
.player__bottom { padding: 0 28px 22px; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); }
.player__icon { background: none; border: 0; padding: 6px; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; transition: transform .15s; }
.player__icon:hover { transform: scale(1.18); }
.player__icon svg { width: 30px; height: 30px; }
.player__icon .i-play { display: none; }
.player.is-paused .player__icon .i-play { display: block; }
.player.is-paused .player__icon .i-pause { display: none; }
.player__track { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.player__bar { position: relative; flex: 1; height: 5px; background: rgba(255, 255, 255, .3); cursor: pointer; border-radius: 3px; }
.player__bar:hover { height: 8px; }
.player__fill { position: absolute; inset: 0 auto 0 0; background: var(--red); border-radius: 3px; }
.player__knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--red); }
.player__time { font-size: 15px; font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.player__controls { display: flex; align-items: center; gap: 14px; }
.player__title { flex: 1; text-align: center; margin: 0; font-size: clamp(14px, 1.3vw, 18px); color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__title b { color: #fff; }
.player__title span { margin: 0 8px; color: #aaa; }
.player__top { display: flex; justify-content: space-between; }
.player__icon svg { width: 34px; height: 34px; }
.player__controls { gap: 18px; }
.player__icon .i-mute { display: inline; }
.player__icon .i-wave { display: none; }
.player.has-sound .player__icon .i-mute { display: none; }
.player.has-sound .player__icon .i-wave { display: inline; }
.player.no-subs .scene__sub { display: none; }
.ppanel { position: absolute; right: 28px; bottom: 120px; z-index: 3; width: min(720px, calc(100% - 56px)); max-height: 68vh; overflow: auto;
  background: #262626; border-radius: 6px; pointer-events: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, .7); }
.ppanel[hidden] { display: none; }
.ppanel h3 { margin: 0; padding: 22px 26px; font-size: 26px; }
.ppanel h4 { margin: 0 0 14px; font-size: 22px; }
.pp-note { padding: 0 26px 24px; color: var(--muted); margin: 0; }
.pp-ep { display: block; width: 100%; text-align: left; background: #262626; border: 3px solid transparent; color: #fff; padding: 18px 26px; cursor: pointer; }
.pp-ep:hover, .pp-ep.is-now { background: #141414; border-color: #fff; }
.pp-ep__head { display: block; font-size: 19px; font-weight: 700; margin-bottom: 0; }
.pp-ep__head b { margin-right: 18px; }
.pp-ep__body { display: none; grid-template-columns: 230px 1fr; gap: 22px; margin-top: 14px; align-items: start; font-size: 16px; line-height: 1.5; color: #ddd; }
.pp-ep:hover .pp-ep__body, .pp-ep.is-now .pp-ep__body, #pp-next .pp-ep__body { display: grid; }
.pp-ep__art { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; }
.pp-ep__art i { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-style: normal; font-weight: 700; background: rgba(0, 0, 0, .35); }
.ppanel--lang { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 26px 30px; width: min(620px, calc(100% - 56px)); }
.ppanel--lang[hidden] { display: none; }
.pp-opt { display: block; background: none; border: 0; color: #9a9a9a; font-size: 19px; padding: 10px 0 10px 30px; cursor: pointer; position: relative; text-align: left; }
.pp-opt.is-on { color: #fff; }
.pp-opt.is-on::before { content: "✓"; position: absolute; left: 0; }
.pp-opt:hover { color: #fff; }
.ppanel--speed { padding: 24px 30px 28px; width: min(860px, calc(100% - 56px)); }
.pp-speeds { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.pp-speeds::before { content: ""; position: absolute; left: 8%; right: 8%; top: 9px; height: 1px; background: #777; }
.pp-speeds button { position: relative; background: none; border: 0; color: #bdbdbd; font-size: 16px; cursor: pointer; display: grid; justify-items: center; gap: 12px; }
.pp-speeds i { width: 18px; height: 18px; border-radius: 50%; background: #ddd; }
.pp-speeds .is-on { color: #fff; font-weight: 700; }
.pp-speeds .is-on i { width: 26px; height: 26px; margin-top: -4px; background: #fff; box-shadow: 0 0 0 5px #262626, 0 0 0 8px #aaa; }

.tooltip {
  position: fixed; z-index: 60; pointer-events: none;
  background: #fff; color: #000; font-size: 13px; padding: 8px 10px; border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5); max-width: 240px; line-height: 1.35;
}
.tooltip b { display: block; }

@media (max-width: 1200px) { .eras3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .never-list__row { grid-template-columns: 1fr; }
  .eras3 { grid-template-columns: 1fr; }
  .shifts { grid-template-columns: 1fr; }
  .era { min-height: 460px; }
  .hero { padding-top: 66px; }
  .hero__card { min-height: 78vh; border-radius: 14px; }
  .hero__badges { display: none; }
  .collection { grid-template-columns: 1fr; }
  .collection__tiles { grid-template-columns: 1fr 1fr; }
  .collection__tiles .tile:nth-child(3) { display: none; }
  .preview { display: none; }
  .house__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; padding-top: 68px; }
  .house__title { margin-bottom: 10px; }
  .house__step { font-size: 15px; }
  .nav__links { display: none; }
  .nav { gap: 12px; }
  .hero { min-height: 82vh; padding-bottom: 110px; }
  .row__arrow { display: none; }
  .episode { grid-template-columns: 1fr; gap: 12px; padding: 18px 4px; }
  .episode__num { display: none; }
  .modal { padding: 0; }
  .modal__card { border-radius: 0; }
  .modal__body { padding: 8px 20px 32px; }
  .modal__art .art__name { left: 20px; }
  .modal__grid { grid-template-columns: 1fr; gap: 8px; }
  .mini__row { grid-template-columns: 90px 1fr 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Peek at a family profile */
.peek { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .78); display: grid; place-items: center; padding: 16px; }
.peek[hidden] { display: none; }
.peek__card { position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto; background: #181818; border-radius: 12px; padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.peek__close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #2a2a2a; color: #fff; font-size: 22px; cursor: pointer; }
.peek__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.peek__head .avatar { width: 56px; height: 56px; }
.peek__head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.peek__kicker, .peek__label { margin: 0; color: var(--red); font-weight: 800; letter-spacing: .16em; font-size: 11px; text-transform: uppercase; }
.peek__label { margin-bottom: 10px; }
.peek__persona { margin-bottom: 20px; padding: 16px 18px; border-radius: 10px; background: linear-gradient(135deg, rgba(229, 9, 20, .16), rgba(255, 255, 255, .03)); border: 1px solid rgba(229, 9, 20, .3); }
.peek__persona .peek__label { margin-bottom: 4px; }
.peek__persona h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; }
.peek__tag { margin: 2px 0 10px; font-style: italic; color: #ddd; }
.peek__about { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: #ccc; }
.peek__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.peek__stats div { display: flex; flex-direction: column; gap: 2px; }
.peek__stats b { font-size: 20px; }
.peek__stats span { color: var(--muted); font-size: 11px; line-height: 1.3; }
@media (max-width: 480px) { .peek__stats { grid-template-columns: repeat(2, 1fr); } }
.peek__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.peek__show { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.peek__show .art { position: relative; display: block; inset: auto; width: 100%; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; }
.peek__show .art img { position: absolute; inset: 0; }
.peek__show img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peek__show span { color: var(--muted); font-size: 12px; }
.peek__lines { margin: 0 0 18px; padding-left: 18px; line-height: 1.5; font-size: 15px; color: #ddd; }
.peek__lines li { margin-bottom: 6px; }
.peek__locked { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 22px 12px; border-radius: 10px;
  background: repeating-linear-gradient(135deg, #1f1f1f 0 12px, #222 12px 24px); border: 1px dashed #3a3a3a; }
.peek__lock { width: 30px; height: 30px; color: var(--red); margin-bottom: 4px; }
.peek__lock svg { width: 100%; height: 100%; }
.peek__locked span:last-child { color: var(--muted); font-size: 14px; }

/* Genre donut inside a case-file card */
.pie { display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; }
.pie__donut { flex: none; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; }
.pie__donut span { width: 64%; height: 64%; border-radius: 50%; background: #181818; display: grid; place-content: center; text-align: center; font-size: 10px; color: var(--muted); line-height: 1.1; }
.pie__donut b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; color: #fff; }
.pie__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12px; color: #ddd; }
.pie__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.pie__legend b { color: #fff; }

/* How we watch: the family table */
.habits { width: 100%; border-collapse: collapse; font-size: 12px; margin: 4px 0 10px; }
.habits th { text-align: right; color: var(--muted); font-weight: 700; padding: 3px 4px; }
.habits td { text-align: right; padding: 4px; border-top: 1px solid #2a2a2a; color: #ddd; }
.habits td:first-child, .habits th:first-child { text-align: left; color: var(--muted); }
.habits td.hot { color: #fff; font-weight: 800; box-shadow: inset 0 -2px 0 var(--red); }
.habits__type td { color: #fff !important; font-weight: 800; font-size: 11px; border-top: 0; }

/* ==========================================================================
   Case study (case-study.html): strategy-case components. Scoped to .cs.
   ========================================================================== */
.cs .cs-answer { max-width: 900px; background: #1c1c1c; border: 1px solid #2a2a2a; border-top: 3px solid var(--red); border-radius: 12px; padding: 18px 22px; margin: 0 0 20px; }
.cs .cs-answer p { margin: 0; font-size: 18px; line-height: 1.6; color: #e6e6e6; }
.cs .cs-answer b { color: #fff; }
.cs .cs-pillars { max-width: 900px; margin: 0 0 28px; padding-left: 22px; display: grid; gap: 10px; font-size: 16px; line-height: 1.55; color: #d6d6d6; }
.cs .cs-pillars b { color: #fff; }
.cs .cs-pillars li::marker { color: var(--red); font-weight: 800; }
.cs .cs-tldr--flat { padding: 0; margin-top: 0; }
.cs .stat span span { font-size: inherit; color: #fff; }

.cs .pill { display: inline-block; border: 0; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 800; font-style: normal; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: #333; color: #ddd; }
.cs .pill--yes { background: rgba(70, 211, 105, .16); color: var(--green); }
.cs .pill--no { background: rgba(229, 9, 20, .18); color: #ff6b72; }
.cs .pill--part { background: rgba(229, 165, 10, .16); color: #f0b93a; }

.cs .scq { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 12px; margin-bottom: 16px; }
.cs .scq__item { background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 12px; padding: 18px; }
.cs .scq__item span, .cs .phase > span, .cs .hyp p span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cs .scq__item p { margin: 0; font-size: 15px; line-height: 1.55; color: #d6d6d6; }
.cs .scq__item b { color: #fff; }
.cs .scq__item--q { border-color: var(--red); background: rgba(229, 9, 20, .08); }
.cs .scq__item--q span { color: var(--red); }
.cs .scq__item--q p { color: #fff; font-weight: 600; font-size: 17px; }

.cs .cs-exhibit { margin: 0 0 22px; }
.cs .cs-exhibit__cap { color: #cfcfcf !important; font-size: 14px !important; margin: 0 0 12px !important; text-align: left; }
.cs .cs-exhibit__cap b { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; margin-right: 8px; }

.cs .itree { display: grid; grid-template-columns: minmax(200px, 1fr) 2.4fr; gap: 28px; align-items: center; }
.cs .itree__root { background: var(--red); color: #fff; font-weight: 800; font-size: 18px; line-height: 1.35; padding: 22px; border-radius: 12px; position: relative; }
.cs .itree__root::after { content: ""; position: absolute; right: -28px; top: 50%; width: 28px; border-top: 2px solid #444; }
.cs .itree__branches { display: grid; gap: 10px; border-left: 2px solid #444; padding-left: 20px; }
.cs .itree__b { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; text-decoration: none; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 10px; padding: 12px 16px; }
.cs .itree__b::before { content: ""; position: absolute; left: -21px; top: 50%; width: 20px; border-top: 2px solid #444; }
.cs .itree__b:hover { border-color: #555; }
.cs .itree__b b { font-size: 15px; }
.cs .itree__b span { grid-column: 1; font-size: 13px; color: var(--muted); }
.cs .itree__b em { grid-column: 2; grid-row: 1 / 3; }

.cs .hyps { display: grid; gap: 10px; margin: 6px 0 26px; }
.cs .hyp { background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.cs .hyp__head { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cs .hyp__head b { font-size: 16px; flex: 1; min-width: 200px; }
.cs .hyp__id { font-family: var(--display); font-size: 26px; color: var(--red); line-height: 1; }
.cs .hyp p { margin: 0; font-size: 14px; line-height: 1.55; color: #cfcfcf; }

.cs .cs-table-wrap { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.cs .cs-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.cs .cs-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid #333; vertical-align: bottom; }
.cs .cs-table th span { display: block; color: #fff; font-size: 13px; }
.cs .cs-table td { padding: 10px 12px; border-bottom: 1px solid #262626; color: #ddd; vertical-align: top; line-height: 1.45; }
.cs .cs-table td:first-child { color: #bbb; }
.cs .cs-table td > span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cs .cs-table td.hot { color: #fff; font-weight: 800; box-shadow: inset 0 -2px 0 var(--red); }
.cs .cs-table td.neg { color: #ff6b72; font-weight: 700; }
.cs .cs-table td.pos { color: var(--green); font-weight: 700; }
.cs .cs-table tr.is-pick td { background: rgba(229, 9, 20, .08); }
.cs .cs-table tr.is-pick td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.cs .cs-table small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.cs .cs-table__divider td { color: var(--red) !important; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding-top: 22px; border-bottom-color: #333; }
.cs .cs-table--seg th:not(:first-child), .cs .cs-table--seg td:not(:first-child) { width: 20%; }
.cs .cs-table--opts td:not(:first-child):not(:last-child) { text-align: center; font-size: 18px; color: #fff; }
.cs .cs-table--opts th:not(:first-child):not(:last-child) { text-align: center; }

.cs .sharebar__bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; gap: 2px; }
.cs .sharebar__bar i { display: block; height: 100%; }
.cs .sharebar__legend { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #ddd; }
.cs .sharebar__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }
.cs .sharebar__legend b { color: #fff; margin-left: 4px; }
.cs .sharebar__legend span { color: var(--dim); font-size: 12px; margin-left: 4px; }

.cs .sizing { display: grid; grid-template-columns: minmax(260px, 1fr) 1.5fr; gap: 24px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 14px; padding: 20px; }
.cs .sizing__fixed { margin: 0 0 14px; font-size: 13px; color: #cfcfcf; line-height: 1.5; }
.cs .sizing__in { display: grid; grid-template-columns: 1fr 64px; gap: 4px 12px; align-items: center; margin-bottom: 12px; }
.cs .sizing__in span { grid-column: 1 / -1; font-size: 13px; color: #ddd; }
.cs .sizing__in em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f0b93a; margin-left: 6px; }
.cs .sizing__in input { width: 100%; accent-color: var(--red); }
.cs .sizing__in b { text-align: right; font-size: 14px; }
.cs .sizing__out .cs-table { min-width: 420px; }
.cs .sizing__be { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.cs .sizing__be div { border: 1px solid #2a2a2a; border-radius: 10px; padding: 14px; }
.cs .sizing__be b { display: block; font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; color: #fff; margin-bottom: 4px; }
.cs .sizing__be span { font-size: 13px; color: var(--muted); line-height: 1.4; }

.cs .phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: phase; }
.cs .phase { background: #1c1c1c; border: 1px solid #2a2a2a; border-top: 3px solid #444; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; }
.cs .phase:nth-child(2) { border-top-color: #8a1a20; }
.cs .phase:nth-child(3) { border-top-color: var(--red-dark); }
.cs .phase:nth-child(4) { border-top-color: var(--red); }
.cs .phase h3 { margin: 0 0 8px; font-size: 17px; }
.cs .phase p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #cfcfcf; }
.cs .phase .phase__gate { margin: auto 0 0; padding-top: 10px; border-top: 1px dashed #333; color: #fff; }
.cs .phase__gate b { color: #f0b93a; }

.cs .metric i { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

@media (max-width: 900px) {
  .cs .scq, .cs .itree, .cs .sizing, .cs .hyp { grid-template-columns: 1fr; }
  .cs .itree__root::after { display: none; }
  .cs .phases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cs .phases, .cs .sizing__be { grid-template-columns: 1fr; }
  .cs .itree__b { grid-template-columns: 1fr; }
  .cs .itree__b em { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
}

/* Parent peeks: top 10 grid, each-year strip, SRK shelf */
.peek__genre { margin: 0 0 16px; font-size: 18px; font-weight: 700; }
.peek__top10 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 16px; }
.peek__top10 .peek__show { font-size: 11px; }
.peek__top10 .peek__show span { font-size: 10px; }
.peek__years { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.peek__year { flex: 0 0 76px; display: flex; flex-direction: column; gap: 3px; font-size: 11px; }
.peek__year .art { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: 5px; overflow: hidden; }
.peek__year .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.peek__year b { color: var(--red); font-size: 12px; }
.peek__year span { color: #ccc; line-height: 1.2; }
.peek__year--mom { flex-basis: 64px; background: #222; border-radius: 6px; padding: 8px 6px; text-align: center; }
.peek__movies { font-family: var(--display); font-size: 30px; color: #fff !important; line-height: 1; }
@media (max-width: 560px) { .peek__top10 { grid-template-columns: repeat(3, 1fr); } }
.peek__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.peek__chips span { background: rgba(229, 9, 20, .14); border: 1px solid rgba(229, 9, 20, .45); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.peek__days { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: thin; }
.peek__day { flex: 0 0 150px; display: flex; flex-direction: column; gap: 4px; background: #000; border: 1px solid #2a2a2a; border-radius: 8px; padding: 12px; }
.peek__dayname { color: var(--red); font-weight: 800; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.peek__day b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
.peek__day span:last-child { color: var(--muted); font-size: 11px; }
.peek__row { display: flex; overflow-x: auto; overflow-y: hidden; padding: 4px 0 10px; margin-bottom: 14px; scrollbar-width: thin; }
.peek__row .top10 .tile { width: 96px; }
.peek__row .top10__num { font-size: 120px; }
.peek__callout { border-left: 4px solid var(--red); background: rgba(229, 9, 20, .1); padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.peek__tcard { border: 0; background: none; color: inherit; text-align: left; cursor: pointer; padding: 0; font: inherit; flex-basis: 96px; }
.peek__tcard .art { transition: transform .2s, box-shadow .2s; }
.peek__tcard:hover .art, .peek__tcard.is-on .art { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--red); }
.peek__story { background: #0d0d0d; border: 1px solid #2a2a2a; border-left: 4px solid var(--red); border-radius: 8px; padding: 14px 16px; margin: -6px 0 16px; }
.peek__story h3 { margin: 4px 0 8px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.peek__story p { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #ddd; }
.peek__irony { color: #fff !important; font-weight: 700; font-size: 16px !important; margin-top: 8px !important; }
.room-name { fill: #fff; font: 800 24px Inter, sans-serif; letter-spacing: .14em; paint-order: stroke; stroke: rgba(0, 0, 0, .55); stroke-width: 5px; }
.house__lede { margin: 0 0 14px; font-size: 18px; line-height: 1.45; color: #fff; font-weight: 600; max-width: 520px; }
.strip button { all: unset; display: block; height: 10px; border-radius: 2px; cursor: pointer; }
.strip button.on { background: var(--red); box-shadow: 0 0 8px rgba(229, 9, 20, .6); }
.strip button.on:hover, .strip button.on:focus-visible { background: #fff; outline: 2px solid var(--red); }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.stills figure { margin: 0; }
.stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; background: #222; }
.stills figcaption { font-size: 13px; color: #ccc; margin-top: 4px; }

/* ---------- Cast scenes: talking heads, the photo of home, the phone call, freeze frame, rewind ---------- */
.scene__bg--flat { inset: 0; }
.scene--cast::after, .scene--phone::after, .scene--photo::after { background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, .05)); }
.cast { position: absolute; z-index: 1; right: clamp(16px, 7vw, 120px); top: 50%; width: min(36vw, 440px); margin: 0; transform: translateY(-50%) scale(.9); opacity: 0; }
.scene.is-on .cast { animation: castIn .7s cubic-bezier(.2, .9, .3, 1.2) .15s forwards; }
.cast img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 4px solid rgba(255, 255, 255, .9); }
.cast figcaption { position: absolute; left: 14px; bottom: 14px; background: #000; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; }
@keyframes castIn { to { opacity: 1; transform: translateY(-50%) scale(1); } }
.cast__say { position: absolute; z-index: 2; right: calc(clamp(16px, 7vw, 120px) + min(36vw, 440px) - 40px); top: 22%; max-width: 300px; margin: 0; background: #fff; color: #111; font-weight: 800; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.3; padding: 16px 18px; border-radius: 18px; opacity: 0; transform: scale(.6); transform-origin: right bottom; }
.cast__say::after { content: ""; position: absolute; right: -14px; bottom: 18px; border: 10px solid transparent; border-left: 18px solid #fff; }
.scene.is-on .cast__say { animation: pop .45s cubic-bezier(.2, .9, .3, 1.3) .9s forwards; }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
.scene--cast .scene__text { max-width: min(46vw, 640px); }
.scene--freeze .cast img { filter: saturate(.25) contrast(1.15) sepia(.25); }
.scene.is-on.scene--freeze .cast { animation: castIn .7s cubic-bezier(.2, .9, .3, 1.2) forwards, freezeZoom .25s 1.2s steps(1) forwards; }
@keyframes freezeZoom { to { opacity: 1; transform: translateY(-50%) scale(1.06) rotate(-2deg); } }
.scratch { position: absolute; z-index: 3; top: 12%; left: 50%; transform: translateX(-50%) rotate(-3deg); background: #ffd000; color: #111; font-weight: 900; font-size: clamp(14px, 1.5vw, 20px); padding: 8px 14px; letter-spacing: .04em; opacity: 0; }
.scene.is-on .scratch { animation: pop .2s 1.1s forwards; }
.polaroid { position: absolute; z-index: 1; right: clamp(16px, 8vw, 140px); top: 50%; margin: 0; background: #fffdf6; padding: 14px 14px 52px; display: flex; gap: 8px; transform: translateY(-50%) rotate(4deg); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); opacity: 0; }
.polaroid img { width: min(12vw, 150px); aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #333; font: italic 600 22px Georgia, serif; }
.scene.is-on .polaroid { animation: polaroidIn 1s ease .2s forwards; }
@keyframes polaroidIn { from { opacity: 0; transform: translateY(-40%) rotate(10deg); } to { opacity: 1; transform: translateY(-50%) rotate(4deg); } }
.phone { position: absolute; z-index: 1; right: clamp(16px, 9vw, 160px); top: 50%; transform: translateY(-50%); width: min(30vw, 320px); min-height: 440px; background: #111; border: 10px solid #2b2b2b; border-radius: 38px; padding: 22px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.phone__top { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 10px; color: #fff; }
.phone__top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.phone__top span { color: #8f8; font-size: 12px; }
.phone__msg { margin: 0; max-width: 85%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.35; opacity: 0; transform: translateY(8px); }
.phone__msg--me { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 4px; }
.phone__msg--them { align-self: flex-start; background: #2c2c2e; color: #fff; border-bottom-left-radius: 4px; }
.scene.is-on .phone__msg { animation: rise .4s ease forwards; animation-delay: calc(.9s + var(--i) * 1.4s); }
.montage--rewind figure { opacity: .55; transform: none; filter: saturate(.6) blur(.4px); }
.scene.is-on .montage--rewind { animation: rewindFly 3s linear infinite; }
.scene.is-on .montage--rewind figure { animation: none; }
@keyframes rewindFly { from { transform: rotate(-8deg) scale(1.25) translateX(-6%); } to { transform: rotate(-8deg) scale(1.25) translateX(6%); } }
.scene--rewind::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 5px); }
.rewind { position: absolute; z-index: 3; top: 9%; left: clamp(24px, 7vw, 120px); color: #fff; font: 900 clamp(18px, 2vw, 28px) "Courier New", monospace; letter-spacing: .1em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 760px) {
  .cast, .polaroid, .phone { top: 14%; right: 50%; transform: translate(50%, 0); width: 56vw; }
  .scene.is-on .cast { animation: none; opacity: 1; }
  .cast__say { right: 8%; top: 4%; max-width: 70%; }
  .polaroid img { width: 22vw; }
  .phone { min-height: 0; }
  .scene--cast .scene__text { max-width: 100%; }
}
.cast--left { right: auto; left: clamp(16px, 6vw, 100px); top: 10%; transform: none; width: min(24vw, 300px); }
.scene.is-on .cast--left { animation: pop .6s cubic-bezier(.2, .9, .3, 1.2) .15s forwards; transform: scale(.6); }
.scene--cast .dorm__girl, .scene--cast .dorm__bubble { display: none; }
.mbars { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.mbars span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #aaa; }
.mbars i { width: 100%; height: calc(var(--h) * 3px); background: var(--red); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: grow .8s ease both; }
@keyframes grow { from { transform: scaleY(0); } }
.peek__year--poster { position: relative; }
.peek__count { position: absolute; top: 6px; left: 6px; right: 6px; z-index: 2; display: flex; align-items: baseline; gap: 4px; background: rgba(0, 0, 0, .72); border-radius: 4px; padding: 3px 6px; color: #fff !important; font-size: 10px; }
.peek__count b { font-family: var(--display); font-weight: 400; font-size: 20px; color: #fff; }

/* ---------- Opening: boot sequence ---------- */
.intro__boot { position: absolute; top: calc(50% + clamp(80px, 12vw, 150px)); left: 0; right: 0; display: grid; gap: 6px; justify-items: center; font: 600 clamp(11px, 1vw, 13px) "Courier New", monospace; letter-spacing: .2em; text-transform: uppercase; color: #9a9a9a; }
.intro__boot span { opacity: 0; animation: bootLine .5s ease forwards; }
.intro__boot span:nth-child(1) { animation-delay: .8s; }
.intro__boot span:nth-child(2) { animation-delay: 1.4s; }
.intro__boot span:nth-child(3) { animation-delay: 2s; }
.intro__boot span:nth-child(4) { animation-delay: 2.6s; color: var(--red); }
@keyframes bootLine { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.intro__hint { opacity: 0; animation: bootLine .7s ease 3.4s forwards; }
.intro__timeline { display: flex; align-items: center; gap: 10px; width: min(520px, 80vw); font: 700 12px Inter, sans-serif; color: #888; }
.intro__timeline span { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 3px, transparent 3px 9px); background-size: 0 100%; background-repeat: no-repeat; animation: ticks 1.6s ease 3.6s forwards; }
@keyframes ticks { to { background-size: 100% 100%; } }
.intro__cta { margin-top: 8px; padding: 12px 34px; font-size: 18px; }
.intro__meta { font-size: 12px; color: #888; letter-spacing: .04em; }
.intro.is-playing .intro__boot { opacity: 0; transition: opacity .3s; }

/* ---------- Who's watching: black, glowing in the color of whoever you hover ---------- */
.profiles { background: #080808 !important; }
.profiles::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 40% at 50% 52%, var(--glow, transparent), transparent 70%); opacity: .35; transition: background .4s; }
.profiles > :not(.profiles__mark) { position: relative; }
.profiles__peek { min-height: 3.2em; margin: 20px auto 0; max-width: 520px; text-align: center; display: grid; gap: 4px; }
.profiles__peek b { color: #fff; font-size: 15px; letter-spacing: .04em; }
.profiles__peek span { color: #bbb; font-size: 15px; }
.profiles__manage { opacity: .5; transform: scale(.85); }
.avatar { position: relative; overflow: hidden; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-30px); } }

.intro__logo { width: clamp(96px, 12vw, 170px); }
.intro__boot { top: auto; bottom: 12vh; animation: bootOut .4s ease 3.2s forwards; }
@keyframes bootOut { to { opacity: 0; visibility: hidden; } }
.intro__hint { bottom: 6vh; gap: 8px; }
.intro__q { font-size: clamp(24px, 3vw, 44px); }

/* ---------- Suhani's cold open: two columns in, one person out (about 3.5 s, any input skips) ---------- */
.reel { position: fixed; inset: 0; z-index: 70; overflow: hidden; background: #050505; cursor: pointer; animation: reel-in .15s ease both; }
.reel.is-out { opacity: 0; transition: opacity .35s ease; pointer-events: none; }
@keyframes reel-in { from { opacity: 0; } }
.reel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 46%, rgba(77, 15, 24, .25) 0%, rgba(5, 5, 5, .5) 55%, #050505 100%); }

/* her posters, racing past on a tilted wall */
.reel__wall { position: absolute; inset: -30% -20%; z-index: 1; perspective: 1100px; }
.reel__grid { position: absolute; inset: 0; display: flex; gap: 10px; justify-content: center;
  transform: rotateX(24deg) rotateZ(-10deg) scale(1.1); filter: brightness(.6);
  transition: transform .7s cubic-bezier(.7, 0, .84, 0), opacity .7s ease-in, filter .7s ease-in; }
.reel__col { flex: 0 0 clamp(84px, 9vw, 150px); display: flex; flex-direction: column; gap: 10px; animation: reel-up var(--t) linear infinite; will-change: transform; }
.reel__col:nth-child(even) { animation-direction: reverse; margin-top: -60px; }
.reel__col img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; background: #1a1a1a; }
@keyframes reel-up { to { transform: translateY(-50%); } }
.reel.is-resolve .reel__grid { transform: rotateX(0) rotateZ(0) scale(.05); opacity: 0; filter: brightness(1.6) blur(3px); }

/* the raw export, row by row */
.reel__file { position: absolute; z-index: 3; top: 26px; left: var(--gutter); margin: 0; display: grid; gap: 6px; font: 600 12px/1.3 "Courier New", monospace; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; }
.reel__file b { color: #fff; font: 400 clamp(22px, 2vw, 30px)/1 var(--display); letter-spacing: .04em; text-transform: none; }
.reel__file b i { font-style: normal; color: var(--red); }
.reel__feed { position: absolute; z-index: 3; left: var(--gutter); bottom: 64px; height: 58vh; width: min(400px, 62vw); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  font: 600 clamp(11px, .95vw, 14px)/1.6 "Courier New", monospace; color: #d6d6d6;
  -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%);
  transition: opacity .3s; }
.reel__feed p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel__feed p:last-child { color: #fff; }
.reel__feed i { font-style: normal; color: var(--red); }
.reel__count { position: absolute; z-index: 3; top: 26px; right: var(--gutter); margin: 0; text-align: right; font: 600 12px/1.4 "Courier New", monospace; letter-spacing: .18em; text-transform: uppercase; color: #9a9a9a; transition: opacity .3s; }
.reel__count b { display: block; font: 400 clamp(44px, 5.4vw, 80px)/.95 var(--display); color: #fff; letter-spacing: .02em; }
.reel.is-resolve .reel__feed, .reel.is-resolve .reel__count { opacity: 0; }

/* the stamp: all Netflix kept */
.reel__stamp { position: absolute; z-index: 4; inset: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; gap: 14px; text-align: center; pointer-events: none; transition: opacity .25s, transform .25s; }
.reel__stamp b { font: 400 clamp(72px, 14vw, 220px)/.86 var(--display); color: #fff; text-shadow: 0 10px 50px rgba(0, 0, 0, .9); animation: reel-stamp .4s cubic-bezier(.2, 1.3, .4, 1) .12s both; }
.reel__stamp b i { font-style: normal; color: var(--red); }
.reel__stamp span { padding: 0 16px; font: 700 clamp(11px, 1.05vw, 15px)/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; color: #e6e6e6; text-shadow: 0 2px 12px #000; animation: reel-rise .3s ease .45s both; }
@keyframes reel-stamp { from { transform: scale(1.7); opacity: 0; filter: blur(10px); } }
@keyframes reel-rise { from { opacity: 0; transform: translateY(8px); } }
.reel.is-resolve .reel__stamp { opacity: 0; transform: scale(.92); }

/* everything collapses into one face, then what the two columns gave away */
.reel__face { position: absolute; z-index: 4; left: 50%; top: 40%; width: clamp(120px, 14vw, 190px); aspect-ratio: 1; border-radius: 6px; overflow: hidden;
  transform: translate(-50%, -50%) scale(.3); opacity: 0; box-shadow: 0 24px 90px rgba(229, 9, 20, .45);
  transition: transform .55s cubic-bezier(.2, 1.25, .35, 1) .15s, opacity .2s .15s; }
.reel__face canvas { display: block; width: 100%; height: 100%; }
.reel.is-resolve .reel__face { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.reel__who { position: absolute; z-index: 4; left: 16px; right: 16px; top: calc(40% + clamp(72px, 8vw, 108px)); margin: 0; display: grid; justify-items: center; gap: 8px; text-align: center; visibility: hidden; }
.reel.is-named .reel__who { visibility: visible; }
.reel__kicker { font: 700 11px/1.4 var(--body); letter-spacing: .24em; text-transform: uppercase; color: #9a9a9a; }
.reel__name { font: 400 clamp(56px, 7.6vw, 112px)/.9 var(--display); letter-spacing: .05em; color: #fff; }
.reel__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin-top: 4px; }
.reel__tags span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px; background: rgba(24, 24, 24, .8); font: 500 14px/1.3 var(--body); color: #fff; opacity: 0; }
.reel__tags small { margin-right: 8px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.reel.is-named .reel__tags span { animation: reel-rise .25s ease calc(.15s + var(--i) * .08s) both; opacity: 1; }

.reel__skip { position: absolute; z-index: 5; right: var(--gutter); bottom: 22px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .4); color: #ddd; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.reel__skip:hover { border-color: #fff; color: #fff; }
.reel__bar { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform-origin: left; animation: reel-bar var(--dur) linear both; }
@keyframes reel-bar { from { transform: scaleX(0); } }

@media (max-width: 640px) {
  .reel__feed { width: calc(100vw - 32px); height: 34vh; bottom: 70px; opacity: .6; }
  .reel__count b { font-size: 40px; }
  .reel__face { top: 34%; }
  .reel__who { top: calc(34% + 74px); }
  .reel__tags span { font-size: 13px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__col, .reel__stamp b, .reel__stamp span { animation: none; }
  .reel__grid, .reel__face { transition: none; }
}

/* Family profiles open as a full Netflix-style page that ends at a locked wall. */
.peek { padding: 0; place-items: stretch; background: #141414; }
.peek__card { width: 100%; max-width: none; max-height: none; height: 100vh; border-radius: 0; padding: 0 var(--gutter) 0; overflow-y: auto; box-shadow: none; background: #141414; }
.peek__close { position: fixed; top: 18px; right: 22px; z-index: 5; }
.peek__hero { position: relative; margin: 0 calc(var(--gutter) * -1) 18px; height: min(56vh, 520px); background: #222 center / cover no-repeat; display: flex; align-items: flex-end; padding: 0 var(--gutter) 40px; }
.peek__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .85), rgba(20, 20, 20, .2) 60%), linear-gradient(0deg, #141414, transparent 45%); }
.peek__herotext { position: relative; z-index: 1; }
.peek__herotitle { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 7vw, 110px); line-height: .9; }
.peek__head { margin-top: 0; }
.peek__persona { max-width: 760px; }
.peek__wall { position: relative; display: grid; gap: 14px; margin: 10px 0 -170px; filter: blur(6px); opacity: .55; pointer-events: none; }
.peek__ghostrow { display: flex; gap: 10px; overflow: hidden; }
.peek__ghostrow i { flex: 0 0 160px; height: 96px; border-radius: 6px; background: linear-gradient(135deg, #3a3a3a, #1d1d1d); }
.peek__locked { position: relative; z-index: 2; margin: 0 auto 0; max-width: 520px; background: rgba(20, 20, 20, .92); min-height: 40vh; display: flex; flex-direction: column; justify-content: center; }
.peek__head { display: none; }

/* Avatar reveal: a face rebuilt from data on a canvas, then the real portrait */
.profile .avatar img { opacity: 0; transition: opacity .5s ease, filter .5s ease; filter: contrast(1.2); }
.profile .avatar.is-revealed img { opacity: 1; filter: none; }
.avatar__recon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; transition: opacity .5s ease; pointer-events: none; image-rendering: pixelated; }
.avatar.is-revealed .avatar__recon { opacity: 0; }
.avatar__status { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 2; text-align: center; font: 700 8px/1 "Courier New", monospace; letter-spacing: .14em; color: #fff; text-shadow: 0 0 6px #e50914; opacity: 0; transition: opacity .3s; pointer-events: none; }
.avatar.is-reconstructing .avatar__status { opacity: 1; }
.avatar__lock, .avatar__kids { z-index: 3; }
.avatar__recon { background: #050505 repeating-linear-gradient(0deg, rgba(229, 9, 20, .08) 0 2px, transparent 2px 6px); }
.profile .avatar:not(.is-revealed):not(.is-reconstructing) .avatar__status::after { content: "WAITING…"; }
.profile .avatar:not(.is-revealed) .avatar__status { opacity: 1; }

/* Title modal: a story line, a few facts, and every episode with the day I watched it. */
.modal__lead { font-size: 19px; line-height: 1.5; margin: 0 0 20px; max-width: 46ch; }
.modal__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 8px; }
.modal__facts:empty { display: none; }
.modal__facts div { border-left: 3px solid var(--red); padding: 2px 0 2px 12px; }
.modal__facts b { display: block; font-size: 18px; }
.modal__facts span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.eplist__head { display: flex; align-items: baseline; gap: 12px; margin: 32px 0 8px; }
.eplist__head h4 { margin: 0; }
.eplist__note { color: var(--muted); font-size: 14px; flex: 1; }
.eplist__season { background: #242424; color: #fff; border: 1px solid #4d4d4d; border-radius: 4px; padding: 8px 12px; font: inherit; font-size: 15px; }
.eplist { list-style: none; margin: 0; padding: 0; }
.ep { display: grid; grid-template-columns: 36px 140px 1fr; gap: 16px; align-items: center; padding: 16px 8px; border-bottom: 1px solid #404040; border-radius: 4px; }
.ep--best { background: #2a2a2a; }
.ep__num { font-size: 22px; color: #d2d2d2; text-align: center; }
.ep__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #222; }
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep__thumb .art { position: absolute; inset: 0; }
.ep__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.ep__top span { color: #fff; font-weight: 600; white-space: nowrap; font-size: 14px; }
.ep__copy { color: #bcbcbc; font-size: 14px; display: block; }
.ep__copy em { color: var(--red); font-style: normal; font-weight: 700; }
.peek .row { margin: 4px 0 16px; padding: 0; }
.peek .row__title { font-size: 15px; padding: 0; }
.peek .row__scroller { padding-left: 0; padding-right: 0; }
.peek .tile { width: 230px; }
@media (max-width: 600px) {
  .ep { grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 4px; }
  .ep__num { display: none; }
  .ep__top { flex-direction: column; gap: 2px; }
  .eplist__head { flex-wrap: wrap; }
}

/* Who he is / who she is: guess, signal, evidence. */
.who-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0 0 24px; }
.who { background: #1f1f1f; border-left: 3px solid var(--red); border-radius: 6px; padding: 14px 16px; }
.who__label { color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: .14em; margin: 0 0 6px; }
.who h4 { font-size: 18px; margin: 0 0 4px; }
.who__signal { color: var(--muted); font-size: 13px; font-style: italic; margin: 0 0 8px; }
.who__ev { font-size: 14px; line-height: 1.5; margin: 0; color: #d6d6d6; }
.who__ev b { color: #fff; }

/* What a show says about the person: a quiet line under the poster. */
.says { display: block; color: #bdbdbd; font-size: 12px; font-style: italic; line-height: 1.3; margin-top: 6px; }
.top10__col { display: flex; flex-direction: column; }
.top10__col .says { max-width: clamp(120px, 10.5vw, 170px); min-height: 2.6em; }
.peek__row .top10__col .says { max-width: 96px; font-size: 11px; }
.peek__year .says { color: #9a9a9a; font-size: 10.5px; margin-top: 0; }
.grow { flex: 0 0 auto; display: flex; flex-direction: column; }
.grow .says { padding-left: 2px; }

/* Billboards: Netflix's meta line with a rating box, and the special playing behind, picture only. */
.rating { border: 1px solid rgba(255, 255, 255, .55); padding: 1px 6px; font-weight: 500; font-size: .85em; letter-spacing: .04em; }
.peek__hero { overflow: hidden; }
.peek__stage { position: absolute; inset: 0; z-index: 0; }
.peek__stage .scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; }
.peek__stage .scene.is-on { opacity: 1; transition: opacity .9s ease; }
/* Set scenes cut like TV: the old shot is gone at once, the new one comes up fast (or hard-cuts). */
.scene--set.is-on { transition-duration: .35s; }
.scene--cut.is-on { transition: none; }
.peek__stage .scene__text, .peek__stage .cast figcaption, .peek__stage .say { display: none; }
.peek__hero::after { z-index: 1; }
.peek__herotext { position: relative; z-index: 2; }
.peek__billmeta { margin: 10px 0 8px; font-size: 15px; }
.peek__billcopy { max-width: 46ch; margin: 0 0 16px; line-height: 1.5; color: #e6e6e6; }
.peek__billbtns { display: flex; gap: 10px; }
.btn--dark { background: rgba(109, 109, 110, .7); color: #fff; }
.btn--dark:hover { background: rgba(109, 109, 110, .5); }

/* Profile pages at Netflix scale: a full billboard, white row titles, home-sized posters. */
.peek__hero { height: min(82vh, 56.25vw); min-height: 460px; padding-bottom: clamp(48px, 8vh, 110px); margin-bottom: 8px; }
.peek__herotext { max-width: min(640px, 92vw); }
.peek__because { margin: 0 0 14px; font-size: clamp(14px, 1.1vw, 18px); font-weight: 600; color: #e5e5e5; }
.peek__mark { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #e5e5e5; font-weight: 700; letter-spacing: .3em; font-size: clamp(12px, .9vw, 15px); }
.peek__s { font-family: var(--display); color: var(--red); font-size: 2.2em; line-height: 1; letter-spacing: 0; }
.peek__herotitle small { display: block; font-size: .52em; line-height: 1; margin-top: .08em; }
.peek__billmeta { font-size: clamp(15px, 1.25vw, 19px); }
.peek__billcopy { font-size: clamp(15px, 1.2vw, 20px); }
.peek__billbtns .btn { font-size: clamp(15px, 1.2vw, 20px); padding: .55em 1.6em; }
.peek .peek__label { color: #e5e5e5; text-transform: none; letter-spacing: 0; font-weight: 700; font-size: clamp(18px, 1.45vw, 24px); margin: 34px 0 12px; }
.peek .peek__genre { font-size: clamp(18px, 1.4vw, 22px); font-weight: 400; color: #bcbcbc; margin-top: -6px; }
.peek__row .top10 .tile { width: clamp(120px, 10.5vw, 170px); }
.peek__row .top10__num { font-size: clamp(170px, 15vw, 250px); }
.peek__row .top10__col .says { max-width: clamp(120px, 10.5vw, 170px); font-size: 13px; }
.peek__years { gap: 10px; }
.peek__year, .peek__tcard { flex: 0 0 clamp(130px, 11.5vw, 200px); font-size: 14px; gap: 5px; }
.peek__year b { font-size: 15px; }
.peek__year span { font-size: 14px; }
.peek__year .says { font-size: 12.5px; }
.peek__count b { font-size: 26px; }
.peek .row__title { font-size: clamp(18px, 1.45vw, 24px); }
.peek .tile { width: clamp(220px, 19vw, 340px); }

/* Manage Profiles: Netflix's white account page. */
.acct { position: fixed; inset: 0; z-index: 130; overflow-y: auto; background: #f5f5f1; color: #141414; }
.acct[hidden] { display: none; }
.acct__top { display: flex; justify-content: space-between; align-items: center; padding: 18px clamp(20px, 11vw, 230px); background: #fff; border-bottom: 1px solid #e3e3e3; }
.acct__logo { font-family: var(--display); color: var(--red); font-size: 34px; letter-spacing: .02em; }
.acct__top .avatar { width: 40px; }
.acct__body { display: grid; grid-template-columns: minmax(200px, 400px) minmax(0, 1080px); gap: 12px; padding: 40px clamp(20px, 11vw, 230px) 80px; }
.acct__nav { display: flex; flex-direction: column; gap: 6px; }
.acct__back { align-self: flex-start; border: 0; background: none; font: inherit; font-size: 17px; color: #141414; cursor: pointer; padding: 8px 18px 28px; }
.acct__link { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 6px; font-size: 19px; font-weight: 600; color: #141414; text-decoration: none; }
.acct__link:hover { background: #ebebeb; }
.acct__link.is-on { background: #e2e2e2; }
.acct__link svg, .acct__card svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.acct__main h1 { font-size: clamp(36px, 3.4vw, 54px); margin: 0; letter-spacing: -.02em; }
.acct__sub { font-size: 21px; color: #333; margin: 4px 0 22px; }
.acct__main h2 { font-size: 21px; font-weight: 500; margin: 40px 0 14px; }
.acct__card { background: #fff; border: 1px solid #cfcfcf; border-radius: 8px; }
.acct__card summary { display: flex; align-items: center; gap: 18px; padding: 26px; cursor: pointer; list-style: none; }
.acct__card summary::-webkit-details-marker { display: none; }
.acct__card summary span { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.acct__card b { font-size: 19px; }
.acct__card small, .acct__who small { color: #555; font-size: 15px; }
.acct__card i, .acct__row i { font-style: normal; font-size: 30px; color: #141414; }
.acct__card[open] i { transform: rotate(90deg); }
.acct__card p { margin: 0; padding: 0 26px 24px 70px; line-height: 1.6; color: #333; }
.acct__list { background: #fff; border: 1px solid #cfcfcf; border-radius: 8px; padding: 6px 16px 18px; }
.acct__row { display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 6px; border: 0; border-bottom: 1px solid #e3e3e3; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.acct__row:hover { background: #fafafa; }
.acct__row .avatar { width: 54px; position: relative; flex: none; }
.acct__who { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.acct__who b { font-size: 21px; }
.acct__now { background: #d2e3fc; color: #174ea6; font-size: 15px; font-weight: 500; padding: 5px 10px; border-radius: 4px; }
.acct__add { display: block; width: 100%; margin-top: 24px; padding: 16px; border: 0; border-radius: 4px; background: #d9d9d9; font: inherit; font-size: 21px; font-weight: 600; color: #141414; cursor: pointer; }
.acct__add:hover { background: #cfcfcf; }
.acct__note { text-align: center; color: #555; margin: 18px 0 0; }
@media (max-width: 760px) { .acct__body { grid-template-columns: 1fr; } .acct__nav { display: none; } .acct__top, .acct__body { padding-left: 16px; padding-right: 16px; } }

/* Profile pages as a Netflix home: an inset billboard card, full-bleed rows of wide tiles with captions. */
.peek__hero { margin: 24px 0 36px; border-radius: 22px; height: min(80vh, 780px); min-height: 480px; padding: 0 clamp(24px, 3vw, 48px) clamp(32px, 6vh, 64px); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.peek__badge { position: absolute; right: clamp(20px, 3vw, 48px); bottom: clamp(32px, 6vh, 64px); display: flex; align-items: center; gap: 8px; z-index: 2;
  background: rgba(20, 20, 20, .75); border-radius: 6px; padding: 8px 14px; font-weight: 600; font-size: clamp(13px, 1vw, 17px); }
.peek__badge i { width: 18px; height: 14px; background: linear-gradient(135deg, #ff2079, var(--red)); clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%); }
.peek__herotext { position: static; }
.peek .row { margin: 0 calc(var(--gutter) * -1) 40px; padding: 0; }
.peek .row__title { font-size: clamp(19px, 1.75vw, 30px); margin: 0 var(--gutter) 14px; }
.peek .row__scroller { padding: 6px var(--gutter) 14px; }
.peek .row__sub { color: #9a9a9a; }
.cap { flex: 0 0 auto; width: clamp(220px, 18.4vw, 380px); display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start;
  border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; }
.cap .tile { width: 100%; display: block; margin-bottom: 8px; }
.cap .tile .art { position: absolute; inset: 0; }
.cap__top { font-size: clamp(15px, 1.15vw, 19px); font-weight: 700; color: #fff; }
.cap__line { font-size: clamp(13px, .95vw, 16px); color: #a3a3a3; }
button.cap { cursor: pointer; }
button.cap:hover .tile, button.cap.is-on .tile { box-shadow: 0 0 0 3px var(--red); }
.peek .peek__story { margin: -24px 0 36px; }
.peek__herotext > :not(.peek__badge) { position: relative; z-index: 2; }
.cap .art--img .art__name { display: none; }

/* ---------- Set scenes: the Tiwaris on TV ---------- */
.scene--set { align-items: flex-start; padding: clamp(22px, 4vh, 44px) clamp(24px, 4vw, 64px); }
.scene--set::after { background: radial-gradient(120% 90% at 50% 45%, transparent 60%, rgba(0, 0, 0, .55)); pointer-events: none; }
.scene.is-on .scene__bg--set { animation: none; }
.scene__bg--set { inset: 0; display: flex; background: #000; }
.scene__bg--set .pane { position: relative; flex: 1; overflow: hidden; }
.scene__bg--set .set { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene__bg--set.is-split .pane + .pane { border-left: 3px solid #000; }
.scene--set .scene__text { z-index: 2; max-width: 60%; }
.scene--set .scene__kicker { font-size: clamp(11px, .95vw, 13px); letter-spacing: .28em; color: rgba(255, 255, 255, .92); font-weight: 700; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); display: inline-flex; align-items: center; gap: 12px; }
.scene--set .scene__kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.scene.is-on.scene--set .scene__kicker { animation: rise .8s cubic-bezier(.2, .8, .2, 1) .2s forwards, kickerOut .8s ease 4.2s forwards; }
@keyframes kickerOut { to { opacity: 0; } }
/* Film look over every set: soft grain and a gentle vignette. */
.scene--set::before { content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
.scene--set .scene__line { font-size: clamp(36px, 5vw, 76px); }
.p .p__lap, .p .p__sit { display: none; }
.is-sit .p__legs, .is-sit .p__shadow, .is-lying .p__shadow { display: none; }
.is-sit .p__lap, .is-sit .p__sit { display: block; }
.scene--set .dorm__light { animation: twinkle 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes twinkle { 50% { opacity: .45; } }

/* Burned-in subtitles, Netflix style, with the speaker named */
.subs { position: absolute; z-index: 3; left: 50%; bottom: clamp(110px, 17vh, 170px); transform: translateX(-50%); width: min(90%, 980px); margin: 0; text-align: center;
  font-size: clamp(18px, 2.3vw, 34px); font-weight: 600; line-height: 1.3; color: #fff; text-shadow: 0 0 4px #000, 0 2px 8px #000, 0 0 2px #000; }
.subs__who { display: block; font-size: .44em; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: .35em; }
.player.no-subs .subs { display: none; }
.teaser .subs { font-size: clamp(11px, 2.4cqw, 20px); bottom: 16cqw; }

/* Opening credits, over the action */
.credit { position: absolute; z-index: 3; left: 0; right: 0; top: 11%; text-align: center; opacity: 0; pointer-events: none;
  font-family: Inter, sans-serif; font-weight: 300; font-size: clamp(14px, 1.5vw, 22px); letter-spacing: .3em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .9); line-height: 1.6; }
.credit b { display: block; font-weight: 700; font-size: 1.5em; letter-spacing: .14em; }
.credit.is-title { top: 16%; font-family: var(--display); font-weight: 400; letter-spacing: .04em; font-size: clamp(44px, 7vw, 110px); line-height: .95; text-transform: none; }
.credit.is-title small { display: block; font-family: Inter, sans-serif; font-size: .17em; letter-spacing: .3em; color: var(--red); font-weight: 800; text-transform: uppercase; margin-bottom: .6em; }
.teaser .credit { font-size: clamp(9px, 1.8cqw, 15px); }
.teaser .credit.is-title { font-size: clamp(20px, 7cqw, 60px); }

/* ---------- Cold open, upgraded: the S draws itself while the family's titles pour into it ---------- */
.intro__rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.intro__ribbon { animation: ribbon-draw 1.8s cubic-bezier(.6, 0, .2, 1) .35s both; }
.intro__ribbon--shade { animation-delay: .45s; }
.intro__logo { z-index: 2; }
.intro__boot { gap: 9px; font-size: clamp(13px, 1.25vw, 17px); color: #c9c9c9; letter-spacing: .24em; }
.intro__boot span { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; opacity: 1;
  animation: bootType .9s steps(34, end) forwards; border-right: 2px solid transparent; }
.intro__boot span:nth-child(1) { animation-delay: 1.2s; }
.intro__boot span:nth-child(2) { animation-delay: 1.9s; }
.intro__boot span:nth-child(3) { animation-delay: 2.6s; }
.intro__boot span:nth-child(4) { animation-delay: 3.3s; color: #ff3d4f; text-shadow: 0 0 12px rgba(229, 9, 20, .8); }
@keyframes bootType { from { max-width: 0; } to { max-width: 40ch; } }
.intro__hint { animation-delay: 4.2s; }
.intro__timeline span { animation-delay: 4.4s; }
@media (prefers-reduced-motion: reduce) { .intro__ribbon { animation: none; } .intro__boot span { animation: none; max-width: none; } }

/* ---------- Who's watching: bigger faces, and no names until the data works them out ---------- */
.profile .avatar { width: clamp(112px, 12.5vw, 196px); }
.profiles__title { font-size: clamp(34px, 4vw, 60px); }
.profile__name { font-family: "Courier New", monospace; font-weight: 700; letter-spacing: .06em; white-space: pre; font-size: clamp(12px, 1.05vw, 15px); color: #8a8a8a; transition: color .3s; }
.profile__name.is-named { font-family: Inter, sans-serif; letter-spacing: 0; text-transform: none; font-weight: 500; font-size: clamp(15px, 1.4vw, 21px); color: #e5e5e5; }
.profile__ev { min-height: 1.2em; margin-top: -4px; font: 700 10px/1.2 "Courier New", monospace; letter-spacing: .14em; text-transform: uppercase; color: #e50914; text-shadow: 0 0 8px rgba(229, 9, 20, .6); opacity: .9; transition: opacity .5s; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.profile__ev:empty { opacity: 0; }
.profile__ev.is-match { color: #46d369; text-shadow: 0 0 8px rgba(70, 211, 105, .6); }
.profile__ev:not(.is-match):not(:empty) { animation: evFlick .16s steps(2) infinite; }
.profile .avatar.is-revealed + .profile__name + .profile__ev:not(.is-match) { opacity: 0; }
@keyframes evFlick { 50% { opacity: .65; } }
.avatar.is-reconstructing { box-shadow: 0 0 0 1px rgba(229, 9, 20, .6), 0 0 30px rgba(229, 9, 20, .35); }
.avatar__recon { image-rendering: auto; }

/* ---------- the showstopper reveal: the account arriving, the faces assembling out of their own posters ---------- */
.profile .avatar { width: clamp(124px, 14vw, 224px); }
.profiles__list { gap: clamp(16px, 2.4vw, 36px); }
.profiles__hud { margin: 0 0 14px; font: 700 clamp(10px, .9vw, 13px)/1.2 "Courier New", monospace; letter-spacing: .2em; text-transform: uppercase; color: #9a9a9a; text-align: center; min-height: 1.2em; }
.profiles__hud b { color: #fff; font-weight: 700; }
.profiles__hud i { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #e50914; box-shadow: 0 0 10px #e50914; vertical-align: 1px; animation: hudBlink .8s steps(2) infinite; }
@keyframes hudBlink { 50% { opacity: .2; } }
.avatar__status { font-size: clamp(8px, .7vw, 10px); bottom: 8px; letter-spacing: .16em; }
.avatar.is-reconstructing { box-shadow: 0 0 0 1px rgba(229, 9, 20, .8), 0 0 40px rgba(229, 9, 20, .45); transform: scale(1.04); transition: transform .4s; }
.avatar.is-revealed { animation: faceLock .5s ease-out; }
@keyframes faceLock { 0% { box-shadow: 0 0 0 3px #fff, 0 0 60px rgba(255, 255, 255, .6); } 100% { box-shadow: none; } }

/* ---------- The intro S as a mosaic of the family's posters (js/mosaic.js) ---------- */
/* Bigger than the plain S so the posters read; the boot lines move down to clear it. */
.intro.has-mosaic .intro__logo { width: min(clamp(150px, 24vw, 300px), 27vh); }
.intro.has-mosaic .intro__boot { top: calc(50% + 21.5vh + 14px); }

/* ---------- the intro's Play button: a pulsing play disc, a light sweep, and the family's posters underneath ---------- */
.intro__hint { z-index: 3; }
.intro__hint::before { content: ""; position: absolute; inset: -40px -10vw -8vh; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 60%, rgba(0, 0, 0, .85), transparent 75%); }
.intro__cta { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 14px;
  margin-top: 10px; padding: 10px 28px 10px 12px; border-radius: 999px; background: #fff; color: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 40px rgba(229, 9, 20, .35); transition: color .35s, transform .35s, box-shadow .35s; }
.intro__cta::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%);
  animation: ctaSweep 3.2s ease-in-out 5s infinite; }
@keyframes ctaSweep { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.intro__ctaReel { position: absolute; inset: 0; z-index: -1; opacity: 0; overflow: hidden; background: #000; transition: opacity .4s; }
.intro__ctaReel span { display: flex; height: 100%; width: max-content; animation: ctaReel 14s linear infinite; }
.intro__ctaReel img { height: 100%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; filter: saturate(.7) brightness(.55); }
.intro__ctaReel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(229, 9, 20, .55), rgba(120, 0, 10, .35)); }
@keyframes ctaReel { to { transform: translateX(-50%); } }
.intro__ctaIcon { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; }
.intro__ctaIcon svg { width: 22px; height: 22px; margin-left: 3px; }
.intro__ctaIcon::before, .intro__ctaIcon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: ctaPulse 2.2s ease-out infinite; }
.intro__ctaIcon::after { animation-delay: 1.1s; }
@keyframes ctaPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.intro__ctaText { display: grid; text-align: left; line-height: 1.1; }
.intro__ctaText b { font: 400 30px/1 var(--display); letter-spacing: .04em; }
.intro__ctaText small { font: 600 11px/1.3 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; color: #666; transition: color .35s; }
.intro__start:hover .intro__cta, .intro__start:focus-visible .intro__cta { color: #fff; transform: scale(1.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 14px 60px rgba(229, 9, 20, .7); }
.intro__start:hover .intro__ctaReel, .intro__start:focus-visible .intro__ctaReel { opacity: 1; }
.intro__start:hover .intro__ctaText small, .intro__start:focus-visible .intro__ctaText small { color: #ffd0d3; }
.intro__start:hover .intro__ctaIcon, .intro__start:focus-visible .intro__ctaIcon { background: #fff; color: var(--red); }
.intro__start:hover .intro__ctaIcon::before, .intro__start:hover .intro__ctaIcon::after { border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .intro__cta::after, .intro__ctaIcon::before, .intro__ctaIcon::after, .intro__ctaReel span { animation: none; } }

/* ---------- Every scene opens on where and when: big, centred, easy to read, then it steps aside ---------- */
.slate { position: absolute; z-index: 3; top: 9%; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px;
  padding: 14px 28px 12px; text-align: center; pointer-events: none; opacity: 0; max-width: 86%;
  background: rgba(8, 6, 10, .72); border-top: 3px solid var(--red); border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(4px); }
.slate b { font: 400 clamp(26px, 3.2vw, 48px)/1 var(--display); letter-spacing: .06em; color: #fff; }
.slate span { font: 700 clamp(13px, 1.25vw, 18px)/1.2 Inter, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #f1d9a8; }
.slate span:empty, .slate b:empty { display: none; }
.scene.is-on .slate { animation: slateIn .6s cubic-bezier(.2, .8, .2, 1) .15s forwards, slateOut .6s ease 4.4s forwards; }
@keyframes slateIn { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes slateOut { to { opacity: 0; transform: translate(-50%, -6px); } }
.teaser .slate { top: 6%; padding: 6px 12px; }
.teaser .slate b { font-size: clamp(14px, 3cqw, 26px); }
.teaser .slate span { font-size: clamp(8px, 1.4cqw, 12px); }
.scene__kicker:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .scene.is-on .slate { animation: none; opacity: 1; } }
.slate i { display: none; font: 600 clamp(12px, 1.05vw, 15px)/1.2 Inter, sans-serif; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.scene--set .slate i { display: block; }
.scene--set:has(.slate) .scene__kicker { display: none; }
