/* ============================================================================
   APEC — HOME · STYLESHEET
   ============================================================================
   The observatory: the APEC emblem at the centre of the hero like a sun,
   photographs of the confederation orbiting it like satellites on dashed
   celestial rings. Ink / warm cream / brass — the shared language of the
   APEC pages. Everything on the page renders from data/home-data.js.

   Fraunces (display serif, italic gold accents) · Instrument Sans (text)
   IBM Plex Mono (labels). No build step, no dependencies.
   ========================================================================== */

:root {
  --ink:        #0a0b0d;
  --ink-2:      #101217;
  --ink-3:      #161922;
  --line:       rgba(237, 231, 216, 0.14);
  --line-soft:  rgba(237, 231, 216, 0.07);
  --cream:      #ede7d8;
  --cream-dim:  #b6afa0;
  --muted:      #837e70;
  --gold:       #c9a45c;
  --gold-hi:    #e6c581;
  --gold-dim:   rgba(201, 164, 92, 0.35);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text:    "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", Consolas, "Courier New", monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --measure: 36em;
  --head-h: 4.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 125%; /* +25%: 16→20px base type scale, for PC legibility */ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-text);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--ink); }

a { color: var(--gold-hi); text-decoration-color: var(--gold-dim); text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: -4rem; left: 1rem; z-index: 300;
  background: var(--gold); color: var(--ink);
  padding: 0.6rem 1rem; font-family: var(--font-mono); font-size: 0.8rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---- Boot veil ------------------------------------------------------------ */
.veil {
  position: fixed; inset: 0; z-index: 260; background: var(--ink);
  pointer-events: none; opacity: 1; transition: opacity 0.9s var(--ease-out);
}
body.booted .veil { opacity: 0; }
html.static .veil { display: none; }

/* ---- Film grain ----------------------------------------------------------- */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* ---- Custom cursor --------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 240;
  pointer-events: none; border-radius: 50%; opacity: 0;
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-hi); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(201, 164, 92, 0.65);
  display: grid; place-items: center;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              margin 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.cursor-ring span {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.2s;
  user-select: none;
}
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button, body.cursor-on [role="button"] { cursor: none; }
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
.cursor-ring.is-link {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  background: var(--gold-hi); border-color: var(--gold-hi);
}
.cursor-ring.is-link span { opacity: 1; }
.cursor-ring.is-down { width: 52px; height: 52px; margin: -26px 0 0 -26px; }

/* ---- Fixed chrome ----------------------------------------------------------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0 var(--pad);
  transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(10, 11, 13, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand__mark { width: 40px; height: auto; opacity: 0.94; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: 0.18em; color: var(--cream);
}
.brand__text small {
  font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-dim);
}

/* The header nav (.site-nav) — its tabs, and the hamburger it folds into on
   narrow screens — now lives in the shared ../css/site-nav.css, loaded after
   this file so every page shares one nav. */

/* ---- Scroll progress hairline ----------------------------------------------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 210; }
.progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ============================================================================
   THE HERO — the observatory
   ----------------------------------------------------------------------------
   The 3D orbit is the main component: the emblem hangs centre-stage in a
   starfield while photo satellites circle it in depth — in front (large,
   bright) and behind (small, dim) — joined by a faint constellation web.
   js/home.js computes every satellite's position each frame; this file
   only paints them.
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  /* the scroll runway — the pin holds one screen while you fly the rest */
  height: calc(100svh * var(--zoomLen, 2.8));
}
.hero__pin {
  position: sticky; top: 0; height: 100svh;
  overflow: clip; isolation: isolate;
}
.hero__scene {
  position: absolute; inset: 0; z-index: 1;
  transform-origin: 50% 51%;   /* the emblem's centre — the zoom target */
  will-change: transform, opacity;
}
/* A faint nebula, and the stars */
.hero__pin::before {
  content: ""; position: absolute; inset: -20% -30%; z-index: -1;
  background:
    radial-gradient(44% 42% at 60% 48%, rgba(201, 164, 92, 0.08), transparent 70%),
    radial-gradient(30% 34% at 16% 78%, rgba(237, 231, 216, 0.035), transparent 70%);
}
.hero__stars, .hero__stars::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: no-repeat;
}
.hero__stars {
  background-image:
    radial-gradient(1.6px 1.6px at 8% 22%,  rgba(237,231,216,0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 15% 64%, rgba(237,231,216,0.4), transparent 60%),
    radial-gradient(1.4px 1.4px at 22% 12%, rgba(237,231,216,0.55), transparent 60%),
    radial-gradient(1.1px 1.1px at 27% 84%, rgba(237,231,216,0.35), transparent 60%),
    radial-gradient(1.7px 1.7px at 34% 40%, rgba(237,231,216,0.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 41% 74%, rgba(237,231,216,0.35), transparent 60%),
    radial-gradient(1.3px 1.3px at 48% 9%,  rgba(237,231,216,0.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 55% 88%, rgba(237,231,216,0.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 62% 18%, rgba(237,231,216,0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 69% 66%, rgba(237,231,216,0.35), transparent 60%),
    radial-gradient(1.6px 1.6px at 76% 34%, rgba(237,231,216,0.6), transparent 60%),
    radial-gradient(1.1px 1.1px at 83% 79%, rgba(237,231,216,0.35), transparent 60%),
    radial-gradient(1.4px 1.4px at 89% 14%, rgba(237,231,216,0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 95% 52%, rgba(237,231,216,0.4), transparent 60%);
}
.hero__stars::after {
  background-image:
    radial-gradient(2.2px 2.2px at 12% 44%, rgba(230,197,129,0.5), transparent 60%),
    radial-gradient(1.9px 1.9px at 30% 26%, rgba(237,231,216,0.45), transparent 60%),
    radial-gradient(2.4px 2.4px at 58% 76%, rgba(230,197,129,0.4), transparent 60%),
    radial-gradient(2.0px 2.0px at 72% 8%,  rgba(237,231,216,0.5), transparent 60%),
    radial-gradient(2.3px 2.3px at 91% 68%, rgba(230,197,129,0.45), transparent 60%),
    radial-gradient(1.8px 1.8px at 44% 92%, rgba(237,231,216,0.4), transparent 60%);
}

/* ---- The reveal: the headline on the far side of the emblem ---------------- */
.hero__reveal {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  padding: calc(var(--head-h) + 1rem) var(--pad) 3rem;
  opacity: 0; pointer-events: none;   /* js/home.js raises it as you fly */
}
.hero__copy { max-width: 34rem; }
.hero__more {
  margin-top: 2.4rem;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-hi);
}
.hero__more i { font-style: normal; display: inline-block; animation: more-bob 2.2s ease-in-out infinite; }
@keyframes more-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.hero__kicker {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cream-dim);
  display: flex; align-items: center; gap: 1rem;
}
.hero__kicker::before { content: ""; width: 2.4rem; height: 1px; background: var(--gold); flex: none; }

.hero__title {
  margin-top: 1.2rem;
  font-family: var(--font-display); font-weight: 340;
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  line-height: 1.06; letter-spacing: -0.01em; color: var(--cream);
}
.hero__title em { font-style: italic; color: var(--gold-hi); }

.hero__sub {
  margin-top: 1.3rem; max-width: 27em;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem); color: var(--cream-dim);
}

.hero__facts {
  margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: 0.9rem 2.2rem;
  list-style: none;
}
.hero__facts b {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.54rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.3rem;
}
.hero__facts span {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--cream);
}

.hero__cue {
  position: absolute; bottom: 1.9rem; left: var(--pad); z-index: 6;
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.hero__cue em {
  width: 3.4rem; height: 1px; background: var(--line); position: relative; overflow: hidden;
}
.hero__cue em::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-hi);
  transform: translateX(-100%); animation: cue-run 2.6s var(--ease-out) infinite;
}
@keyframes cue-run {
  0% { transform: translateX(-100%); } 55% { transform: translateX(0); }
  100% { transform: translateX(102%); }
}

/* ---- The orbit stage — the main component ---------------------------------- */
.hero__stage {
  --stageW: min(84vmin, 46rem);
  position: absolute; left: 50%; top: 51%; z-index: 1;
  width: var(--stageW); height: var(--stageW);
  margin: calc(var(--stageW) / -2) 0 0 calc(var(--stageW) / -2);
}

.orbits { position: absolute; inset: 0; }

/* The dashed orbit paths — flattened + turned ellipses (set inline by JS:
   --S ring size · --flat squash · --turn rotation) */
.ring-path {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: calc(100% * var(--S)); height: calc(100% * var(--S));
  margin: calc(100% * var(--S) / -2) 0 0 calc(100% * var(--S) / -2);
  transform: rotate(var(--turn)) scaleY(var(--flat));
  border: 1px dashed rgba(201, 164, 92, 0.24); border-radius: 50%;
}

/* The constellation web — lines behind the emblem, and lines in front */
.orbit-web { position: absolute; pointer-events: none; }
.orbit-web--back  { z-index: 2; }
.orbit-web--front { z-index: 4; }

/* A satellite. js/home.js drives transform / z-index / opacity each frame. */
.sat {
  position: absolute; left: 50%; top: 50%;
  width: var(--sz); height: var(--sz);
  will-change: transform;
}
.sat--img { pointer-events: auto; border-radius: 50%; }
.sat--img img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 4px rgba(10, 11, 13, 0.6), 0 10px 28px -8px rgba(0, 0, 0, 0.75);
  filter: sepia(0.22) saturate(0.85) brightness(0.94) contrast(1.02);
  transition: filter 0.35s, transform 0.35s var(--ease-out), border-color 0.35s;
}
.sat--img:hover img {
  filter: none; transform: scale(1.14); border-color: var(--gold-hi);
}
.sat--dot {
  border-radius: 50%; background: var(--gold-hi);
  box-shadow: 0 0 12px 2px rgba(230, 197, 129, 0.4);
}

/* The emblem at the centre, breathing inside its halo */
.core {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 34%;
  transform: translate(-50%, -50%);
}
.core::before {
  content: ""; position: absolute; inset: -34%; border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(201, 164, 92, 0.18), rgba(201, 164, 92, 0.05) 56%, transparent 74%);
  animation: breathe 8.5s ease-in-out infinite alternate;
}
.core img { position: relative; width: 100%; filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.55)); }
@keyframes breathe {
  from { transform: scale(0.95); opacity: 0.8; }
  to   { transform: scale(1.07); opacity: 1; }
}

.orbit-cap {
  position: absolute; bottom: 1.9rem; left: 0; right: 0; z-index: 6;
  text-align: center;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}

@media (max-width: 1000px) {
  .hero__stage { --stageW: min(92vw, 24rem); }
  .hero__cue { bottom: 1.4rem; }
}
@media (max-width: 700px) {
  .orbit-cap { display: none; }   /* it collides with the cue on phones */
}

/* Reduced motion / ?static=1 — no pin, no fly-through: the sky sits still
   and the headline follows as an ordinary block underneath it. */
html.no-zoom .hero { height: auto; }
html.no-zoom .hero__pin { position: relative; height: auto; }
html.no-zoom .hero__scene { position: relative; height: 92svh; }
html.no-zoom .hero__reveal {
  position: relative; opacity: 1 !important; transform: none !important;
  pointer-events: auto;
  padding-top: 1.5rem; padding-bottom: 4.5rem;
}
html.no-zoom .hero__cue, html.no-zoom .hero__more { display: none; }

/* ============================================================================
   THE SECTIONS — shared editorial rhythm
   ========================================================================== */
.sec { padding: clamp(4.5rem, 11vh, 7.5rem) var(--pad); border-top: 1px solid var(--line-soft); }
.sec__inner { max-width: 72rem; margin-inline: auto; }

.sec__head {
  display: flex; align-items: baseline; gap: 1.1rem;
  margin-bottom: clamp(2.2rem, 5vh, 3.2rem);
}
.sec__no { font-family: var(--font-mono); font-size: 0.66rem; color: var(--gold); letter-spacing: 0.1em; }
.sec__kick {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cream-dim); white-space: nowrap;
}
.sec__head::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); align-self: center; }

.sec__title {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(1.95rem, 3.6vw, 3.05rem); line-height: 1.08;
  letter-spacing: -0.01em; color: var(--cream); max-width: 16em;
  margin-bottom: clamp(1.8rem, 4vh, 2.8rem);
}
.sec__title em { font-style: italic; color: var(--gold-hi); }

/* ---- Numbered row (objectives, reasons) ------------------------------------- */
.numrow { list-style: none; }
.numrow li {
  display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); gap: 1rem;
  padding: 1.05rem 0; border-top: 1px solid var(--line-soft);
}
.numrow i {
  font-style: normal; font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--gold); padding-top: 0.28em;
}

/* ============================================================================
   ③  WELCOME — the President's letter
   ========================================================================== */
.letter {
  display: grid; grid-template-columns: minmax(190px, 290px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}

.plate { position: sticky; top: calc(var(--head-h) + 2rem); }
.plate figure { position: relative; }
.plate figure::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--gold-dim); translate: 14px 14px;
}
.plate img { position: relative; border: 1px solid var(--line); filter: saturate(0.92); }
.plate figcaption { padding-top: 1rem; }
.plate figcaption strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 1.1rem; color: var(--cream);
}
.plate figcaption span {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-dim);
}

.letter__body { max-width: var(--measure); }
.letter__salutation {
  font-family: var(--font-display); font-style: italic; font-weight: 380;
  font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--gold-hi);
  margin-bottom: 1.4rem;
}
.letter__body > p { color: var(--cream-dim); margin-bottom: 1.15rem; }

.prio { list-style: none; margin: 1.9rem 0 0.6rem; }
.prio li {
  display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); gap: 1rem;
  padding: 1.3rem 0; border-top: 1px solid var(--line-soft);
}
.prio i {
  font-style: normal; font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--gold); padding-top: 0.2em;
}
.prio h3 { font-size: 1.05rem; font-weight: 600; color: var(--cream); margin-bottom: 0.45rem; }
.prio p { font-size: 0.95rem; color: var(--cream-dim); }

.sig { margin-top: 2.5rem; padding-left: 1.4rem; border-left: 2px solid var(--gold-dim); }
.sig__val { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--cream); }
.sig__name {
  font-family: var(--font-display); font-weight: 550; font-size: 1.4rem;
  color: var(--cream); margin-top: 0.45rem;
}
.sig__role {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-dim); margin-top: 0.3rem;
}

@media (max-width: 760px) {
  .letter { grid-template-columns: minmax(0, 1fr); }
  .plate { position: static; max-width: 240px; }
}

/* ============================================================================
   ④  ABOUT
   ========================================================================== */
.about-lead {
  font-family: var(--font-display); font-style: italic; font-weight: 340;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.35;
  color: var(--cream); max-width: 28em; margin-bottom: 1.5rem;
}
.about-body p { color: var(--cream-dim); max-width: var(--measure); margin-bottom: 1.15rem; }

.objectives {
  margin: 2.7rem 0; padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line); background: var(--ink-2);
}
.objectives__intro {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream-dim); margin-bottom: 0.9rem;
}
.objectives .numrow li { font-size: 1.02rem; color: var(--cream); }

/* ============================================================================
   ⑤  MEMBERSHIP
   ========================================================================== */
.mem-intro { color: var(--cream-dim); max-width: 40em; }

.reasons {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 clamp(1.5rem, 4vw, 3.5rem); margin: 2.3rem 0;
}
.reasons li { font-size: 0.98rem; color: var(--cream); }

.mem-today {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.12rem; color: var(--cream-dim); max-width: 36em;
}

.join {
  margin-top: 3rem; padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--gold-dim);
  background: linear-gradient(120deg, rgba(201, 164, 92, 0.1), rgba(201, 164, 92, 0.02) 55%, transparent);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.6rem 3rem;
}
.join__text h3 { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--cream); }
.join__text p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--cream-dim); max-width: 28em; }
.join__acts { display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem; }
.join__acts .btn { justify-content: center; }
.join__note {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

/* ---- Buttons (the landing page's doorway buttons) ---------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  padding: 1.05rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease-out),
    background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 10px 40px -12px rgba(201, 164, 92, 0.55);
}
.btn--gold:hover { background: var(--gold-hi); color: var(--ink); box-shadow: 0 14px 46px -12px rgba(230, 197, 129, 0.6); }
.btn--ghost {
  background: rgba(10, 11, 13, 0.3); color: var(--cream);
  border-color: rgba(237, 231, 216, 0.38);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn__arrow { font-style: normal; transition: translate 0.25s var(--ease-out); }
.btn:hover .btn__arrow { translate: 0.18rem -0.1rem; }
.btn--gold:hover .btn__arrow { translate: 0 0.16rem; }

/* ============================================================================
   ⑥  CONTACT
   ========================================================================== */
.people {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1.4rem;
}
.person {
  display: flex; flex-direction: column; gap: 0.55rem;
  border: 1px solid var(--line); background: var(--ink-2);
  padding: clamp(1.5rem, 3vw, 1.9rem);
}
.person__role {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
}
.person__name { font-family: var(--font-display); font-weight: 480; font-size: 1.45rem; color: var(--cream); }
.person__creds { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.06em; color: var(--muted); }
.person__post { font-size: 0.88rem; color: var(--cream-dim); }
.person__addr { font-size: 0.8rem; color: var(--muted); }
.person__links {
  margin-top: auto; padding-top: 1.1rem;
  display: flex; flex-direction: column; gap: 0.45rem; align-items: flex-start;
}
.person__links a {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold-hi);
  text-decoration: none; border-bottom: 1px solid var(--gold-dim); padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
  overflow-wrap: anywhere;
}
.person__links a:hover { color: var(--cream); border-color: var(--cream); }

/* ============================================================================
   ⑦  PARTNERS
   ========================================================================== */
.partners-note {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.05rem; color: var(--cream-dim);
  margin: -1rem 0 2.4rem; max-width: 40em;
}
.partners {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.4rem;
}
.partner {
  position: relative; display: flex; flex-direction: column; gap: 0.5rem;
  min-height: 11.5rem; padding: 1.9rem 1.8rem 1.6rem;
  border: 1px solid var(--line); background: var(--ink-2); text-decoration: none;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), background-color 0.3s;
}
.partner:hover { border-color: var(--gold-dim); background: var(--ink-3); transform: translateY(-4px); }
.partner__abbr {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(2.1rem, 3vw, 2.8rem); letter-spacing: 0.04em; color: var(--cream);
  transition: color 0.3s;
}
.partner:hover .partner__abbr { color: var(--gold-hi); }
/* the logo, mounted on a cream plate */
.partner__plate {
  display: grid; place-items: center;
  background: var(--cream); min-height: 6.4rem;
  padding: 1.15rem 1.4rem; margin-bottom: 0.4rem;
}
.partner__plate img {
  max-height: 3.5rem; width: auto; max-width: 100%;
  transition: transform 0.3s var(--ease-out);
}
.partner:hover .partner__plate img { transform: scale(1.04); }
.partner__name { font-size: 0.95rem; color: var(--cream-dim); max-width: 20em; }
.partner__note {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.partner__ext {
  position: absolute; top: 1.2rem; right: 1.3rem;
  font-style: normal; color: var(--gold); font-size: 0.95rem;
  transition: translate 0.3s var(--ease-out), color 0.3s;
}
.partner:hover .partner__ext { translate: 3px -3px; color: var(--gold-hi); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-foot {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  text-align: center; padding: clamp(3.5rem, 8vh, 5.5rem) var(--pad) 3rem;
  border-top: 1px solid var(--line);
}
.site-foot img { opacity: 0.9; }
.site-foot__org { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--cream); }
.site-foot__note { font-size: 0.85rem; color: var(--cream-dim); max-width: 44rem; }
.site-foot__link a {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-hi); text-decoration: none;
  border-bottom: 1px solid var(--gold-dim); padding-bottom: 2px;
}
.site-foot__link a:hover { color: var(--cream); border-color: var(--cream); }
.site-foot__social { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
.site-foot__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  color: var(--gold-hi); border: 1px solid var(--gold-dim);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.site-foot__social a:hover { color: var(--cream); border-color: var(--cream); transform: translateY(-2px); }
.site-foot__social svg { display: block; width: 1.1rem; height: 1.1rem; }

/* ---- Noscript --------------------------------------------------------------- */
.noscript-note { padding: 40vh var(--pad) 2rem; text-align: center; color: var(--cream-dim); }
.noscript-note a { color: var(--gold-hi); }

/* ============================================================================
   REVEALS & MOTION DISCIPLINE
   ========================================================================== */
.rv {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.rv.vis { opacity: 1; transform: none; }

/* ---- The word-by-word lighting (.wr paragraphs) -----------------------------
   Words start dim; the scroll engine (js/home.js · wordLighting) marks each
   one .lit as it climbs past the lower part of the screen, and unmarks it
   scrolling back — so the letter brightens little by little, in step with
   the reader. Reduced motion and ?static=1 read at full strength. */
.wr .w { opacity: 0.13; transition: opacity 0.45s var(--ease-out); }
.wr .w.lit { opacity: 1; }

/* ?static=1 · reduced motion · print — everything still, everything visible */
html.static *, html.static *::before, html.static *::after {
  animation: none !important; transition: none !important;
}
html.static .rv { opacity: 1; transform: none; }
html.static .wr .w { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .core::before, .grain, .hero__cue em::after { animation: none !important; }
  .rv { opacity: 1; transform: none; }
  .wr .w { opacity: 1 !important; }
}
