/* ============================================================
   RGMG Website — styles.css
   Dark single theme
   Colours: v11 design-draft palette (user rollback 2026-09-07 —
   the Doc 6 #D3AF37/#2D0F35 attempt read too bright; see git
   commit 2f9def9 for that variant, 5bba29f for full v11).
   Typography: Doc 6 §2 — Arial throughout, system stack.
   Breakpoints: ≤1180 (tablet) · ≤720 (mobile)
   ============================================================ */

/* ---------- fonts: Doc 6 §2 — Arial throughout, system stack, zero external requests ---------- */

:root {
  --bg:       #2A1124;   /* base surface */
  --band:     #3D1A35;   /* elevated surface (band / numbers) */
  --s4:       #2E1428;   /* Global Campus surface */
  --deep:     #1F0A1C;   /* deepest surface (manifesto / footer) */
  --ink:      #F7F4EF;   /* headings / body on dark */
  --slate:    #B0AAB8;   /* secondary text */
  --gold:     #DFC28F;   /* champagne gold accents */
  --cream:    #F7F4EF;   /* constant light text on dark surfaces */
  --lavender: #B0AAB8;   /* constant muted text */
  --hairline: #4A2A44;   /* dividers */
  --white-12: rgba(255, 255, 255, 0.12);

  --font-title: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-body:  Arial, "Helvetica Neue", Helvetica, sans-serif;

  --pad-x: clamp(24px, 8.33vw, 120px);
}

/* ---------- base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font: 600 12px/1.5 var(--font-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow.gold { color: var(--gold); }

/* ---------- reveal animation (fade in + rise 12px) ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- arrow links ---------- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 11px/1.4 var(--font-body);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
}
.arrow-link .arrow { display: inline-block; font-size: 14px; font-weight: 400; transition: transform 0.2s ease; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.arrow-link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  z-index: 20;
}
.nav-inner {
  display: flex;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 26px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: 56px; }
.brand-logo { width: 46px; height: auto; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-text strong { font: 700 13px/1 var(--font-body); color: var(--cream); letter-spacing: 0.5px; }
.brand-text small { font: 400 9px/1 var(--font-body); color: var(--lavender); letter-spacing: 1px; }

.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { font: 500 11px/1 var(--font-body); color: var(--cream); }
/* hover: colour shift only — a weight change makes the row jitter */
.nav-menu a.active { font-weight: 600; }
.nav-menu a:hover { color: var(--gold); }

.partner-btn {
  margin-left: auto;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  font: 600 10px/1 var(--font-body);
  color: var(--ink);
  letter-spacing: 0.5px;
  transition: background 0.2s ease, color 0.2s ease;
}
.partner-btn:hover { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg);
  padding: 88px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.hero-media { position: relative; height: 640px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(42, 17, 36, 0.88) 0%,
    rgba(42, 17, 36, 0.32) 55%,
    rgba(42, 17, 36, 0.06) 100%);
}
.hero-slogan {
  position: absolute;
  left: 72px; bottom: 72px;
  display: flex; flex-direction: column;
  font: 300 56px/64px var(--font-title);
  color: var(--cream);
}
.hero-slogan .gold-italic { font-style: italic; color: var(--gold); }

.hero-hairline { height: 1px; background: var(--hairline); }
.hero-foot { display: flex; flex-direction: column; gap: 16px; }
.hero-scroll-row {
  display: flex;
  justify-content: space-between;
  font: 500 10px/1.4 var(--font-body);
}
.scroll-hint { color: var(--lavender); }
.est-line { color: var(--gold); }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { background: var(--bg); display: flex; flex-direction: column; }

/* ---------- S2 network ---------- */
.section-network { padding: 112px 0; gap: 72px; }
.network-row { display: flex; gap: 64px; }
.network-left { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.statement { font: 300 46px/54px var(--font-title); color: var(--ink); }
.network-right { flex: 1; display: flex; flex-direction: column; gap: 28px; }
.lead { font: 400 19px/32px var(--font-body); color: var(--ink); }

.audience-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.audience-cell {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px;
}
.audience-cell:first-child { padding-left: 0; }
.audience-cell:last-child { padding-right: 0; }
.audience-cell + .audience-cell { border-left: 1px solid var(--hairline); }
.cell-no { font: 600 11px/1 var(--font-body); color: var(--gold); }
.cell-title { font: 600 13px/1.4 var(--font-body); color: var(--ink); letter-spacing: 0.5px; text-transform: uppercase; }
.cell-desc { font: 400 13px/20px var(--font-body); color: var(--slate); }
.cell-arrow { font-size: 13px; color: var(--ink); transition: transform 0.2s ease; }
.audience-cell:hover .cell-arrow { transform: translateX(4px); }

/* ---------- S3 band ---------- */
.band { background: var(--band); padding: 72px 0; }
.band-inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.band-left { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.band-left .eyebrow { color: var(--cream); }
.band-title { font: 300 58px/62px var(--font-title); color: var(--cream); }
.band-intro { flex: 0 0 320px; font: 400 15px/24px var(--font-body); color: var(--cream); }

/* ---------- S3.5 schools ---------- */
.section-schools { padding: 96px 0; }
.uk-row { display: flex; gap: 56px; margin-bottom: 72px; }
.uk-text { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.uk-name { font: 300 36px/42px var(--font-title); color: var(--ink); }
.uk-desc { font: 400 15px/25px var(--font-body); color: var(--slate); }
.uk-media { flex: 1; height: 460px; overflow: hidden; }
.uk-media img { width: 100%; height: 100%; object-fit: cover; }

.school-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.school-card { display: flex; flex-direction: column; gap: 16px; }
.school-card:nth-child(even) { padding-top: 44px; }
.card-media { height: 190px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.school-card:hover .card-media img { transform: scale(1.03); }
.card-meta { font: 600 10px/1 var(--font-body); color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.card-name { font: 600 19px/25px var(--font-body); color: var(--ink); }
.card-desc { font: 400 13px/20px var(--font-body); color: var(--slate); }
.card-link { font: 600 11px/1 var(--font-body); color: var(--ink); letter-spacing: 1.2px; text-transform: uppercase; }
.card-link .arrow { display: inline-block; transition: transform 0.2s ease; }
.card-link:hover .arrow { transform: translateX(4px); }

/* ---------- S4 global campus ---------- */
.section-campus { background: var(--s4); padding: 104px 0; gap: 72px; }
.gc-row { display: flex; gap: 64px; }
.gc-text { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.gc-title { font: 300 50px/56px var(--font-title); color: var(--ink); }
.gc-para { font: 400 16px/27px var(--font-body); color: var(--ink); }
.gc-media { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.gc-media img { width: 100%; height: 380px; object-fit: cover; }
.gc-caption { font: italic 400 10px/1.5 var(--font-body); color: var(--slate); }

.principles { margin-top: 0; }
.principle-row { display: flex; gap: 24px; padding: 26px 0; }
.principle-row + .principle-row { border-top: 1px solid var(--hairline); }
.principle-name { width: 320px; flex-shrink: 0; font: 700 22px/1.3 var(--font-body); color: var(--ink); }
.principle-desc { flex: 1; font: 400 14px/22px var(--font-body); color: var(--ink); }

/* ---------- S5 numbers ---------- */
.section-numbers { background: var(--band); padding: 96px 0; gap: 56px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.stat { display: flex; flex-direction: column; gap: 14px; }
.stat-line { width: 28px; height: 3px; background: var(--gold); }
.stat-number { font: 300 72px/76px var(--font-title); color: var(--ink); }
.stat-number.pending { opacity: 0.5; }  /* pending verification */
.stat-label { font: 500 12px/19px var(--font-body); color: var(--ink); }
.stats-footnote { font: italic 400 11px/1.5 var(--font-body); color: var(--slate); }

/* ---------- S6 leadership ---------- */
.section-leadership { padding: 112px 0; gap: 64px; }
.leadership-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.leadership-header > div { display: flex; flex-direction: column; gap: 20px; }
.leadership-title { font: 300 48px/54px var(--font-title); color: var(--ink); }
.leadership-para { max-width: 360px; font: 400 15px/25px var(--font-body); color: var(--slate); }

.leadership-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.leader-card { display: flex; flex-direction: column; gap: 16px; }
.leader-card:nth-child(2) { padding-top: 48px; }
.leader-card:nth-child(3) { padding-top: 96px; }
.leader-photo { height: 400px; overflow: hidden; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline);
  color: var(--slate);
  font: 400 12px/1.6 var(--font-body);
  text-align: center;
  padding: 16px;
}
.leader-name { font: 700 22px/1.3 var(--font-body); color: var(--ink); }
.leader-role { font: 600 10px/1 var(--font-body); color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.leader-bio { font: 400 13px/21px var(--font-body); color: var(--slate); }
.leadership-caption { font: italic 400 11px/1.5 var(--font-body); color: var(--slate); }

/* ---------- S7 manifesto ---------- */
.manifesto {
  background: var(--deep);
  padding: 136px var(--pad-x);
  display: flex; flex-direction: column; gap: 36px;
}
.manifesto-lines { display: flex; flex-direction: column; }
.manifesto-lines .line { font: 300 80px/86px var(--font-title); color: var(--cream); }
.manifesto-lines .dim { color: var(--lavender); }
.manifesto-lines .gold-italic { font-style: italic; color: var(--gold); }

/* ---------- coming soon ---------- */
.coming-soon {
  min-height: calc(100vh - 93px);
  background: var(--deep);
  display: flex; align-items: center;
}
.coming-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 24px; padding: 96px 0;
}
.coming-mark {
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--cream);
  font: 700 34px/1 var(--font-body);
}
.coming-eyebrow {
  font: 600 12px/1.5 var(--font-body);
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold);
}
.coming-title { font: 300 52px/60px var(--font-title); color: var(--cream); }
.coming-title .gold-italic { font-style: italic; color: var(--gold); }
.coming-note { max-width: 420px; font: 400 15px/25px var(--font-body); color: var(--lavender); }
.coming-back { font: 600 12px/1 var(--font-body); color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.coming-back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--white-12);
  padding: 72px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 380px 1fr 1fr 1fr;
  gap: 64px;
}
.footer-left { display: flex; flex-direction: column; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { font: 700 15px/1 var(--font-body); color: var(--cream); letter-spacing: 0.5px; }
.footer-brand small { font: 400 10px/1 var(--font-body); color: var(--lavender); letter-spacing: 1px; }
.footer-address { display: flex; flex-direction: column; gap: 8px; }
.footer-address p { font: 400 13px/21px var(--font-body); color: var(--lavender); }

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-header { font: 600 10px/1 var(--font-body); color: var(--cream); letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; }
.footer-col li a {
  display: inline-block;
  font: 400 13px/26px var(--font-body);
  color: var(--lavender);
}
.footer-col li a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--white-12);
  font: 400 11px/1.5 var(--font-body);
  color: var(--lavender);
}
.footer-tagline { font-size: 10px; font-weight: 500; }

/* ============================================================
   RESPONSIVE — tablet ≤1180
   ============================================================ */
@media (max-width: 1180px) {
  :root { --pad-x: 40px; }

  .hero-media { height: 520px; }
  .hero-slogan { font-size: 44px; line-height: 52px; left: 40px; bottom: 40px; }

  .network-row { flex-direction: column; gap: 40px; }
  .network-left { width: auto; }
  .statement { font-size: 38px; line-height: 46px; }

  .uk-row { flex-direction: column; gap: 40px; }
  .uk-text { width: auto; }
  .uk-media { height: 380px; width: 100%; }

  .school-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .school-card:nth-child(even) { padding-top: 0; }

  .gc-row { flex-direction: column-reverse; gap: 40px; }
  .gc-text { width: auto; }
  .gc-media img { height: 320px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }

  .leadership-row { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .leader-card:nth-child(2), .leader-card:nth-child(3) { padding-top: 0; }
  .leader-photo { height: 340px; }

  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .footer-left { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — mobile ≤720
   ============================================================ */
@media (max-width: 720px) {
  :root { --pad-x: 20px; }

  /* nav collapses to burger */
  .nav-menu, .partner-btn { display: none; }
  .brand { margin-right: auto; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
  .site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav.open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 8px var(--pad-x) 16px;
  }
  .site-nav.open .nav-menu a { padding: 12px 0; font-size: 14px; width: 100%; border-bottom: 1px solid var(--hairline); }
  .site-nav.open .partner-btn {
    display: inline-block;
    position: absolute;
    top: 100%; right: var(--pad-x);
    margin-top: 16px;
  }

  .hero { padding-top: 48px; padding-bottom: 48px; gap: 24px; }
  .hero-media { height: 420px; }
  .hero-slogan { left: 24px; bottom: 24px; font-size: 30px; line-height: 38px; }

  .section-network, .section-schools, .section-campus, .section-numbers,
  .section-leadership { padding-top: 64px; padding-bottom: 64px; }
  .section-network, .section-campus, .section-leadership { gap: 48px; }

  .statement { font-size: 30px; line-height: 38px; }
  .lead { font-size: 16px; line-height: 27px; }

  .audience-strip { grid-template-columns: 1fr; }
  .audience-cell { padding: 24px 0 !important; }
  .audience-cell + .audience-cell { border-left: 0; border-top: 1px solid var(--hairline); }

  .band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .band { padding-top: 56px; padding-bottom: 56px; }
  .band-title { font-size: 36px; line-height: 42px; }

  .section-schools { padding-top: 64px; padding-bottom: 64px; }
  .uk-row { margin-bottom: 48px; gap: 32px; }
  .uk-name { font-size: 28px; line-height: 34px; }
  .uk-media { height: 260px; }

  .school-grid { grid-template-columns: 1fr; }
  .card-media { height: 220px; }

  .gc-title { font-size: 32px; line-height: 40px; }
  .gc-media img { height: 240px; }

  .principle-row { flex-direction: column; gap: 8px; }
  .principle-name { width: auto; }

  .stats-row { grid-template-columns: 1fr; gap: 40px; }
  .stat-number { font-size: 56px; line-height: 60px; }

  .leadership-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .leadership-title { font-size: 34px; line-height: 40px; }
  .leadership-row { grid-template-columns: 1fr; }
  .leader-photo { height: 320px; }

  .manifesto { padding-top: 80px; padding-bottom: 80px; }
  .manifesto-lines .line { font-size: clamp(34px, 9vw, 56px); line-height: 1.15; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .coming-title { font-size: 32px; line-height: 40px; }
}

/* ============================================================
   SUBPAGES — shared components for About / Global Campus /
   Our Schools / Recognition / News & Insights / Contact
   (appended only; existing rules above are untouched)
   ============================================================ */

/* generic content section for subpages */
.page-section { padding: 96px 0; }

/* operating framework grid — Global Campus */
.framework-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
.framework-cell {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.framework-no { font: 600 11px/1 var(--font-body); color: var(--gold); }
.framework-name { font: 600 19px/25px var(--font-body); color: var(--ink); }
.framework-desc { font: 400 13px/20px var(--font-body); color: var(--slate); }

/* accreditation grid — Recognition */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.accred-cell {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  font: 300 34px/40px var(--font-title);
  color: var(--ink);
  letter-spacing: 0.5px;
}

/* pending-confirmation blocks */
.pending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pending-block {
  min-height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
}
.pending-block .eyebrow { color: var(--cream); }
.pending-note { max-width: 320px; font: 400 13px/21px var(--font-body); color: var(--slate); }

/* contact form — static layout, submission wired up later */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font: 600 10px/1 var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  font: 400 14px/1.5 var(--font-body);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 12px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }
.form-actions { margin-top: 40px; }
.form-actions .partner-btn { margin-left: 0; display: inline-block; }

/* --- subpages responsive --- */
@media (max-width: 1180px) {
  .framework-grid { grid-template-columns: repeat(2, 1fr); }
  .accred-grid { grid-template-columns: repeat(2, 1fr); }
  .pending-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page-section { padding: 64px 0; }
  .framework-grid { grid-template-columns: 1fr; gap: 40px; }
  .accred-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .accred-cell { font-size: 28px; line-height: 34px; }
  .form-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* news article layout — one PHP file per post under news/ (see news/README.md) */
.news-article { max-width: 760px; margin: 0 auto; padding: 88px 0 96px; }
.news-article .eyebrow { display: block; margin-bottom: 20px; }
.news-article h1 { font: 300 44px/52px var(--font-title); color: var(--ink); margin-bottom: 32px; }
.news-article p { font: 400 15px/27px var(--font-body); color: var(--ink); }
.news-article p + p { margin-top: 18px; }
.news-article img { margin: 16px 0; }
.news-article .gc-caption { margin-top: 8px; }
.news-article .coming-back { margin-top: 40px; }
@media (max-width: 720px) {
  .news-article { padding: 56px 0 64px; }
  .news-article h1 { font-size: 32px; line-height: 40px; margin-bottom: 24px; }
}

/* news list — index page */
.news-list { border-top: 1px solid var(--hairline); }
.news-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
}
.news-date { font: 600 10px/1 var(--font-body); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.news-item-title a { font: 300 28px/36px var(--font-title); color: var(--ink); }
.news-item-title a:hover { color: var(--gold); }
.news-item-excerpt { max-width: 640px; font: 400 14px/23px var(--font-body); color: var(--slate); }
@media (max-width: 720px) {
  .news-item { padding: 32px 0; }
  .news-item-title a { font-size: 22px; line-height: 30px; }
}

/* ============================================================
   MOTION — SPEC §4 additions (restrained; both reduced-motion aware)
   ============================================================ */

/* image entrance: 1.02 -> 1.00 ease-out (independent `scale` property,
   so hover transforms on .card-media img stay untouched) */
.reveal img { scale: 1.02; transition: scale 0.9s ease-out; }
.reveal.visible img { scale: 1; }

/* scroll parallax: hero only (opt-in via data-parallax). No CSS headroom:
   the source (1200x640) is taller-ratioed than the frame (2.25), so cover
   leaves ~128px of vertical surplus; main.js clamps the shift to the real
   per-breakpoint surplus computed from naturalWidth/Height, so the image
   never exposes an edge and never crops beyond the cover baseline. */
@media (prefers-reduced-motion: reduce) {
  .reveal img { scale: 1; transition: none; }
}
@media print {
  .reveal img { scale: 1; }
}

/* ============================================================
   RESPONSIVE FIXES — mobile/platform correctness
   ============================================================ */

/* ≤720: band intro kept a 320px flex-basis (column axis) — let it size to content */
@media (max-width: 720px) {
  .band-intro { flex: 0 0 auto; }

  /* iOS Safari auto-zooms inputs under 16px on focus */
  .field input, .field select, .field textarea { font-size: 16px; }
}

/* mobile browsers: dynamic viewport height for the coming-soon centring */
@supports (height: 100svh) {
  .coming-soon { min-height: calc(100svh - 93px); }
}

/* ============================================================
   RESPONSIVE v2 — integrated pass (0907):
   fluid type via clamp (smooths the 1180/720 jumps) ·
   768-900 mid-band · leadership single-column stagger ·
   touch targets on coarse pointers.
   Later declarations win: these override the matching rules in
   the ≤1180 / ≤720 blocks above without touching them.
   ============================================================ */

/* --- fluid type scale (vw mid-points tuned to the v11 ladder) --- */
.hero-slogan      { font-size: clamp(30px, 4.7vw, 56px); line-height: 1.15; }
.statement        { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.16; }
.band-title       { font-size: clamp(36px, 4.9vw, 58px); line-height: 1.1; }
.uk-name          { font-size: clamp(28px, 3.1vw, 36px); line-height: 1.2; }
.gc-title         { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.12; }
.stat-number      { font-size: clamp(56px, 6.1vw, 72px); line-height: 1.06; }
.leadership-title { font-size: clamp(34px, 4.1vw, 48px); line-height: 1.12; }
.coming-title     { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.15; }

/* --- 768-900 mid-band: keep the band headline on one line longer,
       stack the leadership header before it gets tight --- */
@media (max-width: 900px) {
  .band-intro { flex: 0 0 auto; }
  .leadership-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .nav-menu { gap: 18px; }
}

/* --- leadership, tablet: single column with alternating offset
       (replaces the 2+1 orphan row; keeps the staggered editorial feel).
       Portraits render full-height and uncropped: the photo box locks to
       the source ratio (384x400) with a max width, so object-fit: cover
       never trims head or shoulders on wide single-column cards. --- */
@media (max-width: 1180px) {
  .leadership-row { grid-template-columns: 1fr; row-gap: 56px; }
  .leader-card { width: 86%; }
  .leader-card:nth-child(even) { margin-left: auto; }
  .leader-photo { width: 100%; max-width: 420px; height: auto; aspect-ratio: 384 / 400; }
}
@media (max-width: 720px) {
  .leader-card { width: 100%; }
  .leader-card:nth-child(even) { margin-left: 0; }
}

/* --- touch targets: roomier hit areas on coarse pointers only --- */
@media (hover: none) and (pointer: coarse) {
  .nav-menu a { padding: 10px 0; }
  .footer-col li a { padding: 6px 0; }
}

/* --- brand assets (0908: real logo, white background removed to alpha) --- */
.footer-logo { width: 34px; height: auto; display: block; }

/* --- uncropped school cards below 1180: the 190px fixed height turned
       into a wide letterbox on 2-col/1-col layouts (29-49% vertical crop).
       Lock the card media to the source ratio (282x190) instead. --- */
@media (max-width: 1180px) {
  .card-media { height: auto; aspect-ratio: 282 / 190; }
}

/* --- Global Campus network photo: full-width block locked to the source
       ratio (696x380) so the people in it are never cropped --- */
.uk-media.gc-photo { height: auto; aspect-ratio: 696 / 380; }
.uk-media.gc-photo img { width: 100%; height: 100%; }

/* --- below 1180 the UK feature photo and the home corridor photo leave
       their designed 764/460 and 696/380 frames and go full-width — lock
       them to source ratio too, or cover trims 15-33% vertically --- */
@media (max-width: 1180px) {
  .uk-media { height: auto; aspect-ratio: 764 / 460; }
  .gc-media img { height: auto; aspect-ratio: 696 / 380; }
}
