/* ============================================================
   IAF — Industrial AI Federation
   Design system per DESIGN.md. "Forged."
   Dark, monumental, global. A federation, not a vendor.
   Graphite base · molten amber · serif display · engineered mono.
   ============================================================ */

/* -------------------------------------------------- Fonts (self-hosted) */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/instrument-serif-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal; font-weight: 100 700; font-display: swap;
  src: url('../fonts/ibm-plex-sans-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic; font-weight: 100 700; font-display: swap;
  src: url('../fonts/ibm-plex-sans-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-serif-400-italic.woff2') format('woff2');
}

:root {
  /* Color — DESIGN.md §2 */
  --void: #07090D;          /* page base, hero, join, footer */
  --graphite: #0C1017;      /* alternate dark band */
  --carbon: #12161F;        /* elevated dark cards */
  --edge: #1F2632;          /* hairlines / borders on dark */
  --edge-soft: #171D28;     /* subtle hairlines on dark */
  --white: #F4F6F9;         /* headline / primary on dark */
  --steel: #97A2B3;         /* secondary text on dark */
  --steel-dim: #5F6B7D;     /* tertiary / metadata on dark */

  --amber: #E8A317;         /* accent on light */
  --amber-bright: #F4B740;  /* accent on dark */
  --amber-deep: #B9820E;    /* accent hover / on paper */
  --molten-gradient: linear-gradient(135deg, #FFC65C 0%, #EFA71E 48%, #C07E05 100%);
  --molten-sheen: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 48%);

  --paper: #F2EEE6;         /* warm bone — the single light band family */
  --paper-line: #DCD5C6;    /* hairlines on paper */
  --ink: #14181F;           /* text on paper */
  --ink-soft: #565E6B;      /* secondary text on paper */

  --maxw: 1280px;
  --measure: 62ch;
  color-scheme: dark;
}

/* -------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--steel);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: var(--amber-bright); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--amber); color: var(--void); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 2.5rem; }

/* -------------------------------------------------- Accent bar */
.accent-bar { height: 3px; background: var(--molten-gradient); position: relative; z-index: 40; }

/* -------------------------------------------------- Type */
h1, h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: 1.0; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; }
h1 em, h2 em { font-style: italic; color: var(--amber-bright); }
h3, h4 { font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; line-height: 1.2; letter-spacing: -0.012em; margin: 0; color: var(--white); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding-left: .28em;
  color: var(--amber-deep);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .1em;
  flex-wrap: wrap;
}
.kicker--invert { color: var(--amber-bright); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--steel); max-width: var(--measure); }
.section-lede { font-size: 1.05rem; color: var(--steel); max-width: 58ch; margin: 1rem 0 0; }
.lede-serif { font-family: 'IBM Plex Serif', Georgia, serif; font-size: 1.35rem; line-height: 1.55; color: var(--ink); }

.dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
  margin: 0 .4em;
  vertical-align: middle;
}

/* Section header: index numeral + kicker + display title */
.section-head {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-top: 2.5rem;
  border-top: 1px solid var(--edge);
  margin-bottom: 3.5rem;
}
.section-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--steel-dim);
  margin: .35rem 0 0;
}
.section-index::after { content: " /"; opacity: .5; }
.section-head h2 { max-width: 22ch; }

/* Light-band variants */
.mission .section-head, .leadership .section-head, .news .section-head { border-top-color: var(--paper-line); }
.mission .section-index, .leadership .section-index, .news .section-index { color: #9A917E; }
.mission h2, .leadership h2, .news h2 { color: var(--ink); }
.mission h2 em, .leadership h2 em, .news h2 em { color: var(--amber-deep); }
.mission .section-lede, .leadership .section-lede, .news .section-lede { color: var(--ink-soft); }

/* -------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .95rem 1.75rem;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--molten-gradient); color: #1A1205; position: relative; isolation: isolate; }
.btn--primary::before { content:""; position:absolute; inset:0; background: var(--molten-sheen); border-radius: inherit; z-index:-1; }
.btn--primary:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(239,167,30,.35); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--edge); }
.btn--ghost:hover { text-decoration: none; border-color: var(--amber-bright); color: var(--amber-bright); }
.btn--sm { padding: .55rem 1.1rem; font-size: .76rem; }
.btn--lg { padding: 1.15rem 2.4rem; font-size: .98rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* -------------------------------------------------- Mark */
.mark { width: 30px; height: 23px; color: var(--amber-bright); flex: none; }
.mark--invert { color: var(--amber-bright); }

/* -------------------------------------------------- Masthead */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7,9,13,.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge-soft);
  transition: border-color .2s ease;
}
.masthead.is-scrolled { border-bottom-color: var(--edge); }
.masthead__row { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.masthead__brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; }
.masthead__brand:hover { text-decoration: none; }
.masthead__wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.masthead__iaf { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--white); }
.masthead__sub { font-family: 'IBM Plex Mono', monospace; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-dim); margin-top: 4px; }
.masthead__nav { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.masthead__nav > a { color: var(--steel); font-size: .92rem; font-weight: 500; text-decoration: none; transition: color .15s ease; }
.masthead__nav > a:hover { color: var(--white); text-decoration: none; }
.masthead__nav > a.btn { color: #1A1205; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-family: 'IBM Plex Mono', monospace; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-left: auto; padding: .4rem 0; }

/* -------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; background: var(--void); }
.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(151,162,179,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(151,162,179,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 100%);
}
.hero__glow {
  position: absolute; pointer-events: none;
  left: 50%; bottom: -32rem; transform: translateX(-50%);
  width: 110rem; height: 55rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239,167,30,.16), rgba(239,167,30,.05) 52%, transparent 78%);
}
.hero__mark-watermark {
  position: absolute; right: -4rem; top: 8rem; width: 460px; height: 345px;
  color: var(--white); opacity: .028; pointer-events: none;
}
.hero__mark-watermark svg { width: 100%; height: 100%; }

.hero__inner { position: relative; padding-top: 7.5rem; padding-bottom: 4.5rem; }
.hero h1 { margin: 0 0 1.75rem; }
.hero .lede { margin-bottom: 2.75rem; }
.hero__cta { margin-bottom: 0; }

.hero__meta-band { position: relative; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero__meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--edge);
}
.hero__meta li { padding: 1.5rem 1.5rem 0 0; display: flex; flex-direction: column; border-right: 1px solid var(--edge-soft); padding-left: 1.5rem; }
.hero__meta li:first-child { padding-left: 0; }
.hero__meta li:last-child { border-right: 0; }
.hero__meta strong { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--white); line-height: 1; }
.hero__meta span { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dim); margin-top: .7rem; max-width: 18ch; line-height: 1.6; }

.hero__ticker { border-top: 1px solid var(--edge-soft); position: relative; }
.hero__ticker-row {
  display: flex; flex-wrap: wrap; gap: .5rem 2.75rem;
  padding-top: 1rem; padding-bottom: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--steel-dim);
}
.hero__ticker-note { margin-left: auto; color: var(--amber-deep); }

/* -------------------------------------------------- Members (logo wall) */
.members { background: var(--void); padding: 5.5rem 0 6.5rem; }
.logo-wall {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--edge); border-width: 1px 0 0 1px;
}
.logo-wall li { border: 1px solid var(--edge); border-width: 0 1px 1px 0; }
.logo-wall a { display: flex; align-items: center; justify-content: center; height: 140px; padding: 2rem; transition: background .2s ease; }
.logo-wall a:hover { background: var(--carbon); text-decoration: none; }
.logo-wall img {
  max-height: 40px; max-width: 70%; width: auto;
  filter: brightness(0) invert(1);
  opacity: .62;
  transition: opacity .2s ease;
}
.logo-wall a:hover img { opacity: 1; }
.members__note { margin-top: 2rem; font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); }
.members__note a { color: var(--amber-bright); }

/* -------------------------------------------------- Mission (paper band) */
.mission { background: var(--paper); color: var(--ink); padding: 6.5rem 0 7rem; }
.mission__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4.5rem; align-items: start; }
.mission__body p { font-size: 1.08rem; line-height: 1.7; color: var(--ink); max-width: var(--measure); }
.mission__body p + p { margin-top: 1.25rem; }
.mission__body em { font-style: italic; }
.mission__quote { position: sticky; top: 7rem; }
.pullquote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.25;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding: 1.75rem 0 0;
  margin: 0;
  position: relative;
}
.pullquote::after { content:""; position:absolute; top: 4px; left: 0; right: 0; height: 1px; background: var(--amber); }
.pullquote em { font-style: italic; color: var(--amber-deep); }

/* -------------------------------------------------- Value (ledger) */
.value { background: var(--graphite); padding: 6.5rem 0 7rem; }
.value-ledger { border-top: 1px solid var(--edge); }
.value-row {
  display: grid; grid-template-columns: 9rem 1fr;
  gap: 2rem; align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--edge);
  position: relative;
}
.value-row::before {
  content:""; position:absolute; left:0; top:-1px; height:1px; width: 0;
  background: var(--amber-bright);
  transition: width .45s ease;
}
.value-row:hover::before { width: 100%; }
.value-row__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 400;
  color: var(--steel-dim); line-height: 1;
  padding-top: .2rem;
}
.value-row__body { max-width: 68ch; }
.value-row__body h3 { font-size: 1.45rem; margin-bottom: .7rem; }
.value-row__body p { font-size: 1rem; color: var(--steel); line-height: 1.65; }
.value-row__status {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-bright);
  border: 1px solid rgba(244,183,64,.35); border-radius: 2px;
  padding: .4rem .7rem; margin-top: 1.1rem;
}
.value__cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; }
.value__cta-note { font-size: .88rem; color: var(--steel-dim); }

/* -------------------------------------------------- Programs */
.programs { background: var(--void); padding: 6.5rem 0 7rem; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.program-card {
  background: var(--carbon);
  border: 1px solid var(--edge);
  border-radius: 3px;
  padding: 2.25rem 2rem 2rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.program-card::before {
  content:""; position:absolute; top:-1px; left:-1px; right:-1px; height:2px;
  background: var(--molten-gradient); opacity: 0; transition: opacity .2s ease;
  border-radius: 3px 3px 0 0;
}
.program-card:hover { transform: translateY(-3px); border-color: #2A3444; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.program-card:hover::before { opacity: 1; }
.program-card__kicker { font-family: 'IBM Plex Mono', monospace; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber-bright); margin: 0 0 1.5rem; }
.program-card h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: 2.6rem; letter-spacing: -0.005em;
  color: var(--white); margin-bottom: 1rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.program-card__expand { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-dim); }
.program-card p { color: var(--steel); font-size: .96rem; line-height: 1.6; }
.program-card__meta { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-dim); margin-top: auto; padding-top: 1.5rem; }
.program-card__link { color: var(--amber-bright); font-weight: 500; font-size: .9rem; margin-top: .9rem; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.program-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------- Convening (global) */
.convening { background: var(--graphite); padding: 6.5rem 0 7rem; }
.convene-list { border-top: 1px solid var(--edge); }
.convene-row {
  display: grid;
  grid-template-columns: 7rem 1.1fr 1.4fr 3rem;
  gap: 2.5rem; align-items: center;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--edge);
}
.convene-row__year { font-family: 'IBM Plex Mono', monospace; font-size: .85rem; letter-spacing: .18em; color: var(--steel-dim); margin: 0; }
.convene-row__place h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1;
  color: var(--white); letter-spacing: -0.005em;
}
.convene-row__coords { font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-dim); margin: .8rem 0 0; }
.convene-row__event { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-bright); margin: 0 0 .6rem; }
.convene-row__body > p:last-child { color: var(--steel); font-size: .96rem; max-width: 46ch; margin: 0; }
.convene-row__link {
  font-size: 1.5rem; color: var(--steel-dim); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border: 1px solid var(--edge); border-radius: 50%;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
  justify-self: end;
}
.convene-row__link:hover { color: var(--amber-bright); border-color: var(--amber-bright); transform: translateX(3px); text-decoration: none; }
.convene-row--next .convene-row__year { color: var(--amber-bright); }
.convene-row--next .convene-row__year::after { content: " · NEXT"; letter-spacing: .18em; }

/* -------------------------------------------------- Leadership (paper) */
.leadership { background: var(--paper); color: var(--ink); padding: 6.5rem 0 5.5rem; }
.leadership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.leader { border: 1px solid var(--paper-line); border-radius: 3px; padding: 2rem 1.9rem; background: rgba(255,255,255,.4); }
.leader__name { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 1.9rem; color: var(--ink); margin-bottom: .8rem; }
.leader__role { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; margin-bottom: .35rem; }
.leader__iaf-role { font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--paper-line); }
.leadership__note { margin-top: 2rem; font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

/* -------------------------------------------------- News (paper, continuous) */
.news { background: var(--paper); color: var(--ink); padding: 2rem 0 7rem; }
.news-list { border-top: 1px solid var(--paper-line); }
.news-item { display: grid; grid-template-columns: 9rem 1fr auto; gap: 2rem; align-items: baseline; padding: 1.9rem 0; border-bottom: 1px solid var(--paper-line); }
.news-item__date { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; letter-spacing: .16em; color: var(--amber-deep); }
.news-item__body h3 { font-size: 1.15rem; margin-bottom: .4rem; font-weight: 600; color: var(--ink); }
.news-item__body h3 a { color: var(--ink); }
.news-item__body h3 a:hover { color: var(--amber-deep); }
.news-item__meta { font-size: .85rem; color: var(--ink-soft); }
.news-item__link { color: var(--amber-deep); font-size: 1.2rem; text-decoration: none; padding-left: 1rem; }
.news-item__link:hover { text-decoration: underline; }
.news-item--placeholder .news-item__body h3 { color: var(--ink-soft); font-weight: 500; }

/* -------------------------------------------------- Join */
.join { background: var(--void); padding: 8.5rem 0; position: relative; overflow: hidden; text-align: center; }
.join__glow {
  position: absolute; pointer-events: none;
  left: 50%; top: -30rem; transform: translateX(-50%);
  width: 100rem; height: 55rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239,167,30,.13), rgba(239,167,30,.04) 55%, transparent 80%);
}
.join__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.join__mark { width: 64px; height: 48px; color: var(--amber-bright); margin-bottom: 2rem; }
.join h2 { max-width: 16ch; }
.join__lede { font-size: 1.1rem; color: var(--steel); max-width: 56ch; margin: 1.5rem auto 2.75rem; }
.join__action { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.join__contact { color: var(--steel); font-size: .95rem; margin: 0; }
.join__contact a { color: var(--amber-bright); }
.join__fineprint { font-family: 'IBM Plex Mono', monospace; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-dim); line-height: 1.7; margin: 0; }

/* -------------------------------------------------- Footer */
.footer { background: var(--void); color: var(--steel); border-top: 1px solid var(--edge); padding: 4rem 0 2rem; }
.footer__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__mark { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; margin-bottom: 1rem; }
.footer__mark:hover { text-decoration: none; }
.footer__word { font-family: 'IBM Plex Sans', sans-serif; font-weight: 700; color: var(--white); font-size: 1.1rem; display: inline-flex; align-items: baseline; gap: .6rem; }
.footer__word-sub { font-family: 'IBM Plex Mono', monospace; font-weight: 400; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-dim); }
.footer__tagline { font-size: .9rem; color: var(--steel-dim); max-width: 32ch; }
.footer__nav { display: flex; flex-direction: column; gap: .65rem; }
.footer__nav a, .footer__allies a { color: var(--steel); font-size: .92rem; text-decoration: none; }
.footer__nav a:hover, .footer__allies a:hover { color: var(--amber-bright); }
.footer__allies { display: flex; flex-direction: column; gap: .55rem; }
.footer__label { font-family: 'IBM Plex Mono', monospace; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-dim); margin: 0 0 .5rem; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--edge-soft);
  padding-top: 1.5rem;
  font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel-dim);
}
.footer__bottom p { margin: 0; }

/* -------------------------------------------------- Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .convene-row { grid-template-columns: 5rem 1fr 3rem; }
  .convene-row__body { grid-column: 2; }
  .convene-row__link { grid-column: 3; grid-row: 1; }
  .program-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 1.4rem; }
  body { font-size: 16px; }

  .masthead__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--void); flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 .5rem; border-bottom: 1px solid var(--edge); }
  .masthead__nav.is-open { display: flex; }
  .masthead__nav > a { padding: 1rem 1.4rem; border-bottom: 1px solid var(--edge-soft); }
  .masthead__nav > .btn { margin: 1rem 1.4rem 0; }
  .nav-toggle { display: block; }

  .hero__inner { padding-top: 4.5rem; padding-bottom: 3rem; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
  .hero__meta li { border-right: 0; padding-left: 0; padding-right: 0; }
  .hero__mark-watermark { display: none; }
  .hero__ticker-note { margin-left: 0; }

  .section-head { grid-template-columns: 1fr; gap: .75rem; margin-bottom: 2.5rem; }
  .section-index { margin-top: 0; }

  .members, .mission, .value, .programs, .convening, .leadership, .news { padding: 4.5rem 0; }
  .news { padding-top: 1rem; }
  .join { padding: 6rem 0; }

  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo-wall a { height: 110px; padding: 1.5rem; }

  .mission__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mission__quote { position: static; }

  .value-row { grid-template-columns: 1fr; gap: .9rem; padding: 2rem 0; }
  .value-row__num { font-size: 1.4rem; }

  .convene-row { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.25rem 0; }
  .convene-row__body { grid-column: 1; }
  .convene-row__link { display: none; }

  .leadership-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: .5rem; }
  .news-item__link { display: none; }
  .footer__row { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .logo-wall { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { width: 100%; }
}

/* -------------------------------------------------- Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .program-card, .convene-row__link, .value-row::before { transition: none; }
}
