/* =========================================================================
   CERTIFY Community — Editorial reskin
   Inspired by public-interest fact-checking editorial design:
   clean paper, a single bold vermillion accent, heavy grotesque headlines,
   verdict pills, hairline rules, and fact-check article cards.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --paper:      #ffffff;
  --paper-warm: #faf5ec;   /* warm cream block            */
  --paper-deep: #000000;   /* full black inverse block    */
  --ink:        #1b1714;   /* warm near-black text        */
  --ink-soft:   #585149;   /* muted body / captions       */
  --ink-faint:  #8d857a;   /* mono labels                 */
  --line:       #e7ded0;   /* warm hairline               */
  --line-strong:#d4c8b6;

  --accent:     #a6004f;   /* burgundy — the one accent   */
  --accent-deep:#7d003b;
  --accent-tint:#f6dce8;   /* pale wash for highlights    */

  /* verdict semantics */
  --v-true:  #2f7d52;
  --v-false: #cf3522;
  --v-warn:  #c4870f;

  --maxw: 1180px;
  --pad-x: clamp(22px, 6vw, 88px);

  --ff-display: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-body:    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-mono:    Consolas, Menlo, Monaco, "Courier New", monospace;

  --r: 7px;        /* controls: buttons, inputs, chips      */
  --r-card: 16px;  /* boxes / cards: one consistent radius   */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; overflow-x: hidden; }
html, body { max-width: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
.mono { font-family: var(--ff-mono); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: baseline; gap: 28px;
  padding: 16px max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x)));
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, box-shadow .25s ease;
}
.nav--scrolled { padding-block: 11px; box-shadow: 0 1px 0 var(--line); }

.nav__tools { align-self: center; } .nav__tools:has(> .lang[hidden]), .nav__tools:empty { display: none; } .nav__burger { align-self: center; } .brand { display: flex; align-items: baseline; gap: 2px; letter-spacing: -.02em; }
.brand__name { font-family: var(--ff-display); font-weight: 900; font-size: 28px; color: var(--ink); }
.brand__dot  { color: #a6004f; font-weight: 900; }
.brand__sub  { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .18em;
               text-transform: uppercase; color: var(--ink-faint); margin-left: 4px; transform: translateY(-1px); }

.nav__links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 26px); margin-left: auto; }
.nav__links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
  position: relative; padding-block: 4px; transition: color .15s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .22s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__tools { display: flex; align-items: center; gap: 14px; }
/* ── Language switcher — two presentations, data-driven ── */
.lang { position: relative; font-family: var(--ff-mono); font-size: 12px; }

/* (A) Segmented control — best for 2–4 languages */
.lang__seg { display: inline-flex; align-items: center; gap: 2px; color: var(--ink-faint);
        border: 1px solid var(--line-strong); border-radius: 40px; padding: 3px 4px; transition: border-color .15s; }
.lang__seg:hover { border-color: var(--ink); }
.lang__opt { letter-spacing: .04em; background: none; border: none; cursor: pointer;
        color: var(--ink-faint); padding: 4px 8px; border-radius: 40px; line-height: 1;
        transition: color .15s, background .15s; }
.lang__opt:hover { color: var(--ink); }
.lang__opt.is-on { color: #fff; background: var(--accent); font-weight: 600; }

/* (B) Globe dropdown — scales to any number of languages */
.lang__trigger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
        color: var(--ink-soft); background: none; border: 1px solid var(--line-strong);
        border-radius: 40px; padding: 6px 11px; letter-spacing: .04em; transition: border-color .15s, color .15s; }
.lang__trigger:hover { border-color: var(--ink); color: var(--ink); }
.lang__globe { flex: none; }
.lang__current { font-weight: 600; }
.lang__chev { flex: none; transition: transform .22s ease; opacity: .7; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; margin: 0; padding: 6px;
        list-style: none; min-width: 184px; background: var(--paper); border: 1px solid var(--line-strong);
        border-radius: 12px; box-shadow: 0 24px 50px -22px rgba(0,0,0,.4);
        opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
        transition: opacity .18s ease, transform .18s ease; }
.lang.is-open .lang__list { opacity: 1; transform: none; pointer-events: auto; }
.lang__item { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%;
        cursor: pointer; background: none; border: none; text-align: left; color: var(--ink-soft);
        padding: 9px 11px; border-radius: 8px; font-family: var(--ff-body); font-size: 14px; line-height: 1;
        transition: background .14s, color .14s; }
.lang__item:hover { background: var(--paper-warm); color: var(--ink); }
.lang__item-code { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-faint); }
.lang__item[aria-selected="true"] { color: var(--accent); font-weight: 600; }
.lang__item[aria-selected="true"] .lang__item-code { color: var(--accent); }
.lang__item-check { width: 15px; height: 15px; flex: none; opacity: 0; color: var(--accent); }
.lang__item[aria-selected="true"] .lang__item-check { opacity: 1; }

/* presentation toggle */
.lang[data-langui="segmented"] .lang__menu { display: none; }
.lang[data-langui="dropdown"] .lang__seg { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--ff-display); font-weight: 700; font-size: 14.5px;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 9px 17px; border-radius: var(--r); transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: #fff; border-color: #fff; color: #111; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { font-size: 16px; padding: 13px 24px; }
.btn--sm { font-size: 13px; padding: 8px 15px; }

/* Inline SVG arrow — align with adjacent text in both buttons and links */
.ico-arw { flex: none; display: inline-block; vertical-align: middle; }
.text-link { display: inline-flex; align-items: center; gap: 6px; }
.btn .ico-arw, .text-link .ico-arw { position: relative; top: .5px; }

.nav__burger { display: none; }

/* =========================================================================
   Skip link (a11y)
   ========================================================================= */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r);
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: .04em;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: none; outline: 2px solid var(--accent); outline-offset: 2px; }

/* Visible focus states across interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
.lang:focus-visible, .media-card:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 64px);
  align-items: center; padding-block: clamp(24px, 3.2vw, 40px) clamp(20px, 2.6vw, 34px);
}

/* First screen: hero + ticker + cue all share one viewport */
.first-screen { min-height: calc(100svh - 72px); display: flex; flex-direction: column; }
.first-screen .hero { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.first-screen .hero .hero__grid { width: 100%; }
.first-screen .ticker { flex: 0 0 auto; }
.first-screen .cue-band { flex: 0 0 auto; }

/* decorative cue band below the ticker */
.cue-band { display: flex; justify-content: center; align-items: center; padding: clamp(18px, 2.4vh, 30px) 0; }
.cue-band__arw { display: grid; place-items: center; color: var(--ink-faint); animation: cueBob 1.9s ease-in-out infinite; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }

.hero h1 {
  font-family: var(--ff-display); font-weight: 900;
  font-size: calc(clamp(38px, 5.4vw, 58px) * var(--head-scale, 1));
  line-height: .86; letter-spacing: -.04em;
  text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 span.hl { position: relative; display: table; white-space: nowrap; color: var(--accent); }
.hero h1 span:last-child { margin-top: -5px; }
.hero__lede { max-width: 46ch; margin: 26px 0 30px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__cta .text-link { font-weight: 600; font-size: 15px; color: var(--ink); display: inline-flex; gap: 6px; }
.hero__cta .text-link span { color: var(--accent); }

.hero__corner { position: absolute; top: 18px; left: max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x))); right: max(var(--pad-x), calc((100% - var(--maxw)) / 2 + var(--pad-x)));
                display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
                font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-faint); }

/* ---- Hero fact-check exhibit (the jet d'eau example) ---- */
.factcheck {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -34px rgba(40,28,18,.5);
  overflow: hidden;
  zoom: 0.8;
  width: 80%; margin-left: auto;
}
.factcheck__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint);
}
.factcheck__top .src { display: inline-flex; align-items: center; gap: 7px; }
.factcheck__media { position: relative; aspect-ratio: 16/9; background: #d7ccbd; }
.factcheck__media img { width: 100%; height: 100%; object-fit: cover; }
.factcheck__claim {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(10,8,6,.82));
  color: #fff; font-family: var(--ff-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em;
}
.factcheck__body { padding: 16px; }

.verdict {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff-display); font-weight: 800; font-size: 12.5px; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 40px; color: #fff; white-space: nowrap; flex: none;
}
.verdict::before { content:none; }
.verdict--false { background: var(--accent-deep); }
.verdict--true  { background: var(--v-true); }
.verdict--warn  { background: var(--v-warn); }

.factcheck__summary { margin: 13px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.factcheck__byline {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--line);
}
.byline__rosette { width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--accent-tint); display: grid; place-items: center; color: var(--accent-deep);
  font-family: var(--ff-display); font-weight: 900; font-size: 13px; }
.byline__name { font-weight: 700; font-size: 14px; display: block; line-height: 1.15; }
.byline__role { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; display: block; line-height: 1.15;
  text-transform: uppercase; color: var(--ink-faint); }
.factcheck__contrib { margin-left: auto; font-family: var(--ff-mono); font-size: 11px; color: var(--ink-faint); text-align: right; }

/* =========================================================================
   TICKER (mission / vision / education tags)
   ========================================================================= */
.ticker { display: block; background: var(--ink); color: var(--paper); border-block: 1px solid var(--paper-deep); overflow: hidden; cursor: pointer; transition: background .25s ease; }
.ticker:hover { background: #000; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.ticker__vp { overflow: hidden; padding-block: 13px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker__track { display: flex; gap: 60px; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tick-item { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; white-space: nowrap; }
.tick-tag { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: #fff; padding: 3px 9px; border-radius: 3px; font-weight: 600; }
.tick-tag--vision { background: #fff; color: var(--ink); }
.tick-tag--edu { background: #fff; color: var(--ink); }
.tick-item em { font-style: normal; color: #fff; font-weight: 600; }
.tick-msg { color: #fff; font-weight: 600; }
.tick-dot { color: var(--accent); }

/* =========================================================================
   SECTION SCAFFOLD
   ========================================================================= */
.section { padding-block: clamp(64px, 9vw, 116px); border-bottom: 1px solid var(--line); }
.section--warm { background: var(--paper-warm); }
.section--dark { background: var(--paper-deep); color: color-mix(in oklab, #fff 80%, transparent);
                 border-color: #222222; }
.section--dark .section__title, .section--dark .lede-lg { color: #fff; }

.section__head { margin-bottom: clamp(34px, 5vw, 54px); }
.section__num { display: block; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section--dark .section__num { color: var(--accent); }
.section__title {
  font-family: var(--ff-display); font-weight: 900; letter-spacing: -.04em; line-height: .98;
  font-size: calc(clamp(30px, 4.6vw, 56px) * var(--head-scale, 1)); max-width: 18ch; text-wrap: balance;
}
.section__title .soft { color: var(--ink-soft); }
.section--dark .section__title .soft { color: color-mix(in oklab, #fff 60%, transparent); }
.section__title .accent { color: var(--accent); }

.lede-lg { font-size: 18px; color: var(--ink-soft); max-width: 56ch; line-height: 1.55; }

/* =========================================================================
   PROJECT
   ========================================================================= */
.project__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose--lede p:first-child { font-size: 20px; color: var(--ink); font-weight: 500; }

/* io flow */
.io { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.project__cta { margin-top: 52px; }
.io__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; }
.io__label::before { content:""; width: 22px; height: 2px; background: var(--accent); flex: none; }
.io__flow { display: flex; align-items: flex-start; max-width: 380px; }
.io__step { display: flex; flex-direction: column; align-items: center; gap: 13px; flex: none; }
.io__node { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.io__node--in { background: var(--paper); border: 1px solid var(--line-strong); gap: 5px; align-content: center; }
.io__node--in i { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink-faint); }
.io__node--in i:nth-child(2) { width: 17px; }
.io__node--in i:nth-child(3) { width: 21px; }
.io__node--c { background: var(--ink); color: #fff; font-family: var(--ff-display); font-weight: 900; font-size: 27px;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.io__node--out { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.io__link { flex: 1; min-width: 28px; height: 2px; margin-top: 30px; position: relative;
  background: var(--line-strong); }
.io__link--accent { background: linear-gradient(90deg, var(--line-strong), var(--accent)); }
.io__link::after { content:""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; color: var(--line-strong); }
.io__link--accent::after { color: var(--accent); }
.io__cap { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); text-align: center; }
.io__cap--strong { color: var(--ink); font-weight: 600; }

/* how cards */
.how { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.how__card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: var(--paper);
  transition: border-color .2s, transform .2s; }
.how__card:hover { border-color: var(--ink); transform: translateY(-2px); }
.how__n { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.how__card h3 { font-family: var(--ff-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; margin: 9px 0 7px; }
.how__card p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }

/* =========================================================================
   MISSION feature card
   ========================================================================= */
.mission__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.feature {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); overflow: hidden;
}
.section--dark .feature { background: #0d0d0d; border-color: #222222; }
.feature__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--line); }
.section--dark .feature__bar { border-color: #222222; }
.feature__tag { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); }
.feature__partner { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-faint); }
.feature__inner { padding: 26px 24px 28px; }
.feature__title { font-family: var(--ff-display); font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(28px, 3.4vw, 42px); line-height: 1.02; }
.feature__sub { display: block; font-size: 16px; font-weight: 500; color: var(--ink-soft); margin-top: 10px; letter-spacing: 0; }
.section--dark .feature__sub { color: color-mix(in oklab, #fff 65%, transparent); }
.feature__body { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.section--dark .feature__body { color: color-mix(in oklab, #fff 75%, transparent); }
#mission .section__title { max-width: none; }
#mission .section__title span { display: block; white-space: nowrap; }
#project .section__title .accent { white-space: nowrap; }

/* =========================================================================
   Full-bleed quote page (under the ticker)
   ========================================================================= */
.quoteblock {
  background: #141318; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 86svh;
  padding: clamp(72px, 12vh, 160px) var(--pad-x);
  border-bottom: 1px solid #222222;
  text-align: center;
}
.quoteblock__inner { margin: 0; width: 100%; }
.quoteblock__text {
  font-family: var(--ff-display); font-weight: 800;
  font-size: calc(clamp(30px, 4vw, 58px) * var(--head-scale, 1));
  line-height: 1.08; letter-spacing: -.035em;
  margin: 0 auto; max-width: min(92vw, 22ch); text-wrap: pretty;
}
.quoteblock__cite {
  display: block; margin-top: clamp(22px, 3.4vw, 40px);
  font-family: var(--ff-mono); font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: .08em; color: color-mix(in oklab, #fff 52%, transparent);
}

/* =========================================================================
   WHY — contributor chips + callout
   ========================================================================= */
.why__body { max-width: 70ch; font-size: 18px; color: var(--ink-soft); line-height: 1.65; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; }
.chip { font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 8px 16px; background: var(--paper); }
.chip--you { background: var(--accent); border-color: var(--accent); color: #fff; position: relative; }
.callout { margin: 44px 0 0; padding-left: clamp(18px, 3vw, 30px); border-left: 4px solid var(--accent);
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(20px, 2.6vw, 27px);
  letter-spacing: -.015em; line-height: 1.3; max-width: 48ch; text-wrap: balance; }

/* =========================================================================
   TIMELINE (origins)
   ========================================================================= */
.timeline { list-style: none; margin: 0 0 38px; padding: 0; display: grid; gap: 0;
  border-top: 1px solid #222222; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: clamp(18px, 4vw, 50px);
  padding: 26px 0; border-bottom: 1px solid #222222; align-items: start; }
.timeline__year { font-family: var(--ff-display); font-weight: 900; font-size: 28px; color: var(--accent); letter-spacing: -.02em; }
.timeline p { margin: 0; font-size: 16.5px; line-height: 1.6; color: color-mix(in oklab, #fff 78%, transparent); }
.timeline__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.timeline__link { display: inline-flex; align-items: center; font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: .04em; color: color-mix(in oklab, var(--accent) 70%, #fff); text-decoration: none; padding-bottom: 2px;
  border-bottom: 1px solid color-mix(in oklab, var(--accent) 45%, transparent); transition: color .15s, border-color .15s; }
.timeline__link:hover { color: color-mix(in oklab, var(--accent) 35%, #fff); border-color: color-mix(in oklab, var(--accent) 60%, #fff); }
.timeline em { font-style: italic; color: #fff; }
.origins__foot { font-size: 16px; max-width: 78ch; color: color-mix(in oklab, #fff 72%, transparent); line-height: 1.65; }

/* =========================================================================
   VISION + creed strip
   ========================================================================= */
.vision__title { font-family: var(--ff-display); font-weight: 900; letter-spacing: -.04em;
  font-size: calc(clamp(30px, 5vw, 60px) * var(--head-scale, 1)); line-height: .98; max-width: 24ch; }
.vision__title .accent { color: var(--accent); }
.vision__signoff { margin-top: 36px; padding-left: clamp(18px, 3vw, 30px); border-left: 4px solid var(--accent);
  font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }

.creed { background: var(--accent); color: #fff; text-align: center; padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--accent-deep); }
.creed__kicker { font-family: var(--ff-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: color-mix(in oklab, #fff 80%, transparent); }
.creed__line { font-family: var(--ff-display); font-weight: 900; letter-spacing: -.04em;
  font-size: calc(clamp(38px, 7vw, 92px) * var(--head-scale, 1)); line-height: .94; margin: 14px 0 0; }
.creed__line .pt { color: color-mix(in oklab, #fff 55%, var(--accent-deep)); }

/* =========================================================================
   MEDIA grid (fact-check article cards)
   ========================================================================= */
.media-grid { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-card { display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s; }
.media-card:hover { border-color: var(--ink); transform: translateY(-3px);
  box-shadow: 0 20px 40px -30px rgba(40,28,18,.55); }
.media-card__preview { position: relative; aspect-ratio: 16/10; background: var(--paper-warm); overflow: hidden; }
.media-card__preview-img { width: 100%; height: 100%; object-fit: cover; }
.media-card__preview-bg { width: 100%; height: 100%; display: grid; place-items: center; padding: 18px;
  font-family: var(--ff-display); font-weight: 800; font-size: 18px; color: var(--ink); text-align: center;
  background: var(--paper-warm); }
.media-card__logo-img { max-height: 54px; width: auto; object-fit: contain; }
.media-card__source-pill { position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 4px 9px; border-radius: 3px; }
.media-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.media-card__title { font-family: var(--ff-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em;
  line-height: 1.18; margin: 0 0 12px; }
.media-card__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: auto;
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-faint); padding-top: 12px; border-top: 1px solid var(--line); }
.media-card__cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-weight: 700; font-size: 13.5px; color: var(--accent); }
.media-card:hover .media-card__cta { color: var(--accent-deep); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 5vw, 60px); align-items: start; }
.contact__aside p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 22px; }
.aside-pillars { margin-top: calc(46px + var(--grid-snap, 0px)); }
.aside-pillars__title { font-family: var(--ff-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 8px; }
.pillar-list { list-style: none; margin: 0; padding: 0; }
.pillar { display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 2px; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--accent); }
.pillar__ico svg { width: 30px; height: 30px; }
.pillar__label { font-family: var(--ff-display); font-weight: 400; font-size: 18px; color: var(--ink-soft); letter-spacing: -.01em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact__dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; font-size: 14px; margin-top: 40px; }
.contact__dl dt { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); align-self: start; padding-top: 3px; }
.contact__dl dd { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.5; }
.notice { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-warm); padding: clamp(26px, 4vw, 40px); }
.notice__h { font-family: var(--ff-display); font-weight: 900; letter-spacing: -.02em;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.05; margin-bottom: 16px; max-width: 18ch; }
.notice__p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 24px; max-width: 56ch; }

/* ── Newsletter signup (inside the dark notice card) ── */
.notice__tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in oklab, var(--accent) 65%, #fff); border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  border-radius: 40px; padding: 5px 12px;
}
.notice__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in oklab, var(--accent) 65%, #fff);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 55%, transparent); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.news-form__input {
  flex: 1 1 200px; min-width: 0; font-family: var(--ff-body); font-size: 16px;
  padding: 12px 15px; border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff;
}
.news-form__input::placeholder { color: rgba(255,255,255,.45); }
.news-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 35%, transparent); }
.news-form .btn { flex: 0 0 auto; }
.news-status { min-height: 1.2em; margin: 12px 0 0; font-size: 12.5px; letter-spacing: .02em; color: rgba(255,255,255,.7); }
.news-status.is-ok { color: #5fe39a; }
.news-status.is-error { color: #ff9ba6; }
.news-alt { margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.6); }
.news-alt__link { background: none; border: none; padding: 0; font: inherit; color: #fff;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.news-alt__link:hover { color: var(--accent); }

/* =========================================================================
   Cookie banner
   ========================================================================= */
.cookie {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(140%);
  z-index: 150; width: min(920px, calc(100vw - 28px));
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
  background: var(--ink); color: color-mix(in oklab, #fff 86%, transparent);
  border: 1px solid #2a2a2a; border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
  opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.3,1), opacity .45s ease;
}
.cookie[hidden] { display: none; }
.cookie.is-in { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie__txt { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 320px; }
.cookie__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cookie__more { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em;
  color: color-mix(in oklab, #fff 65%, transparent); text-decoration: underline; text-underline-offset: 3px;
  background: none; border: none; cursor: pointer; padding: 0; }
.cookie__more:hover { color: #fff; }
.cookie .btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cookie .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ── Privacy / cookies document modal ── */
.modal__panel.modal__panel--doc { width: min(680px, 100%); max-height: 86vh; padding: 0; overflow: hidden; display: flex; }
.modal__panel.modal__panel--form { width: min(540px, 100%); }
.modal__panel--form #modalForm { margin-top: 4px; }
.doc__scroll { overflow-y: auto; padding: clamp(30px, 4vw, 48px); padding-top: clamp(34px, 4vw, 52px); }
.doc__kicker { display: block; color: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.doc__title { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.doc__updated { color: var(--ink-faint); font-size: 11.5px; letter-spacing: .04em; margin: 0 0 22px; }
.doc__lead { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.doc__h { font-family: var(--ff-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; margin: 24px 0 8px; color: var(--ink); }
.doc__p { font-size: 15px; line-height: 1.62; color: var(--ink-soft); margin: 0; }
.doc__actions { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; }
.doc__scroll::-webkit-scrollbar { width: 10px; }
.doc__scroll::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; border: 3px solid var(--paper); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--paper-deep); color: color-mix(in oklab, #fff 65%, transparent); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding-block: 30px; font-family: var(--ff-mono); font-size: 12px; line-height: 1.5; }
.footer__legal { white-space: normal; color: var(--ink-faint); font-size: 11.5px; letter-spacing: .02em; margin-top: -5px; }
.footer__brand { color: #fff; font-family: var(--ff-display); font-weight: 900; font-size: 18px; }
.footer__brand .brand__dot { color: #a6004f; }
.footer__made { max-width: none; text-align: center; font-family: var(--ff-display);
  font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: #fff; }
.footer__made .footer__made-em { color: var(--accent); }

/* =========================================================================
   CONTACT MODAL
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,11,8,.5); backdrop-filter: blur(3px); }
.modal__panel { position: relative; width: min(520px, 100%); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: clamp(26px, 4vw, 40px); box-shadow: 0 40px 90px -40px rgba(20,12,6,.6);
  animation: modalin .28s cubic-bezier(.2,.7,.3,1); }
@keyframes modalin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.modal__close:hover { background: var(--ink); color: #fff; }
.modal__title { font-family: var(--ff-display); font-weight: 900; letter-spacing: -.02em; font-size: 28px; margin-bottom: 20px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font-family: var(--ff-body); font-size: 16px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 11px 13px; background: var(--paper); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.modal__submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.modal__status { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-faint); }
.modal__status.is-error { color: var(--v-false); }
.modal__status.is-ok { color: var(--v-true); }
body.has-modal { overflow: hidden; }

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Hero entrance (staggered on load) ── */
.hero__copy > * { opacity: 0; transform: translateY(18px); animation: heroRise .8s cubic-bezier(.2,.7,.3,1) forwards; }
.hero__copy > .eyebrow { animation-delay: .05s; }
.hero__copy > h1 { animation-delay: .14s; }
.hero__copy > .hero__lede { animation-delay: .26s; }
.hero__copy > .hero__cta { animation-delay: .36s; }
.hero__copy > .news-mini, .hero__copy > form { animation-delay: .44s; }
.hero__exhibit { opacity: 0; transform: translateY(24px) scale(.985); animation: heroRise 1s .3s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* ── Scroll cue ── */
.scroll-cue { position: absolute; left: 50%; bottom: clamp(14px, 2.4vw, 26px); transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 7px; color: var(--ink-faint);
  opacity: 0; animation: heroRise .8s 1s cubic-bezier(.2,.7,.3,1) forwards; }
.scroll-cue__txt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.scroll-cue__arw { display: grid; place-items: center; animation: cueBob 1.9s ease-in-out infinite; }
.scroll-cue:hover { color: var(--accent); }
@keyframes cueBob { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }

/* ── Creed: word-by-word reveal ── */
.creed__w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(1.5deg);
  transition: opacity .55s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
.creed.is-in .creed__w { opacity: 1; transform: none; }
.creed.is-in .creed__w:nth-child(2) { transition-delay: .14s; }
.creed.is-in .creed__w:nth-child(3) { transition-delay: .28s; }

/* ── Chips: staggered entrance + hover ── */
.chips.is-in .chip { animation: chipIn .5s cubic-bezier(.2,.7,.3,1) backwards; }
.chips.is-in .chip:nth-child(1){animation-delay:.02s}.chips.is-in .chip:nth-child(2){animation-delay:.06s}
.chips.is-in .chip:nth-child(3){animation-delay:.10s}.chips.is-in .chip:nth-child(4){animation-delay:.14s}
.chips.is-in .chip:nth-child(5){animation-delay:.18s}.chips.is-in .chip:nth-child(6){animation-delay:.22s}
.chips.is-in .chip:nth-child(7){animation-delay:.26s}.chips.is-in .chip:nth-child(8){animation-delay:.30s}
.chips.is-in .chip:nth-child(n+9){animation-delay:.34s}
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chip { transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.chip:hover { transform: translateY(-2px); }
.chip--you:hover { background: #fff; border-color: #fff; color: #111; transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .scroll-cue__arw { animation: none; }
  .hero__copy > *, .hero__exhibit, .scroll-cue { opacity: 1; transform: none; animation: none; }
  .creed__w { opacity: 1; transform: none; transition: none; }
  .chips.is-in .chip { animation: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* Large desktop — keep comfortable measure, slightly larger gutters handled by clamp */

/* Tablet landscape / small laptop */
@media (max-width: 1080px) {
  .hero__grid { gap: clamp(24px, 4vw, 48px); }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: clamp(40px, 7vw, 60px) clamp(30px, 5vw, 48px); }
  .project__grid, .mission__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__exhibit { max-width: 520px; margin-inline: auto; width: 100%; }
  .factcheck { width: 100%; margin: 0; zoom: 1; }
  .hero__copy { text-align: left; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  /* corner flows inline above hero content so it never collides */
  .hero__corner { position: static; padding: 14px var(--pad-x) 0; }
  /* on tablet/phone, let the first screen flow naturally instead of cramming hero+ticker+cue into one viewport */
  .first-screen { min-height: 0; }
  .first-screen .hero { display: block; }
}

/* Tablet portrait */
@media (max-width: 760px) {
  .nav__links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--paper); padding: 84px var(--pad-x) 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-104%); transition: transform .3s ease; margin: 0; box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-family: var(--ff-display); font-weight: 800; font-size: 26px; padding-block: 8px; white-space: normal; }
  .nav__burger { display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto; order: 3;
    background: none; border: none; padding: 10px 6px; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
  .nav__burger span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }
  .nav { gap: 14px; }
  .nav__tools { margin-left: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .media-grid { grid-template-columns: 1fr; }
  /* let long localized titles wrap instead of overflowing */
  #mission .section__title span,
  #project .section__title .accent { white-space: normal; }
  /* keep CTA buttons comfortably tappable */
  .btn { min-height: 46px; }
  .lang__opt { min-height: 36px; padding-inline: 10px; }
}

/* Large phone */
@media (max-width: 560px) {
  .hero h1 { font-size: calc(clamp(32px, 8.4vw, 46px) * var(--head-scale, 1)); }
  .hl { white-space: normal; }
  .hero__lede { font-size: 16.5px; }
  .io__flow { max-width: 100%; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; gap: 10px; padding: 14px 16px; bottom: 12px; border-radius: 10px; }
  .cookie__txt { font-size: 13px; line-height: 1.45; flex: 0 1 auto; }
  .cookie__actions { justify-content: space-between; gap: 8px; }
  .cookie__actions .btn--sm { flex: 1 1 0; justify-content: center; padding: 9px 12px; font-size: 13px; }
  .section { padding-block: clamp(48px, 12vw, 64px); }
  .factcheck { zoom: 1; }
  .ticker__track { gap: 34px; }
  .footer__inner { font-size: 11px; }
  .doc__scroll { padding: 26px 20px; }
}

/* Small phone */
@media (max-width: 400px) {
  .brand__sub { display: none; }
  .btn span.hide-sm { display: none; }
  .hero h1 { font-size: calc(clamp(29px, 9vw, 40px) * var(--head-scale, 1)); }
  .hero__corner { font-size: 10px; gap: 6px; }
  .news-form { flex-direction: column; align-items: stretch; }
  .news-form .btn { justify-content: center; }
}
