/* ==========================================================================
   LDSTAR Africa Language Centre — stylesheet
   Mobile-first. Brand tokens in :root.
   ========================================================================== */

:root {
  --navy: #10377f;
  --navy-deep: #08265f;
  --navy-ink: #061d4a;
  --gold: #f5a400;
  --gold-dark: #d98f00;
  --white: #ffffff;
  --bg-light: #f5f7fb;
  --text: #202b3c;
  --muted: #64748b;
  --line: #e2e8f0;

  --font-head: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 38, 95, 0.06), 0 2px 8px rgba(8, 38, 95, 0.05);
  --shadow-md: 0 10px 30px -10px rgba(8, 38, 95, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(8, 38, 95, 0.35);

  --gutter: 20px;
  --header-h: 68px;
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul[role='list'] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.break { overflow-wrap: anywhere; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark);
  margin: 0 0 14px;
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--gold); }
.eyebrow--light { color: var(--gold); }

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--bg-light); }
.section-title { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 800; }
.section-title--light { color: var(--white); }
.section-lead { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); color: var(--muted); max-width: 62ch; }
.section-lead--light { color: rgba(255, 255, 255, 0.78); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ''; width: 32px; height: 2px; background: var(--gold); }
.section-head--split .section-lead { margin-bottom: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy-ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: #ffb51f; --btn-bd: #ffb51f; }
.btn--navy:hover { --btn-bg: var(--navy-deep); --btn-bd: var(--navy-deep); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--sm { min-height: 44px; padding: 9px 18px; font-size: 0.92rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
/* backdrop-filter only on desktop: on mobile it would become the containing block for the fixed menu panel */
@media (min-width: 1024px) {
  @supports (backdrop-filter: blur(8px)) {
    .site-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(10px); }
  }
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(8, 38, 95, 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.site-header__cta { display: none; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -6px;
  background: none; border: 0; border-radius: var(--radius); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  display: flex; flex-direction: column; gap: 24px;
  padding: 16px var(--gutter) 32px;
  background: var(--white);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-open { overflow: hidden; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: flex; align-items: center; min-height: 54px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
.nav__link[aria-current='page'] { color: var(--gold-dark); }
.nav__mobile-contact { display: grid; gap: 12px; }

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .brand img { height: 54px; }
  .nav-toggle, .nav__mobile-contact { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none;
  }
  .nav__list { display: flex; gap: 4px; }
  .nav__link {
    position: relative; min-height: 44px; padding: 0 14px; font-size: 0.95rem; border: 0;
  }
  .nav__link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
  }
  .nav__link:hover::after, .nav__link[aria-current='page']::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__link[aria-current='page'] { color: var(--navy); }
  .site-header__cta { display: inline-flex; margin-left: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-deep); }
.hero__media, .page-banner__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 38, 95, 0.88) 0%, rgba(8, 38, 95, 0.82) 60%, rgba(6, 29, 74, 0.95) 100%);
}
.hero__inner { padding-top: clamp(56px, 12vw, 120px); padding-bottom: clamp(48px, 9vw, 96px); }
.hero__content { max-width: 720px; }
.hero__title {
  color: var(--white); font-weight: 800;
  font-size: clamp(2.2rem, 1.35rem + 4.2vw, 4.1rem); line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hl { color: var(--gold); }
.hero__lead { font-size: clamp(1.03rem, 0.98rem + 0.35vw, 1.2rem); color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin-bottom: 32px; }
.hero__strip { border-top: 1px solid rgba(255, 255, 255, 0.14); background: rgba(6, 29, 74, 0.6); }
.hero__strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; }
.hero__strip-label {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.hero__strip-list { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.hero__strip-list a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88); text-decoration: none;
}
.hero__strip-list a:hover { color: var(--gold); }

@media (min-width: 900px) {
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(8, 38, 95, 0.96) 0%, rgba(8, 38, 95, 0.86) 42%, rgba(8, 38, 95, 0.35) 100%),
      linear-gradient(0deg, rgba(6, 29, 74, 0.7) 0%, rgba(6, 29, 74, 0) 30%);
  }
  .hero__inner { min-height: min(72vh, 640px); display: flex; align-items: center; }
}

/* ---------- Introduction ---------- */
.intro__grid { display: grid; gap: 40px; align-items: center; }
.intro__media { position: relative; margin: 0 14px 14px 0; }
.intro__media::before {
  content: ''; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
}
.intro__media { isolation: isolate; }
.intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.intro__motto {
  margin: 28px 0 30px; padding-left: 18px; border-left: 3px solid var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); color: var(--navy); line-height: 1.3;
}
.intro__motto span { color: var(--gold-dark); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px); }
}

/* ---------- Language cards (home) ---------- */
.lang-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .lang-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lang-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.lang-card { display: flex; }
.lang-card__link {
  position: relative; display: flex; flex-direction: column; width: 100%;
  padding: 26px 24px 24px; background: var(--white); color: inherit; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.lang-card__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
a.lang-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
a.lang-card__link:hover::after { transform: scaleX(1); }
.lang-card__index {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; color: #a3b0c2;
}
.lang-card__greeting {
  display: flex; align-items: flex-end; min-height: 64px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1; letter-spacing: -0.02em;
  color: var(--navy); padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.lang-card__greeting[lang='zh'] { font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', var(--font-head); font-weight: 700; }
.lang-card__weave { width: 120px; height: 40px; margin-bottom: 4px; }
.lang-card__name { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.lang-card__text { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.lang-card__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--navy);
}
.lang-card__more .icon { width: 1em; height: 1em; color: var(--gold-dark); transition: transform 0.25s var(--ease); }
a.lang-card__link:hover .lang-card__more .icon { transform: translateX(4px); }

/* Compact cards on small phones to keep the list scannable */
@media (max-width: 479px) {
  .lang-card__link { padding: 20px 20px 18px; }
  .lang-card__greeting { min-height: 0; font-size: 1.7rem; margin-bottom: 14px; padding-bottom: 12px; }
  .lang-card__weave { width: 96px; height: 32px; }
  .lang-card__text { margin-bottom: 14px; }
}

.lang-card--cta .lang-card__link { background: var(--navy); border-color: var(--navy); align-items: flex-start; }
.lang-card--cta .lang-card__name { color: var(--white); }
.lang-card--cta .lang-card__text { color: rgba(255, 255, 255, 0.78); }
.lang-card--cta .btn { margin-top: auto; }
.lang-card__cta-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 50%; background: rgba(245, 164, 0, 0.16); color: var(--gold);
}
.lang-card__cta-icon .icon { width: 26px; height: 26px; }

/* ---------- Learning modes (home) ---------- */
.section-head--split { display: grid; gap: 12px; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
  .section-head--split .section-title { margin-bottom: 0; }
}
.mode-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .mode-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.mode-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.mode-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.mode-card__media { overflow: hidden; }
.mode-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.mode-card:hover .mode-card__media img { transform: scale(1.03); }
.mode-card__body { position: relative; padding: 40px 28px 30px; }
.mode-card__body p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }
.mode-card__icon {
  display: inline-grid; place-items: center; width: 58px; height: 58px; flex: none;
  border-radius: var(--radius); background: var(--gold); color: var(--navy-ink);
  box-shadow: 0 8px 20px -8px rgba(245, 164, 0, 0.7);
}
.mode-card__icon .icon { width: 28px; height: 28px; }
.mode-card__body > .mode-card__icon { position: absolute; top: -29px; left: 28px; }
.mode-card__label {
  margin: 0 0 4px; font-family: var(--font-head); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark);
}
.mode-card__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }

/* ---------- Vision & mission ---------- */
.vm { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; isolation: isolate; }
.vm::before {
  /* soft light from above, for depth */
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(16, 55, 127, 0.9), transparent 70%);
}
.vm__grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .vm__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.vm__panel {
  position: relative; padding: clamp(30px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--gold); border-radius: var(--radius-lg);
}
.vm__icon { color: var(--gold); margin-bottom: 18px; }
.vm__icon .icon { width: 36px; height: 36px; }
.vm__label {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.vm__statement {
  margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--white);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.3; letter-spacing: -0.01em;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg-light); }
.contact__inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact__modes {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 8px 0 0;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--navy);
}
.contact__modes .icon { color: var(--gold-dark); }
.contact-options { display: grid; gap: 14px; }
.contact-option {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact-option:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-option__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  border-radius: 50%; background: var(--navy); color: var(--white);
}
.contact-option--whatsapp .contact-option__icon { background: #1f9d55; }
.contact-option__icon .icon { width: 24px; height: 24px; }
.contact-option__body { display: flex; flex-direction: column; min-width: 0; }
.contact-option__label { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: var(--navy); }
.contact-option__value { color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-option__arrow { margin-left: auto; color: var(--gold-dark); transition: transform 0.25s var(--ease); }
.contact-option:hover .contact-option__arrow { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255, 255, 255, 0.74); font-size: 0.95rem; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 36px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand img { width: 190px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 40ch; }
.site-footer__title {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.site-footer__col li { margin-bottom: 10px; }
.site-footer__contact a { display: inline-flex; align-items: flex-start; gap: 10px; }
.site-footer__contact .icon { margin-top: 3px; color: var(--gold); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #1f9d55; color: var(--white); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease), opacity 0.25s, visibility 0.25s;
}
.wa-float:hover { transform: scale(1.06); }
/* With JS: appear only after the user scrolls past the top of the page */
.js-float .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.wa-float .icon { width: 28px; height: 28px; }
.nav-open .wa-float { display: none; }

/* ---------- About page: banner ---------- */
.page-banner { position: relative; isolation: isolate; color: var(--white); background: var(--navy-deep); }
.page-banner__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 38, 95, 0.95) 0%, rgba(8, 38, 95, 0.8) 55%, rgba(8, 38, 95, 0.55) 100%);
}
.page-banner__inner { padding-top: clamp(56px, 10vw, 112px); padding-bottom: clamp(56px, 10vw, 112px); }
.page-banner__title { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.page-banner__lead { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--gold); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 0.88rem; }
.breadcrumb li { color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, 0.4); }
.breadcrumb a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* About: institution */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__text p:not(.section-lead):not(.eyebrow) { color: var(--text); }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } }

ul.focus-grid {
  display: grid; gap: 1px; margin-top: clamp(48px, 7vw, 88px);
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 560px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .focus-grid { grid-template-columns: repeat(5, 1fr); } }
.focus { background: var(--white); padding: 28px 24px; }
.focus__icon { display: block; color: var(--gold-dark); margin-bottom: 14px; }
.focus__icon .icon { width: 30px; height: 30px; }
.focus__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.focus p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

/* About: programmes */
.programme-grid { display: grid; gap: 20px; }
@media (min-width: 1100px) { .programme-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.programme {
  display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.3s var(--ease);
}
.programme:hover { box-shadow: var(--shadow-md); }
.programme__media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.programme__body { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 26px 28px; }
.programme__body p { color: var(--muted); font-size: 0.96rem; }
.programme__body .btn { margin-top: auto; }
.programme__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 1.4rem; font-weight: 800; }
.programme__greeting { font-weight: 700; font-size: 0.95rem; color: var(--gold-dark); }
.programme--cta { background: var(--navy); border-color: var(--navy); }
.programme--cta .programme__name { color: var(--white); }
.programme--cta p { color: rgba(255, 255, 255, 0.78); }
@media (min-width: 700px) {
  .programme { grid-template-columns: 40% 1fr; }
  .programme__media img { aspect-ratio: auto; min-height: 100%; }
  .programme--cta { grid-template-columns: 1fr; }
}

/* About: delivery */
.delivery { display: grid; gap: 28px; }
@media (min-width: 900px) { .delivery { grid-template-columns: 1fr 1fr; gap: 32px; } }
.delivery__col { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.delivery__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.delivery__body { padding: 28px; }
.delivery__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.delivery__head .mode-card__title { margin: 0; }
.delivery__body > p { color: var(--muted); }
.checklist li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.checklist .icon { color: var(--gold-dark); margin-top: 2px; }

/* ---------- 404 ---------- */
.notfound { display: grid; min-height: 100vh; place-items: center; background: var(--bg-light); text-align: center; }
.notfound__inner { padding: 48px var(--gutter); }
.notfound__inner img { width: 240px; margin: 0 auto 32px; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .wa-float, .nav-toggle { display: none !important; }
  .hero, .page-banner, .vm { background: none !important; color: #000; }
}
