/* ==========================================================================
   False Bay High School — falsebayhigh.co.za
   Core stylesheet
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand — sampled from the school's own wordmark and crest.
     Deep olive #48422A is the colour of "False Bay High School" on the
     school letterhead; the tan is the "Hoërskool Valsbaai" line beneath it. */
  --ink:        #2B2718;   /* deepest olive — dark sections */
  --ink-700:    #3A351F;
  --ink-500:    #5C553A;
  --navy:       #48422A;   /* the wordmark olive — primary brand colour */
  --navy-soft:  #6A6244;

  --gold:       #927B2C;   /* brass, dark enough for text on cream */
  --gold-400:   #C2AC62;   /* accent on dark grounds */
  --gold-200:   #DFD3A6;
  --gold-050:   #F7F2E2;

  --cream:      #FBF8F0;
  --sand:       #F0EBDC;
  --white:      #FFFFFF;

  --slate-900:  #1F1C12;
  --slate-700:  #4A463A;
  --slate-500:  #77715F;
  --slate-300:  #CBC5B4;
  --slate-150:  #E7E2D5;

  --success:    #1F7A4D;

  /* Type */
  --font-head: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space + shape */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(12,31,51,.06), 0 2px 6px rgba(12,31,51,.05);
  --shadow:    0 4px 10px rgba(12,31,51,.07), 0 12px 28px rgba(12,31,51,.08);
  --shadow-lg: 0 10px 24px rgba(12,31,51,.10), 0 28px 60px rgba(12,31,51,.12);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --header-h: 84px;

  /* Padlock used by the staff submenu heading. */
  --lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 10V7a6 6 0 0 1 12 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h1zm2 0h8V7a4 4 0 0 0-8 0v3z'/%3E%3C/svg%3E");
}
/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.02rem + .75vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: rgba(22,58,92,.35); text-underline-offset: 3px; }
a:hover { color: var(--gold); text-decoration-color: currentColor; }

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--slate-150); margin: 2.5rem 0; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--ink   { background: var(--ink); color: #E4DFCF; }
.section--ink h2, .section--ink h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.is-centred { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate-500); font-size: 1.06rem; margin-bottom: 0; }
.section-head p + p { margin-top: .95em; }
.section-head p.lede { color: var(--slate-700); }
.section--ink .section-head p { color: #B3AC95; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}
.section--ink .eyebrow { color: var(--gold-400); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); color: var(--slate-700); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 600;
  line-height: 1;
  padding: .92em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gold); color: #241F10; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--gold-400); color: #241F10; box-shadow: var(--shadow); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--ink-700); color: #fff; }

.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }

.btn--outline { border-color: var(--slate-300); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--gold); color: var(--ink); background: var(--gold-050); }

.btn--sm { font-size: .86rem; padding: .72em 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. Header ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.topbar {
  background: var(--ink);
  color: #C3BCA6;
  font-size: .82rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 40px; }
.topbar a { color: #E2DCCB; text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.topbar-contact span { display: inline-flex; align-items: center; gap: .45em; }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a { display: inline-flex; }
.topbar-social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 640px) { .topbar-contact span.topbar-address { display: none; } }
@media (max-width: 420px) { .topbar .wrap { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--slate-150);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo {
  height: 46px; width: auto;
  max-width: min(360px, 52vw);
  object-fit: contain; object-position: left center;
}
@media (max-width: 1080px) { .brand__logo { height: 38px; max-width: 58vw; } }
@media (max-width: 420px)  { .brand__logo { height: 32px; max-width: 60vw; } }

.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--slate-300); border-radius: var(--radius-sm);
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .92rem; font-weight: 550; color: var(--slate-700);
  text-decoration: none; padding: .6em .72em; border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); background: var(--gold-050); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 650; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.has-sub > a::after {
  content: ""; width: 7px; height: 7px; margin-left: .1em;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .5;
}
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 244px;
  background: #fff; border: 1px solid var(--slate-150); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  display: flex; flex-direction: column; gap: 1px;
  margin-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  /* A closed menu must not be clickable, or its invisible bridge below sits
     over the neighbouring menu item and swallows the hover. */
  pointer-events: none;
  /* Opening is instant-ish; closing waits a moment, so a stray flick of the
     mouse doesn't snatch the menu away mid-reach. */
  transition: opacity .1s ease, transform .1s ease, visibility 0s linear .18s;
}
/* Invisible bridge across the 10px gap — without it the pointer leaves the
   parent on the way down and the menu closes. */
.submenu::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: -14px; height: 14px;
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub.is-open > .submenu {
  opacity: 1; visibility: visible; transform: none;
  pointer-events: auto;
  transition: opacity .1s ease, transform .1s ease, visibility 0s;
}
/* The open menu sits above a neighbour that is still fading out, so the two
   never appear stacked on each other. */
.has-sub:hover, .has-sub:focus-within, .has-sub.is-open { z-index: 2; }

/* Moving straight from one menu to the next: the pointer is still inside the
   nav bar, so there is no downward reach to protect and the old menu goes at
   once. Without this it lingered for a quarter of a second on top of the one
   opening beside it, and the two appeared stacked. The pointer is still inside
   .has-sub while it is on that item's own submenu (the bridge included), so
   this never snatches a menu away from under the mouse. */
.main-nav:hover .has-sub:not(:hover):not(:focus-within):not(.is-open) > .submenu {
  transition: none;
}
.submenu a { font-weight: 500; padding: .62em .7em; width: 100%; }

/* The staff submenu says up front that these pages are locked, so nobody
   clicks through expecting to get in. */
.submenu__head {
  margin: 2px 0 6px; padding: 0 .7em .5em;
  border-bottom: 1px solid var(--slate-150);
  font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--slate-500);
  display: flex; align-items: center; gap: 6px;
}
.submenu__head::before {
  content: ""; width: 11px; height: 11px; flex: none;
  background: currentColor;
  -webkit-mask: var(--lock) center/contain no-repeat;
          mask: var(--lock) center/contain no-repeat;
}

.header-cta { flex-shrink: 0; }

.main-nav .nav-cta { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: inline-flex; }
  .nav-toggle { min-width: 46px; min-height: 46px; align-items: center; justify-content: center; }

  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--slate-150);
    box-shadow: var(--shadow); padding: 8px var(--gutter) 24px;
    max-height: calc(100dvh - var(--header-h) - 40px);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a {
    padding: .95em .3em; border-radius: 0;
    border-bottom: 1px solid var(--slate-150);
    font-size: 1rem; min-height: 48px;      /* comfortable tap target */
  }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: .9em; }
  .has-sub > a::after { margin-left: auto; }
  .submenu {
    position: static; border: 0; box-shadow: none; padding: 0 0 0 18px;
    border-radius: 0; margin-top: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .submenu::before { content: none; }
  .submenu a { font-size: .9rem; color: var(--slate-500); min-height: 44px; }
  .submenu__head { padding-left: .3em; margin-top: 10px; }

  /* The "Apply" call to action must not vanish on a phone — move it into
     the menu panel, full width, at the top. */
  .header-cta { display: none; }
  .main-nav .nav-cta { display: block; margin: 4px 0 14px; }
  .main-nav .nav-cta .btn { width: 100%; justify-content: center; font-size: .98rem; padding: 1em 1.4em; }
}
/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex; align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media, .hero__media picture { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,25,14,.34) 0%, rgba(28,25,14,.26) 34%, rgba(28,25,14,.92) 100%),
    linear-gradient(90deg, rgba(28,25,14,.86) 0%, rgba(28,25,14,.52) 42%, rgba(28,25,14,.06) 76%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 86px); width: 100%; }
.hero__content { max-width: 680px; color: #fff; }
.hero h1 { color: #fff; margin-bottom: .42em; text-wrap: balance; }
.hero p { color: #E8E3D3; font-size: clamp(1.04rem, .98rem + .4vw, 1.22rem); max-width: 56ch; }
.hero .btn-row { margin-top: 30px; }
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  padding: .5em 1em; border-radius: 999px; margin-bottom: 1.2rem;
  backdrop-filter: blur(6px);
}
.hero__badge b { color: var(--gold-200); font-weight: 700; }

/* Page banner (interior pages) */
.page-head {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(44px, 6vw, 78px);
  overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 380px at 8% 0%, rgba(194,172,98,.26), transparent 62%),
    radial-gradient(760px 420px at 92% 110%, rgba(106,98,68,.80), transparent 60%);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { color: #C4BCA2; max-width: 62ch; font-size: 1.06rem; margin-bottom: 0; }

.breadcrumb { font-size: .82rem; color: #A49C84; margin-bottom: 1rem; }
.breadcrumb a { color: #DCD5C0; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { opacity: .6; margin-inline: .5em; }

/* ---------- 7. Stats ---------- */
.stats { background: var(--ink); color: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat {
  padding: clamp(26px, 3.4vw, 40px) 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  border-right: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); color: var(--gold-400);
  line-height: 1; display: block; margin-bottom: .3em;
}
.stat__label { font-size: .88rem; color: #B6AF98; line-height: 1.4; }

/* ---------- 8. Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--slate-150);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.card__media { aspect-ratio: 16 / 10; background: linear-gradient(150deg, var(--sand), var(--gold-050)); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { color: var(--slate-500); font-size: .96rem; margin: 0; }
.card__more {
  margin-top: auto; padding-top: 12px;
  font-size: .88rem; font-weight: 650; color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: .4em;
}
.card--link:hover .card__more { color: var(--gold); }
.card__more::after { content: "→"; transition: transform .18s ease; }
.card--link:hover .card__more::after { transform: translateX(3px); }

/* Feature (icon) card */
.feature {
  background: #fff; border: 1px solid var(--slate-150); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: .6rem;
}
.feature__icon {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  display: grid; place-items: center; margin-bottom: .4rem;
  background: var(--gold-050); color: var(--gold);
}
.feature__icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.1rem; margin: 0; }
.feature p { font-size: .95rem; color: var(--slate-500); margin: 0; }

/* Value pill card */
.value {
  text-align: center; padding: 28px 20px;
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.value h3 { font-size: 1.15rem; margin-bottom: .35em; }
.value p { font-size: .93rem; color: #B3AC95; margin: 0; }

/* ---------- 9. Split feature ---------- */
.split {
  display: grid; gap: clamp(28px, 4.5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 700px) { .split--reverse > *:first-child { order: 0; } }
.split__media {
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--sand), var(--gold-050));
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. Lists ---------- */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 15px; height: 9px; border-left: 2.2px solid var(--gold); border-bottom: 2.2px solid var(--gold);
  transform: rotate(-45deg);
}
.section--ink .tick-list li::before { border-color: var(--gold-400); }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  background: #fff; border: 1px solid var(--slate-150); border-radius: 999px;
  padding: .55em 1.05em; font-size: .93rem; font-weight: 550; color: var(--ink);
}
.section--cream .pill-list li, .section--sand .pill-list li { background: #fff; }

.def-list { margin: 0; display: grid; gap: 1.3rem; }
.def-list dt { font-weight: 650; color: var(--ink); font-family: var(--font-head); font-size: 1.06rem; }
.def-list dd { margin: .25rem 0 0; color: var(--slate-500); }

/* ---------- 11. Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--slate-150); background: #fff; }
table.data {
  width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px;
}
table.data caption { text-align: left; padding: 18px 20px 0; color: var(--slate-500); font-size: .9rem; }
table.data th, table.data td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--slate-150); }
table.data thead th {
  background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; border-bottom: 0;
}
table.data thead th:not(:first-child) { border-left: 1px solid rgba(255,255,255,.12); }
table.data tbody tr:nth-child(even) { background: var(--cream); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tbody th { font-weight: 600; color: var(--ink); }
table.data small { display: block; font-weight: 400; font-size: .82rem; color: var(--slate-500); margin-top: 3px; letter-spacing: 0; text-transform: none; }
.card__body .eyebrow { margin-bottom: .35rem; }
.fee-figure { color: var(--ink); font-size: 1.1rem; font-weight: 600; margin-top: auto; }
.fee-figure span { color: var(--slate-500); font-weight: 400; }
.fee-figure .qual { font-size: .88rem; }
table.data .yr { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; }
table.data .highlight { color: var(--ink); font-weight: 600; }

/* ---------- 12. Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--slate-150); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 1rem;
  break-inside: avoid; margin-bottom: clamp(20px, 2.5vw, 28px);
}
.quote__mark { font-family: var(--font-head); font-size: 2.6rem; line-height: .6; color: var(--gold-200); }
.quote p { font-size: 1rem; color: var(--slate-700); margin: 0; }
.quote footer { font-size: .88rem; font-weight: 650; color: var(--ink); margin-top: auto; }
.quote footer span { display: block; font-weight: 500; color: var(--slate-500); font-size: .82rem; }
.quote-masonry { columns: 3 300px; column-gap: clamp(20px, 2.5vw, 28px); }

/* ---------- 13. Staff ---------- */
.staff {
  background: #fff; border: 1px solid var(--slate-150); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.staff:hover { box-shadow: var(--shadow); border-color: var(--gold-200); }
.staff__photo { aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--sand), var(--gold-050)); }
.staff__photo img { width: 100%; height: 100%; object-fit: cover; }
.staff__body { padding: 20px 22px 24px; }
.staff__body h3 { font-size: 1.14rem; margin-bottom: .1em; }
.staff__role {
  font-size: .78rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .85em;
}
.staff__body p:last-child { font-size: .93rem; color: var(--slate-500); margin: 0; }

/* the older centred variant, still used for compact listings */
.staff-card { text-align: center; }
.staff-card__photo {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--sand), var(--gold-050));
  margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.staff-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h3 { font-size: 1.08rem; margin-bottom: .15em; }
.staff-card p { font-size: .88rem; color: var(--slate-500); margin: 0; }

/* ---------- 14. Notices / callouts ---------- */
.callout {
  border: 1px solid var(--gold-200); background: var(--gold-050);
  border-radius: var(--radius); padding: 22px 26px;
}
.callout h3 { font-size: 1.1rem; margin-bottom: .35em; }
.callout p { margin-bottom: .6em; }
.callout p:last-child { margin-bottom: 0; }

.note {
  border-left: 3px solid var(--gold); background: var(--cream);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem; color: var(--slate-700);
}

.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--navy) 58%, var(--navy-soft) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 4.5vw, 58px);
  display: grid; gap: 26px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #D5CDB6; margin-bottom: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 760px) { .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- 15. Downloads ---------- */
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc-list a {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--slate-150); border-radius: var(--radius);
  padding: 16px 20px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.doc-list a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-1px); color: var(--ink); }
.doc-list svg { width: 22px; height: 22px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.doc-list small { display: block; font-weight: 450; color: var(--slate-500); font-size: .82rem; margin-top: 2px; }
.doc-list .doc-meta { margin-left: auto; font-size: .78rem; color: var(--slate-500); font-weight: 500; white-space: nowrap; }

/* ---------- 16. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--slate-150); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: .4rem; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field .req { color: #B4331F; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--slate-900);
  padding: .78em .95em; border: 1.5px solid var(--slate-300); border-radius: var(--radius-sm);
  background: #fff; width: 100%; transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-050);
}
.field-row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.form-hint { font-size: .84rem; color: var(--slate-500); }

/* ---------- 17. Info panel ---------- */
.info-panel {
  background: var(--ink); color: #DCD6C4; border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 38px); display: grid; gap: 26px;
}
.info-panel h3 { color: #fff; font-size: 1.12rem; margin-bottom: .5em; }
.info-panel a { color: var(--gold-400); text-decoration: none; }
.info-panel a:hover { text-decoration: underline; }
.info-block { display: flex; gap: 14px; }
.info-block svg { width: 20px; height: 20px; flex: none; margin-top: 3px; stroke: var(--gold-400); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.info-block p { margin: 0; font-size: .96rem; line-height: 1.55; }

.map-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--slate-150);
  background: var(--sand); min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- 18. Gallery ---------- */
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.gallery-grid a {
  display: block; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(150deg, var(--sand), var(--gold-050));
  border: 1px solid var(--slate-150);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

.year-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.year-nav a {
  padding: .45em .9em; border-radius: 999px; border: 1px solid var(--slate-150);
  background: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.year-nav a:hover { border-color: var(--gold); background: var(--gold-050); color: var(--ink); }

/* ---------- 19. Article / prose ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose table { margin-bottom: 1.4em; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--ink); color: #A9A28B; font-size: .94rem; }
.site-footer a { color: #DCD5C0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-main {
  display: grid; gap: clamp(30px, 4vw, 48px);
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  padding-block: clamp(44px, 5.5vw, 68px);
}
@media (max-width: 900px) { .footer-main { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.footer-brand {
  display: inline-block; margin-bottom: 18px; text-decoration: none;
  background: var(--cream); border-radius: var(--radius);
  padding: 12px 18px; max-width: 320px;
}
.footer-brand img { width: 100%; height: auto; }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1em;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact div { display: flex; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; stroke: var(--gold-400); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .18s ease;
}
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.accred {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 22px; font-size: .84rem; color: #8D8770;
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: space-between;
}
.accred p { margin: 0; }
.accred-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.accred-badges span {
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: .35em .9em;
  font-size: .76rem; letter-spacing: .04em; color: #C8C1AB;
}
.colophon {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .82rem; color: #807A65;
}

/* ---------- 21. Utilities ---------- */
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0; }
.u-mb-0 { margin-bottom: 0; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-2 { margin-top: 2rem; }
.u-mt-3 { margin-top: 3rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 22. Print ---------- */
@media print {
  .site-header, .topbar, .site-footer, .hero__media, .btn, .nav-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .section { padding-block: 12pt; }
}


/* ---------- 23. Small screens ---------- */
@media (max-width: 720px) {
  body { font-size: 16.5px; }

  .hero { min-height: min(74vh, 560px); }
  .hero__media img { object-position: center 30%; }
  .hero__content { max-width: none; }
  .hero .btn-row { gap: 10px; }
  .hero .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .hero__badge { font-size: .74rem; padding: .45em .85em; }

  /* Stat strip: two per row reads better than a squeezed five. */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .split { gap: 26px; }
  .split__media { aspect-ratio: 3 / 2; }

  .quote-masonry { columns: 1; }
  .cta-band { padding: 28px 22px; text-align: left; }
  .cta-band .btn-row .btn { flex: 1 1 auto; justify-content: center; }

  .doc-list a { flex-wrap: wrap; }
  .doc-list .doc-meta { margin-left: 0; width: 100%; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .year-nav a { min-height: 40px; display: inline-flex; align-items: center; }

  .info-panel, .form-card { padding: 22px 20px; }
  /* Phone and email in the contact panel are the two things a parent taps. */
  .info-block p a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.02rem; }
  .map-frame, .map-frame iframe { min-height: 280px; }

  .accred { flex-direction: column; align-items: flex-start; gap: 14px; }
  .colophon { flex-direction: column; gap: 6px; }

  /* Footer navigation is navigation, not prose — give it real tap targets. */
  .footer-links { gap: 0; }
  .footer-links a {
    display: flex; align-items: center; min-height: 44px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-links li:last-child a { border-bottom: 0; }
  .footer-contact a { display: inline-flex; align-items: center; min-height: 40px; }
  .site-footer h4 { margin-bottom: .7em; }

  /* Standalone "→" action links behave like buttons; make them easy to hit. */
  .callout p > a:only-child,
  .note > a,
  .card__body p > a:only-child {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .topbar a { display: inline-flex; align-items: center; min-height: 34px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(1.9rem, 1.2rem + 5vw, 2.4rem); }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn { padding: .9em 1.25em; font-size: .92rem; }
  .pill-list li { font-size: .88rem; }
  .table-scroll { border-radius: var(--radius-sm); }
}

/* Anything that can overflow gets its own scroller, and the page never does. */
html, body { overflow-x: hidden; }
.table-scroll { max-width: 100%; }
.scroll-hint { display: none; }
@media (max-width: 720px) {
  .scroll-hint {
    display: block; margin: 10px 2px 0;
    font-size: .84rem; color: var(--slate-500);
  }
  .scroll-hint::before { content: "\2194\FE0E"; margin-right: .5em; color: var(--gold); }
}
.prose img, .card img, .split__media img { max-width: 100%; }

/* Touch devices: hover styles that stick are worse than none. */
@media (hover: none) {
  .btn:hover { transform: none; }
  .card--link:hover { transform: none; }
  .gallery-grid a:hover img { transform: none; }
}

/* ---------- 25. Enquiry form honeypot ----------
   Off-screen rather than display:none — the better bots skip hidden fields,
   but they fill in anything they can see in the markup. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint.is-ok    { color: var(--success); font-weight: 600; }
.form-hint.is-error { color: #A32B17; font-weight: 600; }
.form-hint.is-busy  { color: var(--slate-500); }
