/* Politics & Jollof
   Layout idea: the logo's six shapes are the signature. They hold photos in the hero,
   build the preloader and page wipes, and punctuate sections. Ink on off-white,
   brand blue as the single UI accent; gold and red appear only inside the brand shapes.
   Radius system: cards 22px, inputs 14px, buttons and chips full pill. */

:root {
  --bg: #f4f4f1;
  --surface: #fbfbf9;
  --surface-2: #ecece7;
  --ink: #161616;
  --ink-2: #2b2b29;
  --muted: #5d5d57;
  --line: rgba(22, 22, 22, 0.12);
  --blue: #0a71b7;
  --blue-ink: #ffffff;
  --gold: #f4a025;
  --red: #932224;
  --shadow: 0 30px 60px -30px rgba(40, 40, 30, 0.35);
  --f-display: "Cabinet Grotesk", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 22px;
  --r-input: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1360px;
  --gutter: clamp(18px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --surface: #16181b;
    --surface-2: #1d2024;
    --ink: #f1f0ec;
    --ink-2: #dddcd6;
    --muted: #a3a29c;
    --line: rgba(241, 240, 236, 0.13);
    --blue: #3d9ae0;
    --blue-ink: #08121c;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -0.025em; line-height: 1; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.eyebrow { font: 700 0.78rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }

/* Z scale: header 40, menu 45, lightbox 60, wipe 80, preloader 90 */

/* ---------- Logo shapes ---------- */
.c-blue { background: var(--blue); }
.c-gold { background: var(--gold); }
.c-red { background: var(--red); }
.sh { display: block; }
.sh-circle { border-radius: 50%; }
.sh-d { border-radius: 0 100% 100% 0 / 0 50% 50% 0; }
.sh-bowl { border-radius: 0 0 50% 50% / 0 0 100% 100%; }
/* The six-shape mark, positioned exactly like the logo (464 x 408 units) */
.mark, .pl-mark, .collage { position: relative; aspect-ratio: 464 / 408; }
.mark > *, .pl-mark > *, .collage > * { position: absolute; }
.mark > :nth-child(1), .pl-mark > :nth-child(1), .collage > :nth-child(1) { left: 0; top: 0; width: 35.3%; height: 47%; }
.mark > :nth-child(2), .pl-mark > :nth-child(2), .collage > :nth-child(2) { left: 41.4%; top: 1%; width: 22.8%; height: 44.6%; }
.mark > :nth-child(3), .pl-mark > :nth-child(3), .collage > :nth-child(3) { left: 69%; top: 1%; width: 28.9%; height: 44.6%; }
.mark > :nth-child(4), .pl-mark > :nth-child(4), .collage > :nth-child(4) { left: 0; top: 54.4%; width: 35.3%; height: 43.6%; }
.mark > :nth-child(5), .pl-mark > :nth-child(5), .collage > :nth-child(5) { left: 42.7%; top: 54.4%; width: 57.3%; height: 20.1%; }
.mark > :nth-child(6), .pl-mark > :nth-child(6), .collage > :nth-child(6) { left: 42.7%; top: 79.4%; width: 57.3%; height: 20.6%; }

/* ---------- Preloader + page wipe ---------- */
.preloader { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; place-items: center; }
.pl-mark { width: min(38vw, 220px); }
html.no-preload .preloader { display: none; }
.wipe { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: grid; grid-template-rows: repeat(3, 1fr); }
.wipe span { transform: scaleY(0); transform-origin: bottom; }
.w-blue { background: var(--blue); } .w-gold { background: var(--gold); } .w-red { background: var(--red); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease); }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { height: 38px; }
.brand .mark .sh { transition: transform .6s var(--ease); }
.brand:hover .mark :nth-child(1) { transform: translate(-3px, -3px); }
.brand:hover .mark :nth-child(3) { transform: translate(3px, -3px) rotate(8deg); }
.brand:hover .mark :nth-child(4) { transform: translate(-3px, 3px); }
.brand:hover .mark :nth-child(6) { transform: translate(3px, 3px); }
.wordmark { height: 34px; width: auto; }
.wm-light { display: none; }
@media (prefers-color-scheme: dark) { .wm-dark { display: none; } .wm-light { display: block; } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link { position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.menu-btn span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; overflow: hidden; }
.menu-nav { display: grid; gap: 6px; }
.menu-link { font: 800 clamp(2.4rem, 11vw, 4rem)/1.05 var(--f-display); letter-spacing: -0.03em; text-decoration: none; overflow: hidden; display: block; }
.menu-link span { display: inline-block; }
.menu-link[aria-current="page"] { color: var(--blue); }
.menu-cta { margin-top: auto; align-self: flex-start; }
.menu-shapes { position: absolute; right: -40px; bottom: 90px; width: 220px; height: 220px; opacity: .9; }
.menu-shapes .sh { position: absolute; }
.menu-shapes .sh:nth-child(1) { width: 110px; height: 120px; right: 90px; top: 0; }
.menu-shapes .sh:nth-child(2) { width: 70px; height: 116px; right: 10px; top: 4px; }
.menu-shapes .sh:nth-child(3) { width: 90px; height: 90px; right: 110px; top: 136px; }
.menu-shapes .sh:nth-child(4) { width: 160px; height: 52px; right: -20px; top: 150px; }
@media (max-width: 1080px) { .nav { display: none; } .menu-btn { display: block; } .header-in .header-cta { margin-left: auto; } .header-in .menu-btn { margin-left: 0; } }
@media (max-width: 480px) { .header-in .header-cta { display: none; } .header-in .menu-btn { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--ink); --fg-btn: var(--bg);
  position: relative; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn); text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1;
  cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--blue)); border-radius: inherit; transform: translateY(105%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--blue-ink); }
.btn:active { transform: scale(.97); }
.btn-primary { --bg-btn: var(--blue); --fg-btn: #fff; --fill: var(--ink); }
.btn-primary:hover { color: var(--bg); }
.btn-ghost { --bg-btn: transparent; --fg-btn: var(--ink); border-color: var(--line); --fill: var(--ink); }
.btn-ghost:hover { color: var(--bg); }
.btn-sm { padding: 12px 20px; font-size: .92rem; }
.btn .ph { font-size: 1.15em; transition: transform .5s var(--ease); }
.btn:hover .ph-arrow-up-right, .btn:hover .ph-arrow-right { transform: translate(3px, -1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow .ph { transition: transform .45s var(--ease); }
.link-arrow:hover .ph { transform: translateX(5px); }

/* ---------- Generic section rhythm ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); }
.h-xl { font-size: clamp(2.8rem, 6.4vw, 6rem); }
.h-lg { font-size: clamp(2.3rem, 4.8vw, 4.4rem); }
.h-md { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: calc(100dvh - 72px - 120px); }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 6.4rem); line-height: .95; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.collage { width: 100%; max-width: 640px; justify-self: end; }
.collage .slot { overflow: hidden; background: var(--surface-2); }
.collage .slot.sh-circle { border-radius: 50%; }
.collage .slot.sh-d { border-radius: 0 100% 100% 0 / 0 50% 50% 0; }
.collage .slot.sh-bowl { border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.collage .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; transform: scale(1.12); }
.collage .slot img.on { opacity: 1; }
.collage .tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .0; transition: opacity .6s; }
.collage .slot:hover .tint { opacity: .35; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .collage { justify-self: center; max-width: 520px; order: -1; }
}

/* ---------- Marquee (one per page) ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 clamp(1.3rem, 2.4vw, 2rem)/1 var(--f-display); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-item .sh { width: 18px; height: 18px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto (scroll-lit words) ---------- */
.manifesto p { font: 800 clamp(2rem, 4.6vw, 4.1rem)/1.08 var(--f-display); letter-spacing: -0.025em; max-width: 22ch; }
.manifesto .mw { color: color-mix(in srgb, var(--ink) 16%, transparent); transition: color .25s linear; }
.manifesto .mw.lit { color: var(--ink); }
.manifesto .mw.hl.lit { color: var(--blue); }
.manifesto .sig { margin-top: 36px; display: flex; gap: 10px; }
.manifesto .sig .sh { width: 30px; height: 30px; }

/* ---------- Stats with photo ---------- */
.stats-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.stats-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; }
.stats-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.stats-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) 24px; }
.stat b { display: block; font: 800 clamp(3.2rem, 6.5vw, 6rem)/.9 var(--f-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); max-width: 18ch; }
.stat:nth-child(1) b { color: var(--blue); }
@media (max-width: 860px) { .stats-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Next edition feature ---------- */
.next { position: relative; border-radius: calc(var(--r-card) + 8px); overflow: hidden; min-height: min(86vh, 760px); display: grid; align-items: end; color: #f4f2ec; isolation: isolate; background: #0b0b0c; }
.next-media { position: absolute; inset: 0; z-index: -2; }
.next-media img, .next-media video { width: 100%; height: 100%; object-fit: cover; }
.next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,9,.25) 0%, rgba(8,8,9,.55) 40%, rgba(8,8,9,.96) 85%), linear-gradient(90deg, rgba(8,8,9,.55), transparent 60%); }
.next-body { padding: clamp(24px, 4.5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.next .eyebrow { color: var(--gold); }
.next h2 { margin-top: 14px; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .95; }
.next p.q { margin-top: 18px; color: rgba(244,242,236,.8); max-width: 54ch; }
.next-side { display: grid; gap: 18px; justify-items: start; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; }
.countdown div { border: 1px solid rgba(244,242,236,.22); border-radius: 16px; padding: 14px 6px; text-align: center; backdrop-filter: blur(8px); background: rgba(255,255,255,.05); }
.countdown b { display: block; font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.next-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(244,242,236,.85); font-weight: 500; }
.next-meta span { display: inline-flex; align-items: center; gap: 8px; }
.next .btn-primary { --fill: #f4f2ec; }
.next .btn-primary:hover { color: #0b0b0c; }
.mute-btn { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); font-size: 1.2rem; }
@media (max-width: 860px) { .next-body { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Horizontal "one evening" ---------- */
.evening { position: relative; overflow: hidden; }
.evening-head { padding-top: clamp(80px, 10vw, 140px); }
.evening-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 48px var(--gutter) clamp(80px, 10vw, 140px); width: max-content; }
.moment { position: relative; flex: none; width: clamp(260px, 30vw, 420px); }
.moment-img { aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.moment-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.moment:hover .moment-img img { transform: scale(1.06); }
.moment .num { position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem/1 var(--f-display); color: #fff; }
.moment h3 { margin-top: 18px; font-size: clamp(1.4rem, 2vw, 1.8rem); }
.moment p { margin-top: 8px; color: var(--muted); max-width: 36ch; }
@media (max-width: 760px) {
  .evening-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 80px; }
  .moment { scroll-snap-align: start; width: 78vw; }
}

/* ---------- Vote chart ---------- */
.vote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.vote-motion { margin-top: 18px; font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.2 var(--f-display); }
.vote-motion q { quotes: "“" "”"; }
.vote-chart { display: grid; gap: 26px; }
.vrow h4 { font: 700 1.05rem/1.2 var(--f-body); letter-spacing: 0; display: flex; justify-content: space-between; gap: 12px; }
.vbars { margin-top: 10px; display: grid; gap: 8px; }
.vbar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px; gap: 12px; align-items: center; font-size: .85rem; color: var(--muted); }
.vbar i { display: block; height: 18px; border-radius: 999px; transform-origin: left; transform: scaleX(0); }
.vbar b { font: 800 1.05rem/1 var(--f-display); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.vote-empty { border: 1.5px dashed var(--line); border-radius: var(--r-card); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; }
.vote-empty .ghost-bars { display: grid; gap: 10px; }
.vote-empty .ghost-bars span { height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 40%, var(--bg)), var(--surface-2)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 860px) { .vote { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Edition hover list ---------- */
.ed-list { margin-top: 40px; border-top: 1px solid var(--line); }
.ed-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.ed-row .m { color: var(--muted); font-weight: 500; }
.ed-row h3 { font-size: clamp(1.35rem, 2.6vw, 2.3rem); transition: transform .6s var(--ease), color .3s; }
.ed-row .ph { font-size: 1.6rem; transition: transform .6s var(--ease); }
.ed-row:hover h3 { transform: translateX(14px); color: var(--blue); }
.ed-row:hover .ph { transform: rotate(-45deg); }
.hover-img { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 30; opacity: 0; transform: translate(-50%, -50%) scale(.7); box-shadow: var(--shadow); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ed-row { grid-template-columns: minmax(0, 1fr) auto; } .ed-row .m { grid-column: 1 / -1; } .hover-img { display: none; } }


/* ---------- Join band ---------- */
.join { position: relative; border-radius: calc(var(--r-card) + 8px); background: var(--surface); border: 1px solid var(--line); padding: clamp(32px, 6vw, 88px); overflow: hidden; }
.join h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 13ch; position: relative; z-index: 1; }
.join p { margin-top: 18px; position: relative; z-index: 1; }
.join .chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; max-width: 720px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 500; font-size: .92rem; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.join .btn { margin-top: 32px; position: relative; z-index: 1; }
.join-shapes { position: absolute; right: -60px; top: 50%; width: min(46vw, 520px); transform: translateY(-50%); opacity: .95; }
@media (max-width: 860px) { .join-shapes { position: relative; right: auto; top: auto; transform: none; width: 70%; margin: 0 auto 28px; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(70px, 9vw, 120px) 32px; border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 120px); overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.foot-line { font: 800 clamp(2rem, 4.4vw, 3.8rem)/1 var(--f-display); letter-spacing: -0.03em; }
.foot-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.foot-grid nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-grid nav a { text-decoration: none; font-weight: 500; }
.foot-grid nav a:hover { color: var(--blue); }
.foot-rid { color: var(--muted); max-width: 52ch; justify-self: end; }
.foot-word { margin-top: 64px; display: flex; align-items: center; gap: clamp(8px, 1.4vw, 20px); font: 800 clamp(3rem, 9.4vw, 9.6rem)/.9 var(--f-display); letter-spacing: -0.05em; white-space: nowrap; }
.foot-word .sh { width: .55em; height: .62em; flex: none; }
.foot-word .sh-rect { width: .45em; }
.foot-word .sh-d { width: .36em; }
.foot-copy { margin-top: 28px; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-rid { justify-self: start; } .foot-word { font-size: 12.6vw; } .foot-word .sh { display: none; } }

/* ---------- Inner page heroes ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 110px) clamp(40px, 5vw, 72px); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .92; max-width: 14ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.page-hero .mark { width: min(100%, 300px); justify-self: end; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero .mark { justify-self: start; width: 160px; } }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-intro .big { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1.25 var(--f-display); letter-spacing: -0.015em; }
.about-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 5 / 6; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .about-intro { grid-template-columns: minmax(0, 1fr); } }
.stack { margin-top: 48px; display: grid; gap: 0; }
.stack-card { position: sticky; top: 96px; min-height: 340px; border-radius: calc(var(--r-card) + 6px); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: top center; }
.stack-card .sh { width: clamp(90px, 14vw, 180px); height: clamp(90px, 14vw, 180px); }
.stack-card .sh-bowl { height: clamp(48px, 7vw, 90px); }
.stack-card .sh-d { width: clamp(56px, 8vw, 104px); }
.stack-card h3 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.stack-card p { margin-top: 14px; color: var(--muted); max-width: 52ch; font-size: 1.1rem; }
@media (max-width: 640px) { .stack-card { grid-template-columns: minmax(0, 1fr); top: 84px; } }
.matters { position: relative; border-radius: calc(var(--r-card) + 8px); overflow: hidden; min-height: 560px; display: grid; align-items: end; color: #f4f2ec; isolation: isolate; }
.matters img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.matters::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,.1), rgba(10,10,12,.85)); }
.matters-body { padding: clamp(28px, 5vw, 72px); max-width: 980px; }
.matters h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.matters p { margin-top: 18px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(244,242,236,.86); max-width: 60ch; }
.focus { margin-top: 40px; border-top: 1px solid var(--line); }
.focus-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.focus-row .sh { width: 48px; height: 48px; transition: transform .7s var(--ease); }
.focus-row:hover .sh { transform: rotate(180deg) scale(1.1); }
.focus-row h3 { font-size: clamp(2rem, 5vw, 4rem); transition: color .3s; }
.focus-row:hover h3 { color: var(--blue); }
.focus-row p { color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .focus-row { grid-template-columns: 48px minmax(0, 1fr); } .focus-row p { grid-column: 1 / -1; } }

/* ---------- Editions page ---------- */
.upcoming { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.up-card { position: relative; border-radius: calc(var(--r-card) + 6px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; }
.up-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); position: relative; }
.up-card .media img, .up-card .media video { width: 100%; height: 100%; object-fit: cover; }
.up-card .media .mark { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; }
.up-card .body { padding: clamp(20px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.up-card h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
.up-card .when { font-weight: 700; }
.up-card .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 860px) { .upcoming { grid-template-columns: minmax(0, 1fr); } }
.format { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: f; }
.format li { list-style: none; padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; }
.format li b { font: 800 1rem/1 var(--f-display); color: var(--blue); min-width: 24px; font-variant-numeric: tabular-nums; }
.format li span { font: 700 clamp(1.15rem, 1.8vw, 1.5rem)/1.2 var(--f-display); letter-spacing: -0.01em; }
@media (max-width: 760px) { .format { grid-template-columns: minmax(0, 1fr); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 500; transition: all .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.archive { margin-top: 28px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ed-card { grid-column: span 4; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; padding: 0; display: grid; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ed-card.wide { grid-column: span 8; }
.ed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ed-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.ed-card.wide .media { aspect-ratio: 16 / 9.15; }
.ed-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), clip-path 1s var(--ease); }
.ed-card:hover .media img { transform: scale(1.07); }
.ed-card .count { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10,10,12,.6); color: #fff; font-size: .8rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; backdrop-filter: blur(6px); }
.ed-card .noimg { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.ed-card .noimg.t0 { background: color-mix(in srgb, var(--blue) 14%, var(--surface)); }
.ed-card .noimg.t1 { background: color-mix(in srgb, var(--gold) 18%, var(--surface)); }
.ed-card .noimg.t2 { background: color-mix(in srgb, var(--red) 13%, var(--surface)); }
.ed-card .noimg .sh { position: absolute; width: 46%; height: 70%; right: -8%; bottom: -14%; opacity: .9; transition: transform 1s var(--ease); }
.ed-card .noimg .sh.sh-d { width: 30%; }
.ed-card:hover .noimg .sh { transform: rotate(-12deg) scale(1.06); }
.ed-card .noimg .mo { position: relative; font: 800 clamp(3rem, 6vw, 5rem)/.85 var(--f-display); letter-spacing: -0.04em; text-transform: uppercase; justify-self: start; align-self: end; margin: 0 0 18px 22px; }
.ed-card .noimg .mo small { display: block; font-size: .32em; letter-spacing: .02em; margin-top: 8px; color: var(--muted); }
.ed-card .body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.ed-card .m { color: var(--muted); font-weight: 500; font-size: .92rem; }
.ed-card h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.1; }
.ed-card p { color: var(--muted); font-size: .97rem; }
@media (max-width: 1000px) { .ed-card { grid-column: span 6; } .ed-card.wide { grid-column: span 12; } }
@media (max-width: 640px) { .ed-card, .ed-card.wide { grid-column: span 12; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(8,8,10,.94); color: #f1f0ec; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; opacity: 0; }
.lb-top { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 20px var(--gutter); }
.lb-top h2 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); max-width: 30ch; }
.lb-top p { color: rgba(241,240,236,.7); margin-top: 6px; max-width: 70ch; }
.lb-close, .lb-nav { width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1.3rem; flex: none; transition: background .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); overflow: hidden; touch-action: pan-y; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 14px; user-select: none; -webkit-user-drag: none; }
.lb-prev { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb-next { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb-thumbs { display: flex; gap: 8px; padding: 16px var(--gutter) 22px; overflow-x: auto; }
.lb-thumbs button { flex: none; width: 76px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .55; background: #222; transition: opacity .3s, border-color .3s; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-count { font-size: .9rem; opacity: .75; }
.lb-empty { text-align: center; display: grid; gap: 16px; justify-items: center; color: rgba(241,240,236,.8); }
.lb-empty .mark { width: 140px; }
.lb-info { min-width: 0; }
.lb-top p.lb-held { display: flex; gap: 6px; align-items: center; }
.lb-story { margin-top: 12px; max-width: 70ch; max-height: 7.6em; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-width: thin; }
.lb-top .lb-story p { color: rgba(241,240,236,.88); margin-top: 0; line-height: 1.55; }
.lb-top .lb-story p + p { margin-top: 8px; }
.lb-watch { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 11px 18px; border-radius: 999px; background: #e1262d; color: #fff; font-weight: 700; transition: transform .4s var(--ease), background .3s; }
.lb-watch:hover { background: #c41d23; transform: translateY(-2px); }
.lb-watch .ph-youtube-logo { font-size: 1.3rem; }
.lb-video { position: relative; display: block; width: min(100%, 960px); max-height: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #1b1b1d; }
.lb-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform .8s var(--ease); }
.lb-video .mark { position: absolute; inset: 0; margin: auto; width: 26%; height: auto; }
.lb-video .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 999px; background: #e1262d; color: #fff; display: grid; place-items: center; font-size: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,.4); transition: transform .4s var(--ease); }
.lb-video:hover img { opacity: 1; transform: scale(1.03); }
.lb-video:hover .play { transform: scale(1.1); }
.ed-card .count.yt { right: auto; left: 12px; background: #e1262d; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); padding: clamp(22px, 3.5vw, 40px); }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-input);
  padding: 14px 16px; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
.field .err { color: #c0262d; font-size: .88rem; min-height: 0; }
@media (prefers-color-scheme: dark) { .field .err { color: #ff8a8f; } }
.form .btn { justify-self: start; }
.form-status { font-weight: 600; }
.form-status.ok { color: #1f7a3d; }
.form-status.bad { color: #c0262d; }
@media (prefers-color-scheme: dark) { .form-status.ok { color: #6fd58f; } .form-status.bad { color: #ff8a8f; } }
.form-done { text-align: left; display: grid; gap: 14px; justify-items: start; }
.form-done .mark { width: 110px; }
.form-done h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.closed { border: 1.5px dashed var(--line); border-radius: var(--r-card); padding: 28px; display: grid; gap: 10px; }

/* ---------- Squads accordion ---------- */
.squads { margin-top: 40px; border-top: 1px solid var(--line); }
.squad { border-bottom: 1px solid var(--line); }
.squad button.sq-head { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left; }
.squad .sh { width: 30px; height: 30px; transition: transform .7s var(--ease); }
.squad h3 { font-size: clamp(1.6rem, 3.6vw, 3rem); transition: color .3s, transform .6s var(--ease); }
.squad button.sq-head:hover h3 { color: var(--blue); transform: translateX(10px); }
.squad .ph-plus { font-size: 1.6rem; transition: transform .5s var(--ease); }
.squad[data-open="true"] .ph-plus { transform: rotate(45deg); }
.squad[data-open="true"] .sh { transform: rotate(180deg); }
.sq-body { overflow: hidden; height: 0; }
.sq-body-in { padding: 0 0 28px 58px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.sq-body-in p { color: var(--muted); max-width: 56ch; font-size: 1.1rem; }
@media (max-width: 600px) { .sq-body-in { padding-left: 0; } }

/* ---------- Communiqués ---------- */
.comms { margin-top: 40px; display: grid; gap: 16px; }
.comm { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); cursor: pointer; text-align: left; width: 100%; }
.comm:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.comm h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
.comm p { color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .comm { grid-template-columns: minmax(0, 1fr); } }
.empty { border: 1.5px dashed var(--line); border-radius: calc(var(--r-card) + 4px); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.empty .mark { width: clamp(110px, 16vw, 200px); }
.empty h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.empty p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
@media (max-width: 640px) { .empty { grid-template-columns: minmax(0, 1fr); } }
.reader { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; opacity: 0; }
.reader-in { max-width: 760px; margin: 0 auto; padding: 80px var(--gutter); }
.reader h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-top: 10px; }
.reader .body { margin-top: 28px; font-size: 1.12rem; line-height: 1.75; display: grid; gap: 1.1em; }
.reader .lb-close { position: fixed; top: 18px; right: 18px; color: var(--ink); border-color: var(--line); background: var(--surface); }

/* ---------- Contact ---------- */
.contact-big { font: 800 clamp(3.4rem, 10vw, 9rem)/.88 var(--f-display); letter-spacing: -0.045em; }
.contact-info { margin-top: 32px; display: grid; gap: 14px; }

/* ---------- Reveal defaults (JS adds .js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js [data-clip] { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-clip] { clip-path: none; }
  .collage .slot img { transform: none; }
  .manifesto .mw { color: var(--ink); }
}

/* Page wipe arriving from another page: panels start closed */
html.wiping .wipe span { transform: scaleY(1); }

/* ---------- Living background ----------
   Fixed layer behind all content: soft brand-colour light, outline logo shapes and paper grain.
   Painted with gradients (no blur filters) so it stays cheap to scroll. */
:root { --orb-o: .22; --ghost: rgba(22, 22, 22, 0.075); --grain-o: .07; }
@media (prefers-color-scheme: dark) { :root { --orb-o: .16; --ghost: rgba(241, 240, 236, 0.07); --grain-o: .05; } }
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx .orb { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: var(--orb-o); will-change: transform; }
.orb-blue { left: -28vmax; top: -24vmax; background: radial-gradient(circle at center, var(--blue) 0%, transparent 62%); }
.orb-gold { right: -30vmax; top: 18vh; background: radial-gradient(circle at center, var(--gold) 0%, transparent 60%); }
.orb-red { left: 10vw; bottom: -42vmax; background: radial-gradient(circle at center, var(--red) 0%, transparent 60%); opacity: calc(var(--orb-o) * .8); }
.bg-fx .ghost { position: absolute; border: 1.5px solid var(--ghost); will-change: transform; }
.g-circle { width: 46vmin; height: 52vmin; border-radius: 50%; right: -9vmin; top: 12vh; }
.g-d { width: 22vmin; height: 40vmin; border-radius: 0 100% 100% 0 / 0 50% 50% 0; left: 4vw; top: 58vh; }
.g-rect { width: 28vmin; height: 38vmin; right: 18vw; bottom: -6vmin; }
.g-bowl { width: 58vmin; height: 18vmin; border-radius: 0 0 50% 50% / 0 0 100% 100%; left: 30vw; top: -2vmin; }
.g-circle2 { width: 18vmin; height: 20vmin; border-radius: 50%; left: 46vw; top: 70vh; border-color: color-mix(in srgb, var(--gold) 40%, transparent); }
/* paper grain (SVG noise, tiled) */
.bg-fx::after { content: ""; position: absolute; inset: -50%; opacity: var(--grain-o); mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px; }
@media (prefers-color-scheme: dark) { .bg-fx::after { mix-blend-mode: screen; filter: invert(1); } }
/* sections that sit on the page should let the light through */
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); }
@media (max-width: 760px) { .g-rect, .g-circle2 { display: none; } .bg-fx .orb { width: 110vmax; height: 110vmax; } }

/* =================================================================
   Phone layout (640px and below): a tighter type scale, calmer spacing,
   and recomposed blocks rather than shrunk desktop ones.
   ================================================================= */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section { padding-block: 64px; }
  .h-lg { font-size: 2.05rem; line-height: 1.02; }
  .h-md { font-size: 1.45rem; }
  .lead { font-size: 1.02rem; }
  .btn { padding: 14px 20px; font-size: .95rem; }

  /* Hero: text first, compact photo mark under it */
  .hero { padding-block: 20px 40px; }
  .hero-grid { gap: 28px; }
  .collage { order: 2; width: 78%; max-width: 300px; justify-self: start; }
  .hero h1 { font-size: 2.55rem; line-height: .98; }
  .hero .lead { margin-top: 16px; }
  .hero-ctas { margin-top: 22px; gap: 10px; }

  .marquee { padding-block: 14px; }
  .marquee-item { font-size: 1.1rem; gap: 18px; padding-right: 18px; }
  .marquee-item .sh { width: 12px; height: 12px; }

  .manifesto p { font-size: 1.7rem; line-height: 1.12; max-width: none; }
  .manifesto .sig { margin-top: 22px; }
  .manifesto .sig .sh { width: 22px; height: 22px; }

  .stats-grid { gap: 28px; }
  .stats-photo { aspect-ratio: 16 / 10; }
  .stats-list { gap: 26px 16px; margin-top: 24px !important; }
  .stat b { font-size: 2.8rem; }
  .stat span { font-size: .92rem; margin-top: 6px; }

  /* Next edition: video on top, details below on dark */
  .next { display: flex; flex-direction: column; min-height: 0; border-radius: var(--r-card); }
  .next::before { display: none; }
  .next-media { position: relative; inset: auto; aspect-ratio: 16 / 9; z-index: 0; }
  .next-body { padding: 22px 20px 24px; gap: 20px; }
  .next h2 { font-size: 2.15rem; margin-top: 10px; }
  .next p.q { font-size: .95rem; margin-top: 12px; }
  .countdown div { padding: 10px 4px; border-radius: 12px; }
  .countdown b { font-size: 1.45rem; }
  .countdown small { font-size: .6rem; }
  .next-meta { display: grid; gap: 6px; font-size: .92rem; }
  .mute-btn { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1rem; }

  /* One evening: compact swipe row that respects the page gutter */
  .evening-head { padding-top: 64px; }
  .evening-track { padding: 28px var(--gutter) 64px; scroll-padding-inline: var(--gutter); gap: 12px; }
  .moment { width: 72vw; }
  .moment-img { aspect-ratio: 1 / 1; border-radius: 18px; }
  .moment .num { width: 36px; height: 36px; font-size: .95rem; top: 10px; left: 10px; }
  .moment h3 { font-size: 1.25rem; margin-top: 12px; }
  .moment p { font-size: .92rem; margin-top: 4px; }

  .vote { gap: 28px; }
  .vote-motion { font-size: 1.2rem; }
  .vbar { grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 10px; }
  .vbar i { height: 14px; }

  .ed-list { margin-top: 24px; }
  .ed-row { padding: 18px 2px; gap: 4px 14px; }
  .ed-row .m { font-size: .82rem; }
  .ed-row h3 { font-size: 1.15rem; line-height: 1.15; }
  .ed-row .ph { font-size: 1.2rem; }

  /* Join: small mark tucked top-right instead of a half-screen graphic */
  .join { padding: 26px 20px 28px; border-radius: var(--r-card); }
  .join-shapes { position: absolute; width: 96px; right: 16px; top: 22px; margin: 0; }
  .join h2 { font-size: 2.1rem; max-width: 9ch; }
  .join .chips { margin-top: 20px; gap: 6px; }
  .chip { padding: 8px 12px; font-size: .84rem; }
  .join .btn { margin-top: 22px; }

  .site-footer { margin-top: 32px; padding-block: 48px 24px; }
  .foot-line { font-size: 1.75rem; }
  .foot-grid { margin-top: 32px; gap: 18px; }
  .foot-word { margin-top: 36px; }

  /* Inner pages */
  .page-hero { padding-block: 28px 32px; }
  .page-hero h1 { font-size: 2.6rem; line-height: .98; }
  .page-hero .lead { margin-top: 14px; }
  .page-hero-grid { gap: 22px; }
  .page-hero .mark { width: 92px; order: -1; }
  .contact-big { font-size: 3.8rem; }

  .about-intro { gap: 24px; }
  .about-photo { aspect-ratio: 4 / 3; }
  .about-intro .big { font-size: 1.3rem; }
  .stack { margin-top: 24px; }
  .stack-card { min-height: 0; padding: 22px 20px; gap: 14px; top: 76px; margin-bottom: 14px; border-radius: var(--r-card); }
  .stack-card .sh { width: 56px; height: 56px; }
  .stack-card .sh-bowl { width: 72px; height: 26px; }
  .stack-card .sh-d { width: 30px; }
  .stack-card h3 { font-size: 1.6rem; }
  .stack-card p { font-size: .98rem; margin-top: 8px; }
  .matters { min-height: 440px; border-radius: var(--r-card); }
  .matters-body { padding: 22px 20px; }
  .matters h2 { font-size: 2rem; }
  .matters p { font-size: 1rem; }
  .focus { margin-top: 24px; }
  .focus-row { padding: 18px 0; gap: 10px 14px; grid-template-columns: 34px minmax(0, 1fr); }
  .focus-row .sh { width: 30px; height: 30px; }
  .focus-row h3 { font-size: 1.7rem; }
  .focus-row p { font-size: .95rem; }

  .upcoming { gap: 12px; }
  .up-card .body { padding: 18px; gap: 8px; }
  .up-card h3 { font-size: 1.5rem; }
  .format { margin-top: 24px; }
  .format li { padding: 14px 0; }
  .format li span { font-size: 1.1rem; }
  .archive { gap: 12px; margin-top: 20px; }
  .ed-card .body { padding: 14px 16px 18px; }
  .ed-card h3 { font-size: 1.2rem; }
  .ed-card p { font-size: .9rem; }
  .ed-card .noimg .mo { font-size: 3rem; margin: 0 0 14px 16px; }

  .squads { margin-top: 24px; }
  .squad button.sq-head { padding: 18px 0; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; }
  .squad .sh { width: 22px; height: 22px; }
  .squad h3 { font-size: 1.5rem; }
  .sq-body-in { padding-bottom: 20px; }
  .sq-body-in p { font-size: 1rem; }

  .form { padding: 20px 18px; gap: 14px; border-radius: var(--r-card); }
  .form-wrap { gap: 24px; }
  .field input, .field textarea, .field select { padding: 13px 14px; font-size: 16px; } /* 16px stops iOS zooming into inputs */

  .comm { padding: 18px; gap: 6px; }
  .empty { padding: 26px 20px; gap: 18px; }
  .empty .mark { width: 84px; }
  .empty h2 { font-size: 1.6rem; }

  .lb-top { padding: 14px 16px; }
  .lb-top h2 { font-size: 1.15rem; }
  .lb-top p { font-size: .88rem; }
  .lb-story { max-height: 6.2em; margin-top: 8px; }
  .lb-watch { margin-top: 10px; padding: 9px 14px; font-size: .9rem; }
  .lb-video .play { width: 60px; height: 60px; font-size: 1.5rem; }
  .ed-card .count.yt { left: 8px; }
  .lb-close, .lb-nav { width: 44px; height: 44px; font-size: 1.1rem; }
  .lb-stage { padding: 0 10px; }
  .lb-prev { left: 14px; top: auto; bottom: 10px; transform: none; }
  .lb-next { right: 14px; top: auto; bottom: 10px; transform: none; }
  .lb-thumbs { padding: 12px 16px 18px; }
  .lb-thumbs button { width: 60px; height: 44px; }

  .menu-link { font-size: 2.6rem; }
  .bg-fx .ghost { border-width: 1px; }
}

/* Phone: compact two-column edition archive and calmer upcoming cards */
@media (max-width: 640px) {
  .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ed-card, .ed-card.wide { grid-column: span 1; border-radius: 16px; }
  .ed-card.wide { grid-column: 1 / -1; }
  .ed-card .media { aspect-ratio: 1 / 1; }
  .ed-card.wide .media { aspect-ratio: 16 / 10; }
  .ed-card:not(.wide) p { display: none; }
  .ed-card:not(.wide) .body { padding: 10px 12px 14px; gap: 4px; }
  .ed-card:not(.wide) h3 { font-size: .98rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ed-card:not(.wide) .m { font-size: .76rem; }
  .ed-card .noimg .mo { font-size: 2.2rem; margin: 0 0 10px 12px; }
  .ed-card .count { right: 8px; bottom: 8px; padding: 4px 9px; font-size: .72rem; }
  .up-card .media { aspect-ratio: 16 / 9; }
  .up-card .media .mark { width: 30%; }
}

/* ---------- Live vote page ---------- */
.vote-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 18ch; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #e1262d; margin-right: 10px; vertical-align: middle; animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .3; } }
#poll { display: grid; gap: clamp(28px, 5vw, 56px); }
.pq { display: grid; gap: 18px; padding: clamp(18px, 3vw, 36px); border-radius: calc(var(--r-card) + 6px); background: var(--surface); border: 1px solid var(--line); }
.pq .sides { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; margin-top: 4px; }
.pq .side { position: relative; overflow: hidden; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); display: grid; gap: 10px; align-content: start; color: #f6f4f1; }
.pq .side.a { background: linear-gradient(150deg, #0a71b7, #08507f 80%); }
.pq .side.b { background: linear-gradient(150deg, #b0282b, #6e1517 80%); }
.pq .side .big { position: absolute; right: -6px; bottom: -30px; font: 800 8rem/1 var(--f-display); opacity: .1; pointer-events: none; }
.pq .side .tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pq .side h3 { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1; }
.pq .side p { color: rgba(246,244,241,.85); }
.pq .vs { align-self: center; z-index: 2; margin-inline: -20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center; background: var(--gold); color: #161616; font: 800 1.2rem/1 var(--f-display); box-shadow: 0 0 0 7px var(--surface); }
.stance { display: grid; gap: 12px; margin-top: 8px; }
.stance label { font-weight: 600; color: var(--muted); }
.stance-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stance-row .sa { color: var(--blue); } .stance-row .sb { color: #c0262d; }
@media (prefers-color-scheme: dark) { .stance-row .sa { color: #5aa7ea; } .stance-row .sb { color: #ff7a80; } }
/* Thick two-sided track and a big thumb that is easy to drag on a phone */
.stance input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.stance input[type="range"]::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, #0a71b7, color-mix(in srgb, #0a71b7 25%, var(--surface-2)) 48%, color-mix(in srgb, #c0262d 25%, var(--surface-2)) 52%, #c0262d); }
.stance input[type="range"]::-moz-range-track { height: 14px; border-radius: 999px; background: linear-gradient(90deg, #0a71b7, color-mix(in srgb, #0a71b7 25%, var(--surface-2)) 48%, color-mix(in srgb, #c0262d 25%, var(--surface-2)) 52%, #c0262d); }
.stance input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 36px; height: 36px; margin-top: -11px; border-radius: 50%; background: var(--gold); border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--ink), 0 6px 14px rgba(0,0,0,.3); transition: transform .2s ease; }
.stance input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--ink), 0 6px 14px rgba(0,0,0,.3); }
.stance input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.stance input[type="range"]:focus-visible { outline: none; }
.stance input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--blue), 0 6px 14px rgba(0,0,0,.3); }
.stance-read { font-weight: 700; min-height: 1.6em; }
.vote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.vote-actions .btn[disabled] { opacity: .6; cursor: progress; }
.vote-msg { font-size: .95rem; color: var(--muted); }
.vote-msg.ok { color: #1f7a3d; font-weight: 600; } .vote-msg.bad { color: #c0262d; font-weight: 600; }
@media (prefers-color-scheme: dark) { .vote-msg.ok { color: #6fd58f; } .vote-msg.bad { color: #ff8a8f; } }
/* Phones: everything for one question fits about one screen, with the slider full width. */
@media (max-width: 640px) {
  .vote-hero { padding-block: 20px 22px; }
  .vote-hero h1 { font-size: 2.2rem; line-height: 1; }
  .vote-hero .eyebrow { font-size: .72rem; }
  .vote-hero .lead { font-size: .95rem; margin-top: 12px; }
  #poll { gap: 18px; }
  .pq { padding: 14px; gap: 12px; border-radius: 20px; }
  .pq .eyebrow { font-size: .7rem; }
  .pq h2.h-md { font-size: 1.3rem; line-height: 1.15; }
  /* Sides sit next to each other, VS badge on the seam */
  .pq .sides { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin-top: 0; }
  .pq .vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; width: 36px; height: 36px; font-size: .78rem; box-shadow: 0 0 0 4px var(--surface); }
  .pq .sides { position: relative; }
  .pq .side { padding: 14px 12px; gap: 6px; border-radius: 16px; }
  .pq .side.a { padding-right: 20px; } .pq .side.b { padding-left: 20px; }
  .pq .side .tag { font-size: .62rem; }
  .pq .side h3 { font-size: 1.15rem; line-height: 1.05; }
  .pq .side p { font-size: .8rem; line-height: 1.4; }
  .pq .side .big { font-size: 4.5rem; bottom: -18px; }
  .stance { gap: 6px; margin-top: 4px; }
  .stance label { font-size: .88rem; }
  /* Side names above the track, slider gets the full width */
  .stance-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; font-size: .7rem; }
  .stance-row .sb { text-align: right; }
  .stance-row input { grid-column: 1 / -1; grid-row: 2; }
  .stance-read { font-size: .95rem; }
  .vote-actions { gap: 8px; }
  .vote-actions .btn { width: 100%; justify-content: center; }
  .vote-msg { font-size: .85rem; text-align: center; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
