
:root {
  --ink: #1e2b24;
  --paper: #f4eedc;
  --muted: #746f61;
  --line: rgba(30, 43, 36, 0.16);
  --surface: #fff8e8;
  --green: #94b87a;
  --teal: #74a7a6;
  --ochre: #c89f5d;
  --clay: #c97864;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 2%, rgba(148,184,122,.24), rgba(148,184,122,0) 28rem),
    radial-gradient(circle at 92% 6%, rgba(116,167,166,.22), rgba(116,167,166,0) 30rem),
    var(--paper);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
a { color: inherit; }
.eyebrow {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Archivo Black", Impact, system-ui, sans-serif;
  letter-spacing: .01em;
  line-height: .96;
}
p { margin: 0; }
.index-page { min-height: 100svh; padding: clamp(1rem, 3vw, 2rem); }
.index-hero {
  min-height: 34svh;
  display: flex;
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--line);
  background: rgba(255,248,232,.68);
}
.index-hero h1 { font-size: clamp(3rem, 12vw, 9rem); }
.index-hero p { max-width: 48rem; margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.45; }
.sweep-grid { max-width: 1180px; margin: 2rem auto; }
.sweep-card {
  display: grid;
  grid-template-columns: minmax(18rem, .85fr) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 2.8vw, 2rem);
  text-decoration: none;
  background: rgba(255,248,232,.82);
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.sweep-card:hover { transform: translateY(-2px); box-shadow: 0 22px 70px rgba(30,43,36,.12); }
.sweep-card img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border: 1px solid var(--line); }
.sweep-card h2 { margin-top: .6rem; font-size: clamp(2rem, 5vw, 4.4rem); }
.sweep-card p { margin-top: 1rem; color: var(--muted); line-height: 1.45; }
.count-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.count-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .65rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.34);
  font-size: .76rem;
  text-transform: uppercase;
}
.count-chip b { font-size: 1rem; color: var(--clay); }
.sweep-hero {
  position: relative;
  min-height: 74svh;
  display: flex;
  align-items: center;
  padding: clamp(1rem, 4vw, 4rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sweep-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244,238,220,.97), rgba(244,238,220,.72) 42%, rgba(244,238,220,.12));
  z-index: 1;
}
.hero-panel { position: relative; z-index: 2; max-width: 980px; }
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.sweep-hero h1 { font-size: clamp(3.2rem, 10vw, 8.8rem); color: var(--ink); }
.video-section { padding: clamp(1rem, 4vw, 4rem); background: #101214; }
.recap-video { width: 100%; max-width: 1320px; aspect-ratio: 16 / 9; display: block; margin: 0 auto; border: 1px solid rgba(244,238,220,.18); background: #101214; }
.paper-group { padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem); }
.group-header {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 42%);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
}
.group-header h2 { margin-top: .4rem; font-size: clamp(2.4rem, 7vw, 6rem); }
.group-header p { margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 1.42; }
.group-header img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); background: var(--surface); }
.paper-list { max-width: 1400px; margin: 0 auto; display: grid; gap: 1rem; }
.paper-card {
  display: grid;
  grid-template-columns: minmax(18rem, 46%) 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(.85rem, 2vw, 1.35rem);
  background: rgba(255,248,232,.8);
  border: 1px solid var(--line);
}
.media-shell { position: relative; min-height: 280px; border: 1px solid var(--line); background: #101214; overflow: hidden; }
.media-shell > span {
  position: absolute;
  z-index: 2;
  top: .8rem;
  left: .8rem;
  padding: .38rem .5rem;
  background: var(--accent);
  color: #101214;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.media-shell img, .media-shell video { width: 100%; height: 100%; min-height: 280px; object-fit: contain; display: block; background: #101214; }
.media-shell video { object-fit: cover; }
.paper-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 1rem; }
.paper-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.paper-number { font-family: "Archivo Black", Impact, system-ui, sans-serif; color: var(--accent); font-size: clamp(2.8rem, 6vw, 5rem); line-height: .8; }
.source { padding: .45rem .6rem; border: 1px solid var(--line); text-transform: uppercase; font-size: .78rem; color: var(--muted); background: rgba(255,255,255,.36); }
.paper-card h3 { font-size: clamp(1.45rem, 3vw, 3rem); line-height: 1; overflow-wrap: anywhere; }
.paper-card h3 a { text-decoration-thickness: .08em; text-underline-offset: .14em; }
.summary { border-left: .42rem solid var(--accent); padding-left: 1rem; font-size: clamp(1.15rem, 2.5vw, 2rem); line-height: 1.18; }
.authors { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 820px) {
  .sweep-card, .group-header, .paper-card { grid-template-columns: 1fr; }
  .sweep-hero { min-height: 68svh; align-items: end; }
  .sweep-hero::after { background: linear-gradient(0deg, rgba(244,238,220,.96), rgba(244,238,220,.72) 55%, rgba(244,238,220,.12)); }
  .hero-panel { padding-top: 10rem; }
  .media-shell, .media-shell img, .media-shell video { min-height: 220px; }
  .paper-card { gap: 1.1rem; }
  .summary { font-size: 1.22rem; }
}
