/* EA UW site design system (October 2026). Source of truth for Stan Słupski's
   approved homepage mockup: Space Grotesk, deep green-black ground, teal and
   mint accents, a single coral call to action. Every page shares this file. */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/space-grotesk-latin-ext-wght.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/fonts/space-grotesk-latin-wght.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Grotesk Fallback'; src: local('Arial'); size-adjust: 104%; ascent-override: 92%; descent-override: 26%; }

:root {
  --night: #0e1a1a;        /* header, footer, dark card */
  --night-2: #142524;      /* inputs on night */
  --paper: #f5f7f6;        /* page ground */
  --surface: #fbfcfc;      /* raised surfaces on paper */
  --ink: #0f1d1c;          /* text on paper, 16:1 */
  --muted: #4c5d5b;        /* secondary text on paper, 6.6:1 */
  --teal: #0c7369;         /* teal surfaces; white 5.7:1, #e1f2ef 5.0:1 */
  --teal-ink: #0a645c;     /* links on paper, 6.8:1 */
  --mint: #3ee0c5;         /* accent on night, fills with night text */
  --mint-soft: #d8f6f0;
  --coral: #ff6b4a;        /* the one call to action; night text 7:1 */
  --coral-ink: #b13a1e;    /* coral labels on paper, 5.6:1 */
  --coral-soft: #ffe3dc;
  --line: #d6dfdc;
  --line-strong: #b9c7c4;
  --on-night: #eef3f2;
  --on-night-muted: #a9bab7; /* 8:1 on night */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --font: 'Space Grotesk', 'Grotesk Fallback', system-ui, 'Segoe UI', sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  font-weight: 400; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.6em; font-weight: 650; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
h4 { font-size: var(--step-0); letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 650; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 68ch; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus-visible { left: 12px; }

/* ---------- Labels, pills and buttons ---------- */
.kicker { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 0.9rem; }
.kicker--mint { color: var(--mint); }
.kicker--teal { color: var(--teal-ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px; border: 1px solid currentColor; border-radius: 999px; font-size: var(--step--1); line-height: 1.5; white-space: nowrap; }
.pill a { color: inherit; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 10px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-mint { background: var(--mint); color: var(--night); }
.btn-mint:hover { background: #6deed8; }
.btn-coral { background: var(--coral); color: var(--night); }
.btn-coral:hover { background: #ff8a6f; }
.btn-teal { background: var(--teal); color: #f7fbfa; }
.btn-teal:hover { background: var(--teal-ink); }
.btn-ghost-light { border-color: var(--on-night); color: var(--on-night); background: transparent; }
.btn-ghost-light:hover { background: rgba(238,243,242,.1); }
.btn-ghost-mint { border-color: var(--mint); color: var(--mint); background: transparent; }
.btn-ghost-mint:hover { background: rgba(62,224,197,.1); }
.btn-ghost { border-color: var(--teal-ink); color: var(--teal-ink); background: transparent; }
.btn-ghost:hover { background: var(--mint-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 600; }
.arrow-link::after { content: " →"; }

/* ---------- Header ---------- */
.site-top { position: relative; z-index: 30; background: var(--night); color: var(--on-night); }
.site-top--overlay { position: absolute; inset: 0 0 auto 0; background: transparent; }
.site-top__row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; flex: none; }
.brand img { width: 27px; height: auto; }
.brand__word { font-weight: 700; font-size: 1.125rem; line-height: 0.95; letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: 4px 22px; margin-left: auto; }
.site-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--on-night); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 6px 0; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .btn { padding: 8px 22px; min-height: 44px; color: var(--night); }
.site-nav .btn:hover, .site-nav .btn[aria-current] { text-decoration: none; }
.site-nav .btn[aria-current] { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--coral); }
.lang { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; }
.lang a, .lang span { padding: 4px 0; line-height: 1.2; }
.site-nav .lang a { padding: 4px 0; font-size: 0.875rem; }
.lang a { color: var(--on-night-muted); text-decoration: none; }
.lang a:hover { color: var(--on-night); text-decoration: underline; }
.lang [aria-current] { color: var(--on-night); }
.nav-toggle { display: none; margin-left: auto; background: transparent; color: var(--on-night); border: 1px solid rgba(238,243,242,.45); border-radius: 999px; padding: 8px 16px; font: 600 0.9375rem var(--font); cursor: pointer; min-height: 44px; }
@media (max-width: 1040px) {
  .site-top__row { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .js .site-nav { display: none; }
  .js .site-top.is-open .site-nav { display: flex; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0 0 20px; gap: 16px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(238,243,242,.12); }
  .site-nav li a { display: block; padding: 13px 0; font-size: 1.0625rem; }
  .site-nav .site-nav__cta { border: 0; padding-top: 16px; }
  .site-nav .site-nav__cta a { display: flex; }
  .site-top--overlay.is-open { background: var(--night); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: var(--on-night); background: var(--night); isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,26,26,.88) 0%, rgba(14,26,26,.64) 48%, rgba(14,26,26,.38) 100%),
              linear-gradient(0deg, rgba(14,26,26,.55) 0%, rgba(14,26,26,0) 40%); }
.hero__inner { padding-block: clamp(150px, 22vw, 230px) clamp(72px, 10vw, 120px); }
.hero h1 { font-size: var(--step-4); line-height: 1.0; letter-spacing: -0.035em; font-weight: 650; max-width: 10.5em; text-wrap: balance; margin-bottom: 0.45em; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); max-width: 40ch; color: var(--on-night); margin-bottom: 1.6em; }
.hero__credit { position: absolute; right: 12px; bottom: 10px; font-size: 0.6875rem; color: rgba(238,243,242,.7); text-decoration: none; }
.hero__credit:hover, .hero__credit:focus-visible { color: var(--on-night); text-decoration: underline; }

/* ---------- Page heading (inner pages) ---------- */
.page-head { background: var(--night); color: var(--on-night); padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: var(--step-3); margin-bottom: 0.35em; max-width: 18ch; }
.page-head p { max-width: 62ch; color: var(--on-night-muted); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.page-head .kicker { color: var(--mint); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* ---------- What we run ---------- */
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .programs { grid-template-columns: 1fr; } }
.program { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); min-height: 330px; display: flex; flex-direction: column; isolation: isolate; }
.program h3 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); line-height: 1.05; letter-spacing: -0.03em; max-width: 12ch; margin-bottom: 0.6em; }
.program p { max-width: 36ch; }
.program .pills { margin-top: auto; padding-top: 12px; }
.program--teal { background: var(--teal); color: #f4fbf9; }
.program--teal .kicker { color: #f4fbf9; }
.program--teal .pill { color: #f4fbf9; border-color: rgba(244,251,249,.75); }
.program--night { background: var(--night); color: var(--on-night); }
.program--night p { color: var(--on-night-muted); }
.program--night .pill { color: var(--mint); border-color: rgba(62,224,197,.7); }
.program__art { position: absolute; z-index: -1; pointer-events: none; }
.program--teal .program__art { right: -28px; top: -14px; width: min(200px, 38%); opacity: .2; }
.program--night .program__art { right: 0; top: 0; width: min(170px, 34%); height: auto; color: var(--mint); opacity: .5; }
.program a { color: inherit; }
.program__next { margin: 14px 0 0; font-size: var(--step--1); }

.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; margin-top: clamp(40px, 5vw, 56px); list-style: none; padding: 0; }
@media (max-width: 960px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .offers { grid-template-columns: 1fr; } }
.offer { border-top: 2px solid var(--teal); padding-top: 22px; }
.offer--coral { border-top-color: var(--coral); }
.offer--night { border-top-color: var(--night); }
.offer--mint { border-top-color: var(--mint); }
.offer__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: var(--mint-soft); color: var(--teal-ink); }
.offer--coral .offer__icon { background: var(--coral-soft); color: var(--coral-ink); }
.offer--night .offer__icon { background: var(--night); color: var(--mint); }
.offer--mint .offer__icon { background: var(--mint); color: var(--night); }
.offer__icon svg { width: 20px; height: 20px; }
.offer h3 { font-size: 1.1875rem; margin-bottom: 0.45em; }
.offer p { color: var(--muted); font-size: 0.96875rem; margin-bottom: 0.7em; }
.offer .meta { font-size: var(--step--1); font-weight: 600; color: var(--ink); margin: 0; }
.offer .meta a { color: var(--teal-ink); }
.offer__tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }
.footnote { margin-top: clamp(32px, 4vw, 48px); color: var(--muted); font-size: 0.9375rem; }

/* ---------- Events (home + events pages) ---------- */
.events-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 32px 48px; align-items: start; }
@media (max-width: 960px) { .events-layout { grid-template-columns: 1fr; } }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.event-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .event-cards--two { grid-template-columns: 1fr; gap: 20px; }
  .event-cards--two .ecard { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .event-cards--two .ecard__media { grid-row: 1 / span 4; margin: 0; }
  .event-cards--two .ecard > * { min-width: 0; }
}
.ecard { display: flex; flex-direction: column; }
.ecard__media { aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; background: var(--teal); margin-bottom: 14px; display: grid; place-items: center; color: #f4fbf9; }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; }
.ecard__media--empty svg { width: 54px; height: 54px; opacity: .9; }
.ecard__when { color: var(--coral-ink); font-weight: 600; font-size: var(--step--1); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.ecard h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.ecard h3 a { color: var(--ink); text-decoration: none; }
.ecard h3 a:hover { text-decoration: underline; }
.ecard__where { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; padding: 2px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--teal-ink); margin: 0 6px 6px 0; vertical-align: middle; }
.badge--coral { background: var(--coral-soft); color: var(--coral-ink); }
.badge--night { background: var(--night); color: var(--mint); }
.badge--line { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.badge[data-live] { background: var(--coral); color: var(--night); }
.notify { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 32px; font-size: 1.0625rem; }
.notify::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(62,224,197,.22); flex: none; }
.notify p { margin: 0; }
.notify a { font-weight: 600; }
.plan { list-style: none; margin: 0; padding: 0; position: relative; }
.plan::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.plan li { position: relative; padding: 0 0 18px 32px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--muted); background: var(--paper); }
.plan li[data-current]::before { background: var(--coral); border-color: var(--coral); }
.plan h4 { margin: 0 0 2px; font-size: 1rem; }
.plan p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.plan a { color: var(--muted); }
.past-mini { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.past-mini li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.past-mini img, .past-mini .thumb-empty { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; background: var(--mint-soft); }
.past-mini p { margin: 0; font-size: 0.9375rem; line-height: 1.35; }
.past-mini .when { color: var(--muted); font-size: var(--step--1); }
.past-mini a { color: var(--ink); text-decoration: none; }
.past-mini a:hover { text-decoration: underline; }
.past-mini + p { margin-top: 16px; }

/* Full event entries (events page): everything visible, no disclosure. */
.event-full { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 24px 40px; padding-block: 36px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.event-full:target { background: linear-gradient(90deg, var(--mint-soft), transparent 70%); }
@media (max-width: 760px) { .event-full { grid-template-columns: 1fr; } }
.event-full__media { border-radius: var(--radius-md); overflow: hidden; align-self: start; background: var(--mint-soft); }
.event-full__media img { width: 100%; height: auto; }
.event-full h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); margin-bottom: 8px; }
.event-full__facts { color: var(--muted); margin: 0 0 14px; }
.event-full__facts strong { color: var(--coral-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.event-desc { max-width: 70ch; }
.event-desc p, .event-desc li { overflow-wrap: anywhere; }
.event-desc .event-plain { white-space: pre-line; }
.event-desc h3 { font-size: 1.0625rem; margin-top: 1.2em; }
.event-sources { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 600; }
.event-note { font-size: var(--step--1); color: var(--muted); margin-top: 10px; }
.events-empty { color: var(--muted); }
.notify-box { background: var(--night); color: var(--on-night); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.notify-box h2 { font-size: var(--step-2); margin-bottom: 0.4em; }
.notify-box p { color: var(--on-night-muted); margin: 0; }
.notify-box a:not(.btn) { color: var(--mint); }
.notify-box .btn-row { justify-content: flex-start; }
@media (max-width: 860px) { .notify-box { grid-template-columns: 1fr; } }

/* Archive: compact, every record visible with an excerpt and its source. */
.archive-year { margin-top: 48px; }
.archive-year h3 { font-size: var(--step-2); border-bottom: 2px solid var(--night); padding-bottom: 8px; margin-bottom: 0; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.arow { display: grid; grid-template-columns: 112px 72px minmax(0, 1fr); gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.arow:target { background: linear-gradient(90deg, var(--mint-soft), transparent 70%); }
.arow__date { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.arow__date span { display: block; color: var(--muted); font-weight: 400; font-size: var(--step--1); }
.arow__thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--mint-soft); }
.arow h4 { margin: 0 0 4px; font-size: 1.0625rem; line-height: 1.3; }
.arow p { margin: 0 0 6px; font-size: 0.9375rem; color: var(--muted); }
.arow .event-sources { margin: 4px 0 0; font-size: var(--step--1); }
@media (max-width: 640px) { .arow { grid-template-columns: 64px minmax(0, 1fr); } .arow__date { grid-column: 1 / -1; } .arow__thumb { width: 64px; height: 64px; } }
.archive-note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 22px; color: var(--muted); font-size: 0.9375rem; max-width: 80ch; }
.archive-note p:last-child { margin: 0; }

/* ---------- About band, two-column text ---------- */
.about-band { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 720px); gap: 16px 48px; }
.about-band p { font-size: var(--step-1); line-height: 1.6; color: #34433f; }
@media (max-width: 760px) { .about-band { grid-template-columns: 1fr; } }
.ideas { counter-reset: idea; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.ideas li { counter-increment: idea; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 24px; }
.ideas li::before { content: counter(idea, decimal-leading-zero); display: block; font-weight: 700; color: var(--coral-ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.ideas h3 { font-size: 1.1875rem; }
.ideas p { margin: 0; color: var(--muted); font-size: 0.96875rem; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; list-style: none; padding: 0; margin: 0; }
.link-grid li { border-top: 1px solid var(--line); padding: 16px 0; }
.link-grid a { font-weight: 600; }
.link-grid p { margin: 4px 0 0; color: var(--muted); font-size: 0.9375rem; }
.problem-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.problem-list a { display: block; height: 100%; padding: 20px 22px; border-radius: var(--radius-md); background: var(--night); color: var(--on-night); text-decoration: none; }
.problem-list a:hover { background: #18302e; }
.problem-list strong { display: block; font-size: 1.125rem; margin-bottom: 4px; }
.problem-list span { color: var(--on-night-muted); font-size: 0.9375rem; }
.problem-list a::after { content: "80,000 Hours →"; display: block; margin-top: 12px; font-size: var(--step--1); color: var(--mint); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline .year { font-weight: 700; font-size: 1.25rem; color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; } }

/* ---------- Ways to get involved / contact cards ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ways { grid-template-columns: 1fr; } }
.way { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 24px; display: flex; flex-direction: column; transition: border-color .2s var(--ease), transform .25s var(--ease); }
.way:hover { border-color: var(--teal); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .way, .way:hover { transform: none; transition: none; } }
.way .offer__icon { margin-bottom: 18px; }
.way h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
.way p { color: var(--muted); font-size: 0.96875rem; }
.way .way__action { margin-top: auto; padding-top: 6px; font-weight: 650; }
.way--feature { background: var(--teal); border-color: var(--teal); color: #f4fbf9; }
.way--feature p { color: #e1f2ef; }
.way--feature a { color: #fff; }
.way--feature .offer__icon { background: rgba(255,255,255,.16); color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.contact-list li { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list .label { font-weight: 650; }
.contact-list p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .contact-list li { grid-template-columns: 1fr; } }
.callout { border-radius: var(--radius-md); background: var(--coral-soft); padding: 20px 24px; color: #4a1c10; max-width: 80ch; }
.callout a { color: #8c2b14; font-weight: 600; }
.callout p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; list-style: none; padding: 0; margin: 0; }
.team-grid .team-photo, .team-initials { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 14px; background: var(--mint-soft); }
.team-initials { display: grid; place-items: center; background: var(--night); color: var(--mint); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 650; letter-spacing: 0.02em; }
.team-grid li:nth-child(even) .team-initials { background: var(--teal); color: #f4fbf9; }
.team-grid h3 { margin-bottom: 2px; }
.team-grid .role { color: var(--coral-ink); font-weight: 600; font-size: var(--step--1); margin-bottom: 8px; }
.team-grid .bio { color: var(--muted); font-size: 0.96875rem; margin-bottom: 8px; }
.team-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9375rem; font-weight: 600; margin: 0; }
.way .way-title { font-size: 1.25rem; margin-bottom: 0.4em; }
.team-empty { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
@media (max-width: 860px) { .team-empty { grid-template-columns: 1fr; } }

/* ---------- Join band + forms ---------- */
.join { background: var(--night); color: var(--on-night); }
.join__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; }
@media (max-width: 860px) { .join__grid { grid-template-columns: 1fr; } }
.join h2 { color: var(--on-night); }
.join p { color: var(--on-night-muted); font-size: 1.0625rem; max-width: 46ch; }
.join a:not(.btn) { color: var(--mint); }
.gform { display: grid; gap: 18px; }
.gform label.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.9375rem; }
.gform input[type=text], .gform input[type=email], .gform textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  font: 400 1rem var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
}
.gform input::placeholder { color: #6b7a78; }
.gform input:focus-visible, .gform textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 1px; }
.gform textarea { resize: vertical; min-height: 180px; }
.gform .contact-help { font-size: var(--step--1); color: var(--muted); margin: -8px 0 0; }
.gform .check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.9375rem; line-height: 1.45; cursor: pointer; }
.gform .check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); }
.gform .help { font-size: var(--step--1); color: var(--muted); margin: -8px 0 0 32px; }
.gform .btn { width: 100%; }
.gform .btn:disabled { opacity: .65; cursor: not-allowed; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; background: var(--mint-soft); color: var(--ink); }
.form-status[data-state="error"] { background: var(--coral-soft); color: #5a1d0e; }
.form-mode { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px dashed var(--line-strong); font-size: var(--step--1); }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.gform--night input[type=text], .gform--night input[type=email] { background: var(--night-2); color: var(--on-night); border-color: rgba(238,243,242,.3); }
.gform--night input::placeholder { color: #8fa29f; }
.gform--night .help { color: var(--on-night-muted); }
.gform--night .check input { accent-color: var(--mint); }
.gform--night .form-mode { border-color: rgba(238,243,242,.35); color: var(--on-night-muted); }
.gform--night a { color: var(--mint); }
.privacy { font-size: 0.9375rem; color: var(--muted); max-width: 76ch; }
.privacy h2 { font-size: var(--step-1); color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--on-night-muted); border-top: 1px solid rgba(238,243,242,.12); font-size: 0.9375rem; }
.site-foot a { color: var(--on-night); }
.site-foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-block: 36px 20px; }
.site-foot__row > p { margin: 0; }
.site-foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0 0 0 auto; }
.site-foot__fine { padding-block: 0 32px; font-size: 0.8125rem; }
.site-foot__fine p { margin: 0; }
.site-foot [data-eauw-analytics-notice] { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter) 28px; font-size: 0.8125rem; }
.site-foot [data-eauw-analytics-notice] p { margin: 0; }
@media (max-width: 720px) { .site-foot__links { margin-left: 0; } }

/* ---------- Legacy content pages (course materials, resources, articles) ---------- */
.legacy .article-header { margin-bottom: 32px; }
.legacy .article-header h1 { font-size: var(--step-3); max-width: 20ch; }
.legacy .page-lead { font-size: var(--step-1); line-height: 1.55; max-width: 62ch; }
.legacy .column { max-width: 76ch; }
.legacy .dd, .legacy section.dd-sm { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; }
.legacy .dd-main, .legacy .dd > h2 { font-size: var(--step-2); margin-bottom: 0.6em; }
.legacy .sn { color: var(--coral-ink); }
.legacy .facts { display: grid; gap: 0; margin: 0 0 20px; }
.legacy .facts > div { display: grid; grid-template-columns: minmax(130px, 200px) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.legacy .facts dt { font-weight: 650; }
.legacy .facts dd { margin: 0; }
@media (max-width: 600px) { .legacy .facts > div { grid-template-columns: 1fr; } }
.legacy .notice { background: var(--mint-soft); border-radius: var(--radius-md); padding: 14px 18px; }
.legacy .session-meta, .legacy .reading-time, .legacy .meta { color: var(--muted); font-size: var(--step--1); }
.legacy .reflection { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 22px; margin: 18px 0; }
.legacy .legacy-summary { font-size: 1.0625rem; margin: 0 0 10px; }
.legacy .reflection dl dt { font-weight: 650; margin-top: 12px; }
.legacy .reflection dl dd { margin: 4px 0 0; }
.legacy .faq dt { font-weight: 650; margin-top: 20px; }
.legacy .faq dd { margin: 6px 0 0; color: #34433f; }
.legacy .plain-list li { margin-bottom: 8px; }
.legacy .engage-sub { font-size: var(--step-2); margin-top: 1.2em; }
.legacy .fine-print { color: var(--muted); font-size: var(--step--1); }
.legacy .btn-row { margin-block: 20px; }
.legacy .btn-quiet { display: inline-flex; padding: 6px 14px; border: 1px solid var(--teal-ink); border-radius: 999px; text-decoration: none; font-size: 0.9375rem; }

/* Legacy availability form (terminy) reuses the original native controls. */
.legacy .interest-form { display: grid; gap: 6px; max-width: 64ch; }
.legacy .interest-form fieldset { border: 0; padding: 0; margin: 18px 0 0; }
.legacy .interest-form legend, .legacy .interest-form label:not(.check) { font-weight: 650; display: block; margin: 14px 0 6px; }
.legacy .interest-form input:not([type=checkbox]), .legacy .interest-form select, .legacy .interest-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); font: inherit; color: var(--ink); }
.legacy .interest-form label.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.legacy .interest-form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 3px; flex: none; }
.legacy .choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.legacy .field-help { color: var(--muted); font-size: var(--step--1); margin: 0 0 6px; }
.legacy .interest-form .btn { margin-top: 12px; }
.legacy .privacy-details { margin-top: 28px; color: var(--muted); font-size: 0.9375rem; }

@media print {
  .site-top, .site-foot, .nav-toggle, .hero__media { display: none !important; }
  .hero, .page-head, .join { background: none; color: #000; }
  body { background: #fff; }
}

/* Button names used inside migrated legacy content. */
.btn-primary { background: var(--teal); color: #f7fbfa; }
.btn-primary:hover { background: var(--teal-ink); }
.btn-secondary { border-color: var(--teal-ink); color: var(--teal-ink); background: transparent; }
.btn-secondary:hover { background: var(--mint-soft); }
@media (max-width: 600px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; } .team-grid h3 { font-size: 1.0625rem; } .team-initials { font-size: 2.25rem; } }
