/* ==========================================================================
   Skyline Scholars, MRED+U Endowed Scholarship Fund
   Static site styles. Mobile first. Breakpoints: 560px, 768px, 1100px, 1280px.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --green: #005030;
  --orange: #F47321;
  --black: #050505;
  --gold: #D6B25E;          /* gold on black */
  --gold-dark: #A8842A;     /* gold on white, headlines */
  --gold-deep: #8A6A1E;     /* gold on white, small labels and names */
  --white: #FFFFFF;
  --cream: #F5F1E8;

  /* Text on white */
  --ink: #111111;
  --text: #1A1A1A;
  --grey-700: #3A3A3A;
  --grey-600: #5C5C5C;
  --rule-light: #D9D4CB;

  /* Text on black */
  --on-black: #DADADA;
  --on-black-2: #BDBDBD;
  --on-black-3: #8A8A8A;
  --rule-dark: #2E2E2E;
  --gold-rule: rgba(214, 178, 94, 0.55);

  /* Text on green */
  --on-green: #DCE7E0;
  --on-green-2: #E3ECE6;
  --on-green-mute: #A9C2B4;
  --green-rule: rgba(255, 255, 255, 0.3);

  /* Cover */
  --on-cover: #D9E1EA;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Hind', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --gutter: 24px;
  --pad-y: 64px;
  --header-h: 60px;
  --measure: 620px;
}

@media (min-width: 768px) {
  :root { --gutter: 48px; --pad-y: 88px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 64px; --header-h: 68px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 72px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Line breaks used only where the book's layout needs them on wide screens */
.br-lg { display: none; }
@media (min-width: 1100px) { .br-lg { display: inline; } }

/* ---------- 3. Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}
.display--caps { text-transform: uppercase; letter-spacing: 0.01em; }
.display--md { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.display--sm { font-size: clamp(30px, 2.9vw, 38px); line-height: 1.06; }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.serif-italic {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  line-height: 1.22;
}

.statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 25px);
  line-height: 1.22;
}

.body { display: flex; flex-direction: column; gap: 12px; }
.body p { font-size: 15px; line-height: 1.65; font-weight: 300; }
@media (min-width: 768px) { .body p { font-size: 16px; } }

.gold { color: var(--gold); }
.gold-dark { color: var(--gold-dark); }
.gold-deep { color: var(--gold-deep); }
.orange { color: var(--orange); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  transition: background-color 0.2s ease;
}
.btn:hover { background: #E2661A; }
.btn--sm { padding: 10px 14px; font-size: 10.5px; letter-spacing: 0.16em; }
@media (min-width: 560px) { .btn--sm { padding: 11px 18px; font-size: 11px; letter-spacing: 0.2em; } }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid rgba(214, 178, 94, 0.18);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
}
@media (min-width: 768px) { .site-header__inner { padding: 0 var(--gutter); } }
.site-header__logo { display: block; flex: 0 1 auto; min-width: 0; }
.site-header__logo img { height: 22px; width: auto; }
@media (min-width: 560px) { .site-header__logo img { height: 28px; } }
@media (min-width: 1100px) { .site-header__logo img { height: 32px; } }
.site-header .btn { flex: none; max-width: 170px; text-align: center; }
@media (min-width: 560px) { .site-header .btn { max-width: none; white-space: nowrap; } }

/* ---------- 6. Spread system (book spreads become stacked pages on mobile) ---------- */
.spread { display: grid; grid-template-columns: minmax(0, 1fr); }

.page {
  position: relative;
  padding: var(--pad-y) var(--gutter);
  container-type: inline-size;
}
.page > * { position: relative; max-width: var(--measure); }

.page--white { background: var(--white); color: var(--text); }
.page--black { background: var(--black); color: var(--white); }
.page--green { background: var(--green); color: var(--white); overflow: hidden; }

@media (min-width: 1100px) {
  .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spread > .page { min-height: min(50vw, 900px); }
  .page--first-desktop { order: -1; }
}

/* Green texture: lighter glow top left, deeper corner bottom right, fine noise (from C7-Launch) */
.tex-green { isolation: isolate; }
.tex-green::before,
.tex-green::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.tex-green::before {
  background:
    radial-gradient(ellipse 85% 75% at 12% 8%, rgba(40, 140, 92, 0.5), rgba(40, 140, 92, 0) 70%),
    radial-gradient(ellipse 70% 65% at 100% 100%, rgba(0, 36, 22, 0.5), rgba(0, 36, 22, 0) 72%);
}
.tex-green::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.07;
}

/* Photo pages */
.page--photo {
  padding: 0;
  aspect-ratio: var(--ratio, 1 / 1);
  overflow: hidden;
  background: var(--black);
}
.page--photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
@media (min-width: 768px) and (max-width: 1099px) {
  .page--photo { aspect-ratio: var(--ratio-md, 4 / 3); }
}
@media (min-width: 1100px) {
  .page--photo { aspect-ratio: auto; }
}

/* Photo with quote. Quote sits on the photo on desktop, below it on small screens */
.qphoto { padding: 0; }
.qphoto > * { max-width: none; }
.qphoto__media {
  position: relative;
  aspect-ratio: var(--ratio, 1 / 1);
  overflow: hidden;
}
.qphoto__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.qphoto__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px var(--gutter) var(--pad-y);
}
.qphoto--light .qphoto__text { background: var(--white); color: var(--ink); }
.qphoto--dark .qphoto__text { background: var(--black); color: var(--white); }

@media (min-width: 768px) and (max-width: 1099px) {
  .qphoto__media { aspect-ratio: var(--ratio-md, 4 / 3); }
}
@media (min-width: 1100px) {
  .qphoto__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .qphoto__text {
    position: absolute;
    top: var(--q-top, 48px);
    left: var(--q-left, 48px);
    right: var(--q-right, auto);
    width: var(--q-width, auto);
    padding: 0;
    background: transparent !important;
  }
}

.quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 2.65vw, 38px);
  line-height: 1.12;
}
.credit { display: flex; flex-direction: column; gap: 6px; }
.credit__name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
}
.credit__title { font-size: 12px; font-weight: 300; line-height: 1.5; }

/* ---------- 7. Hero (front and back cover) ---------- */
.hero__cover {
  min-height: 600px;
  padding: 40px var(--gutter) 48px;
  background: #0B2347;
  overflow: hidden;
  color: var(--white);
}
.hero__cover > img.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 88% 100%;
}
.hero__cover::after {
  content: "";
  position: absolute;
  inset: 0 0 40% 0;
  background: linear-gradient(180deg, rgba(4, 22, 52, 0.55), rgba(4, 22, 52, 0));
  pointer-events: none;
}
@media (max-width: 767px) {
  .hero__cover { min-height: 640px; }
  .hero__school { text-shadow: 0 1px 6px rgba(4, 22, 52, 0.85); }
}
@media (min-width: 768px) { .hero__cover::after { display: none; } }
.hero__cover-content { position: relative; z-index: 1; max-width: 628px; }
.hero__logo { width: 100%; max-width: 628px; height: auto; }
.hero__fund {
  margin-top: 36px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__school {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-cover);
}
.hero__intro { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero__intro h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; }
.hero__intro p { color: var(--on-black); font-size: 15px; max-width: 560px; }

@media (min-width: 768px) {
  .hero__cover { min-height: 720px; padding: 72px 70px; }
  .hero__fund { margin-top: 52px; font-size: 22px; }
  .hero__school { margin-top: 26px; font-size: 13px; }
  .hero__cover > img.hero__photo { object-position: 70% 100%; }
}
@media (min-width: 1100px) {
  .hero > .page { min-height: clamp(680px, calc(100vh - var(--header-h)), 900px); }
  .hero__cover > img.hero__photo { object-position: 0% 0%; }
  .hero__intro p { font-size: 16px; }
}

/* ---------- 8. Film ---------- */
.film { padding: var(--pad-y) var(--gutter); background: var(--black); }
.film__frame {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.film__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}
.film__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.45));
  color: var(--white);
  font: inherit;
  cursor: default;
}
.film__overlay:not([disabled]) { cursor: pointer; }
.film__overlay[hidden] { display: none; }
.play-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.35);
}
.play-icon svg { width: 20px; height: 20px; margin-left: 3px; }
@media (min-width: 768px) { .play-icon { width: 88px; height: 88px; } .play-icon svg { width: 26px; height: 26px; } }
.film__status { color: var(--white); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

/* ---------- 9. Program (Opening) ---------- */
.program__page { display: flex; flex-direction: column; gap: 22px; }
.program__page .display { font-size: clamp(36px, 3.7vw, 50px); line-height: 1.06; }
.program__lede { font-size: clamp(22px, 2vw, 27px); }
.program__page .body p { color: var(--on-green-2); }
.rule-orange { border-top: 2px solid var(--orange); padding-top: 22px; margin-top: 10px; }

/* ---------- 10. Founding vision (Ricardo) ---------- */
.qphoto--ricardo { --pos: 0% 0%; --ratio-md: 1 / 1; --q-width: 360px; }
.qphoto--ricardo .quote { color: var(--ink); }
.qphoto--ricardo .credit__name { color: var(--gold-deep); }
.qphoto--ricardo .credit__title { color: var(--grey-700); }
@media (min-width: 1100px) { .qphoto--ricardo .quote { font-size: clamp(30px, 2.4vw, 36px); } }

.vision__page { display: flex; flex-direction: column; gap: 28px; }
.vision__page .body p { color: var(--on-black); }
.figures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  border-top: 1px solid var(--gold-rule);
  padding-top: 30px;
  margin-top: 8px;
}
.figures__divider { height: 1px; background: var(--gold-rule); }
.figure { display: flex; flex-direction: column; gap: 14px; }
.figure__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 17cqi, 72px);
  line-height: 0.9;
  white-space: nowrap;
  color: var(--white);
}
.figure .label { letter-spacing: 0.26em; }
@media (min-width: 560px) {
  .figures { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 32px; }
  .figures__divider { height: auto; width: 1px; }
  .figure__num { font-size: clamp(40px, calc(13.6cqi - 9px), 80px); }
}
.vision__close { font-size: clamp(22px, 2vw, 25px); color: var(--white); }

/* ---------- 11. Goldman ---------- */
.goldman__text { display: flex; flex-direction: column; gap: 20px; }
.goldman__text .display { color: var(--ink); }
.goldman__portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}
@media (min-width: 768px) { .goldman__portraits { gap: 32px; } }
@media (min-width: 1100px) { .goldman__portraits { padding-top: 0; } .goldman__right { padding-left: 48px; } }
.portrait { display: flex; flex-direction: column; gap: 16px; }
.portrait__img { aspect-ratio: var(--ratio, 16 / 25); overflow: hidden; background: #EEE; }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.portrait__name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ink);
}
@media (min-width: 560px) { .portrait__name { font-size: 12px; letter-spacing: 0.22em; } }
.portrait__title { font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--grey-600); margin-top: -10px; }

/* ---------- 12. Launch + How it works ---------- */
.launch__page { display: flex; flex-direction: column; gap: 20px; }
.launch__skyline {
  position: absolute;
  left: 15%;
  top: -10px;
  width: 95%;
  max-width: none !important;
  height: auto;
  pointer-events: none;
}
.launch__page .body p { color: var(--on-green); font-size: 15px; }
.launch__page .body .strong { color: var(--white); font-weight: 400; }
.line-item { display: flex; flex-direction: column; gap: 12px; }
.line-item .line-item__head { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.line-item p { font-size: 14px; font-weight: 400; line-height: 1.55; color: var(--on-green); }

.how { display: flex; flex-direction: column; gap: 28px; }
.how .display { color: var(--ink); }
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 18px;
  background: var(--cream);
  border-top: 2px solid var(--gold-dark);
}
.step__num { font-family: var(--serif); font-weight: 500; font-size: 46px; line-height: 0.9; color: var(--gold-dark); }
.step__text { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--ink); }
@media (min-width: 560px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: end; }
  .step:nth-child(1) { min-height: 155px; }
  .step:nth-child(2) { min-height: 200px; }
  .step:nth-child(3) { min-height: 245px; }
}
.commit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  border-top: 1px solid var(--rule-light);
  padding-top: 28px;
}
@media (min-width: 560px) { .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.commit-grid > div { display: flex; flex-direction: column; gap: 8px; }
.commit-grid p { font-size: 14px; line-height: 1.6; color: var(--text); }
.commit-grid .serif-italic { font-size: 21px; color: var(--ink); line-height: 1.25; }

/* ---------- 13. Partnership + Founding Circle (dark) ---------- */
.partnership__page { display: flex; flex-direction: column; gap: 28px; }
.partnership__page .display { color: var(--ink); }
.partnership__page > p { font-size: 16px; }
.tiers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
@media (min-width: 560px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.tier { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rule-light); padding-top: 18px; }
.tier .tier__amount { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1; color: var(--ink); }
.tier p { font-size: 14px; line-height: 1.6; color: var(--grey-700); }

.circle-dark { display: flex; flex-direction: column; gap: 22px; }
.circle-dark h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 2.7vw, 36px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
}
.circle-dark > p { color: var(--on-black); font-size: 15px; }
.milestone { display: flex; flex-direction: column; gap: 6px; padding-bottom: 26px; border-bottom: 1px solid var(--rule-dark); }
.milestone__num { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 5vw, 64px); line-height: 1; color: var(--white); }
.milestone .label { color: var(--on-black-2); }
.effort { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.effort p { font-size: 14px; color: var(--on-black); line-height: 1.6; }
.effort .serif-italic { font-size: 25px; color: var(--white); }

/* ---------- 14. Founding Circle people ---------- */
.circle { background: var(--white); padding: var(--pad-y) var(--gutter); }
.circle__inner { max-width: 1440px; margin: 0 auto; }
.circle__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }
.circle__head .display { color: var(--ink); }
.circle__head .serif-italic { font-size: clamp(24px, 2.2vw, 30px); color: var(--gold-dark); }
.circle__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 32px;
}
@media (min-width: 560px) { .circle__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .circle__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.member { display: flex; flex-direction: column; gap: 18px; }
.member .portrait__img { --ratio: 16 / 15; }
.member__name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.member__title { margin-top: -10px; font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--grey-600); }
.seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 15;
  border: 1px solid var(--gold-dark);
  text-align: center;
}
.seat__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.seat .label { letter-spacing: 0.28em; color: var(--gold-deep); }
.seat__note { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; color: var(--ink); }

/* ---------- 15. Scholar stories (Ron, Samara) ---------- */
.qphoto--ron { --pos: 50% 50%; --ratio-md: 1 / 1; --q-left: 52%; --q-right: 48px; --q-top: 72px; }
.qphoto--samara { --pos: 50% 50%; --ratio-md: 1 / 1; --q-left: 53%; --q-right: 48px; --q-top: 72px; }
.qphoto--dark .credit__name { color: var(--gold); }
.qphoto--dark .credit__title { color: #E6E6E6; }

.story { display: flex; flex-direction: column; gap: 28px; }
.story .display { color: var(--ink); }
.story__text p { font-size: 15px; line-height: 1.65; color: var(--text); }
@media (min-width: 1100px) { .story__text { column-count: 2; column-gap: 32px; } }
.story__img { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 624 / 236); max-width: 624px; }
.story__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* ---------- 16. Featured board members (Lissette, Avra) ---------- */
.qphoto--lissette { --pos: 50% 50%; --ratio-md: 1 / 1; --q-width: 300px; --q-top: 72px; }
.lissette__page { padding: 0; display: flex; flex-direction: column; }
.lissette__page > * { max-width: none; }
.lissette__group { aspect-ratio: 768 / 344; overflow: hidden; }
.lissette__group img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.lissette__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px var(--gutter) var(--pad-y);
}
.lissette__body > * { max-width: var(--measure); }
.lissette__body p { font-size: 15px; line-height: 1.65; color: var(--on-black); }
.lissette__body .credit__name { color: var(--gold); margin-top: 12px; }
.lissette__body .credit__title { color: var(--on-black-2); }

.avra__page { display: flex; flex-direction: column; gap: 28px; }
.avra__page .display { color: var(--ink); }
.avra__page p { font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) { .avra__page p { font-size: 17px; } }
.avra__page .credit { margin-top: 12px; }
.avra__page .credit__name { color: var(--gold-deep); }
.avra__page .credit__title { color: var(--grey-600); }
@media (min-width: 1100px) { .avra__page .credit { margin-top: auto; } }
.avra__photo { --pos: 50% 0%; --ratio: 4 / 5; --ratio-md: 1 / 1; background: var(--white); }

/* ---------- 17. Voices ---------- */
.voices { padding: var(--pad-y) var(--gutter); background: var(--black); color: var(--white); }
.voices__inner { max-width: 1440px; margin: 0 auto; }
.voices__head { margin-bottom: 40px; }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
}
@media (min-width: 768px) { .voices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1100px) { .voices__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; } }
.voice { display: flex; flex-direction: column; gap: 14px; }
.voice__thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.voice__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); filter: saturate(0.92); }
.voice__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0) 50%, rgba(5, 5, 5, 0.72));
}
.voice__badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--white);
}
.voice__badge svg { flex: none; width: 26px; height: 26px; }
@media (min-width: 768px) { .voice__badge { left: 16px; bottom: 16px; font-size: 11px; letter-spacing: 0.22em; } .voice__badge svg { width: 32px; height: 32px; } }
.voice__name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--gold);
}
@media (min-width: 768px) { .voice__name { font-size: 12px; letter-spacing: 0.22em; } }
.voice__title { margin-top: -8px; font-size: 12px; font-weight: 300; line-height: 1.5; color: var(--on-black-2); }

/* ---------- 18. Join (Invitation) ---------- */
.join__photo { --pos: 50% 62%; --ratio: 4 / 5; --ratio-md: 4 / 3; }
.join__page { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: var(--header-h); }
.join__page h2 { font-size: clamp(34px, 3vw, 40px); line-height: 1.05; }
.join__page > p { font-size: 15px; color: var(--on-green); }
.join__page .note { font-size: 14px; color: var(--on-green-mute); }
.tiers--green { gap: 20px; }
@media (min-width: 560px) { .tiers--green { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.tiers--green .tier { border-top-color: var(--green-rule); padding-top: 14px; gap: 6px; }
.tiers--green .label { color: var(--orange); }
.tier .tier__line { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; color: var(--white); }

.invite-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.18);
}
.qr { flex: none; width: 128px; height: 128px; background: var(--white); }
.qr svg { width: 100%; height: 100%; }
.invite-box__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; flex: 1 1 220px; }
.invite-box__head { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--white); }
.url { font-size: 14px; font-weight: 400; letter-spacing: 0.04em; color: var(--white); overflow-wrap: anywhere; }
.url a { color: inherit; text-decoration: none; }
.form-asks { display: flex; flex-direction: column; gap: 10px; }
.form-asks .label { color: var(--on-green-mute); }
.form-asks ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 32px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-green);
}
@media (min-width: 560px) { .form-asks ul { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 13px; } }
.form-asks li { display: flex; gap: 10px; }
.form-asks li::before { content: "\00B7"; color: var(--orange); font-weight: 600; }
.contact-line { font-size: 13px; color: var(--on-green-mute); }

/* ---------- 19. Footer ---------- */
.site-footer {
  padding: 64px var(--gutter) 56px;
  background: var(--black);
  color: var(--on-black-2);
  border-top: 1px solid #141414;
}
.site-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
@media (min-width: 768px) {
  .site-footer__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.site-footer address { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.55; }
.site-footer address strong { font-weight: 500; color: var(--white); }
.site-footer address a { text-decoration: none; }
.site-footer address a:hover { color: var(--gold); }
.site-footer__logo { width: 240px; height: auto; }

/* ---------- 14b. $5 Million plaque, stacked seats, CTA line ---------- */
.plaque { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; }
@media (min-width: 560px) { .plaque { grid-template-columns: auto 1px minmax(0, 1fr); gap: 24px; } }
.plaque__fig { display: flex; align-items: flex-end; gap: 12px; }
.plaque__num { font-family: var(--serif); font-weight: 500; font-size: clamp(88px, 9vw, 120px); line-height: 0.82; }
.plaque__unit { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.plaque__million { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 34px); line-height: 1; }
.plaque__unit .label { white-space: nowrap; }
.plaque__rule { display: none; align-self: stretch; }
@media (min-width: 560px) { .plaque__rule { display: block; } }
.plaque__text { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.65; }
.plaque__text--serif { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 22px; line-height: 1.25; }
.plaque--dark .plaque__num, .plaque--dark .plaque__million { color: var(--gold); }
.plaque--dark .label { color: var(--on-black-2); }
.plaque--dark .plaque__rule { background: var(--gold-rule); }
.plaque--dark .plaque__text { color: var(--white); }
.plaque--light .plaque__num, .plaque--light .plaque__million { color: var(--gold-dark); }
.plaque--light .label { color: var(--gold-deep); }
.plaque--light .plaque__rule { background: #D9D4CB; }
.plaque--light .plaque__text { color: var(--ink); }
.circle-dark .plaque { padding-bottom: 26px; border-bottom: 1px solid var(--rule-dark); }
.circle-dark > .cta-line { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(28px, 2.8vw, 34px); line-height: 1.1; color: var(--white); margin-top: 8px; }
.circle__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 48px; }
.circle__top .circle__head { margin-bottom: 0; }
@media (min-width: 1100px) { .circle__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.seat-stack { position: relative; margin: 16px 16px 0 0; }
.seat-stack__frame { position: absolute; inset: 0; border: 1px solid rgba(168, 132, 42, 0.7); transform: translate(8px, -8px); }
.seat-stack__frame--back { border-color: rgba(168, 132, 42, 0.4); transform: translate(16px, -16px); }
.seat-stack .seat { position: relative; background: var(--white); }
.seat__note em { font-style: italic; }
@media (max-width: 559px) { .join__page .display { font-size: 29px; } }

/* ==========================================================================
   20. Full-screen sections and scroll snapping
   Every top-level section (and, below 1100px, every book page) starts at a
   snap point. Desktop/laptop (1100px+ wide, 600px+ tall): mandatory snapping,
   each spread is sized to fit one screen and scales with the screen.
   Smaller screens: proximity snapping so tall content scrolls freely.
   Reduced motion: no snapping.
   ========================================================================== */
:root { --screen: calc(100vh - var(--header-h)); }
@supports (height: 100svh) { :root { --screen: calc(100svh - var(--header-h)); } }

html { scroll-snap-type: y proximity; }
main > section { scroll-snap-align: start; }
.site-footer { scroll-snap-align: end; }
@media (max-width: 1099px) { .spread > .page { scroll-snap-align: start; } }
@media (min-width: 1100px) and (min-height: 600px) { html { scroll-snap-type: y mandatory; } }
@media (prefers-reduced-motion: reduce) { html { scroll-snap-type: none; } }

/* Headline wrapping: no single words left alone on a line */
.nowrap { white-space: nowrap; }
.display, .quote, .statement, .serif-italic, .line-item__head, .invite-box__head, .seat__note, .cta-line { text-wrap: balance; }
.body p, .story__text p, .lissette__body p, .avra__page p { text-wrap: pretty; }

/* ---------- 20a. Desktop: one spread per screen ----------
   --u is one "book pixel": a 720px-wide page (half of a 1440px screen) is the
   reference. It shrinks with the narrower of half the width or the usable
   height, so a spread always fits one screen, and is capped on big monitors. */
@media (min-width: 1100px) and (min-height: 600px) {
  :root { --u: min(calc(min(50vw, var(--screen)) / 720), 1.3px); }

  .spread {
    grid-template-columns: repeat(2, minmax(0, min(50%, var(--screen))));
    justify-content: center;
    min-height: var(--screen);
    background: var(--black);
  }
  .spread > .page {
    min-height: var(--screen);
    padding: calc(56 * var(--u)) calc(64 * var(--u));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .spread > .page--photo, .spread > .qphoto, .spread > .lissette__page { padding: 0; }
  .page > * { max-width: calc(620 * var(--u)); }
  .qphoto > *, .lissette__page > * { max-width: none; }

  /* Type, scaled to the page */
  .display { font-size: calc(52 * var(--u)); }
  .display--md { font-size: calc(40 * var(--u)); }
  .label, .credit__name { font-size: max(10px, calc(11 * var(--u))); }
  .credit__title { font-size: max(11px, calc(12 * var(--u))); }
  .statement { font-size: calc(23 * var(--u)); }
  .body { gap: calc(10 * var(--u)); }
  .body p { font-size: max(12.5px, calc(15 * var(--u))); }
  .quote { font-size: calc(36 * var(--u)); }
  .rule-orange { padding-top: calc(20 * var(--u)); margin-top: calc(6 * var(--u)); }

  /* Hero */
  .hero > .page { min-height: var(--screen); }
  .hero__cover { padding: calc(64 * var(--u)); justify-content: flex-start !important; }
  .hero__cover-content { max-width: calc(560 * var(--u)); }
  .hero__fund { margin-top: calc(44 * var(--u)); font-size: calc(20 * var(--u)); }
  .hero__school { margin-top: calc(22 * var(--u)); font-size: max(11px, calc(12 * var(--u))); }
  .hero__intro { gap: calc(26 * var(--u)); }
  .hero__intro h1 { font-size: calc(44 * var(--u)); }
  .hero__intro p { font-size: max(12.5px, calc(15.5 * var(--u))); max-width: calc(540 * var(--u)); }

  /* Film: the frame takes the largest 16:9 box that fits the screen */
  .film {
    min-height: var(--screen);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(48 * var(--u)) var(--gutter);
  }
  .film__frame { width: min(100%, 1400px, calc((var(--screen) - 96 * var(--u)) * 16 / 9)); margin: 0; }

  /* Program */
  .program__page { gap: calc(18 * var(--u)); }
  .program__page .display { font-size: calc(46 * var(--u)); }
  .program__lede { font-size: calc(25 * var(--u)); }

  /* Ricardo + vision */
  .qphoto--ricardo { --q-width: calc(340 * var(--u)); --q-top: calc(48 * var(--u)); --q-left: calc(48 * var(--u)); }
  .qphoto--ricardo .quote { font-size: calc(34 * var(--u)); }
  .vision__page { gap: calc(24 * var(--u)); }
  .figures { padding-top: calc(26 * var(--u)); gap: calc(28 * var(--u)); margin-top: 0; }
  .figure { gap: calc(12 * var(--u)); }
  .figure__num { font-size: calc(66 * var(--u)); }
  .vision__close { font-size: calc(23 * var(--u)); }

  /* Goldman */
  .goldman__text { gap: calc(18 * var(--u)); }
  .goldman__right { padding-left: calc(48 * var(--u)) !important; }
  .goldman__portraits { gap: calc(28 * var(--u)); width: 100%; }
  .portrait { gap: calc(14 * var(--u)); }
  .portrait__name { font-size: max(10px, calc(12 * var(--u))); }
  .portrait__title { font-size: max(11px, calc(12 * var(--u))); }

  /* Launch + How it works */
  .launch__page { gap: calc(16 * var(--u)); }
  .launch__page .body p { font-size: max(12.5px, calc(14 * var(--u))); line-height: 1.6; }
  .line-item { gap: calc(10 * var(--u)); }
  .line-item .line-item__head { font-size: calc(30 * var(--u)); }
  .line-item p { font-size: max(12px, calc(13.5 * var(--u))); }
  .how { gap: calc(24 * var(--u)); }
  .steps { gap: calc(16 * var(--u)); }
  .step { padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u)); }
  .step__num { font-size: calc(42 * var(--u)); }
  .step__text { font-size: calc(18 * var(--u)); }
  .step:nth-child(1) { min-height: calc(140 * var(--u)); }
  .step:nth-child(2) { min-height: calc(180 * var(--u)); }
  .step:nth-child(3) { min-height: calc(220 * var(--u)); }
  .commit-grid { gap: calc(28 * var(--u)); padding-top: calc(24 * var(--u)); }
  .commit-grid p { font-size: max(12px, calc(13.5 * var(--u))); }
  .commit-grid .serif-italic { font-size: calc(20 * var(--u)); }

  /* Partnership + Founding Circle (dark) */
  .partnership__page { gap: calc(26 * var(--u)); }
  .partnership__page > p { font-size: max(12.5px, calc(15.5 * var(--u))); }
  .tiers { gap: calc(36 * var(--u)); }
  .tier { gap: calc(10 * var(--u)); padding-top: calc(16 * var(--u)); }
  .tier .tier__amount { font-size: calc(46 * var(--u)); }
  .tier p { font-size: max(12px, calc(13.5 * var(--u))); }
  .circle-dark { gap: calc(20 * var(--u)); }
  .circle-dark h3 { font-size: calc(34 * var(--u)); }
  .circle-dark > p { font-size: max(12.5px, calc(14.5 * var(--u))); }
  .plaque { gap: calc(24 * var(--u)); }
  .plaque__num { font-size: calc(104 * var(--u)); }
  .plaque__million { font-size: calc(30 * var(--u)); }
  .plaque__text { font-size: max(12px, calc(13.5 * var(--u))); }
  .plaque__text--serif { font-size: calc(21 * var(--u)); }
  .circle-dark .plaque { padding-bottom: calc(22 * var(--u)); }
  .effort p { font-size: max(12px, calc(13.5 * var(--u))); }
  .circle-dark > .cta-line { font-size: calc(30 * var(--u)); margin-top: 0; }

  /* Founding Circle people (full width) */
  .circle {
    min-height: var(--screen);
    display: flex;
    align-items: center;
    padding: calc(48 * var(--u)) var(--gutter);
  }
  .circle__inner { width: 100%; max-width: calc(1240 * var(--u)); }
  .circle__top { margin-bottom: calc(40 * var(--u)); gap: calc(64 * var(--u)); }
  .circle__head .display { font-size: calc(50 * var(--u)); }
  .circle__head .serif-italic { font-size: calc(26 * var(--u)); }
  .circle__grid { gap: calc(32 * var(--u)); }
  .member { gap: calc(16 * var(--u)); }
  .member__name { font-size: max(10px, calc(12 * var(--u))); }
  .member__title { font-size: max(11px, calc(12 * var(--u))); }
  .seat__title { font-size: calc(28 * var(--u)); }
  .seat__note { font-size: calc(19 * var(--u)); }

  /* Scholar stories */
  .qphoto--ron, .qphoto--samara { --q-top: calc(64 * var(--u)); --q-right: calc(44 * var(--u)); }
  .story { gap: calc(24 * var(--u)); }
  .story__text p { font-size: max(12.5px, calc(14.5 * var(--u))); }
  .story__text { column-gap: calc(32 * var(--u)); }
  .story__img { max-width: calc(620 * var(--u)); width: 100%; }

  /* Lissette: group photo takes whatever height the text leaves */
  .qphoto--lissette { --q-width: calc(300 * var(--u)); --q-top: calc(64 * var(--u)); --q-left: calc(48 * var(--u)); }
  .lissette__page { justify-content: flex-start !important; }
  .lissette__group { flex: 1 1 0; min-height: calc(220 * var(--u)); aspect-ratio: auto; }
  .lissette__body { flex: none; gap: calc(18 * var(--u)); padding: calc(40 * var(--u)) calc(64 * var(--u)) calc(48 * var(--u)); }
  .lissette__body > * { max-width: calc(620 * var(--u)); }
  .lissette__body p { font-size: max(12.5px, calc(14.5 * var(--u))); }
  .lissette__body .credit__name { margin-top: calc(6 * var(--u)); }

  /* Avra */
  .avra__page { gap: calc(26 * var(--u)); }
  .avra__page p { font-size: max(13px, calc(16 * var(--u))); }
  .avra__page .credit { margin-top: calc(12 * var(--u)); }

  /* Voices: heading beside a 4 x 2 grid sized to the screen height */
  .voices {
    min-height: var(--screen);
    display: flex;
    align-items: center;
    padding: calc(40 * var(--u)) var(--gutter);
  }
  .voices__inner {
    width: 100%;
    max-width: calc(1160 * var(--u));
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 4fr);
    gap: calc(40 * var(--u));
    align-items: start;
  }
  .voices__head { margin: 0; }
  .voices__head .display { font-size: calc(52 * var(--u)); }
  .voices__grid { gap: calc(28 * var(--u)) calc(24 * var(--u)); }
  .voice { gap: calc(10 * var(--u)); }
  .voice__thumb { aspect-ratio: 1 / 1; }
  .voice__badge { left: calc(14 * var(--u)); right: calc(14 * var(--u)); bottom: calc(14 * var(--u)); font-size: max(9.5px, calc(10.5 * var(--u))); }
  .voice__badge svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
  .voice__name { font-size: max(10px, calc(11.5 * var(--u))); }
  .voice__title { margin-top: calc(-4 * var(--u)); font-size: max(11px, calc(12 * var(--u))); }

  /* Join */
  .join__page { gap: calc(20 * var(--u)); }
  .join__page h2 { font-size: calc(38 * var(--u)); }
  .join__page > p { font-size: max(12.5px, calc(14.5 * var(--u))); }
  .join__page .note { font-size: max(12px, calc(13.5 * var(--u))); }
  .tiers--green { gap: calc(28 * var(--u)); }
  .tier .tier__line { font-size: calc(22 * var(--u)); }
  .invite-box { padding: calc(22 * var(--u)); gap: calc(20 * var(--u)) calc(28 * var(--u)); flex-wrap: nowrap; }
  .qr { width: calc(116 * var(--u)); height: calc(116 * var(--u)); }
  .invite-box__head { font-size: calc(26 * var(--u)); }
  .invite-box__text { gap: calc(10 * var(--u)); }
}

/* Short laptop screens that cannot hold a whole spread: pages grow, snapping stays gentle */
@media (min-width: 1100px) and (max-height: 599px) {
  .spread > .page { min-height: 0; }
}

/* ==========================================================================
   21. Phones and tablets (below 1100px)
   Each book page is its own screen: text pages are at least one screen tall
   with content centred; photo pages are full-bleed strong crops; quotes sit
   on a solid band under their photo.
   Spacing scale: 8 / 16 / 24 / 32 / 48 / 56.
   ========================================================================== */
@media (max-width: 1099px) {
  .spread > .page:not(.page--photo):not(.qphoto):not(.lissette__page):not(.hero__cover):not(.goldman__right) {
    min-height: var(--screen);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero__cover { min-height: var(--screen); }
  .goldman__right { padding-top: 0; }
}

/* Tablet: centre the reading column inside each full-width page */
@media (min-width: 768px) and (max-width: 1099px) {
  .spread > .page:not(.page--photo):not(.qphoto):not(.lissette__page):not(.hero__cover),
  .qphoto__text, .lissette__body { padding-inline: max(var(--gutter), calc((100% - var(--measure)) / 2)); }
  .goldman__portraits { max-width: var(--measure); }
}

@media (max-width: 767px) {
  :root { --gutter: 24px; --pad-y: 56px; --header-h: 60px; }

  /* Header: logo and button on one row down to 320px */
  .site-header__inner { padding: 0 16px; gap: 10px; }
  .site-header__logo img { height: clamp(22px, 7.2vw, 30px); }
  .site-header .btn--sm {
    max-width: none;
    min-height: 44px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  /* Type scale */
  .display { font-size: clamp(31px, 9vw, 38px); line-height: 1.05; }
  .display--caps, .circle-dark h3 { font-size: clamp(26px, 7.4vw, 34px); line-height: 1.06; }
  .display--md { font-size: clamp(29px, 8.2vw, 34px); }
  .quote { font-size: clamp(25px, 7.2vw, 30px); line-height: 1.14; }
  .statement { font-size: 22px; }
  .body p, .story__text p, .lissette__body p, .launch__page .body p,
  .partnership__page > p, .circle-dark > p, .join__page > p, .hero__intro p { font-size: 15px; line-height: 1.65; }
  .avra__page p { font-size: 16px; }

  /* One vertical rhythm for text pages */
  .program__page, .vision__page, .goldman__text, .launch__page, .how,
  .partnership__page, .circle-dark, .story, .avra__page, .join__page, .hero__intro { gap: 24px; }
  .rule-orange { padding-top: 24px; margin-top: 8px; }

  /* Hero */
  .hero__cover { padding: 40px var(--gutter) 48px; }
  .hero__fund { margin-top: 32px; font-size: 15px; }
  .hero__school { margin-top: 16px; }
  .hero__intro h1 { font-size: clamp(26px, 7.4vw, 32px); line-height: 1.1; }

  /* Film: full-bleed 16:9 */
  .film { padding: 48px 0; }

  /* Photo pages: strong full-bleed crops */
  .page--photo { aspect-ratio: 4 / 5; }
  #program .page--photo { --pos: 66% 50%; }
  .join__photo { --pos: 50% 62%; }

  /* Photo + quote: quote on a solid band under the photo */
  .qphoto__media { aspect-ratio: 4 / 5; }
  .qphoto--ricardo { --pos: 0% 0%; }
  .qphoto--ricardo .qphoto__media { aspect-ratio: 1 / 1; }
  .qphoto--ron { --pos: 40% 50%; }
  .qphoto--samara { --pos: 55% 40%; }
  .qphoto--lissette { --pos: 50% 30%; }
  .qphoto__text { gap: 16px; padding: 40px var(--gutter) 56px; }

  /* Vision figures */
  .figures { gap: 24px; padding-top: 32px; margin-top: 0; }
  .figure { gap: 10px; }
  .figure__num { font-size: 60px; }
  .vision__close { font-size: 22px; }

  /* Goldman portraits */
  .goldman__portraits { gap: 16px; }
  .portrait { gap: 12px; }
  .portrait__title { margin-top: -6px; }

  /* Launch */
  .line-item .line-item__head { font-size: 27px; }
  .launch__skyline { left: 30%; width: 90%; }

  /* How it works: three numbered rows */
  .steps { gap: 8px; }
  .step { flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
  .step__num { flex: none; width: 32px; font-size: 42px; }
  .step__text { font-size: 19px; }
  .commit-grid { gap: 24px; padding-top: 24px; }
  .commit-grid p { font-size: 15px; }
  .commit-grid .serif-italic { font-size: 21px; }

  /* Partnership tiers */
  .tiers { gap: 24px; }
  .tier .tier__amount { font-size: 44px; }
  .tier p { font-size: 15px; }

  /* $5 Million plaques */
  .plaque { gap: 16px; }
  .plaque__num { font-size: 84px; }
  .plaque__million { font-size: 28px; }
  .plaque__text { font-size: 15px; }
  .plaque__text--serif { font-size: 21px; }
  .effort p { font-size: 15px; }
  .circle-dark > .cta-line { font-size: 28px; margin-top: 0; }

  /* Founding Circle people: 2 x 2 */
  .circle { padding: var(--pad-y) var(--gutter); }
  .circle__top { gap: 32px; margin-bottom: 40px; }
  .circle__head .serif-italic { font-size: 23px; }
  .circle__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .member { gap: 12px; }
  .member__name { font-size: 11px; letter-spacing: 0.16em; }
  .member__title { margin-top: -6px; }
  .seat-stack { margin: 10px 10px 0 0; }
  .seat-stack__frame { transform: translate(5px, -5px); }
  .seat-stack__frame--back { transform: translate(10px, -10px); }
  .seat { gap: 8px; padding: 8px; }
  .seat__title { font-size: 21px; line-height: 1.05; }
  .seat .label { font-size: 9.5px; letter-spacing: 0.16em; text-wrap: balance; }
  .seat__note { font-size: 17px; line-height: 1.3; }

  /* Stories */
  .story__img { width: 100%; }

  /* Lissette */
  .lissette__group { aspect-ratio: 3 / 2; }
  .lissette__body { gap: 24px; padding: 48px var(--gutter) 56px; }
  .lissette__body .credit__name { margin-top: 0; }

  /* Voices */
  .voices__head { margin-bottom: 32px; }
  .voices__grid { gap: 32px 16px; }
  .voice { gap: 12px; }
  .voice__badge { left: 10px; right: 10px; bottom: 10px; gap: 8px; font-size: 9.5px; letter-spacing: 0.14em; }
  .voice__badge svg { width: 24px; height: 24px; }
  .voice__title { margin-top: -6px; }

  /* Join */
  .join__page h2, .join__page .display { font-size: clamp(26px, 7.4vw, 32px); }
  .tiers--green { gap: 16px; }
  .invite-box { flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px; }
  .invite-box__text { width: 100%; flex: none; }
  .invite-box .btn { width: 100%; min-height: 48px; }
  .invite-box__head { font-size: 26px; }

  /* Footer */
  .site-footer { padding: 48px var(--gutter) 40px; }
  .site-footer__inner { gap: 32px; }
  .site-footer__logo { width: 200px; }
}

/* Comfortable tap areas on text links, without changing the layout */
.site-footer address a, .url a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.invite-box .btn, .site-header .btn { min-height: 44px; }
/* #join: html scroll-padding already clears the sticky header */
.join__page { scroll-margin-top: 0; }

/* Phone refinements: compact hero intro, seat card beside Matthew with caption full width */
@media (max-width: 767px) {
  .spread.hero > .hero__intro { min-height: 0 !important; justify-content: flex-start !important; padding-top: 48px; padding-bottom: 56px; }
}

/* ---------- Join: email action (replaces QR box) ---------- */
.join-action { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; }
.join-action .btn { min-height: 48px; }
.email-alt { font-size: 14px; color: #DCE7E0; }
.email-alt a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Below 1100px: no snapping, natural page heights ---------- */
@media (max-width: 1099px) {
  html { scroll-snap-type: none !important; }
  .spread > .page:not(.page--photo):not(.qphoto):not(.lissette__page):not(.hero__cover):not(.goldman__right),
  .spread > .page { min-height: 0 !important; justify-content: flex-start !important; }
  .spread > .page.hero__cover { min-height: min(var(--screen), 720px) !important; }
}

/* ---------- Phones: How it works as a vertical timeline ---------- */
@media (max-width: 767px) {
  .how .steps { display: flex; flex-direction: column; gap: 0; margin-top: 8px !important; }
  /* every step but the last is the same height, so the circles sit at even intervals and the line runs circle to circle */
  .how .step { position: relative; display: block; min-height: 96px !important; padding: 0 0 0 64px; background: none; border: 0; }
  .how .step::before { content: ""; position: absolute; left: 21.5px; top: 44px; bottom: 0; width: 1px; background: var(--gold-dark); opacity: 0.5; }
  .how .step:last-child { min-height: 0 !important; }
  .how .step:last-child::before { display: none; }
  .how .step__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-dark); border-radius: 50%; font-size: 24px; line-height: 1; background: var(--white); }
  .how .step__text { display: block; padding-top: 9px; font-size: 20px; line-height: 1.25; }
  .how .commit-grid { border-top: 1px solid #D9D4CB; padding-top: 28px; margin-top: 8px; }
}

/* ---------- Plaque alignment, matching the book ---------- */
/* The old-style "5" descends below the baseline, so lift the figure to center its ink on the text */
.plaque { align-items: center; }
.plaque__fig { transform: translateY(-14%); }
.plaque__rule { align-self: stretch; }
@media (max-width: 559px) {
  .plaque { grid-template-columns: auto 1px minmax(0, 1fr); gap: 16px; }
  .plaque__rule { display: block; }
  .plaque__fig { flex-direction: column; align-items: flex-start; gap: 10px; transform: translateY(-4%); }
  .plaque__num { font-size: 84px; }
  .plaque__unit { padding-bottom: 0; gap: 4px; }
  .plaque__million { font-size: 24px; }
  .plaque__unit .label { white-space: normal; font-size: 9px; letter-spacing: 0.2em; line-height: 1.4; max-width: 7em; }
  .plaque__text { font-size: 14px; line-height: 1.6; }
  .plaque__text--serif { font-size: 19px; line-height: 1.25; }
}

/* ---------- Voices: 12 horizontal video stills ---------- */
.voice__thumb { aspect-ratio: 16 / 9; }
.voice__thumb img { object-position: 50% 35%; }
@media (max-width: 767px) { .voices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) and (min-height: 600px) {
  .voices__inner { max-width: calc(1100 * var(--u)); grid-template-columns: minmax(0, 1fr); gap: calc(24 * var(--u)); }
  .voices__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(22 * var(--u)) calc(22 * var(--u)); }
  .voice__thumb { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) { .voice__badge { font-size: 0; gap: 0; } }
@media (min-width: 1100px) and (min-height: 600px) { .voice__badge { white-space: nowrap; } }

/* Voices: centered play icon, six-word phrase over the bottom of the still (below it on phones) */
.voice { position: relative; }
.voice__thumb::after { background: linear-gradient(180deg, rgba(5, 5, 5, 0) 45%, rgba(5, 5, 5, 0.85)); }
.voice__play { position: absolute; left: 12px; top: 12px; z-index: 1; }
.voice__play svg { display: block; width: 30px; height: 30px; }
.voice__phrase {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  color: var(--white);
  text-wrap: balance;
}
@media (max-width: 767px) { .voice__play { left: 8px; top: 8px; } .voice__play svg { width: 24px; height: 24px; } .voice__phrase { margin-top: -4px; } }
@media (min-width: 768px) {
  .voice__phrase {
    position: absolute; left: 0; right: 0; top: 0; z-index: 1;
    aspect-ratio: 16 / 9;
    display: flex; align-items: flex-end;
    padding: 0 14px 11px;
    font-size: 15px;
    pointer-events: none;
  }
}
@media (min-width: 1100px) and (min-height: 600px) {
  .voice__phrase { padding: 0 calc(14 * var(--u)) calc(11 * var(--u)); font-size: max(13px, calc(15.5 * var(--u))); }
  .voice__play { left: calc(12 * var(--u)); top: calc(12 * var(--u)); }
  .voice__play svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
}
/* Voices desktop: 3 x 4 grid, section runs taller than one screen */
@media (min-width: 1100px) and (min-height: 600px) {
  .voices { min-height: 0; padding: calc(72 * var(--u)) var(--gutter) calc(88 * var(--u)); }
  .voices__inner { max-width: calc(1100 * var(--u)); gap: calc(32 * var(--u)); }
  .voices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(44 * var(--u)) calc(32 * var(--u)); }
  .voice { gap: calc(14 * var(--u)); }
  .voice__phrase { font-size: max(16px, calc(21 * var(--u))); padding: 0 calc(20 * var(--u)) calc(16 * var(--u)); }
  .voice__play { left: calc(16 * var(--u)); top: calc(16 * var(--u)); }
  .voice__play svg { width: calc(36 * var(--u)); height: calc(36 * var(--u)); }
  .voice__name { font-size: max(11px, calc(12.5 * var(--u))); }
  .voice__title { margin-top: calc(-6 * var(--u)); font-size: max(12px, calc(13.5 * var(--u))); }
}
iframe.film__video { display: block; border: 0; }

/* ---------- Desktop email chooser for the Join buttons ---------- */
.mail-choice {
  width: min(520px, calc(100vw - 48px));
  padding: 40px 40px 32px;
  border: 1px solid rgba(214, 178, 94, 0.4);
  background: var(--black);
  color: var(--white);
}
.mail-choice::backdrop { background: rgba(5, 5, 5, 0.72); }
.mail-choice__close-form { position: absolute; top: 10px; right: 12px; margin: 0; }
.mail-choice__close { background: none; border: 0; color: var(--on-black-2, #BDBDBD); font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.mail-choice__close:hover { color: var(--white); }
.mail-choice__title { margin: 12px 0 0; font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.05; }
.mail-choice__text { margin: 14px 0 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--on-black-2, #DADADA); }
.mail-choice__text strong { font-weight: 500; color: var(--white); }
.mail-choice__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.mail-choice__options .btn { padding: 14px 10px; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--orange); }
.btn--ghost:hover { background: rgba(244, 115, 33, 0.14); }
.mail-choice__copy { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--gold); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; }
.mail-choice__copy:hover { text-decoration: underline; text-underline-offset: 4px; }
.mail-choice__close:focus:not(:focus-visible) { outline: none; }

/* ---------- Founding Circle: four donors, seats band below ---------- */
.circle__close { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 44px; align-items: center; }
.seat--band { aspect-ratio: auto; flex-direction: row; justify-content: space-between; gap: 16px; padding: 22px 32px; }
.seat-stack--band { margin: 16px 16px 0 0; }
.circle__close .seat__note { font-size: clamp(22px, 2.2vw, 28px); }
@media (min-width: 1100px) {
  .circle__close { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}
@media (min-width: 1100px) and (min-height: 600px) {
  .circle__close { margin-top: calc(36 * var(--u)); gap: calc(32 * var(--u)); }
  .circle__close .seat__note { font-size: calc(26 * var(--u)); }
  .seat--band { padding: calc(20 * var(--u)) calc(30 * var(--u)); }
}
@media (max-width: 767px) {
  .circle__close { margin-top: 36px; gap: 20px; }
  .circle__close .seat-stack--band { order: -1; margin: 10px 10px 0 0; }
  .seat--band { flex-direction: column; gap: 8px; padding: 20px 16px; }
  .seat--band .seat__title { font-size: 24px; }
  .seat--band .label { font-size: 10px; letter-spacing: 0.24em; }
  .circle__close .seat__note { font-size: 22px; line-height: 1.25; }
}
/* Founding Circle titles on desktop: sized to the column so the longest first line (Matthew's) fits on one line */
@media (min-width: 1100px) and (min-height: 600px) {
  .circle .member { container-type: inline-size; }
  .circle .member__title { font-size: min(12.5px, calc(100cqw / 24.4)); }
}
/* Seats band: one box under Matthew and Lissette, centered "Founding Seats Open" over "Until $5 Million" */
.seat--band { flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px 24px; aspect-ratio: auto; }
.seat--band .seat__until { font-size: 12px; letter-spacing: 0.3em; }
@media (min-width: 1100px) and (min-height: 600px) {
  .seat--band { padding: calc(16 * var(--u)) calc(24 * var(--u)); gap: calc(8 * var(--u)); }
  .seat--band .seat__until { font-size: max(11px, calc(12 * var(--u))); }
}
@media (max-width: 767px) {
  .circle__close .seat--band { order: -1; }
  .seat--band .seat__title { font-size: 24px; white-space: nowrap; }
  .seat--band .seat__until { font-size: 11px; letter-spacing: 0.26em; }
}
