/* ==========================================================================
   Overcomer Schools — main stylesheet
   Palette drawn from the crest, uniforms and campus:
   forest green (walls), teal (uniform), gold (trophies/trim), ivory (shirts), crest blue
   ========================================================================== */

:root {
  --forest-950: #06231a;
  --forest-900: #0a3125;
  --forest-800: #0f4232;
  --forest-700: #155741;
  --forest-600: #1c6b51;
  --teal-600: #1b7270;
  --teal-100: #e1efec;
  --gold-600: #b48a22;
  --gold-500: #c9a23d;
  --gold-400: #dcbb63;
  --gold-100: #f5ecd2;
  --crest-blue: #2b3f8f;
  --ivory: #fbf8f1;
  --paper: #f3eee1;
  --white: #ffffff;
  --ink: #14211b;
  --ink-soft: #33443c;
  --muted: #5d6c65;
  --line: rgba(20, 33, 27, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 9vw, 132px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 30, 22, 0.06), 0 2px 8px rgba(10, 30, 22, 0.05);
  --shadow: 0 10px 30px -12px rgba(10, 30, 22, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(6, 35, 26, 0.38);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.12; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--gold-400); color: var(--forest-950); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold-500); color: var(--forest-950); padding: 10px 18px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--forest-900); color: rgba(255, 255, 255, 0.78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split--reverse > :first-child { order: 2; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.display, .h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.015em; line-height: 1.08; font-variation-settings: "opsz" 120; }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: -0.01em; }
.h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.005em; }
.h2 em, .h1 em { font-style: italic; color: var(--forest-700); }
.section--dark .h2 em, .hero .h1 em, .page-hero .h1 em, .portal .h2 em, .cta .h2 em, .mv__card--dark em { color: var(--gold-400); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--ink-soft); }
.section--dark .lead { color: rgba(255, 255, 255, 0.8); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold-400); }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .h2 + .lead { margin-top: 20px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; line-height: 1;
  border: 1px solid transparent; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold-500); color: var(--forest-950); }
.btn--gold:hover { background: var(--gold-400); box-shadow: 0 12px 28px -10px rgba(201, 162, 61, 0.7); }
.btn--forest { background: var(--forest-800); color: var(--white); }
.btn--forest:hover { background: var(--forest-700); box-shadow: 0 12px 28px -12px rgba(15, 66, 50, 0.7); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--forest-900); border-color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--forest-800); background: var(--forest-800); color: var(--white); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest-700);
  border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; color: var(--gold-600); }
.section--dark .link-arrow { color: var(--gold-400); }

/* ---------- Top bar ---------- */
.topbar { background: var(--forest-950); color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 14px; height: 14px; opacity: 0.85; }
.topbar__group { display: flex; align-items: center; gap: 26px; }
.topbar__note { color: var(--gold-400); font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(6, 35, 26, 0.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px 16px; min-height: var(--header-h); max-width: 100%; padding-inline: 16px var(--gutter); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; color: var(--forest-900); letter-spacing: -0.01em; }
.brand__sub { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-600); margin-top: 4px; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; row-gap: 2px; flex: 1 1 auto; justify-content: center; min-width: 0; }
.nav__link { white-space: nowrap;
  position: relative; padding: 10px 14px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); border-radius: 8px; transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--forest-800); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--forest-900); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.portal-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--forest-800); padding: 10px 14px; border-radius: 999px; transition: background 0.2s; }
.portal-link svg { width: 17px; height: 17px; }
.portal-link:hover { background: var(--teal-100); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; color: var(--forest-900); border: 1px solid var(--line); }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 35, 26, 0.55); opacity: 0; transition: opacity 0.35s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--forest-900); color: var(--white); padding: 24px 28px 32px;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer__top img { width: 48px; height: 48px; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line-light); font-family: var(--font-display); font-size: 1.45rem; color: var(--white); }
.drawer__nav a[aria-current="page"] { color: var(--gold-400); }
.drawer__nav svg { width: 18px; height: 18px; opacity: 0.5; }
.drawer__actions { margin-top: 28px; display: grid; gap: 12px; }
.drawer__contact { margin-top: auto; padding-top: 28px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); display: grid; gap: 8px; }
.drawer__contact a:hover { color: var(--gold-400); }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--forest-950); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 35, 26, 0.25) 0%, rgba(6, 35, 26, 0.1) 35%, rgba(6, 35, 26, 0.82) 78%, rgba(6, 35, 26, 0.96) 100%),
    linear-gradient(90deg, rgba(6, 35, 26, 0.7) 0%, rgba(6, 35, 26, 0) 65%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding-block: 140px clamp(48px, 7vw, 88px); }
.hero__inner { max-width: 820px; }
.hero .h1 { color: var(--white); }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 26px 0 36px; }
.hero__meta {
  position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.hero__meta-item strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--white); line-height: 1.1; }
.hero__meta-item span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.68); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: var(--white); background: var(--forest-950); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 35, 26, 0.94) 0%, rgba(6, 35, 26, 0.78) 45%, rgba(6, 35, 26, 0.35) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(96px, 12vw, 160px) clamp(64px, 8vw, 104px); }
.page-hero .h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 820px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 640px; margin-top: 22px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span[aria-hidden] { opacity: 0.5; }

/* ---------- Media frames ---------- */
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame > picture { height: 100%; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1; }
.frame--landscape { aspect-ratio: 4 / 3; }
.media-stack { position: relative; padding: 0 0 12% 12%; }
.media-stack .frame--small { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; border: 6px solid var(--ivory); box-shadow: var(--shadow-lg); }
.section--paper .media-stack .frame--small { border-color: var(--paper); }
.section--white .media-stack .frame--small { border-color: var(--white); }
.badge-float {
  position: absolute; right: -14px; top: 28px; z-index: 2; background: var(--forest-900); color: var(--white);
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 220px;
}
.badge-float strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--gold-400); line-height: 1.1; }
.badge-float span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.78); }
.photo-credit { position: absolute; left: 14px; bottom: 12px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.9); background: rgba(6, 35, 26, 0.55); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* ---------- Pathway / levels ---------- */
.pathway { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pathway__item { padding: 32px 24px 30px; border-right: 1px solid var(--line); position: relative; transition: background 0.35s var(--ease); }
.pathway__item:last-child { border-right: 0; }
.pathway__item:hover { background: var(--white); }
.pathway__num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold-600); font-style: italic; }
.pathway__item h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: 14px 0 8px; }
.pathway__item p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.pathway__tag { display: inline-block; margin-top: 16px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-600); }

/* ---------- Welcome / letter ---------- */
.letter { position: relative; background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow); }
.letter__mark { position: absolute; right: clamp(24px, 4vw, 48px); top: clamp(24px, 4vw, 48px); width: clamp(64px, 8vw, 96px); opacity: 0.95; }
.letter__salutation { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--forest-800); margin-bottom: 22px; }
.letter p { font-size: 1.05rem; }
.signature { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 18px; }
.signature__name { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--ink); }
.signature__role { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.quote-block { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
.quote-block::before { content: "\201C"; display: block; font-size: 4.4rem; line-height: 0.6; color: var(--gold-500); margin-bottom: 14px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: var(--forest-900); padding: 36px 26px 34px; transition: background 0.35s var(--ease); }
.value:hover { background: var(--forest-800); }
.value__icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(220, 187, 99, 0.12); color: var(--gold-400); margin-bottom: 26px; }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 10px; }
.value p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.values--light { background: var(--line); }
.values--light .value { background: var(--white); }
.values--light .value:hover { background: var(--ivory); }
.values--light .value h3 { color: var(--ink); }
.values--light .value p { color: var(--muted); }
.values--light .value__icon { background: var(--gold-100); color: var(--gold-600); }

/* ---------- Feature list (why choose us) ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-100); color: var(--teal-600); display: flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-body); font-size: 1.06rem; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Cards ---------- */
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-600); }
.card__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.card__body p { font-size: 0.95rem; color: var(--muted); }
.card__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Story tiles (overlay text) */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 18px; }
.tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: var(--white); background: var(--forest-900); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 35, 26, 0) 35%, rgba(6, 35, 26, 0.88) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; }
.tile__kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-400); }
.tile h3 { color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-top: 6px; }
.tile--a { grid-column: span 7; grid-row: span 2; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 5; }
.tile--d { grid-column: span 4; }
.tile--e { grid-column: span 4; }
.tile--f { grid-column: span 4; }
.tile--a h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 30px 24px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-light); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--gold-400); margin-bottom: 20px;
}
.step h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin: 0; }
.steps--light .step { background: var(--white); border-color: var(--line); }
.steps--light .step::before { color: var(--gold-600); }
.steps--light .step h3 { color: var(--ink); }
.steps--light .step p { color: var(--muted); }

/* Timeline (vertical steps) */
.timeline { list-style: none; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 36px 84px; counter-increment: tl; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: 0; width: 55px; height: 55px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--forest-800);
}
.timeline h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; padding-top: 12px; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Checklist / chips ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; color: var(--forest-600); margin-top: 3px; }
.section--dark .checklist svg { color: var(--gold-400); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.section--paper .chips li { background: var(--ivory); }

.numbered { list-style: none; counter-reset: num; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.numbered li { counter-increment: num; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered li::before { content: counter(num, decimal-leading-zero); font-family: var(--font-display); font-style: italic; color: var(--gold-600); font-size: 1.15rem; }

/* ---------- Level blocks (academics) ---------- */
.level { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.level:first-of-type { border-top: 0; }
.level__label { display: inline-flex; gap: 10px; align-items: center; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--teal-600); margin-bottom: 16px; }
.level__label b { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--gold-600); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.level h3 { margin-bottom: 14px; }
.level .chips { margin-top: 22px; }
.sub-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(251, 248, 241, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.sub-nav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.sub-nav .container::-webkit-scrollbar { display: none; }
.sub-nav a { white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); transition: background 0.2s, color 0.2s; }
.sub-nav a:hover, .sub-nav a.is-active { background: var(--forest-800); color: var(--white); }

/* ---------- Facilities ---------- */
.facility { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 64px); }
.facility + .facility { border-top: 1px solid var(--line); }
.facility:nth-child(even) .facility__media { order: 2; }
.facility__num { font-family: var(--font-display); font-style: italic; color: var(--gold-600); font-size: 1.05rem; margin-bottom: 10px; display: block; }
.facility__duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.facility__duo .frame { aspect-ratio: 3 / 4; }
.icon-panel { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--forest-800), var(--teal-600)); display: flex; align-items: center; justify-content: center; color: var(--gold-400); }
.icon-panel svg { width: 96px; height: 96px; stroke-width: 1.2; }

/* ---------- Portal band ---------- */
.portal { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--forest-900); color: rgba(255, 255, 255, 0.78); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.portal::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 187, 99, 0.2), transparent 65%); }
.portal h2 { color: var(--white); }
.portal .checklist { position: relative; }
.portal .checklist li { color: rgba(255, 255, 255, 0.86); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: var(--white); background: var(--forest-950); }
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 35, 26, 0.95), rgba(6, 35, 26, 0.6)); }
.cta .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: clamp(64px, 8vw, 104px); }
.cta h2 { color: var(--white); max-width: 680px; }
.cta p { color: rgba(255, 255, 255, 0.78); margin-top: 14px; max-width: 560px; }

/* ---------- Anthem ---------- */
.anthem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); max-width: 920px; margin-inline: auto; }
.anthem__verse { border-top: 1px solid var(--line-light); padding-top: 28px; }
.anthem__verse h3 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-bottom: 18px; }
.anthem__verse p { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.75; color: rgba(255, 255, 255, 0.9); font-weight: 300; }
.anthem__verse em { color: var(--gold-400); }

/* ---------- Mission / vision ---------- */
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mv__card { border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); background: var(--white); border: 1px solid var(--line); }
.mv__card--dark { background: var(--forest-900); border-color: var(--forest-900); color: rgba(255, 255, 255, 0.82); }
.mv__card--dark h3 { color: var(--white); }
.mv__card h3 { margin: 6px 0 18px; }
.mv__card p { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.55; font-weight: 300; }
.mv__card .eyebrow { margin-bottom: 4px; }

/* ---------- Schools (two divisions) ---------- */
.division { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.division img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.division::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 35, 26, 0.05) 20%, rgba(6, 35, 26, 0.92) 100%); }
.division:hover img { transform: scale(1.04); }
.division__body { padding: clamp(28px, 4vw, 44px); }
.division__body h3 { color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 8px 0 10px; }
.division__body p { color: rgba(255, 255, 255, 0.8); max-width: 460px; }
.division .link-arrow { color: var(--gold-400); border-color: rgba(220, 187, 99, 0.45); margin-top: 6px; }
.division__tag { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-400); }

/* ---------- Info cards / contact ---------- */
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
a.info-card:hover { border-color: var(--forest-600); transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.info-card p, .info-card a.value-link { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); line-height: 1.4; word-break: break-word; }

.fee-card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); background: linear-gradient(150deg, var(--forest-800), var(--forest-950)); color: rgba(255, 255, 255, 0.8); position: relative; overflow: hidden; }
.fee-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(220, 187, 99, 0.25); }
.fee-card__amount { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-400); line-height: 1.1; margin: 10px 0 14px; }
.fee-card h3 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }

/* ---------- Forms ---------- */
.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(20, 33, 27, 0.18); background: var(--ivory); border-radius: 10px; padding: 14px 16px; font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-600); background: var(--white); box-shadow: 0 0 0 4px rgba(28, 107, 81, 0.12); }
.field .error { font-size: 0.8rem; color: #a3341f; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a3341f; }
.field.has-error .error { display: block; }
.form__foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form__note { font-size: 0.82rem; color: var(--muted); max-width: 360px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-size: 1.22rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: transform 0.35s var(--ease), background 0.3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--forest-800); color: var(--white); border-color: var(--forest-800); }
.faq details p { padding: 0 60px 24px 0; color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filters button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); background: var(--white); transition: all 0.25s; }
.filters button:hover { border-color: var(--forest-700); }
.filters button.is-active { background: var(--forest-800); color: var(--white); border-color: var(--forest-800); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; background: var(--paper); }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; transition: transform 0.8s var(--ease), filter 0.4s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 0.88rem; color: var(--white); background: linear-gradient(180deg, transparent, rgba(6, 35, 26, 0.85)); opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease); }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; transform: none; }
.masonry button { display: block; width: 100%; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4, 22, 16, 0.94); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; padding-inline: 24px; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Video Gallery ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.video-card__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper); box-shadow: var(--shadow); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.video-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.video-card__link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease), filter 0.4s; }
.video-card__link:hover img { transform: scale(1.05); filter: brightness(0.75); }
.video-card__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--white); background: rgba(6, 35, 26, 0.28); transition: background 0.3s; }
.video-card__link:hover .video-card__play { background: rgba(6, 35, 26, 0.45); }
.video-card__play svg { width: 64px; height: 64px; background: rgba(0, 0, 0, 0.55); border-radius: 50%; padding: 14px; transition: transform 0.3s; }
.video-card__link:hover .video-card__play svg { transform: scale(1.08); }
.video-card figcaption { font-size: 0.95rem; color: var(--ink); font-weight: 500; padding: 0 4px; }

/* ---------- Contact page: form + stacked info cards layout ---------- */
.contact-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-info-stack { display: flex; flex-direction: column; gap: 18px; }
.info-card--stacked { flex-direction: row; align-items: center; gap: 20px; padding: 22px 24px; }
.info-card--stacked .info-card__icon { margin-bottom: 0; flex-shrink: 0; }
.info-card--stacked .info-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.info-card--stacked .info-card__body p { font-size: 1.08rem; line-height: 1.35; margin: 0; }
.info-card__p--email { font-size: 0.98rem !important; word-break: break-all; }
.info-card__p--address { font-size: 1rem !important; }
.form__note--inline-tel { margin-top: 18px; }
.map--contact { aspect-ratio: 4 / 3; margin-top: 4px; }
.find-us-foot { margin: 14px 0 0; font-size: 0.95rem; }

@media (max-width: 1060px) {
  .contact-split { grid-template-columns: 1fr; }
  .map--contact { aspect-ratio: 16 / 8; }
}

/* ---------- Contact / enquiry form (bare <label>Text<input></label> pattern) ---------- */
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.contact-form label input[type="text"],
.contact-form label input[type="email"],
.contact-form label input[type="tel"],
.contact-form label input[type="url"],
.contact-form label input[type="number"],
.contact-form label select,
.contact-form label textarea {
  width: 100%; border: 1px solid rgba(20, 33, 27, 0.18); background: var(--ivory); border-radius: 10px; padding: 14px 16px; font-size: 0.98rem; font-weight: 400; color: var(--ink); font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-form label textarea { min-height: 140px; resize: vertical; }
.contact-form label input:focus,
.contact-form label select:focus,
.contact-form label textarea:focus { outline: none; border-color: var(--forest-600); background: var(--white); box-shadow: 0 0 0 4px rgba(28, 107, 81, 0.12); }
.contact-form label input::placeholder,
.contact-form label textarea::placeholder { color: var(--muted); font-weight: 400; }
.contact-form label.contact-form__checkbox { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); margin-top: 6px; }
.contact-form label.contact-form__checkbox input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--forest-700); }
.contact-form .g-recaptcha { margin: 14px 0; }
.contact-form button[type="submit"] { margin-top: 6px; }

/* ---------- News & Events (listing + article) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--forest-600); }
.news-card__media { display: block; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card__date { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-600); }
.news-card__title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; color: var(--ink); margin: 0; }
.news-card__title a { color: inherit; transition: color 0.2s; }
.news-card__title a:hover { color: var(--forest-700); }
.news-card__excerpt { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; margin: 0; }
.news-card__cta { margin-top: auto; align-self: flex-start; }

.news-empty { text-align: center; padding: 60px 20px; max-width: 560px; margin: 0 auto; }
.news-empty .eyebrow { display: inline-block; margin-bottom: 14px; }
.news-empty h2, .news-empty .h3 { margin: 0 0 14px; }
.news-empty p { color: var(--muted); }

/* Article page */
.page-hero--article { min-height: 420px; }
.page-hero--article .page-hero__media img { object-position: center; }
.news-hero__date { margin-top: 14px; font-size: 1rem; color: rgba(255,255,255,0.85); }

.news-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.news-article { min-width: 0; }
.news-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 32px; padding: 24px 28px; background: var(--paper); border-radius: var(--radius); border-left: 4px solid var(--gold-500); margin: 0 0 32px; }
.news-meta__item { display: flex; flex-direction: column; gap: 4px; }
.news-meta__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.news-meta__value { font-size: 0.98rem; color: var(--ink); font-weight: 500; }
.news-article__download { margin: 0 0 32px; }
.news-article__download .btn svg { width: 18px; height: 18px; margin-right: 8px; }
.news-body { font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.news-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 20px 0; }
.news-body p { margin: 0 0 18px; }
.news-body h2, .news-body h3, .news-body h4 { font-family: var(--font-display); color: var(--ink); margin: 32px 0 14px; line-height: 1.3; }
.news-body ul, .news-body ol { margin: 0 0 18px; padding-left: 22px; }
.news-body li { margin-bottom: 8px; }
.news-body a { color: var(--forest-700); text-decoration: underline; text-decoration-color: var(--gold-400); }
.news-body blockquote { border-left: 4px solid var(--gold-500); padding: 8px 24px; margin: 24px 0; color: var(--ink-soft); font-style: italic; }

.news-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.news-share__label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.news-share__btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--forest-700); background: var(--paper); border: 1px solid var(--line); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s; }
.news-share__btn:hover { background: var(--forest-800); color: var(--white); border-color: var(--forest-800); transform: translateY(-2px); }
.news-share__btn svg { width: 18px; height: 18px; }

.news-sidebar { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--line); }
.news-sidebar__title { font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.news-side-item { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(20, 33, 27, 0.08); transition: background 0.2s; }
.news-side-item:last-of-type { border-bottom: none; }
.news-side-item__media { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--white); }
.news-side-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s var(--ease); }
.news-side-item:hover .news-side-item__media img { transform: scale(1.06); }
.news-side-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-side-item__date { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-600); }
.news-side-item__title { font-family: var(--font-display); font-size: 0.98rem; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-side-item:hover .news-side-item__title { color: var(--forest-700); }
.news-sidebar__empty { font-size: 0.9rem; color: var(--muted); margin: 0; }
.news-sidebar__more { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
}

/* ---------- Map ---------- */
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(32px, 4vw, 56px); padding-block: clamp(64px, 8vw, 96px) 56px; }
.footer__brand img { width: 76px; height: 76px; margin-bottom: 20px; background: var(--white); border-radius: 50%; padding: 8px; }
.footer__brand .brand__name { color: var(--white); font-size: 1.5rem; }
.footer__brand p { margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; }
.footer__links { list-style: none; display: grid; gap: 12px; }
.footer__links a { transition: color 0.2s; }
.footer__links a:hover { color: var(--gold-400); }
.footer__contact { list-style: none; display: grid; gap: 16px; }
.footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-400); margin-top: 4px; }
.footer__contact a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--forest-950); }
.socials svg { width: 17px; height: 17px; }
.footer__motto { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding-block: 26px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--gold-400); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 26px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }
.footer__bottom a:hover { color: var(--gold-400); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: 0.88rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .nav, .header-actions .portal-link, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .pathway { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pathway__item:nth-child(3) { border-right: 0; }
  .pathway__item:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .split, .split--wide-media, .facility { grid-template-columns: 1fr; }
  .split--reverse > :first-child, .facility:nth-child(even) .facility__media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features, .numbered, .mv, .anthem { grid-template-columns: 1fr; }
  .hero__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .tile--a { grid-column: span 2; grid-row: span 1; }
  .tile--b, .tile--c, .tile--d, .tile--e, .tile--f { grid-column: span 1; }
  .media-stack { max-width: 620px; }
  .topbar__group--secondary { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 1.15rem; }
  .brand__sub { font-size: 0.6rem; letter-spacing: 0.16em; }
  .grid-2, .grid-3, .grid-4, .form__grid { grid-template-columns: 1fr; }
  .pathway { grid-template-columns: 1fr 1fr; }
  .pathway__item { border-right: 0; border-top: 1px solid var(--line); }
  .pathway__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .pathway__item:nth-child(-n + 2) { border-top: 0; }
  .pathway__item:last-child { grid-column: span 2; border-right: 0; }
  .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile--a { grid-column: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero__content { padding-top: 110px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .badge-float { right: 10px; top: 14px; padding: 14px 16px; }
  .faq details p { padding-right: 0; }
  .lightbox { padding: 64px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 60px; transform: none; }
  .map { aspect-ratio: 4 / 5; }
  .section-head--row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .drawer, .wa-float, .cta, .site-footer .socials { display: none !important; }
  body { background: #fff; }
}
.letter__salutation { padding-right: 96px; }
.frame img.pos-top { object-position: center 12%; }
.hero__media > picture, .page-hero__media > picture { display: block; height: 100%; }
.text-link { color: var(--forest-700); text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 3px; }
.text-link:hover { color: var(--forest-900); text-decoration-thickness: 2px; }
.enquiry-panel .h3 { margin: 14px 0 12px; }
.enquiry-panel > p { color: var(--ink-soft); margin: 0 0 26px; }
.enquiry-panel .form__note { margin-top: 22px; max-width: none; }
.enquiry-panel .form__note a { color: var(--forest-700); font-weight: 600; }

/* ---------- Dropdown menus (desktop nav) ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font-family: inherit;
}
.nav-dropdown__caret { width: 14px; height: 14px; transition: transform 0.25s var(--ease); opacity: 0.65; flex-shrink: 0; }
.nav-dropdown.is-open .nav-dropdown__toggle > .nav-dropdown__caret { transform: rotate(180deg); }

.ocm-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 40px -22px rgba(6, 35, 26, 0.3), 0 6px 16px -10px rgba(6, 35, 26, 0.18);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 90;
}
.nav-dropdown.is-open > .ocm-dropdown-menu,
.dropdown-submenu.is-open > .ocm-dropdown-menu--sub { opacity: 1; visibility: visible; transform: none; }

.ocm-dropdown-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft);
  background: none; border: 0; border-radius: 8px;
  text-align: left; cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.ocm-dropdown-item:hover,
.ocm-dropdown-item:focus-visible { background: var(--teal-100); color: var(--forest-900); }

.dropdown-submenu { position: relative; }
.dropdown-submenu__caret { width: 14px; height: 14px; transition: transform 0.25s var(--ease); opacity: 0.6; flex-shrink: 0; }
.dropdown-submenu.is-open > .dropdown-submenu__toggle .dropdown-submenu__caret { transform: rotate(90deg); }

.ocm-dropdown-menu--sub {
  top: -8px; left: calc(100% + 6px);
  min-width: 220px;
}

/* Flip rightmost dropdowns leftward so they don't overflow the viewport */
.nav > .nav-dropdown:nth-last-child(-n+2) > .ocm-dropdown-menu { left: auto; right: 0; }
.nav > .nav-dropdown:nth-last-child(-n+2) .ocm-dropdown-menu--sub { left: auto; right: calc(100% + 6px); }

/* ---------- Drawer accordions (mobile) ---------- */
.drawer-group { border-bottom: 1px solid var(--line-light); }
.drawer-group__toggle {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%;
  padding: 15px 0;
  background: none; border: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--white);
  text-align: left; cursor: pointer;
}
.drawer-group__toggle[aria-current="page"] { color: var(--gold-400); }
.drawer-group__caret { width: 20px; height: 20px; opacity: 0.6; transition: transform 0.25s var(--ease); flex-shrink: 0; }
.drawer-group.is-open > .drawer-group__toggle .drawer-group__caret { transform: rotate(180deg); }

.drawer-group__panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.drawer-group.is-open > .drawer-group__panel { max-height: 1600px; }
.drawer-group__panel a {
  padding-left: 16px;
  font-size: 1.08rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.drawer-group__panel a:last-child { border-bottom: 0; }
.drawer-group--nested { border-bottom: 0; }
.drawer-group--nested > .drawer-group__toggle {
  padding-left: 16px;
  font-size: 1.12rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.drawer-group--nested .drawer-group__panel a { padding-left: 32px; font-size: 1rem; }
.drawer__nav > .drawer-group:last-of-type { border-bottom: 0; }

/* ---------- Founder placeholder card ---------- */
.founder-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  text-align: center;
  box-shadow: 0 20px 40px -32px rgba(6, 35, 26, 0.25);
}
.founder-card__avatar {
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(10, 49, 37, 0.08);
  color: var(--forest-900);
  display: inline-flex; align-items: center; justify-content: center;
}
.founder-card__avatar svg { width: 72px; height: 72px; }
.founder-card__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--forest-900); line-height: 1.2; }
.founder-card__role { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; }

/* ---------- CMS-authored page body (dynamic_page_include) ---------- */
.prose { max-width: 820px; margin-inline: auto; font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--font-display); color: var(--forest-900); line-height: 1.2; margin-top: 1.8em; }
.prose h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.prose h4 { font-size: 1.1rem; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--forest-900); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-600); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li + li { margin-top: 0.4em; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; display: block; margin: 1.6em auto; }
.prose blockquote { border-left: 4px solid var(--gold-500); padding: 4px 0 4px 20px; margin: 1.6em 0; color: var(--ink-soft); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: rgba(10, 49, 37, 0.04); font-weight: 600; }
.prose iframe, .prose video { max-width: 100%; }
