/* ==========================================================================
   Raha Gardens Film & Media — visual system
   One sans (Schibsted Grotesk) + one serif accent (Instrument Serif).
   Near-black ink, warm off-white paper, a single amber accent.
   ========================================================================== */

:root {
  --ink: #0f100d;
  --ink-2: #1a1b17;
  --paper: #f3f2ec;
  --paper-2: #e8e7df;
  --paper-3: #dcdbd2;
  --mute: #6f716a;
  --line: rgba(15, 16, 13, 0.16);
  --line-strong: rgba(15, 16, 13, 0.6);
  --accent: #f5b301;          /* amber — projector, slate, film leader */
  --accent-ink: #5a4100;
  --news: #e23d3d;            /* Raha News Network only */

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
  --pill: 999px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Dark surfaces flip the tokens */
.dark, .dark-section {
  --paper: #0f100d;
  --paper-2: #1a1b17;
  --paper-3: #24251f;
  --ink: #f3f2ec;
  --ink-2: #dcdbd2;
  --mute: #9a9c93;
  --line: rgba(243, 242, 236, 0.18);
  --line-strong: rgba(243, 242, 236, 0.7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(64px, 9vw, 140px); }
.section-tight { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.dark-section { background: var(--paper); color: var(--ink); }
.rule { border: 0; border-top: 1px solid var(--line-strong); margin: 0; }
.rule-soft { border: 0; border-top: 1px solid var(--line); margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 48px); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.display {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.94;
  font-size: clamp(44px, 8.4vw, 132px);
}
.display-md { font-size: clamp(36px, 5.6vw, 84px); }
.display-sm { font-size: clamp(28px, 3.6vw, 52px); }
.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  line-height: 0.9;
  font-size: 1.12em;
}
.dark .serif, .dark-section .serif { color: var(--accent); }
.lede {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.lede-wide { max-width: 40ch; }
.body { font-size: 17px; line-height: 1.6; max-width: 60ch; color: var(--ink-2); }
.body-mute { color: var(--mute); }
mark.hl {
  background: linear-gradient(transparent 55%, var(--accent) 55%, var(--accent) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.05em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink);
}
.site-header.is-hidden .brand, .site-header.is-hidden .nav-links { opacity: 0; pointer-events: none; }
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 20px; line-height: 1; }
.brand .brand-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.brand small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; opacity: 0.9; }
.nav-links { display: none; gap: 28px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.nav-links a { padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: currentColor; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.brand, .nav-links { transition: opacity 0.25s; }

/* Pill menu button — always on mobile, appears on scroll on desktop */
.menu-btn {
  position: fixed; top: 14px; right: var(--gutter); z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.12);
  opacity: 1; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease), background 0.3s;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 2.5px 0; transition: transform 0.3s var(--ease), opacity 0.2s; }
@media (min-width: 960px) {
  .menu-btn { opacity: 0; transform: translateY(-8px); pointer-events: none; }
  body.scrolled .menu-btn, body.menu-open .menu-btn { opacity: 1; transform: none; pointer-events: auto; }
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: #0f100d; color: #f3f2ec;
  padding: 96px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.menu-overlay nav a {
  display: block; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(34px, 7vw, 72px); line-height: 1.02; padding: 6px 0;
  transform: translateY(20px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s;
}
body.menu-open .menu-overlay nav a { transform: none; opacity: 1; }
.menu-overlay nav a:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay nav a:nth-child(2) { transition-delay: 0.1s; }
.menu-overlay nav a:nth-child(3) { transition-delay: 0.15s; }
.menu-overlay nav a:nth-child(4) { transition-delay: 0.2s; }
.menu-overlay nav a:nth-child(5) { transition-delay: 0.25s; }
.menu-overlay nav a:nth-child(6) { transition-delay: 0.3s; }
.menu-overlay nav a .n { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-size: 0.5em; color: var(--accent); margin-right: 0.4em; vertical-align: 0.35em; }
.menu-overlay nav a[aria-current="page"] { color: var(--accent); }
.menu-overlay .menu-foot { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9c93; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero .display { max-width: 12ch; }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.hero-row .lede { max-width: 34ch; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.scroll-cue svg { animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Headline letter reveal */
.reveal .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.reveal .w > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
@keyframes rise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .reveal .w > span { animation: none; transform: none; }
  .scroll-cue svg { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Media tiles (full-bleed featured work) ---------- */
.tile {
  position: relative; display: block; overflow: hidden;
  background: #1a1b17; color: #f3f2ec;
  aspect-ratio: 16 / 9;
}
.tile-tall { aspect-ratio: 4 / 5; }
@media (min-width: 720px) { .tile-hero { aspect-ratio: 21 / 9; min-height: 62vh; } }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,16,13,0.72) 0%, rgba(15,16,13,0.15) 45%, rgba(15,16,13,0) 70%); pointer-events: none; }
.tile .tile-meta { position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 36px); z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.tile .tile-title { font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-size: clamp(26px, 3.2vw, 48px); }
.tile .tile-sub { font-size: clamp(15px, 1.4vw, 20px); opacity: 0.85; }
.tile .tile-top { position: absolute; top: clamp(16px, 3vw, 32px); left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); z-index: 2; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.play {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243,242,236,0.7);
  display: grid; place-items: center; backdrop-filter: blur(6px); background: rgba(15,16,13,0.25);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.tile:hover .play { background: var(--accent); border-color: var(--accent); color: #0f100d; transform: scale(1.06); }
.play svg { transform: translateX(1px); }

/* ---------- Pills / tags ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  padding: 5px 10px; border-radius: var(--pill);
  border: 1px solid currentColor; opacity: 0.9; line-height: 1;
}
.pill-solid { background: var(--accent); border-color: var(--accent); color: #0f100d; opacity: 1; }
.pill-news { background: var(--news); border-color: var(--news); color: #fff; opacity: 1; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Project cards (grids) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 28px); }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; }
.card .card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); border-radius: var(--radius); }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card .card-media .pills { position: absolute; left: 12px; bottom: 12px; color: #f3f2ec; }
.card .card-media .play { position: absolute; right: 12px; bottom: 10px; width: 36px; height: 36px; color: #f3f2ec; }
.card:hover .play { background: var(--accent); border-color: var(--accent); color: #0f100d; }
.card .card-body { padding-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.card .card-title { font-weight: 700; letter-spacing: -0.015em; font-size: 19px; line-height: 1.15; }
.card .card-sub { color: var(--mute); font-size: 14.5px; grid-column: 1; }
.card .card-credit { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); text-align: right; white-space: nowrap; padding-top: 4px; }
.card.is-wide { grid-column: 1 / -1; }
.card.is-wide .card-media { aspect-ratio: 21 / 9; }
.card.is-wide .card-title { font-size: clamp(24px, 2.6vw, 36px); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters .eyebrow { margin-right: 8px; }
.chip {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
  padding: 9px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark-section .chip[aria-pressed="true"] { background: var(--ink); color: #0f100d; }
.empty { padding: 48px 0; color: var(--mute); font-size: 15px; }

/* ---------- Section headers ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 44px); }
.sec-head .display-sm, .sec-head .display-md { max-width: 16ch; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }
.sec-head .sec-side { max-width: 40ch; color: var(--mute); font-size: 15px; }

/* ---------- Arrow links / buttons ---------- */
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 17px; letter-spacing: -0.01em;
}
.arrow-link .circ {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; transition: background 0.25s, color 0.25s, transform 0.4s var(--ease), border-color 0.25s;
}
.arrow-link:hover .circ { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateX(4px); }
.dark-section .arrow-link:hover .circ, .dark .arrow-link:hover .circ { background: var(--accent); color: #0f100d; border-color: var(--accent); }
.arrow-link-lg { font-size: clamp(18px, 2vw, 24px); }
.arrow-link-lg .circ { width: 44px; height: 44px; }

/* ---------- Programme cards ---------- */
.prog-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  background: var(--paper-2); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px);
  min-height: 300px; position: relative; overflow: hidden;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.prog-card:hover { transform: translateY(-4px); }
.prog-card .prog-name { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.02; text-transform: uppercase; }
.prog-card .prog-name .serif { display: block; font-size: 0.9em; }
.prog-card .prog-desc { font-size: 15px; color: var(--mute); max-width: 32ch; }
.prog-card .prog-foot { display: flex; justify-content: space-between; align-items: center; }
.prog-card .prog-grades { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.prog-card.is-news { background: var(--news); color: #fff; }
.prog-card.is-news .prog-desc, .prog-card.is-news .prog-grades { color: rgba(255,255,255,0.8); }
.prog-card.is-news .serif { color: #fff; }
.prog-card .circ { border-color: currentColor; }

/* ---------- Programme page: hero band ---------- */
.prog-hero { padding-top: clamp(110px, 16vh, 180px); padding-bottom: clamp(28px, 4vw, 56px); }
.prog-hero .display { max-width: 11ch; }
.prog-hero .meta-row { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: clamp(24px, 3vw, 40px); align-items: flex-start; }
.prog-hero .meta-row .lede { flex: 1 1 320px; }
.prog-hero .facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 14px; align-self: end; }
.prog-hero .facts dt { color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; padding-top: 3px; }
.prog-hero .facts dd { margin: 0; }

/* "Makes" strip — what students produce */
.makes { display: flex; flex-wrap: wrap; gap: 8px 0; }
.makes li { font-size: clamp(18px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.02em; padding-right: 0.55em; }
.makes li::after { content: "·"; color: var(--accent); padding-left: 0.55em; }
.makes li:last-child::after { content: ""; }

/* Grade sections */
.grade-block { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.grade-block .grade-head { display: grid; grid-template-columns: 1fr; gap: 12px 32px; align-items: end; margin-bottom: 28px; }
@media (min-width: 720px) { .grade-block .grade-head { grid-template-columns: 1fr 1fr; } }
.grade-block .grade-name { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(30px, 4vw, 56px); line-height: 1; text-transform: uppercase; }
.grade-block .grade-name .serif { font-size: 1em; }
.grade-block .grade-note { font-size: 15px; color: var(--mute); max-width: 44ch; }

/* ---------- Project detail ---------- */
.proj-hero { padding-top: clamp(110px, 16vh, 170px); }
.proj-hero .proj-title { font-weight: 700; letter-spacing: -0.025em; line-height: 0.96; font-size: clamp(40px, 6.6vw, 104px); max-width: 14ch; }
.proj-hero .proj-sub { font-size: clamp(18px, 2vw, 26px); color: var(--mute); margin-top: 10px; }
.proj-hero .proj-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; align-items: center; }
.proj-media { margin-top: clamp(24px, 3vw, 40px); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame .video-note { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #f3f2ec; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; background: rgba(15,16,13,0.55); padding: 8px 12px; border-radius: var(--pill); backdrop-filter: blur(6px); }
.proj-body { display: grid; grid-template-columns: 1fr; gap: 32px 64px; padding-top: clamp(32px, 4vw, 64px); }
@media (min-width: 880px) { .proj-body { grid-template-columns: 1.2fr 0.8fr; } }
.proj-body .body { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; max-width: 50ch; }
.credits { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 15px; align-content: start; }
.credits dt { color: var(--mute); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.credits dd { margin: 0; }
.behind { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr; gap: 24px 48px; align-items: center; }
@media (min-width: 880px) { .behind { grid-template-columns: 1fr 1fr; } }
.behind img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.behind blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
.behind cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.next-proj { margin-top: clamp(56px, 7vw, 104px); }
.next-proj .eyebrow { margin-bottom: 14px; display: block; }

/* ---------- RNN page ---------- */
.rnn { --accent: #e23d3d; }
.rnn .on-air { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--news); }
.rnn .on-air::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--news); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.rnn .ticker { overflow: hidden; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 12px 0; white-space: nowrap; }
.rnn .ticker-track { display: inline-flex; gap: 48px; animation: ticker 40s linear infinite; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.rnn .ticker-track span::before { content: "●"; color: var(--news); margin-right: 16px; font-size: 9px; vertical-align: 2px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(4, 1fr); } }
.team .member img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); background: var(--paper-3); }
.team .member .m-name { margin-top: 10px; font-weight: 700; font-size: 16px; }
.team .member .m-role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

/* ---------- About page ---------- */
.pathways { border-top: 1px solid var(--line-strong); }
.pathway { display: grid; grid-template-columns: 1fr; gap: 16px 48px; padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--line-strong); }
@media (min-width: 880px) { .pathway { grid-template-columns: 1fr 1.4fr; } }
.pathway .p-name { font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(26px, 3vw, 44px); line-height: 1; }
.pathway .p-name small { display: block; font-size: 12px; letter-spacing: 0.12em; font-weight: 500; color: var(--mute); margin-top: 10px; }
.pathway .p-body { font-size: 17px; line-height: 1.55; max-width: 56ch; }
.pathway .p-body ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pathway .arrow-link { margin-top: 18px; }

/* Marquee of names (home) */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat .stat-n { font-weight: 700; letter-spacing: -0.03em; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.stat .stat-n .serif { font-size: 1em; }
.stat .stat-l { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f100d; color: #f3f2ec; padding: clamp(72px, 10vw, 140px) 0 28px; }
.site-footer .display { max-width: 10ch; }
.site-footer .foot-cta { margin-top: clamp(28px, 4vw, 48px); }
.site-footer .foot-grid { margin-top: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: 1fr; gap: 32px; padding-top: 28px; border-top: 1px solid rgba(243,242,236,0.2); }
@media (min-width: 880px) { .site-footer .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .foot-col .eyebrow { color: #9a9c93; margin-bottom: 14px; display: block; }
.site-footer .foot-col a { display: block; padding: 4px 0; font-size: 15px; color: #dcdbd2; }
.site-footer .foot-col a:hover { color: #fff; }
.site-footer .school { display: flex; align-items: center; gap: 16px; }
.site-footer .school img { width: 180px; height: auto; opacity: 0.9; }
.site-footer .school p { font-size: 13px; color: #9a9c93; max-width: 30ch; }
.site-footer .foot-bottom { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6f716a; }

/* ---------- Scroll-in ---------- */
.io { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.io.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .io { opacity: 1; transform: none; } }

/* ---------- Placeholder frame (no image supplied) ---------- */
.ph { background: linear-gradient(135deg, #24251f, #0f100d); position: relative; }
.ph::before { content: attr(data-label); position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 3vw, 40px); color: rgba(243,242,236,0.35); }
.ph > img { position: relative; z-index: 1; }
