/* W2R Lab — design system (palette and type follow the lab's presentation style) */
:root {
  --navy: #0b1512;
  --navy-2: #1c2f28;
  --navy-deep: #070e0c;
  --teal: #006666;
  --teal-2: #0a8a84;
  --teal-soft: #e2f0ef;
  --ochre: #ad821f;
  --gold: #ffc000;
  --paper: #f6f5f1;
  --paper-2: #eeece5;
  --card: #ffffff;
  --text: #0e1a33;
  --muted: #56617a;
  --line: rgba(14, 26, 51, .12);
  --on-dark: #ecf4ee;
  --on-dark-muted: #9fb2a8;
  --line-dark: rgba(238, 242, 251, .14);

  --f-sans: 'Figtree', 'Aptos', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-hand: 'Caveat', 'Ink Free', cursive;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 19, 52, .05), 0 14px 36px -14px rgba(0, 19, 52, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.62 var(--f-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; } /* e.g. filtered-out publications; beats component display rules like .pub { display: grid } */
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--gold); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font: 500 12px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--gold); }
.display { font-weight: 800; letter-spacing: -.035em; }
.display em, h1 em, h2 em, h3 em { font-style: normal; color: var(--teal); }
.dark .display em, .dark h1 em, .dark h2 em, .dark h3 em { color: var(--gold); }
.hand { font-family: var(--f-hand); font-weight: 600; letter-spacing: 0; line-height: 1.05; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 62ch; }
.dark .lede { color: var(--on-dark-muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px;
  font: 700 15px/1 var(--f-sans); text-decoration: none; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #ffcd33; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-2); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.dark .btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.dark .btn-ghost:hover { border-color: var(--on-dark); }
.btn-dark { background: var(--navy); color: var(--on-dark); }
.btn-dark:hover { background: var(--navy-2); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--teal); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.dark .link-arrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; color: var(--on-dark);
  background: rgba(11, 21, 18, .72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line-dark); background: rgba(11, 21, 18, .9); }
/* Plastic Atlas page: light content under the header, so make the header solid black */
.page-atlas .site-header, .page-atlas .site-header.scrolled { background: var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 20px; }
.brand-group { display: flex; align-items: center; gap: 18px; flex: none; min-width: 0; }
.brand-technion { display: flex; align-items: center; padding-right: 18px; border-right: 1px solid var(--line-dark); opacity: .92; transition: opacity .2s; }
.brand-technion:hover { opacity: 1; }
.brand-technion img { height: 54px; width: auto; margin: -6px 0; }
@media (max-width: 560px) {
  .brand-group { gap: 12px; }
  .brand-technion { padding-right: 12px; }
  .brand-technion img { height: 38px; }
  .brand small { display: none; }
}
@media (max-width: 480px) { .brand span { display: none; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img {
  width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 6px 18px -6px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease), box-shadow .3s;
}
.brand:hover img { transform: rotate(-12deg) scale(1.04); box-shadow: 0 0 0 2px var(--gold), 0 6px 18px -6px rgba(0, 0, 0, .7); }
.brand b { display: block; font: 800 17px/1.1 var(--f-sans); letter-spacing: -.015em; }
@media (max-width: 560px) { .brand img { width: 46px; height: 46px; } }
.brand small { display: block; font: 500 10.5px/1.3 var(--f-mono); color: var(--on-dark-muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; color: var(--on-dark-muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--on-dark); background: rgba(255, 255, 255, .07); }
.nav a[aria-current='page'] { color: var(--on-dark); background: rgba(255, 255, 255, .11); }
.nav a.ext::after { content: ' ↗'; font-size: 12px; opacity: .7; }
.nav a.nav-cta { background: var(--gold); color: var(--navy); margin-left: 8px; }
.nav a.nav-cta:hover { background: #ffcd33; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--on-dark); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative; transition: transform .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav a.nav-cta { margin: 10px 0 0; text-align: center; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
}

/* ---------- Dark sections / heroes ---------- */
.dark { background: var(--navy); color: var(--on-dark); }
.hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--header)); padding: calc(var(--header) + clamp(56px, 9vw, 112px)) 0 clamp(56px, 8vw, 104px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(255, 192, 0, .16), transparent 60%),
    radial-gradient(50% 55% at 0% 100%, rgba(0, 102, 102, .45), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(238, 242, 251, .14) 1px, transparent 1.2px);
  background-size: 22px 22px; mask-image: radial-gradient(70% 70% at 70% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 10%, transparent 75%);
}
.hero > .wrap { position: relative; z-index: 1; }
/* Home hero: SEM micrograph texture, strongest on the right and fading out behind the headline */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-size: cover; background-position: right center;
  filter: grayscale(1) contrast(1.1); opacity: .5; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to left, #000 15%, rgba(0, 0, 0, .55) 45%, transparent 78%);
  mask-image: linear-gradient(to left, #000 15%, rgba(0, 0, 0, .55) 45%, transparent 78%);
}
.hero-bg-caption {
  position: absolute; right: var(--gutter); bottom: 14px; z-index: 1;
  font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; color: rgba(236, 244, 238, .55);
}
@media (max-width: 900px) {
  .hero-bg { opacity: .32; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%, #000 100%); }
}
.hero .hand-q { font-size: clamp(30px, 3.6vw, 46px); color: var(--gold); margin: 22px 0 6px; transform: rotate(-1.5deg); transform-origin: left; display: inline-block; }
.hero h1 { font-size: clamp(42px, 6.6vw, 92px); margin: 10px 0 28px; max-width: 15ch; }
.hero .reframe { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.45; max-width: 44ch; border-left: 3px solid var(--gold); padding-left: 20px; margin: 0 0 22px; color: var(--on-dark); }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero { padding-bottom: clamp(44px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 76px); margin: 18px 0 20px; max-width: 18ch; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(44px, 6vw, 80px) 0; }
.alt { background: var(--paper-2); }
.white { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 14px; max-width: 20ch; }
.section-head p { max-width: 48ch; color: var(--muted); margin: 0; }
.dark .section-head p { color: var(--on-dark-muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Home hero: text left, plastic waste clock right (links to the Plastic Atlas) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 40px clamp(32px, 5vw, 72px); align-items: start; }
.hero-grid .hero-main { min-width: 0; }
.waste-clock {
  display: block; position: relative; overflow: hidden; text-decoration: none; color: var(--on-dark);
  margin-top: clamp(-40px, -3vw, -12px);
  padding: 24px 24px 22px; border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, rgba(0, 102, 102, .28), rgba(255, 255, 255, .03) 70%);
  border: 1px solid rgba(255, 192, 0, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.waste-clock::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; top: -110px; background: radial-gradient(circle, rgba(255, 192, 0, .18), transparent 70%); pointer-events: none; }
.waste-clock:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.clock-label { font: 800 11px/1.3 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.clock-number { font: 850 clamp(40px, 4.4vw, 60px)/1 var(--f-sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin: 12px 0 2px; color: #fff; }
.clock-unit { font-size: 15px; font-weight: 600; color: var(--on-dark-muted); }
.clock-progress { height: 4px; background: rgba(255, 255, 255, .1); border-radius: 99px; overflow: hidden; margin: 16px 0 14px; }
.clock-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal-2), var(--gold)); border-radius: 99px; }
.clock-copy { font-size: 12.5px; line-height: 1.5; color: var(--on-dark-muted); margin: 0 0 16px; }
.clock-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--gold); position: relative; z-index: 1; }
.clock-cta svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.waste-clock:hover .clock-cta svg { transform: translate(3px, -3px); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .waste-clock { margin-top: 8px; max-width: 460px; }
}

/* ---------- The shift (4 stages) ---------- */
.shift-q { font-size: clamp(28px, 3.4vw, 44px); color: var(--navy); margin: 16px 0 8px; max-width: 26ch; }
.stages { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; counter-reset: stage; }
.stages::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.stages::after {
  content: ''; position: absolute; left: 0; top: 23px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--ochre), var(--teal) 60%, var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease);
}
.stages.play::after { transform: scaleX(1); }
.stage { position: relative; padding-right: 20px; opacity: .35; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stages.play .stage { opacity: 1; transform: none; }
.stages.play .stage:nth-child(2) { transition-delay: .35s; }
.stages.play .stage:nth-child(3) { transition-delay: .7s; }
.stages.play .stage:nth-child(4) { transition-delay: 1.05s; }
.stage .dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font: 700 14px/1 var(--f-mono); color: var(--muted); position: relative; z-index: 1; }
.stage .dot::before { counter-increment: stage; content: '0' counter(stage); }
.stage h3 { font-size: clamp(20px, 2vw, 26px); margin: 20px 0 8px; letter-spacing: -.02em; text-transform: uppercase; }
.stage p { font-family: var(--f-hand); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; color: var(--ochre); margin: 0; }
.stage.final .dot { background: var(--gold); border-color: var(--gold); color: var(--navy); box-shadow: 0 0 0 8px rgba(255, 192, 0, .2); }
.stage.final h3 { color: var(--teal); }
.stage.final p { color: var(--teal); }
.stage.final .badge { display: inline-block; margin-top: 14px; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--navy); color: var(--gold); padding: 7px 10px; border-radius: 999px; }
.shift-note { margin-top: 40px; max-width: 62ch; color: var(--muted); font-size: 18px; }
@media (max-width: 760px) {
  .stages { grid-template-columns: 1fr; gap: 26px; }
  .stages::before, .stages::after { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .stages::after { transform: scaleY(0); transform-origin: top; }
  .stages.play::after { transform: scaleY(1); }
  .stage { display: grid; grid-template-columns: 48px 1fr; gap: 0 18px; padding: 0; }
  .stage .dot { grid-row: span 3; }
  .stage h3 { margin-top: 4px; }
}

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; }
.principle::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--teal); }
.principle:nth-child(2)::before { background: var(--ochre); }
.principle:nth-child(3)::before { background: var(--gold); }
.principle .idx { font: 600 12px/1 var(--f-mono); color: var(--muted); letter-spacing: .1em; }
.principle h3 { font-size: 24px; margin: 16px 0 12px; }
.principle p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Scientific questions ---------- */
.questions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qcard {
  display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); text-decoration: none;
  transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.qcard:hover { border-color: rgba(255, 192, 0, .5); background: rgba(255, 192, 0, .05); transform: translateY(-3px); }
.qcard .num { font: 800 44px/1 var(--f-sans); color: var(--gold); letter-spacing: -.02em; }
.qcard .t { font: 600 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.qcard .q { font-family: var(--f-hand); font-size: clamp(25px, 2.3vw, 31px); line-height: 1.1; color: var(--on-dark); margin: 10px 0 12px; }
.qcard p { color: var(--on-dark-muted); font-size: 15px; margin: 0 0 12px; }
.qcard .more { font-weight: 700; font-size: 14px; color: var(--gold); }
@media (max-width: 860px) { .questions { grid-template-columns: 1fr; } .qcard { grid-template-columns: 1fr; gap: 10px; } }
/* Mobile homepage: the four questions come before the three principles */
@media (max-width: 860px) {
  .home-flow { display: flex; flex-direction: column; }
  .home-flow > .is-principles, .home-flow > .is-principles ~ * { order: 1; }
  .home-flow > .is-questions { order: 0; }
}

/* ---------- Evidence ---------- */
.evidence { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.ev { padding: 26px 22px 6px 0; }
.ev + .ev { padding-left: 22px; border-left: 1px solid var(--line); }
.ev b { display: block; font: 800 clamp(28px, 3vw, 40px)/1.05 var(--f-sans); color: var(--teal); letter-spacing: -.03em; }
.ev span { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 500; }
.ev small { display: block; margin-top: 10px; font: 400 12px/1.5 var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .evidence { grid-template-columns: repeat(2, 1fr); } .ev:nth-child(3) { border-left: 0; padding-left: 0; } .ev { padding-bottom: 20px; } }
@media (max-width: 520px) { .evidence { grid-template-columns: 1fr; } .ev + .ev { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.field { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.field figure { margin: 0; }
.field img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.field figcaption { font: 500 12px/1.4 var(--f-mono); color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
@media (max-width: 640px) { .field { grid-template-columns: 1fr 1fr; } .field figure:first-child { grid-column: span 2; } .field figure:first-child img { aspect-ratio: 16 / 10; } }

/* ---------- Audience doors ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.door .who { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.door h3 { font-size: 26px; }
.door p { color: var(--muted); font-size: 15.5px; margin: 0; flex: 1; }
.door .go { font-weight: 700; color: var(--teal); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Split (text + figure) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip .split-media { order: -1; }
.split h2 { font-size: clamp(30px, 3.8vw, 48px); margin: 14px 0 18px; }
.split .hand-q { font-family: var(--f-hand); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; color: var(--ochre); margin: 12px 0 4px; }
.split p { color: var(--muted); }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.split-media figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.fig-wide { margin: 0; }
.fig-wide img { width: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-media { order: 0; } }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band .hand { font-size: clamp(34px, 5vw, 64px); color: var(--gold); max-width: 22ch; margin: 18px auto 20px; }
.quote-band p { color: var(--on-dark-muted); max-width: 56ch; margin: 0 auto; font-size: 18px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.timeline li { padding: 22px 18px 0 0; position: relative; }
.timeline li::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.timeline li:nth-child(4)::before { background: var(--teal); }
.timeline li:last-child::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(255, 192, 0, .25); }
.timeline .when { font: 600 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); }
.timeline h3 { font-size: 19px; margin: 10px 0 8px; letter-spacing: -.01em; }
.timeline p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy); gap: 26px; padding-left: 24px; }
  .timeline li { padding: 0; }
  .timeline li::before { top: 4px; left: -31px; }
}

/* ---------- Research page: question sections ---------- */
.q-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.q-nav a { font: 600 14px/1 var(--f-sans); text-decoration: none; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.q-nav a b { color: var(--gold); margin-right: 6px; }
.q-nav a:hover { color: var(--on-dark); border-color: var(--on-dark-muted); }
.qsec { padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--header); }
.qsec-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; margin-bottom: clamp(32px, 4vw, 48px); }
.qsec-head .num { font: 800 clamp(64px, 8vw, 104px)/.85 var(--f-sans); color: var(--gold); -webkit-text-stroke: 0; letter-spacing: -.04em; }
.qsec-head .t { font: 600 12px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.qsec-head .q { font-family: var(--f-hand); font-weight: 600; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.05; color: var(--navy); margin-top: 10px; max-width: 26ch; }
.qsec-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); }
.qsec-body .intro { font-size: 18.5px; line-height: 1.6; }
.qsec-body h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.qsec-body ul.shown { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qsec-body ul.shown li { padding-left: 26px; position: relative; color: var(--text); }
.qsec-body ul.shown li::before { content: ''; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--teal); }
.qsec-body .now { background: var(--teal-soft); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--text); margin: 0; }
.qsec-body figure { margin: 0 0 20px; }
.qsec-body figure img { width: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); max-height: 460px; object-fit: contain; }
.qsec-body figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.chips-static { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-static a, .chips-static span { font: 600 13px/1 var(--f-sans); padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.chips-static a:hover { border-color: var(--teal); color: var(--teal); }
.related { margin-top: 8px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.related li span { font: 500 13px/1.6 var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .qsec-body { grid-template-columns: 1fr; } .qsec-head { grid-template-columns: 1fr; gap: 8px; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-dark { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, .03); }
.card-dark .idx { font: 600 12px/1 var(--f-mono); color: var(--gold); letter-spacing: .1em; }
.card-dark h3 { font-size: 24px; margin: 18px 0 10px; }
.card-dark p { color: var(--on-dark-muted); margin: 0; font-size: 15.5px; }
.card-light { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-light h3 { font-size: 22px; margin: 0 0 10px; }
.card-light p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- Featured paper ---------- */
.feature {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--navy); color: var(--on-dark); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden;
}
.feature::after { content: ''; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 192, 0, .22), transparent 70%); pointer-events: none; }
.feature img { border-radius: 8px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
.feature h3 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; margin: 14px 0 14px; }
.feature .cite { color: var(--on-dark-muted); font-size: 15px; margin-bottom: 22px; }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; } .feature img { max-width: 150px; } }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; text-decoration: none; }
.news-card figure { margin: 0 0 16px; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover img { transform: scale(1.04); }
.news-card time { font: 500 12px/1 var(--f-mono); color: var(--ochre); letter-spacing: .06em; text-transform: uppercase; }
.news-card h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; margin: 10px 0 8px; }
.news-card:hover h3 { color: var(--teal); }
.news-card p { color: var(--muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* Mobile: swipeable carousel (.carousel), one card per view with the next one peeking in */
.carousel-dots { display: none; }
@media (max-width: 860px) {
  .carousel {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); scrollbar-width: none;
  }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { flex: 0 0 86%; scroll-snap-align: start; }
  .carousel > *:hover { transform: none; }
  /* cards beyond the right edge never meet the scroll-reveal observer, so show them all */
  .carousel > .reveal { opacity: 1; transform: none; }
  .carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
  .carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: currentColor; opacity: .22; cursor: pointer; transition: opacity .3s, width .3s, background .3s; }
  .carousel-dots button[aria-current="true"] { width: 26px; border-radius: 5px; background: var(--gold); opacity: 1; }
  .section:not(.dark) .carousel-dots button[aria-current="true"] { background: var(--teal); }
}

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.project { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); text-decoration: none; background: rgba(255, 255, 255, .03); transition: border-color .3s, background .3s; }
.project:hover { border-color: rgba(255, 192, 0, .45); background: rgba(255, 192, 0, .05); }
.project .logo { width: 72px; height: 72px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.project .logo img { max-width: 80%; max-height: 80%; object-fit: contain; }
.project h3 { font-size: 22px; }
.project .org { font: 500 12px/1.4 var(--f-mono); color: var(--gold); letter-spacing: .04em; margin: 6px 0 10px; }
.project p { color: var(--on-dark-muted); font-size: 15px; margin: 0; }
@media (max-width: 800px) { .projects { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.media-list { border-top: 1px solid var(--line); }
.media-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.media-item:hover { padding-left: 14px; }
.media-item .outlet { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); }
.media-item .title { font: 700 clamp(18px, 2vw, 24px)/1.25 var(--f-sans); letter-spacing: -.015em; }
.media-item .lang { font: 500 11px/1 var(--f-mono); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); }
@media (max-width: 640px) { .media-item { grid-template-columns: 1fr auto; } .media-item .outlet { grid-column: 1 / -1; } }

/* ---------- Funders ---------- */
/* Every funder gets an identical tile; each logo is fitted into the same box inside it */
.funders { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.funders li { list-style: none; flex: 0 0 132px; height: 76px; background: #fff; border-radius: var(--radius-sm); display: grid; place-items: center; border: 1px solid var(--line); }
.funders img { width: 96px; height: 44px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.funders li:hover img { filter: none; opacity: 1; }
@media (max-width: 500px) { .funders li { flex: 0 0 calc((100% - 20px) / 3); height: 64px; } .funders img { width: 76px; height: 36px; } }

/* ---------- CTA ---------- */
.cta { border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -8%; bottom: -60%; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255, 192, 0, .3); box-shadow: 0 0 0 60px rgba(255, 192, 0, .03), 0 0 0 120px rgba(255, 192, 0, .02); }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); }
.cta p { color: var(--on-dark-muted); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* ---------- People ---------- */
.pi-card { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.pi-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) + 6px); }
.pi-card h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 14px 0 10px; }
.pi-card .role { font: 500 14px/1.4 var(--f-mono); color: var(--teal); margin-bottom: 18px; }
.pi-card .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 700px) { .pi-card { grid-template-columns: 1fr; } .pi-card img { max-width: 260px; } }
.group-title { display: flex; align-items: baseline; gap: 14px; margin: clamp(40px, 5vw, 64px) 0 20px; }
.group-title h3 { font-size: 28px; }
.group-title span { font: 500 13px/1 var(--f-mono); color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.04); }
/* Stand-in when a member has no photo yet */
.person-initials { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(150deg, var(--navy-2), var(--navy)); color: var(--gold); font: 800 64px/1 var(--f-sans); letter-spacing: -.02em; }
.person .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.person h4 { font-size: 19px; letter-spacing: -.015em; }
.person .role { font: 500 12px/1 var(--f-mono); color: var(--teal); letter-spacing: .06em; text-transform: uppercase; margin: 8px 0 12px; }
.person p { color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.person .qtags { display: flex; gap: 6px; margin-bottom: 12px; }
.person .qtags a { font: 600 11px/1 var(--f-mono); padding: 5px 8px; border-radius: 999px; background: var(--navy); color: var(--gold); text-decoration: none; }
.person .mail { font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.person .mail svg { width: 16px; height: 16px; }
.person .mail:hover { color: var(--teal); }
/* Arriving from a Research-page link (people.html#name): clear the sticky header and flash the card */
.person { scroll-margin-top: calc(var(--header) + 20px); }
.person:target { animation: person-flash 2.4s var(--ease) 1; }
@keyframes person-flash {
  0%, 35% { box-shadow: 0 0 0 3px var(--gold), var(--shadow); border-color: var(--gold); }
  100% { box-shadow: none; }
}
.alumni { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.alumni div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.alumni b { font-weight: 700; }
.alumni span { color: var(--muted); }
.alumni time { font: 500 13px/1.8 var(--f-mono); color: var(--muted); }
@media (max-width: 700px) { .alumni { grid-template-columns: 1fr; } }
/* Tiles match the photos (4:3) so nobody at the edges gets cropped out */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 12px; }
/* Group photos: 3 columns, first photo large (2x2) */
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } /* tiles size from the grid, not from the photo */
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } /* large photo top-left; the rest fill 3 across */
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px);
  background: rgba(11, 21, 18, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--on-dark); font: 600 13px/1.3 var(--f-sans); padding: 8px 12px; border-radius: 999px;
}
.gallery figcaption.at-right { left: auto; right: 14px; }
/* A last photo left alone on its row becomes a full-width panorama (desktop/tablet) */
@media (min-width: 701px) {
  .gallery figure:last-child:nth-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 6; }   /* 1 left over: full-width panorama */
  .gallery figure:last-child:nth-child(3n+2) { grid-column: span 2; aspect-ratio: auto; }     /* 2 left over: last one spans 2 columns */
}
.gallery figcaption::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery figure:last-child:nth-child(even) { grid-column: span 2; } /* odd one out spans the row */
}
@media (max-width: 700px) {
  /* Phones: compact labels so they cover as little of the people as possible */
  .gallery figcaption { left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 9.5px; font-weight: 600; line-height: 1.25; padding: 3px 7px; border-radius: 6px; background: rgba(11, 21, 18, .7); }
  .gallery figcaption.at-right { left: auto; right: 6px; }
  .gallery figcaption::before { width: 5px; height: 5px; margin-right: 5px; vertical-align: 1px; }
}

/* ---------- Publications ---------- */
.pub-tools { position: sticky; top: var(--header); z-index: 10; background: rgba(246, 245, 241, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 16px 0; border-bottom: 1px solid var(--line); }
.pub-tools .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search { flex: 1 1 260px; position: relative; }
.search input { width: 100%; font: 400 16px/1 var(--f-sans); padding: 13px 16px 13px 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 102, 102, .15); }
.search svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 14px/1 var(--f-sans); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed='true'] { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.chip b { color: var(--ochre); margin-right: 4px; }
.chip[aria-pressed='true'] b { color: var(--gold); }
.pub-count { font: 500 13px/1 var(--f-mono); color: var(--muted); margin-left: auto; }
.pub-year { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pub-year > h2 { font-size: 40px; color: var(--muted); position: sticky; top: 150px; align-self: start; }
.pub { padding: 16px 0; border-bottom: 1px dashed var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; }
.pub:last-child { border-bottom: 0; }
.pub .t { font: 600 18px/1.4 var(--f-sans); letter-spacing: -.01em; }
.pub .a { color: var(--muted); font-size: 15px; margin-top: 4px; }
.pub .a b { color: var(--text); font-weight: 700; }
.pub .v { font-size: 14px; margin-top: 4px; font-style: italic; color: var(--teal); }
.pub .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pub .tags span { font: 500 11px/1 var(--f-mono); padding: 5px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.pub .find { align-self: start; font: 600 13px/1 var(--f-sans); text-decoration: none; color: var(--muted); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.pub .find:hover { color: var(--text); border-color: var(--text); }
.pub-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; align-self: start; }
.ga-btn {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; cursor: pointer;
  font: 600 13px/1 var(--f-sans); padding: 8px 12px; border-radius: 999px;
  color: var(--teal); background: var(--teal-soft); border: 1px solid rgba(0, 102, 102, .3);
  transition: background .2s, color .2s, border-color .2s;
}
.ga-btn svg { width: 15px; height: 15px; }
.ga-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
/* Graphical-abstract pop-up */
.ga-dialog { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 22px 22px 18px; border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.ga-dialog::backdrop { background: rgba(11, 21, 18, .72); backdrop-filter: blur(3px); }
.ga-dialog img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.ga-title { margin: 0 44px 14px 0; font-weight: 700; font-size: 16px; line-height: 1.35; }
.ga-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text); }
.ga-close:hover { background: var(--paper-2); }
.pub-empty { padding: 60px 0; color: var(--muted); text-align: center; display: none; }
@media (max-width: 700px) { .pub-year { grid-template-columns: 1fr; gap: 4px; } .pub-year > h2 { position: static; font-size: 32px; } .pub { grid-template-columns: 1fr; } .pub .find { justify-self: start; } .pub-actions { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; } .ga-dialog { padding: 16px 14px 14px; } }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-hero { padding-bottom: 40px; }
.article-hero h1 { font-size: clamp(32px, 4.6vw, 56px); margin: 18px 0 0; }
.article-hero .back { display: inline-flex; gap: 8px; align-items: center; color: var(--on-dark-muted); text-decoration: none; font-size: 14px; margin-bottom: 24px; }
.article-hero .back:hover { color: var(--on-dark); }
.article-img { margin: 40px auto 0; max-width: 960px; }
.article-img img { width: 100%; max-height: 560px; object-fit: cover; border-radius: calc(var(--radius) + 4px); }
.prose { font-size: 18.5px; line-height: 1.7; padding: 48px 0 24px; }
.prose p { margin: 0 0 1.2em; }
.prose a { color: var(--teal); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px 0 0; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s; font-weight: 600; }
.pager a:hover { border-color: var(--text); }
.pager small { display: block; font: 500 12px/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; text-align: left; } }

/* ---------- Contact / Join ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-block:first-child { padding-top: 0; }
.contact-block h3 { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.contact-block p { margin: 0; font-size: 19px; }
.contact-block a { color: var(--teal); text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-big { font: 800 clamp(24px, 3vw, 36px)/1.15 var(--f-sans) !important; letter-spacing: -.02em; }
.contact-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) + 6px); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .contact-media img { aspect-ratio: 4 / 3; } }
.disc { display: flex; flex-wrap: wrap; gap: 10px; }
.disc span { font: 600 15px/1 var(--f-sans); padding: 12px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.disc span:nth-child(3n+1) { border-color: rgba(0, 102, 102, .35); }
.disc span:nth-child(3n+2) { border-color: rgba(173, 130, 31, .4); }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 32px; background: var(--navy-deep); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-top h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; color: var(--on-dark); opacity: .85; }
.footer-top a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-top p { color: var(--on-dark-muted); font-size: 15px; }
.footer-brand .hand { font-size: clamp(32px, 3.4vw, 44px); color: var(--gold); margin-bottom: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: var(--on-dark-muted); }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } .footer-top a { overflow-wrap: anywhere; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stage { opacity: 1 !important; transform: none !important; transition: none !important; }
  .stages::after { transform: none !important; transition: none !important; }
  * { transition-duration: .01ms !important; animation: none !important; }
}
