/* ==========================================================================
   IBSL — site stylesheet
   Tokens, type and components transcribed from the design handoff
   (IBSL Site.dc.html). Values are pixel-matched at 1280px; layouts are fluid
   below that. Box-sizing follows the prototype element by element, so do not
   add a global border-box reset.
   ========================================================================== */

:root {
  --green: #1F4D3A;
  --green-dark: #12261D;
  --ink: #1B2A22;
  --body: #3E4E46;
  --muted: #5A6862;
  --cream: #F6F3EC;
  --sand: #F1EEE6;
  --brass: #B08D57;
  --brass-on-green: #C9A96E;
  --error: #B04A3A;
  --hairline: rgba(27, 42, 34, .14);
  --hairline-card: rgba(27, 42, 34, .12);
  --hairline-footer: rgba(27, 42, 34, .1);
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad-x: 56px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--brass); }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: #fff; color: var(--green); padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Page frame -------------------------------------------------------------- */

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site__main { flex: 1; }
.page { max-width: 1280px; margin: 0 auto; }

/* Type -------------------------------------------------------------------- */

.kicker {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); font-weight: 600;
}
.kicker--on-green { color: var(--brass-on-green); }
.kicker--mb { margin-bottom: 16px; }

.h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(48px, 6vw, 84px); line-height: .98; letter-spacing: -.02em;
  text-wrap: pretty; font-variant-numeric: lining-nums;
}
.h1--home { font-size: clamp(56px, 8vw, 104px); max-width: 1100px; }
.h1 em { color: var(--green); }

.h2 {
  font-family: var(--display); font-weight: 500;
  font-size: 56px; line-height: 1.02; text-wrap: pretty;
  font-variant-numeric: lining-nums;
}
.h2--54 { font-size: 54px; }
.h2--52 { font-size: 52px; }
.h2--50 { font-size: 50px; }
.h2--team { margin: 0 0 48px; }

.lead { font-size: 19px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.note { font-size: 15px; color: var(--muted); max-width: 300px; line-height: 1.5; }
.note--320 { max-width: 320px; }
.quote {
  font-family: var(--display); font-style: italic;
  font-size: 28px; line-height: 1.3; color: var(--green);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-block; font-size: 14px; font-weight: 600;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-align: center; transition: background .15s, color .15s;
  box-sizing: border-box;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--secondary { background: var(--sand); color: var(--ink); }
.btn--secondary:hover { background: #E9E5DA; color: var(--ink); }
.btn--white { background: #fff; color: inherit; }
.btn--white:hover { color: inherit; }
.btn--sm { padding: 14px 22px; }
.btn--ghost { background: transparent; color: var(--green); padding: 14px 12px; }
.btn--ghost:hover { color: var(--brass); }
.btn--block { display: block; width: 100%; }

/* Nav --------------------------------------------------------------------- */

.site__header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* The frost sits on its own painted layer, never on the header itself:
   `backdrop-filter` makes an element the containing block for fixed
   descendants, which would capture the drawer and kill its hit-testing. */
.site__header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}
/* Hairline appears only once the page has moved beneath the bar. */
.site__header.is-stuck {
  border-bottom-color: var(--hairline-footer);
  box-shadow: 0 6px 24px rgba(27, 42, 34, .06);
}

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px var(--pad-x); max-width: 1280px; margin: 0 auto; width: 100%;
  box-sizing: border-box; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__word { font-weight: 700; font-size: 17px; }

.logo {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center; flex: none;
}
.logo img { width: 38px; height: 38px; }
.logo--sm { width: 44px; height: 44px; }
.logo--sm img { width: 36px; height: 36px; }

.nav__links {
  display: flex; gap: 4px; background: var(--sand); padding: 6px; border-radius: 999px;
  font-size: 14px; font-weight: 500; flex-wrap: wrap;
}
.nav__link {
  display: block; padding: 9px 18px; border-radius: 999px;
  color: var(--ink); background: transparent; transition: background .15s;
}
.nav__link:hover, .nav__link.is-active { background: #fff; color: var(--ink); }

.nav__cta {
  background: var(--green); color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; transition: background .15s;
}
.nav__cta:hover { background: var(--green-dark); color: #fff; }

/* Drawer affordances: inert on desktop, activated in the 900px query. */
.nav__menu { display: contents; }

.nav__burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; flex: none;
  background: var(--sand); border: 0; border-radius: 999px;
  color: var(--ink); cursor: pointer;
}
.nav__burger-bars { display: grid; gap: 4px; width: 18px; }
.nav__burger-bars span {
  display: block; height: 2px; border-radius: 2px; background: currentColor;
}
.nav__scrim { display: none; }

/* Home: hero and photo row ----------------------------------------------- */

.hero { padding: 72px var(--pad-x) 40px; display: flex; flex-direction: column; gap: 36px; }
.hero__row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px; align-items: end;
}
.hero__lead { max-width: 560px; }
.hero__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

.three-up {
  padding: 32px var(--pad-x) 96px; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: end;
}
/* The programme row is photo + format + audience. At three equal columns the
   photo slot lands near 250px against a square source, cropping it to a
   strip; giving it the wider share restores the source's proportions. */
.three-up--programme {
  padding-top: 0;
  grid-template-columns: 1.4fr 1fr 1.2fr;
}
.slot-380 { height: 380px; min-width: 0; }
.slot-300 { height: 300px; min-width: 0; }

.card-green {
  background: var(--green); border-radius: 24px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box;
}
.card-green--who { height: 380px; padding: 40px; }
.card-green--need { height: 380px; padding: 36px; }
.card-sand {
  height: 300px; background: var(--sand); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box;
}
/* On the programme row the sand card holds only a kicker and three short
   lines; spread across 300px they read as two stranded clumps, so the
   content groups at the top and the card keeps its height for the row. */
.three-up--programme .card-sand { justify-content: flex-start; gap: 28px; }

.who-list {
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--display); font-size: 34px; line-height: 1.05; font-weight: 500;
}
.who-list li + li { color: rgba(255, 255, 255, .55); }
.who-quote { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.3; }
.format-list { display: flex; flex-direction: column; gap: 10px; }
.format-list li { font-size: 20px; font-weight: 600; line-height: 1.2; }

/* Cream bands ------------------------------------------------------------- */

.band {
  padding: 96px var(--pad-x); background: var(--cream); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 64px;
}
.band--start { align-items: start; }
.band__intro { display: flex; flex-direction: column; gap: 22px; }
.band__copy {
  display: flex; flex-direction: column; gap: 20px;
  font-size: 17px; line-height: 1.65; color: var(--body);
}
.band__copy--18 { gap: 18px; }
.band__copy .strong { font-weight: 600; color: var(--ink); }
.band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.numbered { display: flex; flex-direction: column; font-size: 17px; line-height: 1.6; color: var(--body); }
.numbered__row {
  padding: 22px 0; border-bottom: 1px solid var(--hairline);
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
}
.numbered__row span { font-weight: 700; color: var(--green); }
.numbered__close { margin: 24px 0 0; font-weight: 600; color: var(--ink); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.chip { padding: 8px 16px; border: 1px solid rgba(27, 42, 34, .2); border-radius: 999px; font-size: 14px; }

/* Sections ---------------------------------------------------------------- */

.section { padding: 96px var(--pad-x); }
.section--cream { background: var(--cream); }
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 32px; flex-wrap: wrap;
}
.section__head .h2 { max-width: 640px; }

/* DIG cards --------------------------------------------------------------- */

.dig { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.dig__card {
  border: 1px solid var(--hairline); border-radius: 24px; padding: 36px; background: #fff;
  display: flex; flex-direction: column; gap: 40px; min-height: 300px;
}
.dig__card--sand { background: var(--sand); border: 0; }
.dig__card--green { background: var(--green); color: #fff; border: 0; }
.dig__head { display: flex; justify-content: space-between; align-items: center; }
.dig__letter { font-family: var(--display); font-size: 88px; line-height: 1; color: var(--green); }
.dig__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.dig__title { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.dig__body { font-size: 15px; line-height: 1.6; color: var(--body); }
.dig__card--green .dig__letter,
.dig__card--green .dig__label { color: var(--brass-on-green); }
.dig__card--green .dig__body { color: rgba(255, 255, 255, .8); }

/* CTA band ---------------------------------------------------------------- */

.cta {
  margin: 0 var(--pad-x) 96px; background: var(--green); border-radius: 32px; padding: 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px;
  align-items: center; color: #fff;
}
.cta--programme { margin-top: 96px; }
.cta__intro { display: flex; flex-direction: column; gap: 20px; }
.cta__rows { display: flex; flex-direction: column; gap: 12px; }
.cta__row {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px; padding: 24px 28px; display: flex; justify-content: space-between;
  align-items: center; color: #fff; transition: background .15s;
}
.cta__row:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cta__row-title { font-size: 20px; font-weight: 600; }
.cta__row-sub { font-size: 14px; color: rgba(255, 255, 255, .7); }
.cta__row-arrow { font-size: 22px; }
.cta__row--simple { padding: 22px 28px; font-weight: 600; font-size: 18px; }
.cta__row--simple .cta__row-arrow { font-size: inherit; }
.cta__row--white { background: #fff; color: var(--green); border: 0; }
.cta__row--white:hover { background: #fff; color: var(--green); }

/* About ------------------------------------------------------------------- */

/* The lead sits on the headline's last baseline, but only while the headline
   is short enough for that to read as alignment rather than as a void. Past
   three lines the gap dominates, so the aside rides up to the top instead. */
.hero-2 {
  padding: 72px var(--pad-x) 56px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 48px 64px;
  align-items: end;
}
.hero-2--top { align-items: start; }
.hero-2--top .hero-2__aside,
.hero-2--top > .lead { padding-top: 14px; }
.hero-2--programme { padding-top: 40px; }
.hero-2__intro { display: flex; flex-direction: column; gap: 24px; }
.hero-2__aside { display: flex; flex-direction: column; gap: 24px; }
.hero-2__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tagline { font-size: 20px; color: var(--green); font-family: var(--display); font-style: italic; }

.photo-full { padding: 0 var(--pad-x) 96px; height: 520px; box-sizing: content-box; }
.photo-full--460 { height: 460px; }

.pact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pact__card {
  border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 32px;
  min-height: 260px; background: #fff; color: var(--ink); border: 1px solid var(--hairline-card);
}
.pact__card--sand { background: var(--sand); }
.pact__card--green { background: var(--green); color: #fff; }
.pact__letter { font-family: var(--display); font-size: 80px; line-height: 1; color: var(--green); }
.pact__card--green .pact__letter { color: var(--brass-on-green); }
.pact__title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.pact__body { font-size: 15px; line-height: 1.6; opacity: .85; }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.team__card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.team__photo { height: 360px; }
.team__name { font-size: 22px; font-weight: 600; }
.team__role { font-size: 14px; color: var(--muted); }

/* Hub programme rows ------------------------------------------------------ */

.prog-list { padding: 0 var(--pad-x) 96px; display: flex; flex-direction: column; gap: 20px; }
.prog-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px;
  padding: 48px; border-radius: 32px; background: #fff; color: var(--ink);
  border: 1px solid var(--hairline-card); align-items: center; transition: border-color .15s;
}
.prog-row:hover { border-color: var(--green); color: var(--ink); }
.prog-row--green { background: var(--green); color: #fff; }
.prog-row--green:hover { color: #fff; }
.prog-row--sand { background: var(--sand); }
.prog-row__left { display: flex; flex-direction: column; gap: 16px; }
.prog-row__head { display: flex; align-items: center; gap: 12px; }
.prog-row__roman { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--green); }
.prog-row--green .prog-row__roman { color: var(--brass-on-green); }
.prog-row__audience { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; opacity: .75; }
.prog-row__need { font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.3; opacity: .9; }
.prog-row__right { display: flex; flex-direction: column; gap: 14px; }
.prog-row__level { font-size: 13px; font-weight: 600; opacity: .7; }
.prog-row__name { font-size: 30px; font-weight: 600; line-height: 1.1; }
.prog-row__summary { font-size: 15px; line-height: 1.55; opacity: .85; }
.prog-row__more { font-size: 14px; font-weight: 700; margin-top: 8px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tag { padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid currentColor; opacity: .8; }

/* Programme --------------------------------------------------------------- */

.crumbs {
  padding: 56px var(--pad-x) 0; display: flex; gap: 8px;
  font-size: 13px; color: var(--muted); align-items: center; flex-wrap: wrap;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brass); }
.crumbs__current { color: var(--ink); font-weight: 600; }

.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.outcome {
  background: #fff; border-radius: 24px; padding: 36px;
  display: flex; flex-direction: column; gap: 28px; min-height: 240px;
}
.outcome__letter { font-family: var(--display); font-size: 72px; line-height: 1; color: var(--green); }
.outcome__title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.outcome__body { font-size: 15px; line-height: 1.6; color: var(--body); }

/* Contact & forms --------------------------------------------------------- */

.contact {
  padding: 72px var(--pad-x) 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 64px; align-items: start;
}
/* The contact grid is followed by the CTA band, which carries its own 96px
   of bottom margin — the old padding here stacked a second gap on top. */
.contact + .cta { margin-top: 96px; }
.contact__intro { display: flex; flex-direction: column; gap: 32px; }
.contact__lead { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 480px; }
.contact__photo { height: 280px; }

.details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  font-size: 15px; line-height: 1.7; color: var(--body);
}
.details__label {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-bottom: 8px;
}
.details a { color: var(--body); }
.details a:hover { color: var(--brass); }

.form-card {
  background: var(--cream); border-radius: 32px; padding: 48px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field--gap8 { gap: 8px; }
.input {
  padding: 14px 16px; border: 1px solid rgba(27, 42, 34, .16); border-radius: 12px;
  font: inherit; font-weight: 400; background: #fff; box-sizing: border-box;
  width: 100%; min-width: 0; color: var(--ink);
}
.input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.input.is-invalid { border-color: var(--error); }
textarea.input { resize: vertical; }
select.input { appearance: auto; }
.field__error { font-size: 13px; font-weight: 500; color: var(--error); }
.form-card .btn--submit { margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid rgba(27, 42, 34, .16);
  transition: background .15s, color .15s;
}
.pill[aria-pressed="true"] { background: var(--green); color: #fff; }

.form-success {
  background: var(--cream); border-radius: 32px; padding: 48px;
  display: flex; flex-direction: column; gap: 20px;
}
.form-success p { font-size: 17px; line-height: 1.65; color: var(--body); }

/* Photo slots ------------------------------------------------------------- */

.photo {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: linear-gradient(135deg, #EAE5D9 0%, #D8D1C1 100%);
  display: grid; place-items: center; box-sizing: border-box; padding: 16px;
  color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; text-align: center;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo--r24 { border-radius: 24px; }
.photo--r32 { border-radius: 32px; }
.photo--pill { border-radius: 999px; }

/* Footer ------------------------------------------------------------------ */

.footer {
  margin: 0 var(--pad-x); border-top: 1px solid var(--hairline-footer); padding: 32px 0 40px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted); line-height: 1.7;
  max-width: 1168px; align-self: center; width: calc(100% - 112px);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__links { display: flex; gap: 28px; font-weight: 500; color: var(--ink); flex-wrap: wrap; }
.footer__links a { color: var(--ink); }
.footer__links a:hover { color: var(--brass); }

/* Error page -------------------------------------------------------------- */

.error-page { padding: 96px var(--pad-x) 128px; display: flex; flex-direction: column; gap: 28px; max-width: 760px; }

/* Responsive -------------------------------------------------------------- */

/* No page-level overflow guard here on purpose. `overflow-x: hidden` on
   html/body makes the body a scroll container and kills `position: sticky`
   on the header; `overflow-x: clip` on .site makes it the containing block
   for the fixed drawer and scrim, so they paint but stop hit-testing.
   Instead each offender is kept in bounds at source — see the closed drawer
   below, which is taken out of flow rather than parked offscreen. */

/* Long unbroken strings (emails, URLs) must not push the layout open. */
.lead, .band__copy, .dig__body, .pact__body, .outcome__body,
.prog-row__summary, .details, .footer, .form-success p { overflow-wrap: break-word; }

@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .cta { padding: 56px; }
}

/* Tablet and below: the five nav pills no longer fit on one row, so the
   links and the CTA move into a drawer behind the burger. */
@media (max-width: 900px) {
  .nav { flex-wrap: nowrap; gap: 12px; }
  .nav__burger { display: inline-flex; }

  /* Closed, the drawer must contribute nothing: a transform-parked box still
     widens the page, so it is taken out of hit-testing and flow until open. */
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; z-index: 60;
    width: min(320px, 84vw);
    background: #fff;
    box-shadow: -18px 0 48px rgba(27, 42, 34, .18);
    padding: 88px 24px 32px;
    display: flex; flex-direction: column; align-items: stretch; gap: 24px;
    transform: translateX(100%);
    transition: transform .22s ease, visibility .22s;
    visibility: hidden;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .nav-is-open .nav__menu { transform: none; visibility: visible; }

  .nav__links {
    flex-direction: column; gap: 4px;
    background: transparent; padding: 0; border-radius: 0;
    font-size: 16px;
  }
  .nav__link { padding: 14px 16px; border-radius: 12px; }
  .nav__link:hover, .nav__link.is-active { background: var(--sand); }

  .nav__cta { display: block; text-align: center; padding: 16px 22px; }

  .nav__scrim {
    display: block;
    position: fixed; inset: 0; z-index: 50;
    background: rgba(18, 38, 29, .44);
  }
  .nav__scrim[hidden] { display: none; }

  body.nav-is-open { overflow: hidden; }
}

@media (max-width: 860px) {
  /* Fixed-height photo slots become fluid once the grid stacks. */
  .three-up { grid-template-columns: 1fr 1fr; }
  .three-up .card-green--who { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --pad-x: 24px; }
  .three-up, .band, .hero-2, .contact, .prog-row, .cta, .dig, .pact, .outcomes, .team {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 48px; gap: 28px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  /* Heights that were fine as columns are a wall of boxes when stacked. */
  .slot-380, .card-green--who, .card-green--need { height: auto; min-height: 300px; }
  .slot-300, .card-sand { height: auto; min-height: 240px; }
  .photo-full, .photo-full--460 { height: 300px; }
  .team__photo { height: 320px; }
  .contact__photo { height: 240px; }
  .slot-380 .photo, .slot-300 .photo { min-height: inherit; }

  .card-green--who, .card-green--need { padding: 28px; }
  .card-sand { padding: 24px; }

  .cta { padding: 40px 24px; border-radius: 24px; gap: 32px; }
  .cta--programme { margin-top: 64px; }
  .cta__row { padding: 20px; }
  .cta__row--simple { padding: 18px 20px; font-size: 16px; }
  .cta__row-title { font-size: 18px; }

  .form-card, .form-success { padding: 28px 20px; border-radius: 24px; }
  .details { grid-template-columns: 1fr; gap: 20px; }
  .footer { width: auto; margin: 0 var(--pad-x); align-self: stretch; }
  .footer, .section__head { gap: 24px; }

  .h1 { font-size: clamp(38px, 11vw, 52px); }
  .h1--home { font-size: clamp(40px, 12vw, 58px); }
  .h2, .h2--54, .h2--52, .h2--50 { font-size: 34px; }
  .h2--team { margin-bottom: 32px; }
  .lead { font-size: 17px; }
  .note, .note--320 { max-width: none; }
  .quote { font-size: 24px; }

  .section, .band { padding-top: 56px; padding-bottom: 56px; }
  .three-up { padding-bottom: 56px; }
  .band { gap: 32px; }
  .section__head { margin-bottom: 32px; }

  .dig__card, .outcome { padding: 28px; min-height: 0; gap: 28px; }
  .dig__letter { font-size: 64px; }
  .pact__card { padding: 26px; min-height: 0; gap: 24px; }
  .pact__letter, .outcome__letter { font-size: 60px; }
  .who-list { font-size: 28px; }
  .who-quote { font-size: 22px; }

  .prog-list { padding-bottom: 56px; }
  .prog-row { padding: 28px; border-radius: 24px; gap: 24px; }
  .prog-row__name { font-size: 24px; }
  .prog-row__need { font-size: 20px; }
  .prog-row__roman { font-size: 32px; }

  .crumbs { padding-top: 32px; }
  .error-page { padding-top: 56px; padding-bottom: 72px; }

  /* Comfortable touch targets. */
  .btn { padding: 15px 24px; }
  .pill { padding: 12px 18px; }
}

@media (max-width: 420px) {
  .h2, .h2--54, .h2--52, .h2--50 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__links { gap: 16px 20px; }
}

/* Coarse pointers get the drawer regardless of the reported width. */
@media (hover: none) {
  .nav__link:hover { background: transparent; }
  .nav__link.is-active:hover { background: var(--sand); }
}
