/* RWNorthPole. The site is cut like the reels: black frame, Poppins ExtraBold caps,
   white with a black outline, the spoken word in #FF0000, hard cuts. */
@font-face {
  font-family: 'Poppins';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/Poppins-ExtraBold.woff2') format('woff2');
}

:root {
  --black: #000;
  --ink: #0b0b0b;
  --panel: #121212;
  --line: #262626;
  --white: #fff;
  --gray: #9a9a9a;
  --dim: #5c5c5c;
  --red: #ff0000;
  --display: 'Poppins', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', 'JetBrains Mono', Consolas, 'Liberation Mono', monospace;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --frame-h: min(84vh, 880px, 52vw);
  --frame-w: calc(var(--frame-h) * 9 / 16);
}

* { box-sizing: border-box; }
html { background: var(--black); color: var(--white); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  background: var(--black);
  overflow-x: hidden;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.caps {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.96;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
/* Caption: the reel's lettering. The outline is drawn by a copy of the text underneath (::before),
   so the red word keeps its own outline exactly like the render. */
.k {
  position: relative;
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  color: var(--white);
  white-space: pre-wrap;
}
.k::before {
  content: attr(data-t);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: var(--stroke, 0.11em) var(--black);
  z-index: -1;
}
.k .on { color: var(--red); }
.k .done { color: var(--white); }

/* ---------- header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  color: var(--white);
  background: var(--black);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.top.light { color: var(--black); background: var(--white); border-bottom-color: #ddd; }
.top.light .mono { color: #555; }
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .dot { width: 10px; height: 10px; background: var(--red); border-radius: 50%; animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.25; } }
.brand .caps { font-size: 15px; letter-spacing: 0.08em; }
.tc { font-variant-numeric: tabular-nums; }
.topnav { display: flex; gap: 22px; }
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--white); }
.burger { display: none; }
@media (max-width: 720px) {
  .top { justify-content: center; }
  /* the menu button, right of the centered name */
  .burger { display: grid; gap: 5px; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 10px 9px; place-content: center; background: none; border: 0; cursor: pointer; }
  .burger i { display: block; width: 22px; height: 3px; background: var(--white); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .top.light .burger i { background: var(--black); }
  .burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  /* the menu: a black sheet under the header, one line per section */
  .topnav { display: none; position: fixed; left: 0; right: 0; top: 56px; padding: 18px var(--gutter) 26px; background: var(--black); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; }
  .topnav.open { display: flex; }
  .topnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em; color: var(--white); }
  .topnav a:last-child { border-bottom: 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: 90px var(--gutter) 48px;
}
.hero-l { justify-self: end; text-align: right; max-width: 520px; }
.hero-r { justify-self: start; max-width: 420px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(40px, 4.6vw, 96px); }
.hero h1 .red { color: var(--red); }
.hero h1 .ghost { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero p { margin: 0; color: var(--gray); font-size: 15px; }
.tagline { line-height: 1.9; }
.watch { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-l .watch { justify-content: flex-end; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 10px;
  border: 2px solid var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.chip:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.chip .n { font-family: var(--mono); font-weight: 400; letter-spacing: 0.08em; opacity: 0.6; }
.chip.red { border-color: var(--red); background: var(--red); }
.chip.red:hover { background: var(--white); border-color: var(--white); color: var(--red); }

/* the frame: 1080×1920 scaled; footage in a band from 160 to 1760 like the renders; black above and below */
.frame {
  position: relative;
  width: var(--frame-w);
  height: var(--frame-h);
  background: var(--black);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, 0.8);
  container-type: size;
}
.frame .band {
  position: absolute; left: 0; right: 0;
  top: 8.33%; height: 56.25%;         /* 160/1920 .. 1080 tall of 1920: a square */
  background: #050505;
  overflow: hidden;
}
.frame .shot { position: absolute; inset: 0; opacity: 0; }
.frame .shot.live { opacity: 1; }
.frame .shot video, .frame .shot img { width: 100%; height: 100%; object-fit: cover; }
.frame .cap {
  position: absolute; left: 6%; right: 6%; top: 72%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 9.2cqw;            /* ~100 px on a 1080 frame */
  --stroke: 0.11em;
  pointer-events: none;
}
.frame .meta {
  position: absolute; left: 5%; right: 5%; top: 3.2%;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 2.3cqw;
  color: #fff; opacity: 0.85;
}
.frame .meta .rank { color: var(--red); }
.frame .segs { position: absolute; left: 4%; right: 4%; top: 1.6%; display: flex; gap: 3px; }
.frame .segs i { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; border-radius: 2px; }
.frame .segs i::after { content: ''; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.frame .segs i.done::after { transform: scaleX(1); }
.frame .segs i.live::after { transform: scaleX(1); transition: transform var(--seg, 3.6s) linear; }
.frame .foot {
  position: absolute; left: 5%; right: 5%; bottom: 4%;
  display: flex; justify-content: space-between; font-size: 2.3cqw;
}
.frame .foot b { color: var(--white); font-weight: 400; }
.frame .tap { position: absolute; inset: 0; background: none; border: 0; cursor: pointer; color: transparent; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; justify-items: center; padding-top: 76px; gap: 22px; }
  .hero-l .tagline { display: none; }
  .tagline.alt { display: block; margin-bottom: 18px; }
  .hero-l, .hero-r { justify-self: center; text-align: center; max-width: 640px; }
  .hero-l .watch { justify-content: center; }
  .hero-r { order: 3; }
  :root { --frame-h: min(72svh, 760px); }
}
@media (max-width: 520px) {
  :root { --frame-h: min(66svh, 640px); }
  .hero h1 { font-size: 12.5vw; margin-bottom: 8px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 9vw, 120px) var(--gutter); position: relative; }
.sec > .in { max-width: 1240px; margin: 0 auto; }
.slate {
  display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px;
  font-size: 12px;
}
.slate .mono b { color: var(--red); font-weight: 400; }
.slate .rule { flex: 1; height: 1px; background: var(--line); align-self: center; }
.h2 { margin: 0 0 20px; font-size: clamp(34px, 6vw, 84px); }
.h2 .k { font-size: inherit; --stroke: 0.09em; }
.lead { max-width: 62ch; color: var(--gray); font-size: 18px; }
.lead b { color: var(--white); font-weight: 600; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.08s; } .rv.d2 { transition-delay: 0.16s; } .rv.d3 { transition-delay: 0.24s; }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--black); padding: 22px 22px 18px; }
.stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 0.5em; color: var(--red); }
.stat .l { margin-top: 10px; }

/* ---------- reels rail ---------- */
.rail-wrap { margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail-wrap::-webkit-scrollbar { display: none; }
.rail { display: flex; gap: 14px; width: max-content; }
.card {
  position: relative; flex: 0 0 auto;
  width: clamp(190px, 22vw, 250px); aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  border-radius: 16px; overflow: hidden; background: var(--panel);
  text-decoration: none; color: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s;
}
.card:hover, .card:focus-visible { transform: translateY(-8px) scale(1.02); box-shadow: 0 0 0 2px var(--white), 0 30px 60px rgba(0, 0, 0, 0.7); }
.card img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .loopbox { position: absolute; left: 0; right: 0; top: 8.33%; aspect-ratio: 1; opacity: 0; transition: opacity 0.2s; background: var(--black); }
.card .loopbox video { width: 100%; height: 100%; object-fit: cover; }
.card:hover .loopbox.ready, .card.playing .loopbox.ready { opacity: 1; }
.card .num {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--red);
  -webkit-text-stroke: 1px var(--black); paint-order: stroke fill;
  text-shadow: 0 2px 0 #000;
}
.card .info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0));
}
.card .name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 15px; line-height: 1.1; }
.card .views { margin-top: 6px; display: flex; justify-content: space-between; }
.card .views b { color: var(--white); font-weight: 400; }
.rail-hint { display: flex; justify-content: space-between; margin-top: 4px; }
/* a card or row with an article: the whole tile opens the article (.go), the platform stays a second link */
.card .go, .row .go { position: absolute; inset: 0; z-index: 1; }
.card.has-article .plat { position: relative; z-index: 2; text-decoration: none; color: inherit; }
.card.has-article .plat:hover, .card.has-article .plat:focus-visible { color: var(--red); }
.card:focus-within { transform: translateY(-8px) scale(1.02); box-shadow: 0 0 0 2px var(--white), 0 30px 60px rgba(0, 0, 0, 0.7); }
.row { position: relative; }
.row.has-article .eg { position: relative; z-index: 2; text-decoration: none; }
.row.has-article .eg:hover, .row.has-article .eg:focus-visible { color: var(--white); }
.row:focus-within { background: #0a0a0a; }

/* ---------- covers (what we cover) ---------- */
.shotlist { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 90px 1fr 1.2fr auto; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background 0.15s;
}
.row:hover { background: #0a0a0a; }
.row .t { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.1em; }
.row .cap { font-size: clamp(22px, 2.6vw, 34px); }
.row .cap .k { --stroke: 0.1em; }
.row .d { color: var(--gray); font-size: 15px; }
.row .eg { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.row:hover .eg { color: var(--red); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .row .t { order: -1; }
  .row .eg { white-space: normal; }
}

/* ---------- press ---------- */
.press { background: var(--white); color: var(--black); }
.press .mono { color: #777; }
.press .lead { color: #333; }
.press .lead b { color: var(--black); }
.press .k { color: var(--black); }
.press .k::before { -webkit-text-stroke-color: var(--white); }
.press .k .on { color: var(--red); }
.press .k .done { color: var(--black); }
.press-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .press-grid { grid-template-columns: 1fr; } }
.press ul { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 14px; }
.press li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 16px; color: #333; }
.press li b { display: block; color: var(--black); font-weight: 700; }
.press li .no { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; color: var(--red); }
.mailbox {
  border: 3px solid var(--black); padding: 24px; border-radius: 18px; background: #fff;
}
.mailbox .addr {
  font-family: var(--display); font-weight: 800; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.15;
  overflow-wrap: anywhere; margin: 8px 0 16px;
}
.mailbox .addr a { text-decoration: none; }
.mailbox .addr a:hover { color: var(--red); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; border: 2px solid var(--black);
  background: var(--black); color: var(--white); cursor: pointer;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.06em;
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn.ghost { background: transparent; color: var(--black); }
.btn.ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.reach { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.reach > div { border: 1px solid #ddd; border-radius: 12px; padding: 12px 14px; }
.reach .v { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.reach .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #777; margin-top: 6px; }
.fine { margin-top: 18px; font-size: 13px; color: #777; }

/* ---------- human ---------- */
.human { text-align: center; }
.human .big { font-size: clamp(34px, 7vw, 110px); }
.human .big .k { --stroke: 0.09em; }
.human p { max-width: 58ch; margin: 22px auto 0; color: var(--gray); }

/* ---------- footer ---------- */
footer { padding: 40px var(--gutter) 48px; border-top: 1px solid var(--line); }
footer .in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--white); }
footer .legal { width: 100%; font-size: 12px; color: var(--dim); line-height: 1.6; }

/* ---------- legal pages ---------- */
.doc { max-width: 46rem; margin: 0 auto; padding: 120px var(--gutter) 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 56px); margin: 0 0 8px; }
.doc h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 18px; margin: 36px 0 8px; letter-spacing: 0.03em; }
.doc p, .doc li { color: #cfcfcf; }
.doc a { color: var(--white); }
.doc a:hover { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .brand .dot { animation: none; }
  .frame .segs i.live::after { transition: none; }
}

/* the platform chips: beside the headline on desktop, under the frame on phones */
.watch.alt { display: none; }
@media (max-width: 1080px) {
  .hero-l .watch { display: none; }
  .watch.alt { display: flex; justify-content: center; }
  .hero-r { order: 2; }
}

.tagline.alt { display: none; }

/* ---------- breadcrumbs, shared by the library and the articles ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { color: var(--dim); }
.crumbs [aria-current] { color: var(--white); }

/* ---------- the library ---------- */
.lib { padding: 110px var(--gutter) 80px; }
.lib .in { max-width: 1240px; margin: 0 auto; }
.lib .h2 { margin-bottom: 14px; }
.tools { margin: 32px 0 10px; display: grid; grid-template-columns: minmax(200px, 320px) 1fr auto; gap: 14px 24px; align-items: center; }
.search input {
  width: 100%; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel); color: var(--white);
  font: inherit; font-size: 15px; outline-offset: 2px;
}
.search input:focus { border-color: var(--white); }
.search input::placeholder { color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sort { display: flex; align-items: center; gap: 8px; }
.fchip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 14px 8px; border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--gray);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.fchip .n { font-family: var(--mono); font-weight: 400; letter-spacing: 0.08em; opacity: 0.6; }
.fchip:hover { border-color: var(--white); color: var(--white); }
.fchip.on { background: var(--white); border-color: var(--white); color: var(--black); }
.fchip.on .n { opacity: 0.7; }
.count { margin: 6px 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tile {
  position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--panel);
  text-decoration: none; color: var(--white); box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s;
}
.tile:hover, .tile:focus-visible { transform: translateY(-6px) scale(1.02); box-shadow: 0 0 0 2px var(--white), 0 24px 50px rgba(0, 0, 0, 0.7); z-index: 1; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .tag {
  position: absolute; top: 10px; left: 10px; padding: 5px 9px 4px; border-radius: 6px; background: var(--red); color: var(--white);
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em;
}
.tile .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 12px 12px; background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0)); }
.tile .name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 14px; line-height: 1.1; }
.tile .meta { margin-top: 6px; display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.tile .meta b { color: var(--white); font-weight: 400; }
.tile .meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile[hidden] { display: none; }
.empty { padding: 60px 0; text-align: center; }
.rail-hint .more { text-decoration: none; color: var(--gray); }
.rail-hint .more:hover { color: var(--red); }
@media (max-width: 900px) {
  .tools { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}

/* ---------- articles ---------- */
.article { padding: 110px var(--gutter) 80px; }
.article .in { max-width: 1240px; margin: 0 auto; }
.draft-banner { margin: 0 0 20px; padding: 10px 14px; border: 2px dashed var(--red); border-radius: 10px; color: var(--white); }
.art-head { max-width: 62rem; margin-bottom: 40px; }
.art-head .kicker a { text-decoration: none; color: var(--red); }
.art-head .kicker a:hover { color: var(--white); }
.art-head h1 { margin: 10px 0 18px; font-size: clamp(34px, 5.2vw, 72px); }
.art-head .lead { margin: 0; }
.art-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.art-side { position: sticky; top: 84px; display: grid; gap: 22px; }
.art-side .mono { margin: 0 0 10px; }
.watch-on .reel-title { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.2; }
.watch-on .chip { margin: 0 8px 8px 0; padding: 9px 13px 8px; font-size: 12px; gap: 8px; }
.watch-on .chip .n { font-size: 11px; }
.related.bare { margin-top: 40px; padding-top: 20px; }
.related.bare p { margin: 0; }
.watch-on .views { margin-top: 6px; color: var(--dim); }
.store .btn { background: var(--white); color: var(--black); border-color: var(--white); margin: 0 8px 8px 0; }
.store .btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.poster { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
/* the Short: a fixed 9:16 box with the poster, then the iframe on click so nothing shifts */
.yt { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt .play {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; padding: 0 0 54px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 45%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; color: var(--white);
}
.yt .tri { width: 72px; height: 72px; border-radius: 50%; background: var(--red); position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); transition: transform 0.15s; }
.yt .tri::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--white); }
.yt .play:hover .tri, .yt .play:focus-visible .tri { transform: scale(1.08); }
.yt .lbl { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; }
.yt .yt-fallback { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; text-decoration: none; font-size: 11px; color: var(--gray); }
.yt .yt-fallback:hover { color: var(--white); }
.yt.loaded .play, .yt.loaded .yt-fallback, .yt.loaded img { display: none; }
.art-body { max-width: 46rem; font-size: 18px; line-height: 1.65; }
.art-body p, .art-body li { color: #d4d4d4; }
.art-body p { margin: 0 0 1.2em; }
.art-body h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.05; margin: 2.2em 0 0.7em; letter-spacing: 0.01em; }
.art-body h2::before { content: ""; display: block; width: 44px; height: 4px; background: var(--red); margin-bottom: 14px; }
.art-body h3 { font-family: var(--display); font-weight: 800; font-size: 19px; margin: 1.8em 0 0.5em; color: var(--white); }
.art-body a { color: var(--white); text-decoration-color: var(--dim); text-underline-offset: 3px; }
.art-body a:hover { color: var(--red); text-decoration-color: var(--red); }
.art-body b { color: var(--white); }
.art-body ul, .art-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.art-body li { margin: 0.35em 0; }
.art-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); color: var(--gray); font-style: italic; }
.art-body blockquote p { color: var(--gray); }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.art-body img { border-radius: 14px; margin: 1.2em 0; }
.art-body code { font-family: var(--mono); font-size: 0.85em; background: var(--panel); padding: 2px 6px; border-radius: 4px; }
.sources { margin-top: 56px; padding-top: 10px; border-top: 1px solid var(--line); }
.sources ol { padding-left: 1.6em; font-size: 15px; }
.sources li { margin: 0.5em 0; color: var(--gray); }
.sources .host { margin-left: 10px; font-size: 10px; color: var(--dim); }
.related { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 18px; font-size: clamp(22px, 2.6vw, 34px); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 18px; }
.rel { display: grid; gap: 8px; text-decoration: none; color: var(--white); }
.rel img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rel:hover img { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white); }
.rel .caps { font-size: 14px; line-height: 1.1; }
.rel:hover .caps { color: var(--red); }
.related p a { text-decoration: none; color: var(--gray); }
.related p a:hover { color: var(--white); }
.about { margin-top: 22px; color: var(--dim); text-transform: none; letter-spacing: 0.04em; font-size: 12px; max-width: 70ch; }
.prevnext { margin-top: 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); padding-top: 26px; }
.pn { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--white); min-width: 0; }
.pn .caps { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn:hover .caps { color: var(--red); }
.pn.next { text-align: right; justify-self: end; }
.prevnext > span:empty { display: none; }
.prevnext:has(> span:empty) .pn.prev, .prevnext:has(> span:empty) .pn.next { grid-column: 1 / -1; justify-self: start; text-align: left; }
@media (max-width: 860px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; grid-template-columns: minmax(0, 260px) 1fr; align-items: start; }
  .art-side .yt, .art-side .poster { grid-row: span 2; }
  .prevnext { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .prevnext { grid-template-columns: 1fr; gap: 22px; }
  .pn.next { text-align: left; justify-self: start; }
  .pn .caps { -webkit-line-clamp: 3; }
  .art-side { grid-template-columns: 1fr; }
  .art-side .yt, .art-side .poster { max-width: 300px; }
  .art-body { font-size: 17px; }
}

/* ---------- contact page ---------- */
.contact .mailbox { color: var(--black); }
.contact .mailbox .mono { color: #777; }
.contact .mailbox .addr a { color: var(--black); }
.contact .mailbox .addr a:hover { color: var(--red); }
.contact .mailbox .fine { color: #777; }

/* footer on phones: one column, the links as rows, the legal line last */
@media (max-width: 760px) {
  footer { padding: 36px var(--gutter) 44px; }
  /* two columns: the platforms, the site; the legal line under both */
  footer .in { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 28px; align-items: start; }
  footer nav { display: grid; gap: 14px; justify-items: start; }
  footer nav a { font-size: 13px; }
  footer .legal { grid-column: 1 / -1; margin: 0; }
}

/* ---------- wormnet ---------- */
.wormnet { position: fixed; inset: 0; z-index: 200; overflow: hidden; pointer-events: auto; background: rgba(0, 0, 0, 0.35); animation: wn-in 0.3s; }
@keyframes wn-in { from { opacity: 0; } }
.wormnet .cookie { position: absolute; left: 50%; top: 42%; width: min(46vw, 260px); transform: translate(-50%, -50%); animation: wn-drop 0.9s cubic-bezier(0.2, 0.9, 0.3, 1.3) both, wn-wobble 2.4s 0.9s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7)); }
@keyframes wn-drop { from { transform: translate(-50%, -160%) rotate(-30deg); } to { transform: translate(-50%, -50%) rotate(0); } }
@keyframes wn-wobble { 50% { transform: translate(-50%, -54%) rotate(6deg); } }
.wormnet .cap { position: absolute; left: 6%; right: 6%; top: 68%; text-align: center; font-size: clamp(34px, 8vw, 72px); animation: wn-in 0.4s 0.6s both; }
.wormnet i { position: absolute; bottom: -60px; color: var(--red); font-style: normal; animation: wn-rise 3.2s linear both; text-shadow: 0 0 2px #000, 0 2px 0 #000; }
@keyframes wn-rise { to { transform: translateY(-120vh) rotate(20deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wormnet .cookie, .wormnet i { animation: none; } .wormnet i { bottom: auto; top: calc(10% + 70vh * var(--r, 0.5)); } }

/* the library's Articles section: the long reads first, with a call to read */
.reads { margin-bottom: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.reads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 24px; }
.read { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px; border-radius: 18px; background: var(--panel); color: var(--white); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
.read:hover, .read:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--white), 0 20px 40px rgba(0, 0, 0, 0.6); }
.read img { width: 120px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; align-self: start; }
.read-text { display: grid; gap: 8px; align-content: start; }
.read-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1.1; }
.read-desc { color: var(--gray); font-size: 14px; line-height: 1.45; }
.read .btn { justify-self: start; margin-top: 4px; background: var(--red); border-color: var(--red); }
.read:hover .btn { background: var(--white); border-color: var(--white); color: var(--black); }
@media (max-width: 520px) { .read { grid-template-columns: 90px 1fr; } .read img { width: 90px; } }
.read { align-items: start; }
/* the closing call to action on an article */
.art-cta { margin: 40px 0 8px; padding: 24px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.art-cta .caps { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); }
.art-cta .btn { margin: 0 8px 8px 0; background: var(--white); color: var(--black); border-color: var(--white); }
.art-cta .btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.art-cta .btn.ghost { background: transparent; color: var(--white); border-color: var(--line); }
.art-cta .btn.ghost:hover { border-color: var(--white); background: transparent; }
