:root {
  --bg: #0b0b0f;
  --surface: #15151c;
  --surface-2: #1d1d27;
  --line: #2a2a36;
  --text: #f4f4f7;
  --muted: #a0a0b2;
  --red: #ff2e3a;
  --yellow: #ffc700;
  --cyan: #19d3ff;
  --magenta: #ff3ea5;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* nothing may widen the page on phones (mobile Safari ignores overflow-x on body alone).
   `hidden` goes on html only — on body it would make body a scroll container and unstick the filter bar. */
html { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Assistant', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

.tape {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, #0b0b0f 18px 36px);
}

/* ---------- progress ---------- */
.progress {
  position: fixed;
  top: 0; right: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(to left, var(--yellow), var(--red));
  z-index: 50;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  max-width: 1160px;
  margin: 0 auto;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 10% -20% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,46,58,.28), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.kicker {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(88px, 17vw, 220px);
  line-height: .9;
  margin: 24px 0 10px;
  font-weight: 800;
  letter-spacing: -2px;
}
.hero h1 .dot { color: var(--red); }
.hero .sub {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  max-width: 820px;
  margin: 0 0 40px;
}
.hero .sub strong { color: var(--yellow); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat b {
  display: block;
  font-size: clamp(40px, 6vw, 60px);
  line-height: 1;
  font-weight: 800;
}
.stat:nth-child(1) b { color: var(--red); }
.stat:nth-child(2) b { color: var(--yellow); }
.stat:nth-child(3) b { color: var(--cyan); }
.stat span { color: var(--muted); font-size: 16px; font-weight: 600; }

.scroll-cue {
  margin-top: 48px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}
.scroll-cue::after { content: ' ↓'; color: var(--yellow); }

/* ---------- filters ---------- */
.filters {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,11,15,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.filters-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters-inner::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c, var(--text));
}
.chip[aria-pressed="true"] {
  background: var(--c, var(--text));
  border-color: var(--c, var(--text));
  color: #0b0b0f;
}
.chip[aria-pressed="true"] i { background: #0b0b0f; }

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 50%;
  width: 4px;
  transform: translateX(50%);
  background: linear-gradient(to bottom, var(--line), var(--red) 70%, var(--red));
  border-radius: 4px;
}

.year {
  position: relative;
  text-align: center;
  margin: 30px 0 40px;
}
.year span {
  position: relative;
  display: inline-block;
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--yellow);
  background: var(--bg);
  padding: 6px 18px;
}

/* RTL: a default item sits on the right half, so its left edge touches the line */
.item {
  position: relative;
  width: 50%;
  padding: 0 0 48px 44px;
}
.item.left {
  margin-right: 50%;
  padding: 0 44px 48px 0;
}
.item::before {
  content: '';
  position: absolute;
  top: 26px;
  left: -11px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px var(--c);
}
.item.left::before { left: auto; right: -11px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 6px solid var(--c);
  border-radius: var(--radius);
  padding: 22px 24px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.item.in .card { opacity: 1; transform: none; }

.card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pill {
  font-size: 14px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--c);
  color: #0b0b0f;
}
.countdown {
  font-size: 14px;
  font-weight: 700;
  color: var(--c);
  border: 1.5px solid var(--c);
  border-radius: 999px;
  padding: 2px 10px;
}
.date {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--c);
}
.who {
  font-size: 17px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.who b { color: var(--text); }
.card h3 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 14px;
  font-weight: 800;
}

.quote {
  position: relative;
  margin: 0 0 16px;
  padding: 16px 20px 16px 16px;
  background: var(--surface-2);
  border-right: 5px solid var(--c);
  border-radius: 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.quote::before { content: '"'; color: var(--c); }
.quote::after { content: '"'; color: var(--c); }
.quote small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.body { margin: 0 0 14px; }

.note {
  font-size: 15px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  margin: 0 0 14px;
}
.note b { color: var(--yellow); }

.shot {
  margin: 0 0 16px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}
.shot img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
}
.shot figcaption {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 18px 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.shot.video { cursor: pointer; }
.shot.video::after {
  content: '▶';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: 30px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  box-shadow: 0 0 40px rgba(255,62,165,.6);
}
.video-link {
  display: inline-block;
  margin: -6px 0 16px;
  font-weight: 800;
  color: var(--magenta);
}

.response {
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 14px;
  font-size: 17px;
  background: var(--surface-2);
}
.response .label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.response.denial { border: 2px solid var(--red); }
.response.denial .label { color: var(--red); }
.response.ignored { border: 2px solid var(--yellow); }
.response.ignored .label { color: var(--yellow); }
.response.none { border: 2px solid var(--line); }
.response.none .label { color: var(--muted); }
.response.apology { border: 2px solid var(--cyan); }
.response.apology .label { color: var(--cyan); }

.revealed {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 10px;
}
.revealed b { color: var(--text); }

.sources {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sources a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.sources a::before { content: '↗ '; color: var(--c); }
.sources a:hover { color: var(--text); text-decoration: underline; }

.item.hidden { display: none; }

/* ---------- October 7 ---------- */
.impact {
  position: relative;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
  overflow: hidden;
}
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 30px, transparent 30px 60px);
}
.impact > * { position: relative; }
.impact .d {
  font-size: clamp(64px, 14vw, 180px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -2px;
}
.impact .t {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  color: #0b0b0f;
}
.impact p {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin: 18px auto 0;
  max-width: 760px;
}

/* ---------- after ---------- */
.after-head {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 0;
  text-align: center;
}
.after-head h2 {
  font-size: clamp(48px, 8vw, 96px);
  margin: 0;
  line-height: 1;
  font-weight: 800;
}
.after-head p {
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 0;
}
.timeline.after::before { background: var(--line); }

/* ---------- lightbox ---------- */
dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
}
dialog.lightbox::backdrop { background: rgba(0,0,0,.88); }
dialog.lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 88vh;
  border-radius: 10px;
}
dialog.lightbox button {
  display: block;
  margin: 10px auto 0;
  font: inherit;
  font-weight: 800;
  color: #0b0b0f;
  background: var(--yellow);
  border: 0;
  border-radius: 999px;
  padding: 6px 22px;
  cursor: pointer;
}

/* ---------- footer ---------- */
.method {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 0 24px;
  color: var(--muted);
  font-size: 16px;
}
.method h2 { color: var(--text); font-size: 22px; margin: 0 0 6px; }

footer {
  max-width: 1100px;
  margin: 50px auto 40px;
  background: #34363d;
  border-radius: var(--radius);
  font-size: 16px;
}
/* the whole footer is one link to shark-lady.com */
.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 28px;
  color: var(--text);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
}
.footer-link:hover { color: var(--yellow); }
.footer-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.footer-logo { height: 52px; width: auto; }

/* ---------- mobile ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; line-height: 1.55; }

  /* hero: the glow must not reach past the left edge (RTL scrolls leftward overflow) */
  .hero { min-height: auto; padding: 56px 16px 40px; }
  .hero::before { inset: 0 -120px auto auto; width: 380px; height: 380px; }
  .hero h1 { font-size: clamp(64px, 24vw, 120px); margin: 18px 0 8px; letter-spacing: -1px; }
  .hero .sub { font-size: 19px; margin-bottom: 28px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat b { font-size: 34px; }
  .stat span { font-size: 13px; line-height: 1.3; display: block; margin-top: 4px; }
  .scroll-cue { margin-top: 28px; }

  /* all categories visible: chips wrap instead of scrolling sideways; a multi-row bar
     would eat the screen if it stuck, so on phones it scrolls away with the page */
  .filters { position: static; }
  .filters-inner { padding: 12px 16px; flex-wrap: wrap; overflow: visible; gap: 6px; }
  .chip { font-size: 14px; padding: 5px 11px; gap: 6px; }

  /* timeline: one column, line on the right */
  .timeline { padding: 32px 16px 16px; }
  .timeline::before { right: 26px; }
  .year { text-align: right; margin: 12px 0 24px; }
  .year span { font-size: 52px; padding: 2px 8px 2px 12px; margin-right: 0; -webkit-text-stroke-width: 1.5px; }
  .item, .item.left {
    width: 100%;
    margin: 0;
    padding: 0 40px 28px 0;
  }
  .item::before, .item.left::before { right: -1px; left: auto; top: 22px; width: 20px; height: 20px; }

  .card { padding: 16px 14px 14px; border-top-width: 5px; }
  .card-top { gap: 6px; }
  .pill, .countdown { font-size: 12.5px; }
  .date { font-size: 23px; }
  .who { font-size: 15px; }
  .card h3 { font-size: 20px; margin-bottom: 12px; }
  .quote { font-size: 18px; padding: 12px 14px 12px 12px; }
  .shot img { max-height: 240px; }
  .shot.video::after { width: 56px; height: 56px; font-size: 22px; }
  .note, .revealed, .sources a { font-size: 14px; }
  .response { font-size: 15px; padding: 10px 12px; }

  .impact { padding: 60px 16px; }
  .impact .d { font-size: clamp(48px, 15vw, 96px); letter-spacing: -1px; }
  .impact .t { font-size: 36px; }
  .after-head { padding: 56px 16px 0; }
  .after-head h2 { font-size: 48px; }
  .after-head p { font-size: 17px; }

  .method { padding: 0 16px; font-size: 15px; }
  footer { margin: 40px 16px; font-size: 15px; }
  .footer-link { flex-direction: column; gap: 10px; padding: 18px 16px; }

  dialog.lightbox img { max-width: 96vw; max-height: 80vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { opacity: 1; transform: none; transition: none; }
}
