/* ============================================================
   IAF — Industrial AI Federation
   Design system per DESIGN.md. "Forged — daylight."
   Light-dominant, monumental, global. A federation, not a vendor.
   Warm paper base · dark hero & close · molten amber · Fraunces
   display · engineered mono.
   ============================================================ */

/* -------------------------------------------------- Fonts (self-hosted) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('../fonts/fraunces-var-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');
}

:root {
  /* Color — DESIGN.md §2 */
  /* Paper (the base) */
  --paper: #F5F1E9;         /* page ground — warm bone */
  --paper-raise: #FCFAF4;   /* raised cards on paper */
  --paper-deep: #ECE5D6;    /* alternate paper band (mission, convening) */
  --line: #DDD5C3;          /* hairlines on paper */
  --line-strong: #C9BFAA;   /* section rules on paper */
  --ink: #14171E;           /* primary text on paper */
  --ink-soft: #59616F;      /* secondary text on paper */
  --warm-dim: #8F8672;      /* tertiary mono metadata on paper */

  /* Dark (hero, join, footer only) */
  --void: #07090D;
  --carbon: #12161F;
  --field: #0E1219;         /* form inputs on dark */
  --edge: #1F2632;
  --edge-soft: #171D28;
  --white: #F4F6F9;
  --steel: #97A2B3;
  --steel-dim: #5F6B7D;

  /* Amber */
  --amber: #E8A317;
  --amber-bright: #F4B740;  /* accent on dark */
  --amber-deep: #B9820E;
  --amber-paper: #8F650A;   /* kickers / small accents on paper (contrast) */
  --amber-head: #A8770B;    /* italic emphasis in headlines 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%);

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

/* -------------------------------------------------- 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(--paper);
  color: var(--ink);
  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-deep); 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; }
input, select, textarea { font: inherit; }

::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: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.9rem, 6.8vw, 5.2rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.9vw, 3rem); line-height: 1.08; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--amber-head); }
h3, h4 { font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; line-height: 1.25; letter-spacing: -0.012em; margin: 0; color: var(--ink); }
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-paper);
  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(--ink-soft); max-width: 58ch; margin: 1rem 0 0; }
.lede-serif { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 1.4rem; line-height: 1.5; 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.
   The top rule draws in when the header reveals. */
.section-head {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-top: 2.25rem;
  position: relative;
  margin-bottom: 2.75rem;
}
.section-head::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--line-strong);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s cubic-bezier(.22,.61,.36,1) .1s;
}
.section-head.is-visible::before { transform: scaleX(1); }
.section-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--warm-dim);
  margin: .35rem 0 0;
}
.section-index::after { content: " /"; opacity: .5; }
.section-head h2 { max-width: 24ch; }

/* -------------------------------------------------- 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.1rem 2.2rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

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

/* -------------------------------------------------- Masthead (light) */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245,241,233,.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease;
}
.masthead.is-scrolled { border-bottom-color: var(--line-strong); }
.masthead__row { display: flex; align-items: center; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.masthead__brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); 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(--ink); }
.masthead__sub { font-family: 'IBM Plex Mono', monospace; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.masthead__nav { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.masthead__nav > a { color: var(--ink-soft); font-size: .92rem; font-weight: 500; text-decoration: none; transition: color .15s ease; }
.masthead__nav > a:hover { color: var(--ink); text-decoration: none; }
.masthead__nav > a.btn { color: #1A1205; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-left: auto; padding: .4rem 0; }

/* -------------------------------------------------- Hero (dark) */
.hero { position: relative; overflow: hidden; background: var(--void); }
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--amber-bright); }
.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%);
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
.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: 6rem; padding-bottom: 4rem; }
.hero h1 { max-width: 18ch; margin: 0 0 1.75rem; }
.hero .lede { margin-bottom: 2.5rem; }

.hero__meta-band { position: relative; padding-top: 2.75rem; padding-bottom: 2.75rem; }
.hero__meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--edge);
}
.hero__meta li { padding: 1.4rem 1.5rem 0 1.5rem; display: flex; flex-direction: column; border-right: 1px solid var(--edge-soft); }
.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; font-variant-numeric: tabular-nums; }
.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, paper) */
.members { background: var(--paper); padding: 4.75rem 0 5.25rem; }
.logo-wall {
  display: grid; grid-template-columns: repeat(3, 1fr); /* 3×3 for the 9 members */
  border: 1px solid var(--line); border-width: 1px 0 0 1px;
  background: var(--paper-raise);
}
.logo-wall li { border: 1px solid var(--line); border-width: 0 1px 1px 0; }
.logo-wall a { display: flex; align-items: center; justify-content: center; height: 128px; padding: 1.9rem; transition: background .2s ease; }
.logo-wall a:hover { background: #FFFFFF; text-decoration: none; }
.logo-wall img {
  max-height: 40px; max-width: 70%; width: auto;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .25s ease, opacity .25s ease;
}
.logo-wall a:hover img { filter: grayscale(0); opacity: 1; }
.members__note { margin-top: 1.75rem; font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-dim); }
.members__note a { color: var(--amber-paper); }

/* -------------------------------------------------- Mission (deep paper band) */
.mission { background: var(--paper-deep); padding: 4.75rem 0 5.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mission__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: start; }
.mission__body p { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 1.1rem; line-height: 1.72; color: var(--ink); max-width: var(--measure); }
.mission__body p + p { margin-top: 1.2rem; }
.mission__body .lede-serif { font-size: 1.4rem; line-height: 1.5; }
.mission__body em { font-style: italic; }
.mission__quote { position: sticky; top: 7rem; }
.pullquote {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  padding: 1.5rem 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-head); }

/* The physical economy — blueprint plates (photography slots) */
.plate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3.25rem; }
.plate { margin: 0; border: 1px solid var(--line); background: var(--paper-raise); }
.plate img { width: 100%; height: auto; display: block; }
.plate figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink);
  padding: .7rem .9rem .75rem;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .3rem;
  line-height: 1.3;
}
.plate figcaption > span.plate__cap,
.plate__cap {
  font-weight: 400;
  color: var(--warm-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* -------------------------------------------------- Value (ledger, paper) */
.value { background: var(--paper); padding: 4.75rem 0 5.25rem; }
.value-ledger { border-top: 1px solid var(--line-strong); }
.value-row {
  display: grid; grid-template-columns: 9rem 1fr;
  gap: 2rem; align-items: start;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.value-row::before {
  content:""; position:absolute; left:0; top:-1px; height:1px; width: 0;
  background: var(--amber-deep);
  transition: width .45s ease;
}
.value-row:hover::before { width: 100%; }
.value-row__num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 400;
  color: var(--line-strong); line-height: 1;
  padding-top: .2rem;
}
.value-row__body { max-width: 68ch; }
.value-row__body h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.value-row__body p { font-size: 1rem; color: var(--ink-soft); line-height: 1.6; }
.value-row__status {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-paper);
  border: 1px solid rgba(185,130,14,.4); border-radius: 2px;
  padding: .4rem .7rem; margin-top: 1rem;
}
.value__cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.value__cta-note { font-size: .88rem; color: var(--ink-soft); }

/* -------------------------------------------------- Programs (paper cards) */
.programs { background: var(--paper); padding: 1rem 0 5.25rem; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.program-card {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2rem 1.9rem 1.8rem;
  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: var(--line-strong); box-shadow: 0 18px 40px rgba(20,23,30,.12); }
.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-paper); margin: 0 0 1.4rem; }
.program-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: 2.2rem; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 1rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.program-card__expand { font-family: 'IBM Plex Mono', monospace; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-dim); }
.program-card p { color: var(--ink-soft); 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(--warm-dim); margin-top: auto; padding-top: 1.4rem; }
.program-card__link { color: var(--amber-deep); 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 (deep paper) */
.convening { background: var(--paper-deep); padding: 4.75rem 0 5.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.convene-list { border-top: 1px solid var(--line-strong); }
.convene-row {
  display: grid;
  grid-template-columns: 7rem 1.1fr 1.4fr 3rem;
  gap: 2.5rem; align-items: center;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
}
.convene-row__year { font-family: 'IBM Plex Mono', monospace; font-size: .85rem; letter-spacing: .18em; color: var(--warm-dim); margin: 0; }
.convene-row__place h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1;
  color: var(--ink); letter-spacing: -0.01em;
}
.convene-row__coords { font-family: 'IBM Plex Mono', monospace; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--warm-dim); margin: .75rem 0 0; }
.convene-row__event { font-family: 'IBM Plex Mono', monospace; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-paper); margin: 0 0 .55rem; }
.convene-row__body > p:last-child { color: var(--ink-soft); font-size: .96rem; max-width: 46ch; margin: 0; }
.convene-row__link {
  font-size: 1.5rem; color: var(--ink-soft); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border: 1px solid var(--line-strong); border-radius: 50%;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
  justify-self: end;
}
.convene-row__link:hover { color: var(--amber-deep); border-color: var(--amber-deep); transform: translateX(3px); text-decoration: none; }
.convene-row--next .convene-row__year { color: var(--amber-paper); }
.convene-row--next .convene-row__year::after { content: " · NEXT"; letter-spacing: .18em; }

/* -------------------------------------------------- Film (paper, dark plates) */
.film-band { background: var(--paper); padding: 4.75rem 0 1rem; }
.film-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.film { margin: 0; border: 1px solid var(--line); background: var(--paper-raise); }
.film__frame {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  background: #0C1017;
  overflow: hidden;
}
.film__frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  opacity: .8;
  transition: filter .25s ease, opacity .25s ease, transform .3s ease;
}
.film__frame:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.015); }
.film__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--molten-gradient);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.film__play::after {
  content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #1A1205;
}
.film__frame:hover .film__play { transform: translate(-50%, -50%) scale(1.08); }
.film__embed { position: relative; aspect-ratio: 16 / 9; background: #0C1017; }
.film__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: .75rem .9rem;
  border-top: 1px solid var(--line);
  display: flex; align-items: center;
}

/* -------------------------------------------------- News (paper) */
.news { background: var(--paper); padding: 4.75rem 0 5.25rem; }
.news-list { border-top: 1px solid var(--line-strong); }
.news-item { display: grid; grid-template-columns: 9rem 1fr auto; gap: 2rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.news-item__date { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; letter-spacing: .16em; color: var(--amber-paper); }
.news-item__body h4 { font-size: 1.1rem; margin-bottom: .35rem; font-weight: 600; color: var(--ink); }
.news-item__body h4 a { color: var(--ink); }
.news-item__body h4 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 h4 { color: var(--ink-soft); font-weight: 500; }

/* -------------------------------------------------- Join (dark) */
.join { background: var(--void); padding: 6rem 0; position: relative; overflow: hidden; }
.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%);
  animation: breathe 9s ease-in-out infinite;
}
.join__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: start; }
.join h2 { color: var(--white); max-width: 16ch; }
.join h2 em { color: var(--amber-bright); }
.join__mark { width: 56px; height: 42px; color: var(--amber-bright); margin-bottom: 1.75rem; }
.join__lede { font-size: 1.08rem; color: var(--steel); max-width: 52ch; margin: 1.25rem 0 1.75rem; }
.join__contact { color: var(--steel); font-size: .95rem; margin: 0 0 1rem; }
.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; }

.inquiry {
  background: var(--carbon);
  border: 1px solid var(--edge);
  border-radius: 3px;
  padding: 2rem 1.9rem;
  display: flex; flex-direction: column; gap: 1.15rem;
}
.inquiry__field { display: flex; flex-direction: column; gap: .45rem; }
.inquiry__field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel);
}
.inquiry__optional { color: var(--steel-dim); letter-spacing: .1em; }
.inquiry__field input,
.inquiry__field select,
.inquiry__field textarea {
  background: var(--field);
  border: 1px solid var(--edge);
  border-radius: 2px;
  color: var(--white);
  padding: .7rem .85rem;
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.inquiry__field textarea { resize: vertical; min-height: 5.5rem; }
.inquiry__field input:focus,
.inquiry__field select:focus,
.inquiry__field textarea:focus {
  outline: none;
  border-color: var(--amber-bright);
  box-shadow: 0 0 0 3px rgba(244,183,64,.18);
}
.inquiry__submit { margin-top: .35rem; }
.inquiry__submit:disabled { cursor: wait; opacity: .7; }
.inquiry__note { font-family: 'IBM Plex Mono', monospace; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-dim); line-height: 1.7; margin: 0; }
.inquiry__note[data-state="success"] { color: var(--amber-bright); }
.inquiry__note[data-state="error"] { color: #FFB3A8; }

/* -------------------------------------------------- Footer (dark) */
.footer { background: var(--void); color: var(--steel); border-top: 1px solid var(--edge); padding: 3.5rem 0 1.75rem; }
.footer__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.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: .6rem; }
.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.4rem;
  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; }
  .plate-grid { grid-template-columns: repeat(2, 1fr); }
  .join__grid { grid-template-columns: 1fr; gap: 2.75rem; }
}

@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(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 .5rem; border-bottom: 1px solid var(--line-strong); }
  .masthead__nav.is-open { display: flex; }
  .masthead__nav > a { padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
  .masthead__nav > .btn { margin: 1rem 1.4rem 0; }
  .nav-toggle { display: block; }

  .hero__inner { padding-top: 4rem; padding-bottom: 2.75rem; }
  .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.25rem; }
  .section-index { margin-top: 0; }

  .members, .mission, .value, .convening, .news { padding: 3.75rem 0; }
  .film-band { padding: 3.75rem 0 .5rem; }
  .film-grid { grid-template-columns: 1fr; gap: 1rem; }
  .programs { padding: .5rem 0 3.75rem; }
  .join { padding: 4.5rem 0; }

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

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

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

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

  .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%; }
  .plate-grid { grid-template-columns: 1fr; }
}

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