:root {
  --paper: #f6f4ef;
  --card: #ffffff;
  --ink: #14122b;
  --muted: #5d5a72;
  --line: #dedae9;
  --indigo: #3a3092;
  --indigo-deep: #1b1650;
  --red: #ed2027;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.label {
  font: 600 12px/1.2 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 244, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 20px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.bar nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.bar nav::-webkit-scrollbar { display: none; }
.bar nav a {
  font: 600 13px/1 var(--mono);
  color: var(--muted); text-decoration: none;
  padding: 8px 9px; border-radius: 6px; white-space: nowrap;
}
.bar nav a:hover, .bar nav a.on { color: var(--indigo); background: #e9e6f6; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--indigo-deep); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,22,80,.74) 0%, rgba(27,22,80,.74) 45%, rgba(20,18,43,.96) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(72px, 14vw, 150px); padding-bottom: clamp(40px, 7vw, 72px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero h1 {
  font-size: clamp(40px, 8.4vw, 104px);
  font-weight: 800; letter-spacing: -.035em; line-height: .96;
  margin: 22px 0 20px; max-width: 11ch;
}
.hero h1 em { font-style: normal; color: #ff5a5f; }
.hero .lede { font-size: clamp(18px, 2.1vw, 22px); max-width: 60ch; color: #e8e6f5; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: clamp(36px, 6vw, 64px);
  border-top: 1px solid rgba(255,255,255,.28);
}
.facts div { padding: 18px 16px 0 0; }
.facts b { display: block; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.facts span { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #c9c5e6; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.03em; margin-top: 12px; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }

.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about p { font-size: 19px; }
.about figure { margin: 0; }
.about figure img { border-radius: 10px; }
figcaption { font: 500 12px/1.5 var(--mono); color: var(--muted); margin-top: 8px; }

/* ---------- editions ---------- */
.editions { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.edition {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.edition:first-of-type { border-top: 0; padding-top: 0; }
.edition aside { position: sticky; top: 80px; align-self: start; }
.year {
  font-size: clamp(56px, 7vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: .9;
  color: var(--indigo);
}
.edition aside .no { font: 600 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.meta { list-style: none; padding: 0; margin: 16px 0 0; font: 500 13px/1.55 var(--mono); color: var(--muted); }
.meta li { padding: 6px 0; border-top: 1px solid var(--line); }
.meta b { color: var(--ink); font-weight: 600; }
.edition h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.edition .body > p { max-width: 68ch; }

.results { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin: 26px 0; }
.results h4 { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.results ol, .results ul { margin: 0; padding: 0; list-style: none; }
.results li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.results li > span:first-child { font: 600 12px/1.4 var(--mono); color: var(--red); min-width: 2.2em; flex: none; }
.results ul li > span:first-child { min-width: 0; color: var(--muted); flex: 0 0 42%; }
.results strong { font-weight: 700; }
.results small { color: var(--muted); font-size: 15px; }

details { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); margin: 18px 0; }
summary { cursor: pointer; padding: 13px 16px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 600 18px/1 var(--mono); color: var(--red); }
details[open] summary::after { content: "–"; }
details ol { margin: 0; padding: 4px 16px 16px 40px; columns: 2; column-gap: 40px; font-size: 15.5px; }
details li { break-inside: avoid; padding: 3px 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 24px 0 14px; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; background: #e9e6f6; aspect-ratio: 3 / 2; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery.few { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.gallery.few a:first-child { grid-column: auto; grid-row: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.04); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.links a {
  display: inline-block; font: 600 13px/1 var(--mono); text-decoration: none;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--indigo);
}
.links a:hover { border-color: var(--indigo); color: var(--indigo); background: #f1effa; }

/* ---------- people / partners / press ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.cols h3 { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.cols ul { list-style: none; margin: 0; padding: 0; }
.cols li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.cols li b { display: block; font-size: 16.5px; }
.cols li span { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; list-style: none; }
.tags li { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 15px; font-weight: 600; }
.sub { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }

.press { background: var(--indigo-deep); color: #fff; }
.press .sec-head p { color: #c9c5e6; }
.press-list { list-style: none; margin: 0; padding: 0; }
.press-list li { border-top: 1px solid rgba(255,255,255,.2); }
.press-list a {
  display: grid; grid-template-columns: 170px 1fr auto; gap: 20px; align-items: baseline;
  padding: 18px 0; color: #fff; text-decoration: none;
}
.press-list a span:first-child { font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #ff8a8e; }
.press-list a span:last-child { font: 600 14px/1 var(--mono); color: #c9c5e6; }
.press-list a:hover { color: #ff8a8e; }

footer { padding: 56px 0 40px; font-size: 15px; color: var(--muted); }
footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h3 { font: 600 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 3px 0; }
footer .fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- lightbox ---------- */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lb::backdrop { background: rgba(12, 10, 32, .94); }
.lb figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 56px 24px; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; }
.lb figcaption { color: #c9c5e6; margin-top: 12px; text-align: center; }
.lb button {
  position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1;
}
.lb button:hover { background: var(--red); }
.lb .x { top: 14px; right: 14px; }
.lb .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 10px; top: 50%; transform: translateY(-50%); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

@media (max-width: 900px) {
  .about, .results, .cols, footer .grid { grid-template-columns: 1fr; }
  .cols { gap: 28px; }
  .edition { grid-template-columns: 1fr; }
  .edition aside { position: static; }
  .meta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { padding-bottom: 14px; }
  details ol { columns: 1; }
  .press-list a { grid-template-columns: 1fr; gap: 4px; }
  .press-list a span:last-child { display: none; }
  .bar .brand span { display: none; }
  .lb figure { padding: 56px 8px 16px; }
  .lb .prev, .lb .next { top: auto; bottom: 14px; transform: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .results ul li { flex-direction: column; gap: 2px; }
  .results ul li > span:first-child { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
