:root, body[data-theme="aurora"] {
  --bg-light:#eef3f0; --bg-paper:#e2ebe7;
  --ink:#0b1a18; --ink-soft:#243632; --muted:#5e7370; --rule:#c4d4d0;
  --accent:#0f8c75; --accent-2:#7ee0c4;
  --hero-ink:#e7f4ef; --hero-bg:#02080c;
  --blob1:#0f8c75; --blob2:#1e3a8a; --blob3:#7ee0c4; --blob4:#7ee0c4; --blob5:#5fa9ff; --blob6:#a4d4ff;
  --ribbon1:rgba(126,224,196,.4); --ribbon2:rgba(95,169,255,.35);
  --rotor-grad:linear-gradient(90deg,#a4d4ff,#7ee0c4 50%,#bbf7d0);
}
body[data-theme="solar"] {
  --bg-light:#f6f1e8; --bg-paper:#ece4d0;
  --ink:#1a0f08; --ink-soft:#3a2c20; --muted:#8a7c6e; --rule:#dccdb5;
  --accent:#c44b2e; --accent-2:#ff9d6e;
  --hero-ink:#fff2e0; --hero-bg:#1a0808;
  --blob1:#f59334; --blob2:#ff5e62; --blob3:#ffd9a8; --blob4:#d83fc0; --blob5:#ff8c42; --blob6:#ffba49;
  --ribbon1:rgba(255,150,80,.4); --ribbon2:rgba(255,90,60,.35);
  --rotor-grad:linear-gradient(90deg,#ffe9c4,#ff8c42 50%,#ff5e62);
}
body[data-theme="mono"] {
  --bg-light:#f5f1e8; --bg-paper:#ebe5d3;
  --ink:#0d0d0d; --ink-soft:#2c2c2a; --muted:#7c7c78; --rule:#d3cdba;
  --accent:#c44b2e; --accent-2:#c44b2e;
  --hero-ink:#f1ecde; --hero-bg:#040404;
  --blob1:#ffffff; --blob2:#a0a0a0; --blob3:#d8d8d8; --blob4:#888888; --blob5:#ffffff; --blob6:#c44b2e;
  --ribbon1:rgba(255,255,255,.35); --ribbon2:rgba(255,255,255,.18);
  --rotor-grad:linear-gradient(90deg,#ffffff,#c44b2e);
}
body[data-theme="embedding"] {
  --bg-light:#f4f0e6; --bg-paper:#ebe6d5;
  --ink:#0a1226; --ink-soft:#2a3247; --muted:#7c8194; --rule:#d3cdba;
  --accent:#b85d2a; --accent-2:#a4d4ff;
  --hero-ink:#f1ecde; --hero-bg:#06081a;
  --blob1:#6b3ee8; --blob2:#d83fc0; --blob3:#2cc7b8; --blob4:#f59334; --blob5:#5fa9ff; --blob6:#a4d4ff;
  --ribbon1:rgba(164,212,255,.4); --ribbon2:rgba(255,217,168,.3);
  --rotor-grad:linear-gradient(90deg,#ffd9a8,#ff9d6e 50%,#ffc0e3);
}
body[data-theme="plasma"] {
  --bg-light:#f4ecf3; --bg-paper:#ebdfe6;
  --ink:#160818; --ink-soft:#3a1f3a; --muted:#8a6e8a; --rule:#d4bfd0;
  --accent:#c026d3; --accent-2:#ff7ad9;
  --hero-ink:#ffe9f8; --hero-bg:#0d0420;
  --blob1:#6e1ed4; --blob2:#c026d3; --blob3:#ff2eb8; --blob4:#4a1989; --blob5:#ff7ad9; --blob6:#d4b3ff;
  --ribbon1:rgba(192,38,211,.4); --ribbon2:rgba(255,46,184,.35);
  --rotor-grad:linear-gradient(90deg,#ff7ad9,#c026d3 50%,#6e1ed4);
}
body[data-theme="forest"] {
  --bg-light:#eef0e8; --bg-paper:#e1e6d8;
  --ink:#0e1a10; --ink-soft:#2a3a28; --muted:#6e7a64; --rule:#c8d0bc;
  --accent:#2d5a3d; --accent-2:#c9b06e;
  --hero-ink:#e8efde; --hero-bg:#0a1810;
  --blob1:#2d5a3d; --blob2:#5f8a4e; --blob3:#1f3a28; --blob4:#c9b06e; --blob5:#8da876; --blob6:#d4b886;
  --ribbon1:rgba(95,138,78,.4); --ribbon2:rgba(201,176,110,.3);
  --rotor-grad:linear-gradient(90deg,#d4b886,#c9b06e 50%,#8da876);
}
body[data-theme="coral"] {
  --bg-light:#f7eee9; --bg-paper:#eedfd6;
  --ink:#1a0d09; --ink-soft:#3a221a; --muted:#8a6e62; --rule:#dbc4b5;
  --accent:#d4756e; --accent-2:#ffb89c;
  --hero-ink:#ffe9dd; --hero-bg:#1a0d12;
  --blob1:#ff7a6c; --blob2:#d4756e; --blob3:#ffb89c; --blob4:#ff9eb5; --blob5:#ffd4b8; --blob6:#c25c5e;
  --ribbon1:rgba(255,122,108,.4); --ribbon2:rgba(255,158,181,.3);
  --rotor-grad:linear-gradient(90deg,#ffd4b8,#ffb89c 50%,#ff7a6c);
}
body[data-theme="midnight"] {
  --bg-light:#ecedf2; --bg-paper:#d8dbe4;
  --ink:#0a0e1a; --ink-soft:#1f2638; --muted:#5e6878; --rule:#b8bdca;
  --accent:#4a5878; --accent-2:#8090a8;
  --hero-ink:#e8ecf4; --hero-bg:#050814;
  --blob1:#1a2858; --blob2:#4a5878; --blob3:#2a4080; --blob4:#8090a8; --blob5:#c0c8d8; --blob6:#6070a0;
  --ribbon1:rgba(192,200,216,.3); --ribbon2:rgba(74,88,120,.4);
  --rotor-grad:linear-gradient(90deg,#c0c8d8,#8090a8 50%,#4a5878);
}
body[data-theme="atomic"] {
  --bg-light:#f5f5f0; --bg-paper:#ececde;
  --ink:#050505; --ink-soft:#1a1a1a; --muted:#6e6e60; --rule:#d6d6c8;
  --accent:#ff3838; --accent-2:#ffd700;
  --hero-ink:#fff9e6; --hero-bg:#000000;
  --blob1:#ff3838; --blob2:#ffd700; --blob3:#00d4d4; --blob4:#00d4d4; --blob5:#ffd700; --blob6:#ff3838;
  --ribbon1:rgba(255,215,0,.4); --ribbon2:rgba(0,212,212,.35);
  --rotor-grad:linear-gradient(90deg,#ffd700,#ff3838 50%,#00d4d4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg-paper);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .55s ease, color .55s ease;
}
::selection { background: var(--accent); color: #fff; }
.frame { max-width: 1280px; margin: 0 auto; padding: 0 36px; }

/* ───── NAV ───── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  padding: 16px 42px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--bg-light); pointer-events: none;
  transition: color .55s ease, background .35s ease, box-shadow .35s ease;
}
nav .left,
nav .center,
nav .right {
  padding: 8px 18px;
  border-radius: 999px;
  transition: background .35s ease, box-shadow .35s ease;
}
nav.scrolled .left,
nav.scrolled .center,
nav.scrolled .right {
  background: rgba(8, 8, 16, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
body.nav-dark nav.scrolled .left,
body.nav-dark nav.scrolled .center,
body.nav-dark nav.scrolled .right {
  background: color-mix(in srgb, var(--bg-paper) 90%, transparent);
}
nav > * { pointer-events: auto; }
nav .left { display: flex; align-items: center; gap: 14px; justify-self: start; }
nav .center {
  display: flex; align-items: center; gap: 16px; justify-self: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
}
nav .center .sep { opacity: .5; }
nav .center a { color: inherit; text-decoration: none; opacity: .85; transition: opacity .18s ease; }
nav .center a:hover { opacity: 1; }
nav .right {
  justify-self: end;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
}
nav .right a { color: inherit; text-decoration: none; opacity: .85; }
nav .right a:hover { opacity: 1; }
nav .brand {
  text-decoration: none; color: inherit;
  font-family: 'Inter Tight', sans-serif; font-weight: 600; font-size: 18px;
  letter-spacing: .04em; text-transform: uppercase;
}
.theme-switch {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2);
  border: none; padding: 0; cursor: pointer;
  transition: background-color .55s ease, box-shadow .55s ease, transform .18s ease;
}
.theme-switch:hover { transform: scale(1.3); }
.theme-switch:active { transform: scale(.92); }
body.nav-dark nav { color: var(--ink); }

/* ───── HERO ───── */
.hero {
  height: 100vh; min-height: 760px;
  position: relative; overflow: hidden;
  color: var(--bg-light); background: var(--hero-bg);
  transition: background-color .55s ease;
}
#heroCanvas {
  position: absolute;
  top: -15%; left: -15%;
  width: 130%; height: 130%;
  z-index: 0; pointer-events: none;
  mix-blend-mode: screen;
  /* ── BLOB SOFTNESS ─────────────────────────────────────────────────────
     Main atmospheric softness control. Raise → softer/more diffuse.
     Lower → blobs are more distinct. Original CSS used ~60px on each
     individual blob div; here one value controls the whole canvas.
     Safe range: 20px (visible blobs) → 80px (very diffuse wash).     ─────────────────────────────────────────────────────────────────── */
  filter: blur(50px) saturate(1.1);
}

.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/></svg>");
  opacity: .5; mix-blend-mode: overlay;
}
.vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 10%, rgba(0,5,10,.38) 90%),
              linear-gradient(to bottom, rgba(0,5,10,0) 60%, rgba(0,5,10,.5) 100%);
}

.hero-content {
  position: relative; z-index: 4; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(60px, 6vw, 120px); max-width: 1280px; margin: 0 auto;
}
.hero-content .imprint {
  display: inline-flex; gap: 14px; align-items: center; align-self: flex-start;
  margin-bottom: 36px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--hero-ink); opacity: .85;
}
.hero-content .imprint .line { width: 900px; height: 1px; background: currentColor; opacity: .55; }

/* 3-row stacked headline, left-aligned, plain white */
.hero-content h1 {
  font-family: 'Inter Tight', sans-serif; font-weight: 300;
  font-size: clamp(48px, 8vw, 128px); line-height: 1; letter-spacing: -.035em;
  color: var(--bg-light); margin-bottom: 36px;
  text-shadow: 0 2px 24px rgba(0,5,10,.75), 0 4px 80px rgba(0,5,10,.55);
}
.hero-content h1 .row { display: block; }

.hero-content h1 .rotor {
  display: inline-block;
  color: inherit;
  font-weight: inherit;
  font-style: normal;
  transition: filter .5s ease, color .5s ease, opacity .5s ease;
}
.hero-content h1 .rotor.soft {
  filter: blur(8px);
  color: var(--accent-2);
  opacity: .7;
}

.hero-content .lead {
  font-size: 26px; line-height: 1.45;
  color: var(--bg-light); max-width: 900px; opacity: .9; font-weight: 300;
  text-shadow: 0 1px 20px rgba(0,5,10,.8), 0 2px 48px rgba(0,5,10,.6);
}
.hero-content .lead em {
  font-style: italic; color: var(--accent); font-weight: 500;
  transition: color .55s ease;
}

.hero-foot {
  position: absolute; bottom: 36px; left: 36px; right: 36px; z-index: 5;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--bg-light); opacity: .78;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  pointer-events: none;
}
.hero-foot .scroll-group { display: flex; align-items: center; gap: 14px; }
.hero-foot .arrow {
  width: 1px; height: 36px; background: currentColor; opacity: .7;
  animation: sa 2.4s ease-in-out infinite;
}
@keyframes sa {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ───── HERO ADDITIONS ───── */
.hero-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,.22);
  margin: 22px 0;
}
.hero-content .hero-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; line-height: 2;
  color: var(--bg-light); opacity: .65; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  margin-top: 0; margin-bottom: 42px;
  text-shadow: 0 1px 20px rgba(0,5,10,.9), 0 2px 40px rgba(0,5,10,.75);
}
.hero-content .hero-sub em {
  font-style: italic; font-weight: 500;
  background: var(--rotor-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .12em .08em 0; margin: 0 -.12em -.08em 0;
}
.hero-content .hero-cta {
  display: inline-block; align-self: flex-start;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--bg-light); text-decoration: none;
  border: 1px solid rgba(255,255,255,.32); padding: 14px 24px;
  transition: border-color .2s ease, background .2s ease;
}
.hero-content .hero-cta:hover { border-color: var(--accent-2); background: rgba(255,255,255,.06); }

/* ───── SECTION SHARED ───── */
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 48px; transition: color .55s ease;
}

/* ───── WHAT WE DO + CAPABILITIES (combined deck) ───── */
.deck-band {
  background: var(--bg-paper); padding: 110px 0 80px;
  position: relative; z-index: 5;
  transition: background-color .55s ease;
}
.deck-band .lead-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  border-bottom: 1px solid var(--rule); padding-bottom: 60px;
  transition: border-color .55s ease;
}
.deck-band .lead-row .label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
  padding-top: 8px; transition: color .55s ease;
}
.deck-band .lead-row p {
  font-family: 'Inter Tight', sans-serif; font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3;
  letter-spacing: -.012em; color: var(--ink); max-width: 40ch;
}
.deck-band .lead-row p em {
  font-style: italic; color: var(--accent); font-weight: 500;
  transition: color .55s ease;
}
.caps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 0;
  transition: border-color .55s ease;
}
.cap-card {
  padding: 36px 30px 40px;
  border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  transition: border-color .55s ease;
}
.cap-card:first-child { border-left: none; }
.cap-ref {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.cap-num { color: var(--accent); font-weight: 500; transition: color .55s ease; }
.cap-card h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 500;
  font-size: 22px; letter-spacing: -.012em; line-height: 1.25;
  color: var(--ink); margin-bottom: 12px;
}
.cap-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ───── WHERE WE WORK (light) ───── */
.where-band {
  background: var(--bg-paper); padding-top: 80px;
  transition: background-color .55s ease;
}
.where-band .section-eyebrow { color: var(--accent); margin-bottom: 40px; }
.where-map-wrap {
  position: relative; width: 100%; line-height: 0;
  overflow: hidden;
  /* 2.4:1 crops to ~−60°S — fully below Tierra del Fuego (−55°S) and just
     inside the −62° draw clip, removing the blank white gap without cutting coastlines */
  aspect-ratio: 2.4 / 1;
}
#mapCanvas { width: 100%; height: auto; display: block; }
.map-dots {
  /* Must match canvas intrinsic ratio (2:1), not the cropped wrapper,
     so dot percentages align with canvas coordinates */
  position: absolute; top: 0; left: 0;
  width: 100%; aspect-ratio: 2 / 1;
  pointer-events: none;
}
.map-dot {
  position: absolute; border-radius: 50%;
  background: var(--dot-color, var(--accent));
  border: 2px solid var(--bg-paper);
  transform: translate(-50%, -50%);
  transition: transform .18s ease, border-color .55s ease;
  pointer-events: auto; cursor: default;
}
.map-dot:hover { transform: translate(-50%,-50%) scale(1.8); z-index: 5; }
.map-dot::after {
  content: attr(data-label);
  position: absolute; bottom: calc(100% + 7px); left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(0,0,0,.85); color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em;
  padding: 4px 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .15s ease;
}
.map-dot:hover::after { opacity: 1; }
.where-foot { padding-top: 48px; padding-bottom: 80px; }
/* where-band is now light — grid borders use theme rule color */
.where-band .how-grid { border-top-color: var(--rule); }
.where-band .how-item { border-left-color: var(--rule); border-bottom-color: var(--rule); }
.where-band .how-item h3 { color: var(--ink); }
.where-band .how-item p { color: var(--ink-soft); }

/* ───── HOW WE DELIVER / PROGRAMS (dark) ───── */
.programs-band {
  background: var(--ink); padding: 80px 0 80px;
  transition: background-color .55s ease;
}
.programs-band .section-eyebrow { color: var(--accent-2); }
.prog-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 0;
}
.prog-lead {
  font-family: 'Inter Tight', sans-serif; font-weight: 300;
  font-size: clamp(18px, 2vw, 26px); line-height: 1.35;
  letter-spacing: -.012em; color: var(--ink);
  max-width: 48ch; margin-bottom: 48px;
}
.prog-card.prog-hidden { display: none; }
.prog-expand-btn {
  display: block; width: 100%; margin-top: 1px;
  padding: 18px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-top: none;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-2); cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .55s ease;
}
.prog-expand-btn:hover { background: rgba(255,255,255,.08); }
.prog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  transition: background-color .55s ease, border-color .55s ease;
}
.prog-card {
  background: var(--ink); padding: 28px 26px 32px;
  display: flex; flex-direction: column;
  transition: background-color .55s ease;
}
.prog-stat { margin-top: auto; }
.prog-meta {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 10px;
}
.prog-card h4 {
  font-family: 'Inter Tight', sans-serif; font-weight: 500;
  font-size: 17px; line-height: 1.35; color: var(--bg-light);
  margin-bottom: 12px;
}
.prog-stat {
  font-family: 'Inter Tight', sans-serif; font-style: italic;
  font-size: 22px; font-weight: 500; color: var(--accent);
  transition: color .55s ease;
}
.prog-unit {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35);
  font-style: normal; display: block; margin-top: 3px; font-weight: 400;
}

/* ───── WHAT WE DO — third row (scale & spaces) ───── */
.how-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--rule); transition: border-color .55s ease;
}
.how-item {
  padding: 36px 30px 40px;
  border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  transition: border-color .55s ease;
}
.how-item:first-child { border-left: none; }
.how-item h3 {
  font-family: 'Inter Tight', sans-serif; font-weight: 500;
  font-size: 22px; letter-spacing: -.012em; line-height: 1.25;
  color: var(--ink); margin-bottom: 12px;
}
.how-item p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ───── WHO WE ARE + PEOPLE (combined dark section) ───── */
.who-people-band {
  background: var(--ink); color: var(--bg-paper); padding: 110px 0 100px;
  transition: background-color .55s ease, color .55s ease;
}
.who-people-band .section-eyebrow { color: var(--accent-2); }
.wp-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.wp-text { padding-top: 4px; }
.who-body {
  font-family: 'Inter Tight', sans-serif; font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3;
  letter-spacing: -.022em; max-width: 38ch; color: inherit;
}
.who-body em {
  font-style: italic; font-weight: 500;
  background: var(--rotor-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .12em .08em 0; margin: 0 -.12em -.08em 0;
}
.wp-email {
  display: inline-block; margin-top: 36px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--hero-ink); text-decoration: none;
  border: 1px solid rgba(255,255,255,.28); padding: 14px 22px;
  transition: border-color .2s ease, background .2s ease;
}
.wp-email:hover { border-color: var(--accent-2); background: rgba(255,255,255,.06); }
.portraits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}

/* ══ PORTRAITS HIDDEN — remove the two lines below when staff info is ready ══ */
.portraits-grid { display: none !important; }
.wp-inner { grid-template-columns: 1fr !important; }
/* ══════════════════════════════════════════════════════════════════════════════ */
.portrait-img {
  width: 100%; aspect-ratio: 3/4;
  background: rgba(255,255,255,.1);
  margin-bottom: 12px;
  transition: background-color .55s ease;
}
.portrait-name {
  font-family: 'Inter Tight', sans-serif; font-weight: 500;
  font-size: 15px; color: var(--hero-ink); margin-bottom: 4px;
}
.portrait-title {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4);
}

/* ───── FOOTER ───── */
footer {
  background: var(--ink); color: var(--muted);
  padding: 24px 0 24px; border-top: 1px solid rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .55s ease;
  text-align: center;
}
footer .frame { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
footer .dot { color: rgba(255,255,255,.18); margin: 0 8px; }
footer a { color: var(--muted); text-decoration: none; opacity: .85; }
footer a:hover { opacity: 1; }
.sep { opacity: .45; margin: 0 4px; }

/* Pause scroll-arrow CSS animation when tab is hidden */
.tab-hidden .arrow { animation-play-state: paused; }

/* ───── COPY TOAST ───── */
.copy-toast {
  position: fixed; z-index: 200;
  opacity: 0; background: var(--ink); color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 14px; white-space: nowrap; pointer-events: none;
  transition: opacity .2s ease;
}
.copy-toast.visible { opacity: 1; }

/* ───── COOKIE BANNER ───── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; z-index: 100;
  transform: translateX(-50%) translateY(calc(100% + 32px));
  opacity: 0;
  background: var(--ink);
  padding: 10px 12px 10px 18px;
  display: flex; align-items: center; gap: 20px;
  max-width: calc(100vw - 32px);
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .4s ease;
  pointer-events: none;
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.cookie-text { font-size: 12px; color: rgba(255,255,255,.6); margin: 0; white-space: nowrap; }
.cookie-text a { color: var(--accent-2); text-decoration: none; }
.cookie-text a:hover { opacity: .8; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 14px; border: none; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .15em; text-transform: uppercase; white-space: nowrap;
  transition: opacity .18s ease, background .18s ease;
}
.cookie-btn.decline { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); }
.cookie-btn.decline:hover { background: rgba(255,255,255,.18); }
.cookie-btn.accept { background: var(--accent); color: #fff; }
.cookie-btn.accept:hover { opacity: .82; }
@media (max-width: 540px) {
  .cookie-banner { flex-wrap: wrap; }
  .cookie-text { white-space: normal; }
}

/* ───── LEGAL PAGES ───── */
body[data-page="legal"] nav {
  position: static;
  color: var(--ink);
  pointer-events: auto;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
}
body[data-page="legal"] nav .center { display: none; }

/* ───── RESPONSIVE ───── */
@media (max-width: 860px) {
  .frame { padding: 0 22px; }
  nav { padding: 8px 10px; grid-template-columns: auto auto; row-gap: 0; justify-content: space-between; }
  nav .left, nav .center, nav .right { padding: 6px 12px; }
  nav .right { display: none; }
  nav .center { grid-column: auto; order: unset; justify-self: end; }
  .hero-content { padding: 0 22px; }
  .hero-content h1 { font-size: 48px; }
  .hero-foot { left: 22px; right: 22px; }
  .deck-band .lead-row { grid-template-columns: 1fr; gap: 16px; }
  .caps-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .cap-card { border-left: none; }
  .prog-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-item { border-left: none; border-top: 1px solid var(--rule); }
  /* where-band is now light, so rule color is the same as other light sections */
  .wp-inner { grid-template-columns: 1fr; gap: 48px; }
  .portraits-grid { grid-template-columns: repeat(2, 1fr); }

  /* Section vertical rhythm — rein in the desktop values at tablet sizes */
  .section-eyebrow               { margin-bottom: 28px; }
  .where-band .section-eyebrow   { margin-bottom: 28px; }
  .deck-band                     { padding: 72px 0 56px; }
  .deck-band .lead-row           { padding-bottom: 40px; }
  .programs-band                 { padding: 56px 0 64px; }
  .where-band                    { padding-top: 48px; }
  .where-foot                    { padding-top: 36px; padding-bottom: 48px; }
  .who-people-band               { padding: 72px 0 72px; }
  .cap-card                      { padding: 28px 24px 32px; }
  .how-item                      { padding: 28px 24px 32px; }
}

/* mob-br: line breaks shown on all screen sizes */
.hero-content .imprint { display: none; }

/* ───── SMALL MOBILE (phones) ───── */
@media (max-width: 540px) {
  .frame { padding: 0 20px; }

  /* Nav: keep stacked layout from 860px breakpoint, just tighten padding */
  nav { padding: 8px 8px; }
  nav .left, nav .center, nav .right { padding: 6px 10px; }

  /* Hero: svh avoids iOS Safari toolbar eating into the viewport */
  .hero { height: 100svh; min-height: 0; }

  .hero-content {
    padding: 40px 20px 0;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: clamp(52px, 13.5vw, 68px);
    margin-bottom: 20px;
  }
  .hero-content .lead { font-size: 18px; max-width: 100%; }
  .hero-content .hero-sub {
    font-size: 10.5px;
    letter-spacing: .14em;
    margin-bottom: 24px;
  }
  .hero-divider { margin: 16px 0; }
  .hero-foot { left: 20px; right: 20px; bottom: 18px; align-items: center; }

  /* Section vertical rhythm — tighter on phones */
  .deck-band       { padding: 48px 0 40px; }
  .programs-band   { padding: 48px 0 48px; }
  .who-people-band { padding: 56px 0 56px; }
  .where-band      { padding-top: 40px; }

  /* Tighten internal section spacing */
  .section-eyebrow                { margin-bottom: 18px; }
  .where-band .section-eyebrow    { margin-bottom: 18px; }
  .deck-band .lead-row            { padding-bottom: 24px; }
  .caps-grid              { margin-top: 0; }
  .cap-card               { padding: 24px 20px 28px; }
  .where-foot             { padding-top: 28px; padding-bottom: 36px; }
  .how-item               { padding: 24px 20px 28px; }
  .prog-card              { padding: 20px 18px 24px; }


}
