@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* One accent (cobalt), cool greys, 4px corners everywhere. */
:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --bg-2: #F4F6F9;
  --bg-3: #E9EDF3;
  --line: #DDE2EA;
  --line-strong: #B8C0CC;
  --ink: #0B1220;
  --ink-2: #4E586A;
  --accent: #1D3FE0;          /* links and accent text */
  --fill: #1D3FE0;            /* solid blocks and buttons, white text on top */
  --fill-hover: #1733BC;
  --accent-soft: #EEF1FD;
  --on-fill: #FFFFFF;
  --bad: #B42318;
  --sky: #9BE3FF;
  --sky-on-ink: #9BE3FF;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --edge: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --r: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070B14;
    --bg-2: #0E1421;
    --bg-3: #161E2E;
    --line: #222B3B;
    --line-strong: #37425A;
    --ink: #E8ECF3;
    --ink-2: #9AA4B5;
    --accent: #8EA2FF;
    --fill: #3355F0;
    --fill-hover: #4766F5;
    --accent-soft: #141F45;
    --bad: #FF8A80;
    --sky-on-ink: #1D3FE0;
  }
}
:root[data-theme="dark"] {
  --bg: #070B14; --bg-2: #0E1421; --bg-3: #161E2E; --line: #222B3B; --line-strong: #37425A;
  --ink: #E8ECF3; --ink-2: #9AA4B5; --accent: #8EA2FF; --fill: #3355F0; --fill-hover: #4766F5;
  --accent-soft: #141F45; --bad: #FF8A80; --sky-on-ink: #1D3FE0;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3, .h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(32px, 4.2vw, 54px); }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3, .h3 { font-size: 19px; letter-spacing: -0.005em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.num { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: 0; }
.muted { color: var(--ink-2); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 30; top: 8px; left: var(--edge); background: var(--fill); color: var(--on-fill); padding: 8px 12px; border-radius: var(--r); }

/* buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--fill);
  border-radius: var(--r);
  background: var(--fill);
  color: var(--on-fill);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:hover { background: var(--fill-hover); border-color: var(--fill-hover); text-decoration: none; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 15px; }
.btn--line { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { background: var(--bg-2); border-color: var(--ink-2); }
.btn--line.is-saved { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn--line.is-saved::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; }
.btn--light { background: #FFFFFF; border-color: #FFFFFF; color: #1D3FE0; }
.btn--light:hover { background: #E7EBFC; border-color: #E7EBFC; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #FFFFFF; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #FFFFFF; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; cursor: pointer; }
.arrow { font-weight: 500; text-decoration: none; }
.arrow::after { content: " \2192"; }
.arrow:hover { text-decoration: underline; }

/* header ------------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--edge);
  display: flex;
  align-items: center;
  gap: 40px;
}
.top__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.mark { width: 32px; height: 32px; flex: none; }
.top__nav { display: flex; gap: 28px; flex: 1; }
.top__nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.top__nav a:hover { color: var(--ink); }
.top__nav a[aria-current="page"] { color: var(--ink); }
.top__nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px; background: var(--fill);
}
.navcount {
  display: inline-block;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: var(--r);
  background: var(--bg-3);
  color: var(--ink);
  font-size: 11px;
  line-height: 18px;
  vertical-align: 1px;
}

/* layout blocks ------------------------------------------------------------ */

main { display: block; }
.sec, .pagehead, .crumbs, .title, .filters, .split, .prose--legal {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}
.sec { padding-top: clamp(48px, 7vw, 96px); scroll-margin-top: 64px; }
@media (max-width: 720px) { .sec, .form { scroll-margin-top: 104px; } }
.sec--tight { padding-top: 24px; }
.sec--rule > .sec__head { border-top: 1px solid var(--line); padding-top: 24px; }
.sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.sec__head .label { margin-bottom: 8px; }
.sec__foot { margin-top: 20px; }

.pagehead { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 8px; }
.pagehead .label { margin-bottom: 12px; }
.pagehead p:not(.label) { margin-top: 14px; max-width: 64ch; color: var(--ink-2); font-size: 17px; }
.pagehead .actions { margin-top: 24px; }

/* home: hero with a drifting poster wall ---------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 8px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--edge) 0;
}
.hero__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  min-height: min(720px, calc(100svh - 96px));
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--r);
  background: var(--fill);
  color: #FFFFFF;
  overflow: hidden;
}
.hero__panel::before {               /* faint grid lines, Swiss print feel */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px) 0 0 / 64px 100%;
  pointer-events: none;
}
.hero__panel > * { position: relative; }
.hero__panel .label { color: rgba(255, 255, 255, .85); }
.hero__panel h1 {
  max-width: 11ch;
  font-size: clamp(44px, 6.4vw, 96px);
  letter-spacing: -0.03em;
  line-height: .98;
}
.hero__panel h1 em { font-style: normal; color: var(--sky); }
.hero__panel p:not(.label) { max-width: 44ch; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 255, 255, .92); }

.wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  height: min(720px, calc(100svh - 96px));
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--r);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
}
.wall__col { position: relative; overflow: hidden; }
.wall__run, .wall__dup { display: flex; flex-direction: column; gap: 8px; }
.wall__dup { padding-top: 8px; }
.wall__run { animation: drift 64s linear infinite; will-change: transform; }
.wall__col--2 .wall__run { animation-duration: 78s; animation-direction: reverse; margin-top: -40%; }
.wall__col--3 .wall__run { animation-duration: 70s; margin-top: -18%; }
.hero.is-paused .wall__run, .hero.is-offscreen .wall__run { animation-play-state: paused; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wall__tile {
  position: relative;
  display: block;
  flex: none;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-3);
}
.wall__tile img, .wall__tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall__tile video { opacity: 0; transition: opacity .6s; }
.wall__tile video.is-on { opacity: 1; }
.wall__pause {
  position: absolute;
  z-index: 2;
  right: calc(var(--edge) + 12px);
  bottom: 12px;
  min-height: 32px;
  padding: 4px 10px;
  border: 0;
  border-radius: var(--r);
  background: rgba(11, 18, 32, .72);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}
.wall__pause:hover { background: rgba(11, 18, 32, .9); }

/* home: figures band ------------------------------------------------------- */

.figures { margin-top: 8px; padding: 0 var(--edge); }
.figures__in {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: calc(var(--max) - 2 * var(--edge));
  margin: 0 auto;
  border-radius: var(--r);
  background: var(--ink);
  color: var(--bg);
}
.figures__in > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 3vw, 36px);
}
.figures__in > div + div { border-left: 1px solid rgba(127, 140, 160, .35); }
.figures b {
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}
.figures__in > div:first-child b { color: var(--sky-on-ink); }
.figures span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

/* home: featured spotlight ------------------------------------------------- */

.spot { padding: clamp(56px, 8vw, 104px) var(--edge) 0; }
.spot__in { max-width: calc(var(--max) - 2 * var(--edge)); margin: 0 auto; }
.spot__panes { display: grid; gap: 32px; }
.spot__pane {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: var(--r);
  background: var(--bg-2);
}
.spot__art {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--r);
  background: #000000;
  box-shadow: 0 24px 48px -24px rgba(11, 18, 32, .5);
}
.spot__art img, .spot__art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__art video { opacity: 0; transition: opacity .5s; }
.spot__art video.is-on { opacity: 1; }
.spot__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.spot__text h3 { font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.025em; line-height: 1.02; max-width: 16ch; }
.spot__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); }
.spot__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; background: var(--fill); border-radius: 1px; }
.spot__syn { max-width: 56ch; font-size: 18px; }
.spot__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.spot__tabs button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.spot__tabs button:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.spot__tabs button[aria-pressed="true"] { border-color: var(--fill); background: var(--fill); color: #FFFFFF; }
.spot__tabs img { width: 40px; height: 60px; flex: none; object-fit: cover; border-radius: 2px; }
.spot__tabs span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* genre rows --------------------------------------------------------------- */

.shelves { padding-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); }
.shelf { max-width: var(--max); margin: 0 auto; width: 100%; min-width: 0; }
.shelf__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0 var(--edge);
}
.shelf__head .label { margin-bottom: 6px; }
.shelf__tools { display: flex; align-items: center; gap: 20px; }
.shelf__arrows { display: flex; gap: 6px; }
.shelf__arrows button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.shelf__arrows button:hover:not(:disabled) { background: var(--fill); border-color: var(--fill); color: #FFFFFF; }
.shelf__arrows button:active:not(:disabled) { transform: scale(.94); }
.shelf__arrows button:disabled { opacity: .35; cursor: default; }
.shelf__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(150px, 15vw, 204px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding: 0 var(--edge);
  padding: 8px var(--edge) 12px;
  scrollbar-width: thin;
}
.shelf__track .card { scroll-snap-align: start; }

.browse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--fill);
  color: #FFFFFF;
}
.browse .label { color: rgba(255, 255, 255, .85); margin-bottom: 10px; }
.browse h2 { max-width: 22ch; }
.browse p:not(.label) { margin-top: 10px; color: rgba(255, 255, 255, .88); }

/* title page backdrop band ------------------------------------------------- */

.band { position: relative; overflow: hidden; overflow: clip; padding-bottom: clamp(32px, 5vw, 64px); isolation: isolate; }
.band__bg {
  position: absolute;
  z-index: -2;
  inset: -80px;
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  max-width: none;
  object-fit: cover;
  filter: blur(44px) saturate(1.4);
  opacity: .75;
}
.band::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg) 92%);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 20%, transparent), var(--bg) 94%);
}

/* view toggle and segmented buttons --------------------------------------- */

.toggle, .seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.toggle button, .seg button {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.toggle button:hover, .seg button:hover { border-color: var(--ink-2); }
.toggle button[aria-pressed="true"], .seg button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* catalogue table ---------------------------------------------------------- */

.view[data-view="table"] .grid { display: none; }
.view[data-view="grid"] .tablewrap { display: none; }

.titles { width: 100%; border-collapse: collapse; font-size: 15px; }
.titles thead th {
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.titles thead th:first-child { padding-left: 0; }
.titles thead th.t-num { text-align: right; }
.titles thead button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
}
.titles thead button:hover { color: var(--ink); }
.sort-ind::after { content: "\2195"; opacity: .45; }
th[aria-sort="ascending"] .sort-ind::after { content: "\2191"; opacity: 1; color: var(--accent); }
th[aria-sort="descending"] .sort-ind::after { content: "\2193"; opacity: 1; color: var(--accent); }
th[aria-sort="ascending"] button, th[aria-sort="descending"] button { color: var(--ink); }

.titles tbody tr { border-bottom: 1px solid var(--line); transition: background-color .15s; }
.titles tbody tr:hover { background: var(--bg-2); }
.titles tbody th, .titles td { padding: 10px 12px; text-align: left; vertical-align: middle; font-weight: 400; }
.titles tbody th { padding-left: 0; }
.t-title a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.t-title a:hover span { text-decoration: underline; }
.t-title img { width: 36px; height: 54px; flex: none; object-fit: cover; border-radius: 2px; background: var(--bg-3); }
.t-lang, .t-genres { color: var(--ink-2); }
.titles td.t-num { text-align: right; }
.t-go { text-align: right; white-space: nowrap; }
.titles td.t-go { padding-right: 0; }
.t-go a { font-weight: 500; text-decoration: none; }
.t-go a::after { content: " \2192"; }
.t-go a:hover { text-decoration: underline; }

/* poster grid -------------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 28px 16px;
}
.card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; min-width: 0; }
.card__art {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-3);
}
.card__art { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover .card__art { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(11, 18, 32, .6); }
.card__art img, .card__art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__art video { opacity: 0; transition: opacity .3s; }
.card__art video.is-on { opacity: 1; }
.card__play {
  position: absolute;
  z-index: 1;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px 3px 5px;
  border-radius: var(--r);
  background: var(--fill);
  color: #FFFFFF;
  font-size: 12px;
  line-height: 1.3;
}
.card__play svg { width: 13px; height: 13px; }
.card__title { font-weight: 500; font-size: 15px; line-height: 1.3; }
.card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 13px; }
.card__meta .num { font-size: 12px; }

.empty { padding: 32px 0; color: var(--ink-2); }

/* catalogue filters -------------------------------------------------------- */

.filters { display: grid; gap: 12px; padding-top: 28px; }
.filters__row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.filters__row > .label { width: 84px; flex: none; }
.filters__row--end { justify-content: space-between; padding-top: 8px; }
.find { flex: 1 1 280px; max-width: 420px; }
.find input, .form input, .form select, .form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
}
.find input:focus, .form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}

/* home: process, contact --------------------------------------------------- */

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cols3 > div, .steps > div { display: flex; flex-direction: column; gap: 10px; }
.cols3 .label, .steps .label { color: var(--accent); }
.cols3 p:not(.label), .steps p:not(.label) { color: var(--ink-2); max-width: 46ch; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r);
  background: var(--bg-2);
}
.contact__lead { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact__lead p:not(.label) { color: var(--ink-2); }
.contact__lead h2 { max-width: 18ch; }

/* definition lists --------------------------------------------------------- */

.facts { display: grid; border-bottom: 1px solid var(--line); }
.facts > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 3px;
}
.facts dd { overflow-wrap: anywhere; }
.facts--company > div:first-child { border-top-color: var(--ink); }

/* title page --------------------------------------------------------------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

.title {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-top: 24px;
}
.title__media { position: sticky; top: 84px; }
.frame {
  box-shadow: 0 28px 56px -28px rgba(11, 18, 32, .6);
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--r);
  background: #000000;
}
.frame video, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame video { object-fit: contain; }
.frame img { object-fit: cover; }
.endnote { margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); font-size: 15px; }

.title__body { display: flex; flex-direction: column; gap: 20px; min-width: 0; max-width: 760px; }
.title__body h1 { font-size: clamp(30px, 3.6vw, 46px); }
.syn { font-size: 17px; max-width: 62ch; }
.syn p + details, .syn details p { margin-top: 10px; }
details summary { cursor: pointer; color: var(--accent); font-weight: 500; font-size: 15px; width: max-content; }
details[open] summary { display: none; }
.note { color: var(--ink-2); padding: 14px 16px; border-left: 2px solid var(--fill); background: var(--bg-2); }
.title__body > .h3 { margin-top: 12px; }

.eps { width: 100%; border-collapse: collapse; font-size: 15px; }
.eps th {
  padding: 0 8px 8px 0;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eps td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); }
.eps td:first-child { padding-left: 0; }
.eps td a[data-ep] { color: var(--ink); font-weight: 500; text-decoration: none; display: inline-block; padding: 2px 0; }
.eps td a[data-ep]:hover { color: var(--accent); text-decoration: underline; }
.eps td.num { color: var(--ink-2); font-size: 14px; }
.eps .st { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.eps tr.is-current { background: var(--fill); }
.eps tr.is-current td:first-child { box-shadow: inset 2px 0 0 var(--fill); padding-left: 10px; }
.eps tr.is-current a[data-ep], .eps tr.is-current .st, .eps tr.is-current td.num { color: #FFFFFF; }
.eps tr.is-current td:first-child { box-shadow: none; }
.eps tr.is-seen:not(.is-current) a[data-ep] { color: var(--ink-2); font-weight: 400; }
.eps__more td { color: var(--ink-2); }
.eps__more a { font-weight: 500; }

.grid--row { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* licensing, about, legal -------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(32px, 5vw, 56px);
}
.steps { display: grid; gap: 28px; }
.steps > div { padding-top: 16px; border-top: 1px solid var(--line); }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r);
  background: var(--bg-2);
  scroll-margin-top: 104px;
}
.form__intro { color: var(--ink-2); font-size: 15px; }
.form label { display: grid; gap: 6px; }
.form label > span { font-size: 14px; font-weight: 500; }
.form textarea { resize: vertical; min-height: 120px; }
.form label.is-bad > span { color: var(--bad); }
.form label.is-bad input, .form label.is-bad textarea { border-color: var(--bad); }
.form .btn { justify-self: start; }
.form__note { font-size: 15px; color: var(--ink-2); min-height: 1.5em; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 20px; margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose address { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose .btn { margin-top: 12px; }
.prose--legal { padding-top: 32px; }
.prose--legal > * { max-width: 70ch; }

/* footer ------------------------------------------------------------------- */

.foot {
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 14px;
  color: var(--ink-2);
}
.foot__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--edge) 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.foot .label { margin-bottom: 8px; }
.foot__brand { display: flex; flex-direction: column; gap: 12px; }
.foot__brand p { max-width: 28ch; }
.foot a { color: var(--ink); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; }

/* responsive --------------------------------------------------------------- */

@media (max-width: 1100px) {
  .grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .cols3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cols3 > div { padding-top: 16px; border-top: 1px solid var(--line); }
  .contact, .split { grid-template-columns: minmax(0, 1fr); }
  .title { grid-template-columns: minmax(0, 1fr); }
  .title__media { position: static; max-width: 420px; width: 100%; }
  .t-genres { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .top__in { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; padding-bottom: 0; }
  .top__cta { margin-left: auto; }
  .top__nav {
    order: 3;
    flex: 1 0 100%;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav a { padding: 10px 0 12px; }
  .top__nav a[aria-current="page"]::after { bottom: 0; }

  /* table becomes stacked rows; header row becomes sort chips */
  .titles, .titles thead, .titles tbody, .titles tr, .titles th, .titles td { display: block; }
  .titles thead tr { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
  .titles thead th { padding: 0; border: 0; }
  .titles thead th:not([aria-sort]) { display: none; }
  .titles tbody tr {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 14px;
    min-height: 92px;
    padding: 12px 0 12px 60px;
  }
  .titles tbody th, .titles td { padding: 0; }
  .titles tbody th { flex: 1 0 100%; }
  .t-title a { display: block; }
  .t-title img { position: absolute; left: 0; top: 12px; width: 46px; height: 69px; }
  .titles td { font-size: 14px; color: var(--ink-2); }
  .titles td.t-num { text-align: left; }
  .titles td[data-label]::before { content: attr(data-label) " "; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
  .titles td.t-lang::before { content: none; }
  .titles td.t-go { display: none; }
  .titles td.t-genres { order: 5; flex-basis: 100%; }
  .titles td.t-genres::before { content: none; }

  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--row .card:nth-child(n+5) { display: none; }
  .filters__row > .label { width: 100%; }
  .filters__row--end { flex-direction: column; align-items: stretch; }
  .find { max-width: none; flex-basis: auto; }
  .facts > div { grid-template-columns: 116px minmax(0, 1fr); gap: 4px 12px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .title__media { max-width: none; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__panel { min-height: 0; padding-top: 48px; }
  .wall { height: 440px; min-height: 0; }
  .figures__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures__in > div:nth-child(3) { border-left: 0; }
  .figures__in > div:nth-child(n+3) { border-top: 1px solid rgba(127, 140, 160, .35); }
  .spot__pane { grid-template-columns: minmax(0, 1fr); }
  .spot__art { width: min(100%, 300px); }
  .spot__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wall { height: 340px; }
  .shelf__track { grid-auto-columns: 42vw; gap: 12px; }
  .spot__syn { font-size: 17px; }
  .spot__art { width: min(62%, 230px); }
  .wall__pause { right: calc(var(--edge) + 8px); bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover .card__art, .spot__tabs button:hover { transform: none; }
}
