/* AMUZI SPORTS — PAGE SECTIONS
   The single, fixed .site-bg glow-field (see base.css) is the one continuous
   background behind the entire site — every section here is transparent to
   it. Depth/hierarchy comes from translucent glass panels and saffron
   accents, never a section re-loading its own copy of the background. */

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: transparent;
  overflow: hidden;
  color: var(--white);
  padding-top: var(--header-h);
}
/* Just a scrim for text legibility over the global background — no image
   here, the fixed .site-bg provides the photographic glow-field itself. */
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,32,57,0.1) 0%, rgba(10,32,57,0) 40%, rgba(10,32,57,0.5) 100%);
}
/* Strong, soft cinematic glow — the hero is the biggest "sun" moment on the
   site. Two elongated, blurred beams rather than a graphic ray pattern. */
.hero__rays {
  position: absolute; inset: 0;
  background: radial-gradient(45% 120% at 85% -10%, rgba(199,180,143,0.22), transparent 70%);
  mix-blend-mode: screen;
}
.hero__photo {
  position: absolute; inset: 0;
  opacity: 0.4;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__pitch {
  position: absolute; inset: 0;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.hero__pitch svg { width: 100%; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,32,57,0.96) 0%, rgba(10,32,57,0.35) 45%, rgba(10,32,57,0.15) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--sp-9) var(--sp-8);
}
/* The hero label is the same yellow highlighter as every other section
   label (manual p.42); only its spacing differs. */
.hero__eyebrow { margin-bottom: var(--sp-5); }
.hero__eyebrow::before { content: none; }
.hero h1 {
  font-size: var(--fs-display);
  color: var(--white);
  max-width: 16ch;
}
.hero h1 .accent {
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: var(--sp-5);
  max-width: 46ch;
  color: var(--mist-85);
  font-size: var(--fs-lead);
}
.hero__actions { margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero__scroll-cue {
  position: absolute;
  right: var(--container-pad);
  bottom: var(--sp-6);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--mist-65);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-cue span {
  writing-mode: vertical-rl;
}
.hero__scroll-cue .line {
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--mist-65), transparent);
  writing-mode: initial;
  overflow: hidden;
}
.hero__scroll-cue .line::after {
  content: ""; display: block; width: 100%; height: 40%;
  background: var(--saffron);
  animation: scrollcue 2.2s var(--ease-premium) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(-100%);} 100% { transform: translateY(250%);} }

@media (min-width: 900px) { .hero__scroll-cue { display: flex; } }

/* ================= WHO WE ARE ================= */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-9); } }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--surface), var(--bg-deep));
  border: 1px solid var(--veil-06);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
/* Landscape photographs need a landscape frame — in the 4:5 default they
   were letterboxed with wide empty bands above and below. */
.media-frame--wide { aspect-ratio: 3/2; }
/* Captions and badges over photographs take black type, so they sit on a
   light chip rather than directly on the picture — black on an unpredictable
   photograph would be unreadable half the time. */
.media-frame__caption {
  position: absolute; left: var(--sp-5); bottom: var(--sp-5);
  max-width: calc(100% - var(--sp-5) * 2);
  color: #000000;
  background: var(--inst-white);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.media-frame__badge {
  position: absolute; top: var(--sp-5); left: var(--sp-5);
  background: var(--inst-white);
  color: #000000;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sub);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.25);
}
.media-frame--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--surface), var(--bg-deep));
}
.media-frame--placeholder .pitch-illustration { width: 82%; opacity: 0.9; }
.media-frame--logo {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(65% 65% at 50% 50%, rgba(57,151,247,0.18), transparent 70%), linear-gradient(150deg, var(--surface), var(--bg-deep));
}
.media-frame--logo img { filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)); }

.who-copy p + p { margin-top: var(--sp-4); }
.who-list { margin-top: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.who-list__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.who-list__item .icon-chip { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.who-list__item .icon-chip svg { width: 18px; height: 18px; }
.who-list__item strong { display: block; font-family: var(--font-sub); font-size: 0.95rem; margin-bottom: 2px; color: var(--ink); }
.who-list__item span { color: var(--ink-65); font-size: 0.9rem; }

/* ================= PHILOSOPHY ================= */
.philosophy-wheel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--mist-08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--mist-08);
}
@media (min-width: 720px) { .philosophy-wheel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .philosophy-wheel { grid-template-columns: repeat(3, 1fr); } }
.philosophy-pillar {
  background: var(--surface);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease-premium);
}
.philosophy-pillar:hover { background: var(--surface-2); }
.philosophy-pillar::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: radial-gradient(70% 90% at 100% 100%, rgba(199,180,143,0.16), transparent 70%);
  pointer-events: none;
}
.philosophy-pillar > * { position: relative; z-index: 1; }
.philosophy-pillar__index {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  background: var(--gradient-saffron);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.philosophy-pillar__name {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--ink);
}
.philosophy-pillar__summary { color: var(--mist-65); font-size: 0.9rem; }
.philosophy-pillar__detail {
  color: var(--mist-45);
  font-size: 0.84rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-premium), opacity 0.3s var(--ease-premium);
}
.philosophy-pillar:hover .philosophy-pillar__detail,
.philosophy-pillar.is-active .philosophy-pillar__detail { max-height: 140px; opacity: 1; margin-top: 4px; }
.philosophy-pillar__glyph {
  position: absolute; right: var(--sp-5); top: var(--sp-5);
  width: 34px; height: 34px; opacity: 0.5;
}

/* ================= PATHWAY FLOW (side by side + arrows) =================
   Three equal-width cards in reading order — Feeder, Intermediate, CoE —
   with an arrow between each. Grid columns are `1fr auto 1fr auto 1fr`
   on wide screens (three equal card columns, two auto-sized arrow
   columns) and a single `1fr` column on narrow ones, so the exact same
   DOM order (card, arrow, card, arrow, card) auto-wraps into a vertical
   stack with no separate mobile markup or width math — nothing here can
   overflow, since every card column is an equal, ungoverned fraction. */
.pathway { position: relative; }
/* "FEEDER CENTRES -> INTERMEDIATE CENTRES -> CENTRE OF EXCELLENCE" is the
   pathway stated in order, so it has to read as one line. The type is sized
   off the viewport so the whole string fits the container; below 900px there
   is no width to do that with, and it wraps at the normal h2 size. */
@media (min-width: 900px) {
  .pathway-head {
    white-space: nowrap;
    max-width: none;
    font-size: min(var(--fs-h2), 3.1vw);
  }
}
.pathway-flow {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
@media (min-width: 960px) {
  .pathway-flow { grid-template-columns: 1fr auto 1fr auto 1fr; gap: var(--sp-4); }
}
.pathway-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--saffron);
  transform: rotate(90deg);
}
.pathway-flow__arrow svg { width: 26px; height: 26px; }
@media (min-width: 960px) {
  .pathway-flow__arrow { transform: none; }
}
.pathway-flow__card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.22);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  color: var(--white);
}
@media (min-width: 960px) {
  .pathway-flow__card { padding: var(--sp-7) var(--sp-6); }
}
/* The three stages read as one line only if their insides line up too: the
   number, the name, the summary, the bullets and the meta block each share a
   row across all three cards, however long the copy is. Subgrid does that;
   without it the cards fall back to their own flex flow. Placed after the
   base .pathway-flow__card rule so display:grid wins over display:flex. */
@media (min-width: 960px) {
  @supports (grid-template-rows: subgrid) {
    .pathway-flow { grid-template-rows: auto auto auto 1fr auto; }
    .pathway-flow__card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 5;
      row-gap: var(--sp-4);
    }
    .pathway-flow__arrow { grid-row: span 5; }
  }
}
.pathway-flow__card--feeder { background: linear-gradient(160deg, #15548c, #0f2d4c); }
.pathway-flow__card--intermediate { background: linear-gradient(160deg, #15548c, #0f2d4c); }
.pathway-flow__card--coe {
  background: linear-gradient(160deg, #c7b48f, var(--saffron));
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 0 48px rgba(175,152,110,0.35);
  color: #000000;
}
/* Gold ground: every element on this card takes black type and black rules,
   rather than the white-on-dark treatment the other two cards use. */
.pathway-flow__card--coe .pathway-flow__num,
.pathway-flow__card--coe .pathway-flow__name,
.pathway-flow__card--coe .pathway-flow__tag,
.pathway-flow__card--coe .pathway-flow__summary,
.pathway-flow__card--coe .pathway-flow__list li,
.pathway-flow__card--coe .pathway-flow__meta-row span:first-child,
.pathway-flow__card--coe .pathway-flow__meta-row span:last-child { color: #000000; }
.pathway-flow__card--coe .pathway-flow__tag,
.pathway-flow__card--coe .pathway-flow__summary,
.pathway-flow__card--coe .pathway-flow__meta-row span:first-child { color: rgba(0,0,0,0.72); }
.pathway-flow__card--coe .pathway-flow__age {
  color: #000000; background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.35);
}
.pathway-flow__card--coe .pathway-flow__list li::before { background: rgba(0,0,0,0.75); }
.pathway-flow__card--coe .pathway-flow__meta { border-top-color: rgba(0,0,0,0.28); }
.pathway-flow__destination {
  position: absolute;
  top: calc(var(--sp-4) * -1);
  left: var(--sp-6);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000000;
  background: var(--com-yellow);
  border: 1px solid rgba(0,0,0,0.45);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.pathway-flow__head { display: flex; align-items: center; justify-content: space-between; }
.pathway-flow__num { font-family: var(--font-heading); font-size: 2.2rem; color: rgba(255,255,255,0.85); }
.pathway-flow__age { font-family: var(--font-sub); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); padding: 5px 10px; border-radius: var(--radius-pill); }
.pathway-flow__name { font-family: var(--font-heading); text-transform: uppercase; font-size: 1.6rem; color: var(--white); }
.pathway-flow__tag { font-family: var(--font-sub); font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.04em; }
.pathway-flow__summary { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.pathway-flow__list { display: flex; flex-direction: column; gap: 8px; margin-top: var(--sp-2); }
.pathway-flow__list li { display: flex; gap: 8px; font-size: 0.86rem; color: rgba(255,255,255,0.78); }
.pathway-flow__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.85); margin-top: 8px; flex: none; }
.pathway-flow__meta { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,0.2); display: flex; flex-direction: column; gap: 6px; }
.pathway-flow__meta-row { display: flex; justify-content: space-between; gap: var(--sp-3); font-size: 0.78rem; }
.pathway-flow__meta-row span:first-child { color: rgba(255,255,255,0.6); }
.pathway-flow__meta-row span:last-child { font-weight: 600; text-align: right; color: var(--white); }

.pathway-note { margin-top: var(--sp-7); display: flex; align-items: center; gap: var(--sp-3); }

/* ================= CENTRE OF EXCELLENCE (home teaser) ================= */
.coe-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #15548c, #0f2d4c);
  border: 1px solid rgba(57,151,247,0.4);
  color: var(--white);
  padding: var(--sp-9) var(--sp-6);
  isolation: isolate;
}
.coe-feature__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(15,45,76,0.35) 0%, rgba(15,45,76,0.1) 45%, rgba(15,45,76,0.6) 100%);
}
/* Stronger, soft glow — the flagship destination gets the second-brightest
   light in the room. */
.coe-feature::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(50% 110% at 8% 10%, rgba(57,151,247,0.2), transparent 68%);
  pointer-events: none;
}
.coe-feature__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 960px) { .coe-feature__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.coe-feature__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-4); margin-top: var(--sp-7); }
.coe-feature__list { margin-top: var(--sp-6); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-5); }
.coe-feature__list li { display: flex; gap: 8px; font-size: 0.88rem; color: var(--mist-85); }
.coe-feature__list li::before { content: "✓"; color: var(--blue-accent-soft); font-weight: 700; }
.coe-feature__visual {
  aspect-ratio: 3/2;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), var(--bg-deep));
  border: 1px solid var(--mist-08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.coe-feature__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ================= AFA PARTNERSHIP ================= */
.afa-section { background: transparent; border-top: 1px solid rgba(57,151,247,0.2); }
.afa-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.afa-credentials { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-top: var(--sp-8); }
@media (min-width: 560px) { .afa-credentials { grid-template-columns: repeat(3,1fr); } }
.afa-credential { position: relative; overflow: hidden; background: var(--veil-06); border-radius: var(--radius-lg); padding: var(--sp-6); text-align: center; border: 1px solid var(--ink-12); }
.afa-credential::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: radial-gradient(70% 90% at 50% 100%, rgba(199,180,143,0.13), transparent 72%);
  pointer-events: none;
}
.afa-credential > * { position: relative; z-index: 1; }
.afa-credential__value {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  background: var(--gradient-saffron);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.afa-credential__label { font-family: var(--font-sub); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; margin-top: 6px; color: var(--ink); }
.afa-credential__detail { font-size: 0.78rem; color: var(--ink-45); margin-top: 2px; }
.afa-value-grid { margin-top: var(--sp-8); display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 780px) { .afa-value-grid { grid-template-columns: repeat(2, 1fr); } }
.afa-value-card { position: relative; overflow: hidden; background: var(--veil-06); border: 1px solid var(--ink-12); border-radius: var(--radius-lg); padding: var(--sp-6); display: flex; gap: var(--sp-4); }
.afa-value-card::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: radial-gradient(65% 90% at 100% 0%, rgba(199,180,143,0.13), transparent 72%);
  pointer-events: none;
}
.afa-value-card > * { position: relative; z-index: 1; }
.afa-value-card__body strong { display: block; font-family: var(--font-sub); font-size: 1rem; margin-bottom: 4px; color: var(--ink); }
.afa-value-card__body p { color: var(--ink-65); font-size: 0.9rem; }
.afa-disclosure {
  margin-top: var(--sp-7);
  padding: var(--sp-5);
  border-radius: var(--radius-md);
  background: rgba(57,151,247,0.1);
  border: 1px solid rgba(57,151,247,0.4);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.afa-disclosure p { font-size: 0.85rem; color: var(--blue-accent-soft); }

/* ================= PERFORMANCE DATA ================= */
.performance-panel { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 960px) { .performance-panel { grid-template-columns: 0.85fr 1.15fr; align-items: center; } }
.radar-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.radar-wrap::before {
  content: "";
  position: absolute; inset: -8%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(175,152,110,0.1), transparent 70%);
  z-index: -1;
}
.radar-wrap svg { width: 100%; max-width: 380px; }
.metric-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.metric-row__head { display: flex; justify-content: space-between; font-family: var(--font-sub); font-size: 0.85rem; margin-bottom: 6px; color: var(--ink); }
.metric-row__head strong { font-weight: 600; }
.metric-bar { height: 8px; border-radius: var(--radius-pill); background: var(--veil-12); overflow: hidden; }
/* display:block matters. The fill is a <span>, and width and height do not
   apply to an inline element, so without this the bar never fills. */
.metric-bar__fill { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--gradient-saffron); width: 0%; transition: width 1.1s var(--ease-premium); }
/* On the report card the rating bars read as a score out of 100, so they take
   communication yellow rather than the gold used elsewhere. */
.page-report-card .metric-bar__fill { background: var(--com-yellow); }
.player-card {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--veil-06);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.player-card__row { display: flex; justify-content: space-between; align-items: center; }
.player-card__name { font-family: var(--font-heading); text-transform: uppercase; }
.player-card__tag { font-family: var(--font-sub); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist-45); }

/* ================= SUCCESS STORIES ================= */
.stories-rail { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 780px) { .stories-rail { grid-template-columns: repeat(3, 1fr); } }
.story-card { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.story-card__path { display: flex; align-items: center; gap: 8px; font-family: var(--font-sub); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--blue-accent-soft); flex-wrap: wrap; }
.story-card__path svg { width: 12px; height: 12px; }
.story-card__quote { font-family: var(--font-heading); font-size: 1.05rem; text-transform: none; letter-spacing: 0; line-height: 1.3; color: var(--ink); }
.story-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 0.8rem; color: var(--ink-45); }

/* ================= PARENTS ================= */
.parents-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
@media (min-width: 960px) { .parents-grid { grid-template-columns: 0.8fr 1.2fr; } }

/* ================= FINAL CTA =================
   A deliberately richer, more saturated blue than the page background, so it
   still reads as a break/moment — with a warm saffron glow underneath instead
   of a third accent hue. Buttons/eyebrow use their normal site-wide styling;
   no colour-family override needed since this panel is still blue. */
.final-cta {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(22,68,127,0.55) 0%, rgba(15,45,76,0.68) 100%);
  border: 1px solid rgba(175,152,110,0.28);
  color: var(--white);
  padding: var(--sp-9) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, #15548c, #0f2d4c);
}
/* Stronger, soft glow — the final CTA is the closing "moment" on every page. */
.final-cta::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 140% at 90% -10%, rgba(199,180,143,0.2), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.final-cta .eyebrow--saffron { justify-content: center; }
.final-cta h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.final-cta p { margin-top: var(--sp-4); max-width: 50ch; margin-inline: auto; color: var(--mist-85); font-size: var(--fs-lead); }
/* Grid (not flex) so every button in the group is the same width,
   regardless of label length — short and long labels no longer produce
   differently-sized pills. Collapses to one equal-width column per row on
   narrow screens automatically. */
.final-cta__actions {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
  max-width: 680px;
  margin-inline: auto;
}
/* Unconditional (not just under some breakpoint) — labels like "School &
   Institutional Enquiries" always wrap to fit their column, at every
   viewport width, never forcing the page wider than the screen. */
.final-cta__actions .btn {
  width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
.final-cta .btn--ghost { border-color: rgba(255,255,255,0.45); color: var(--white); }
.final-cta .btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ================= PAGE HERO (subpages) ================= */
.page-hero {
  background: transparent;
  color: var(--ink);
  padding-top: calc(var(--header-h) + var(--sp-8));
  padding-bottom: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,32,57,0.08) 0%, rgba(10,32,57,0) 35%, rgba(10,32,57,0.55) 100%);
}
/* Stronger, soft cinematic glow on every page hero — a key section moment. */
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(38% 140% at 100% -14%, rgba(199,180,143,0.22), transparent 68%);
  pointer-events: none;
}
.breadcrumb { position: relative; z-index: 1; display: flex; gap: 8px; align-items: center; font-family: var(--font-sub); font-size: 0.78rem; color: var(--mist-45); margin-bottom: var(--sp-5); text-transform: uppercase; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--ink); }
.page-hero h1 { position: relative; z-index: 1; max-width: 20ch; }
.page-hero .lead { position: relative; z-index: 1; color: var(--mist-65); margin-top: var(--sp-5); }

/* ================= GENERIC CONTENT BLOCKS (subpages) ================= */
.content-columns { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
@media (min-width: 780px) { .content-columns { grid-template-columns: repeat(2, 1fr); } }
.content-columns--3 { grid-template-columns: 1fr; }
@media (min-width: 780px) { .content-columns--3 { grid-template-columns: repeat(3, 1fr); } }

.info-card { padding: var(--sp-6); display: flex; gap: var(--sp-4); }
.info-card__body strong { display: block; font-family: var(--font-sub); margin-bottom: 4px; color: var(--ink); }
.info-card__body p { color: var(--ink-65); font-size: 0.9rem; }
/* Vision 2031 / Beti Khilao — the one card that carries the saffron thread */
.info-card--saffron {
  background: linear-gradient(160deg, rgba(175,152,110,0.14), rgba(175,152,110,0.02));
  border-color: rgba(175,152,110,0.4);
}
.info-card--saffron:hover { border-color: rgba(175,152,110,0.6); }

.timeline { border-left: 2px solid var(--ink-12); padding-left: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-7); margin-left: var(--sp-2); }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: calc(var(--sp-6) * -1 - 6px); top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gradient-saffron);
}
.timeline-item strong { display: block; font-family: var(--font-heading); text-transform: uppercase; font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.timeline-item p { color: var(--ink-65); font-size: 0.92rem; max-width: 60ch; }

.table-clean { width: 100%; border-collapse: collapse; }
.table-clean th, .table-clean td { text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--ink-12); font-size: 0.92rem; color: var(--ink-85); }
.table-clean th { font-family: var(--font-sub); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-45); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--ink-12); }
.table-wrap .table-clean { min-width: 560px; }
.table-wrap .table-clean tr:last-child td { border-bottom: none; }

.contact-methods { display: flex; flex-direction: column; gap: var(--sp-4); margin-top: var(--sp-6); }
.contact-method { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-method strong { display: block; font-family: var(--font-sub); font-size: 0.92rem; color: var(--ink); }
.contact-method span { color: var(--ink-65); font-size: 0.88rem; }

.location-card { padding: var(--sp-6); }
.location-card__status { display: inline-flex; margin-bottom: var(--sp-3); }

.legal-body { max-width: 72ch; }
.legal-body h2 { margin-top: var(--sp-8); text-transform: none; font-size: 1.3rem; color: var(--ink); }
.legal-body p, .legal-body li { color: var(--ink-65); font-size: 0.95rem; margin-top: var(--sp-3); }
.legal-body ul { margin-top: var(--sp-3); padding-left: var(--sp-5); list-style: disc; }


/* ================= HERO VIDEO (light theme) ================= */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
/* The hero sits over moving footage, so it keeps white type and needs its own
   scrim — the rest of the site is dark-on-light. */
.hero__scrim {
  background:
    linear-gradient(180deg, rgba(15,45,76,0.62) 0%, rgba(15,45,76,0.34) 45%, rgba(15,45,76,0.78) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* AFA Internacional Partner credential mark in the footer */
.footer-partner-mark {
  height: 72px; width: auto;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-4);
}
