/* ---------- Tokens ---------- */
:root {
  --ink: #0f2233;
  --ocean: #26507a;
  --ocean-deep: #1b3d5f;
  --jade: #2f4a3c;
  --moss: #4e6246;
  --seaglass: #dfe7da;
  --cream: #efe8da;
  --sand: #d8cbb3;
  --gold: #f2b51c;
  --text: #1c2b2e;
  --text-soft: #4d5b5a;
  --on-dark: #f3eee4;
  --on-dark-soft: rgba(243, 238, 228, 0.72);

  --font-display: "Italiana", "Cormorant Garamond", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 11vw, 144px);

  /* Paper grain, used over flat colour panels */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Base size grows gently on wide screens: 16px up to ~1440px, reaching 19px around 2300px */
html { scroll-behavior: smooth; font-size: clamp(16px, 0.35vw + 11px, 19px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 300; }

/* ---------- Type ---------- */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
/* Room for descenders and italic overhang inside the reveal mask, cancelled by negative margins */
.display .line { display: block; overflow: hidden; padding: 0.04em 0.12em 0.26em; margin: -0.04em -0.12em -0.18em; }
.display .line > span { display: block; transform: translateY(105%); animation: rise 1.3s cubic-bezier(.2,.7,.2,1) forwards; }
.display em.line > span { animation-delay: 0.15s; }
.hero .eyebrow, .hero__sub, .hero__actions { opacity: 0; animation: fade 1.2s ease forwards; }
.hero .eyebrow { animation-delay: 0.1s; }
.hero__sub { animation-delay: 0.5s; }
.hero__actions { animation-delay: 0.7s; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.display em { font-size: 0.92em; margin-top: 0.06em; }

.heading {
  margin: 0 0 0.6em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
}
.heading em { font-size: 1.04em; }

.caps-display {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--ocean-deep);
}
.caps-display--light { color: var(--on-dark); font-size: clamp(2.4rem, 6vw, 4.8rem); }

.lede { font-size: 1.1rem; max-width: 40ch; margin: 0 0 2rem; }
.body { max-width: 56ch; margin: 0 0 1.1em; color: var(--text-soft); }
.meta, .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
}

/* Underlined uppercase link, from the reference deck's "ENTER" */
.link-line {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 0.9em 0.55em;
  border-bottom: 1px solid currentColor;
  transition: letter-spacing 0.4s ease, opacity 0.3s ease;
}
.link-line:hover { letter-spacing: 0.22em; }
.link-line--dark { padding-left: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px var(--gutter);
  color: var(--on-dark);
  transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(15, 34, 51, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(243, 238, 228, 0.08);
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); }
.nav__links a {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { opacity: 1; }
.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav__toggle span:not(.sr-only) {
  position: absolute;
  left: 9px; right: 9px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s ease, top 0.4s ease;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  height: 2px;
  background: var(--gold);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--on-dark);
  text-align: center;
  background: var(--ocean-deep);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: settle 2.4s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at center, rgba(15, 34, 51, 0.55), rgba(15, 34, 51, 0.12) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 0 var(--gutter); text-shadow: 0 1px 24px rgba(15, 34, 51, 0.45); }
.hero__sub {
  margin: 1.6rem auto 2.4rem;
  max-width: 40ch;
  font-size: 1.02rem;
  color: var(--on-dark-soft);
}
@keyframes settle { to { transform: scale(1); } }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.panel { padding: var(--section) var(--gutter); }
.panel--ink { background: var(--ink) var(--grain); color: var(--on-dark); }
.panel--ink .body, .panel--ink .lede { color: var(--on-dark-soft); }
.panel--seaglass { background: var(--seaglass); }


.frame { margin: 0 0 2.4rem; overflow: hidden; }
.panel--ink .frame { max-width: 520px; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s ease; }
.frame:hover img { transform: scale(1.03); }
.frame--flush { margin-bottom: 1.6rem; }
.frame--flush img { aspect-ratio: 1 / 1; }

/* What we do (in About) */
.panel--seaglass .pillars { margin-top: 1.6rem; }
.caps-display--small { font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: 0.06em; }

/* ---------- Events ---------- */
.events {
  padding: var(--section) var(--gutter);
  background: var(--moss) var(--grain);
  color: var(--on-dark);
}
.events__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  max-width: 1500px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}
.events__head .heading { margin: 0; }
.events__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.event {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 0.5rem;
  padding: clamp(12px, 1.2vw, 16px) clamp(12px, 1.2vw, 16px) clamp(20px, 2vw, 28px);
  background: var(--cream);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease;
}
.event img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 0.9rem; }
.event__meta { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); padding: 0 0.3rem; }
.event__title { font-family: var(--font-serif); font-size: clamp(1.3rem, 1.6vw, 2rem); line-height: 1.2; padding: 0 0.3rem; }
.events__empty { grid-column: 1 / -1; font-family: var(--font-serif); font-size: 1.4rem; }
.event:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 34, 51, 0.25); }
.event:hover .event__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Feature post ---------- */
.feature {
  padding: var(--section) var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}
.feature__diptych { display: grid; grid-template-columns: 1fr 1fr; }
.feature__diptych figure { position: relative; }
.feature__diptych img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__diptych figcaption {
  position: absolute;
  top: 28px;
  left: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink);
}
.feature__tags {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.feature__text {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  column-gap: clamp(24px, 6vw, 96px);
  margin-top: clamp(56px, 8vw, 104px);
}
.feature__text .heading, .feature__text .meta { grid-column: 1; }
.feature__text .body, .feature__text .link-line { grid-column: 2; }
.feature__text .heading { grid-row: 1; }
.feature__text .meta { grid-row: 2; }
.feature__text .body:first-of-type { grid-row: 1 / span 2; align-self: end; }
.feature__text .link-line { justify-self: start; margin-top: 1rem; }

/* ---------- Feature photo ---------- */
.feature__photo { position: relative; overflow: hidden; }
.feature__photo img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transform: scale(1.14);
}
.feature__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  padding: 4rem clamp(18px, 3vw, 32px) clamp(16px, 2.4vw, 26px);
  background: linear-gradient(transparent, rgba(15, 34, 51, 0.78));
  color: var(--on-dark);
}
.feature__photo strong { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.feature__photo span { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--on-dark-soft); }
.feature__photo a { text-underline-offset: 3px; }

/* ---------- Collage ---------- */
/* Four photos across the full width on desktop, 2×2 on smaller screens */
.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1vw, 16px);
  padding: clamp(40px, 5vw, 72px) clamp(10px, 1vw, 16px);
  background: var(--ocean) var(--grain);
  color: var(--on-dark);
}
.collage .eyebrow { grid-column: 1 / -1; margin: 0 0 0.6rem; padding: 0 var(--gutter); }
.collage__item { position: relative; display: block; aspect-ratio: 3 / 4; text-decoration: none; overflow: hidden; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.collage__item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3rem clamp(16px, 2.4vw, 32px) clamp(14px, 2vw, 26px);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.5vw, 1.6rem);
  background: linear-gradient(transparent, rgba(15, 34, 51, 0.72));
}
.collage__item:hover img { transform: scale(1.04); }
.collage__credit {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  padding: 0 var(--gutter);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-soft);
}
.collage__credit a { text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; margin-top: 1.6rem; }
.field { display: grid; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0.55rem 0;
  border-radius: 0;
  resize: vertical;
}
.field input::placeholder { color: inherit; opacity: 0.4; }
/* Keep browser autofill from painting fields light blue */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: currentColor;
  -webkit-box-shadow: 0 0 0 100px var(--ocean) inset;
  caret-color: currentColor;
  transition: background-color 9999s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.button {
  justify-self: start;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.button:hover { background: transparent; color: var(--ink); }
.button--light { justify-self: center; background: var(--on-dark); color: var(--ocean-deep); border-color: var(--on-dark); }
.button--light:hover { background: transparent; color: var(--on-dark); }
.form__note { margin: 0; font-size: 0.85rem; opacity: 0.85; min-height: 1.2em; }
.form__note a { text-underline-offset: 3px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.button:disabled { opacity: 0.6; cursor: wait; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

/* ---------- Join + contact ---------- */
.contact {
  position: relative;
  padding: var(--section) var(--gutter);
  color: var(--on-dark);
  overflow: hidden;
}
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__panel {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(40px, 7vw, 96px) clamp(22px, 6vw, 88px);
  background: var(--ocean) var(--grain);
}
.contact__lede { margin: 1.4rem 0 1.8rem; max-width: 44ch; color: var(--on-dark-soft); font-size: 1.02rem; }
.contact .checks--light li { color: var(--on-dark); }
.contact .checks--light li::before { color: var(--gold); }
.contact__intro .caps-display { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.contact__details {
  display: grid;
  gap: 1.1rem;
  margin: 2.2rem 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(243, 238, 228, 0.22);
}
.contact__details dt { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact__details dd { margin: 0.2rem 0 0; font-size: 1rem; font-weight: 400; }
.contact__details a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact__form { align-self: start; margin-top: 0; }
.contact__form .button { justify-self: stretch; }

.choice { border: 0; margin: 0 0 0.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice legend {
  width: 100%;
  margin-bottom: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(243, 238, 228, 0.4);
  font-size: 0.85rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.choice label:hover span { border-color: var(--on-dark); }
.choice input:checked + span { background: var(--on-dark); color: var(--ocean-deep); border-color: var(--on-dark); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.optin { display: flex; align-items: flex-start; gap: 0.8rem; cursor: pointer; font-size: 0.95rem; line-height: 1.4; }
.optin input {
  appearance: none;
  flex: none;
  width: 1.25rem; height: 1.25rem;
  margin: 0.05rem 0 0;
  border: 1px solid rgba(243, 238, 228, 0.6);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.optin input::after { content: ""; width: 0.35rem; height: 0.65rem; border: solid var(--ocean-deep); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.optin input:checked { background: var(--on-dark); border-color: var(--on-dark); }
.optin input:checked::after { opacity: 1; }
.optin input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.field__opt { font-family: inherit; font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.7; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 36px var(--gutter);
  background: var(--ink);
  color: var(--on-dark-soft);
  font-size: 0.82rem;
}
.footer .nav__mark { color: var(--on-dark); }

/* ---------- Chapter additions ---------- */
.nav__mark em { font-size: 1.05em; }
.hero .eyebrow { color: var(--on-dark); font-weight: 500; margin-bottom: 1.8rem; }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem 2.4rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 2.4rem;
  margin: 0 0 2.4rem;
}
.facts dt, .officers__grid span:last-child, .checks li::before {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.facts dt { color: var(--on-dark-soft); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--font-serif); font-size: 1.45rem; }
.panel--seaglass .link-line { margin-top: 1.4rem; }

.pillars { list-style: none; margin: 0; padding: 0; }
.pillars li { padding: 1.1rem 0; border-top: 1px solid rgba(28, 43, 46, 0.14); }
.pillars li:last-child { padding-bottom: 0; }
.pillars strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
  color: var(--ocean-deep);
}
.pillars span { display: block; margin-top: 0.2rem; font-size: 1rem; color: var(--text-soft); }

.officers {
  padding: var(--section) var(--gutter);
  background: var(--seaglass);
}
.officers__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  max-width: 1200px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.officers__head .heading, .officers__head .body { margin: 0; }
.officers__head .body { max-width: 40ch; }
.officers__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.officers__grid li { display: grid; gap: 0.25rem; align-content: start; }
.officers__grid strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; }
.officers__grid span:last-child { color: var(--moss); line-height: 1.5; }
.avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--on-dark);
  background: var(--ocean) var(--grain);
}
.officers__grid li:nth-child(3n+2) .avatar { background-color: var(--jade); }
.officers__grid li:nth-child(3n) .avatar { background-color: var(--moss); }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.officer__meta { font-size: 0.95rem; color: var(--text-soft); }

.checks { list-style: none; margin: 0 0 0.4rem; padding: 0; }
.checks li { position: relative; padding: 0.45rem 0 0.45rem 1.6rem; font-size: 0.95rem; color: var(--text-soft); }
.checks li::before { content: "—"; position: absolute; left: 0; top: 0.5rem; color: var(--moss); letter-spacing: 0; }



/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink) var(--grain);
  color: var(--on-dark);
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-top: 1px solid rgba(243, 238, 228, 0.08);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  white-space: nowrap;
  padding-right: clamp(28px, 4vw, 56px);
}
.marquee__track span::after { content: "✦"; font-size: 0.45em; vertical-align: middle; margin-left: clamp(28px, 4vw, 56px); color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Officer cards lift on hover */
.avatar { transition: transform 0.6s cubic-bezier(.2,.7,.2,1), letter-spacing 0.6s ease; }
.officers__grid li:hover .avatar { transform: translateY(-6px); letter-spacing: 0.08em; }

/* ---------- Logo ---------- */
.nav__mark img { width: 36px; height: 36px; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.nav__mark:hover img { transform: rotate(-12deg) scale(1.06); }

/* ---------- Alumni network ---------- */
.alumni {
  padding: var(--section) 0;
  background: var(--ink) var(--grain);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
}
.alumni__head {
  display: grid;
  grid-template-columns: auto minmax(0, 520px);
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 88px);
  padding: 0 var(--gutter);
  text-align: left;
}
.alumni__stat {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.9;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  /* The invisible final value holds the width, so the text beside it never shifts while counting */
  display: grid;
}
.alumni__ghost, .alumni__live { grid-area: 1 / 1; }
.alumni__ghost { visibility: hidden; }
.alumni .heading { margin-bottom: 0.4em; }
.alumni .body { color: var(--on-dark-soft); margin: 0; }
.alumni__label { margin: clamp(56px, 8vw, 104px) 0 clamp(20px, 3vw, 32px); color: var(--on-dark-soft); }

.ticker {
  display: grid;
  gap: clamp(8px, 1.4vw, 16px);
  margin-bottom: clamp(48px, 6vw, 72px);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__row {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee 55s linear infinite;
}
.ticker__row--reverse { animation-direction: reverse; animation-duration: 65s; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.ticker__row li {
  margin-right: clamp(12px, 1.6vw, 20px);
  padding: 0.5em 1.1em;
  border: 1px solid rgba(243, 238, 228, 0.16);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  white-space: nowrap;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.ticker__row--reverse li { font-style: italic; color: var(--on-dark-soft); }
.ticker__row li:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

/* Current partners, under the alumni employers */
.partners { margin: 0 auto clamp(40px, 5vw, 64px); padding: 0 var(--gutter); }
.partners__label { margin: 0 0 clamp(16px, 2vw, 24px); color: var(--gold); }
.partners__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 24px);
}
.partners__list li {
  padding: 0.55em 1.6em;
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--on-dark);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.partners__list li:hover { background: var(--gold); color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease var(--d, 0s), transform 1.1s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .display .line > span, .hero .eyebrow, .hero__sub, .hero__actions { transform: none; opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .feature__text, .contact__panel, .events__grid { grid-template-columns: 1fr; }
  .collage { grid-template-columns: 1fr 1fr; }
  .contact__intro { display: contents; }
  .contact__intro > * { order: 0; }
  .contact__form { order: 1; }
  .contact__details { order: 2; margin-top: 0.4rem; }
  .contact__panel { gap: 0; }
  .contact__lede { margin-bottom: 1.2rem; }
  .checks--light { margin-bottom: 2.4rem; }
  .alumni__head { grid-template-columns: 1fr; text-align: center; }
  .feature__text .heading, .feature__text .meta, .feature__text .body, .feature__text .link-line { grid-column: 1; grid-row: auto; }

}
@media (max-width: 600px) {
  .feature__photo img { aspect-ratio: 4 / 3; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    background: var(--ink) var(--grain);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
  }
  .nav__links a { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0; text-transform: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .facts { gap: 1.4rem; }
  .facts dd { font-size: 1.2rem; }
  .officers__grid { grid-template-columns: 1fr 1fr; }
  .feature__tags { flex-direction: column; gap: 0.3rem; }
}

/* Backdrop-filter would trap the fixed mobile menu inside the bar */
.nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
.nav__mark { position: relative; z-index: 2; }
