:root {
  --purple: #3d1f6e;
  --purple-dark: #291447;
  --purple-soft: #eee8f6;
  --gold: #c9a84c;
  --gold-dark: #82671f;
  --ink: #2a2433;
  --muted: #635c6d;
  --paper: #fffdf9;
  --warm: #f5f1eb;
  --line: #e5dfeb;
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 100%; height: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--purple); }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.contact-section a:focus-visible { outline-color: var(--gold); }
.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: 10px; left: 10px; padding: 10px 18px; background: var(--purple); color: white; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* One predictable header and shared content width across the whole page. */
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255, 253, 249, 0.98); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { color: var(--purple); text-decoration: none; flex-shrink: 0; }
.wordmark-text { font-size: 19px; font-weight: 700; letter-spacing: -0.5px; }
.wordmark-text small { margin-left: 7px; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-dark); }
.wordmark-symbol, .brand-orbit, .brand-spark, .section-flower { display: none; }
.site-nav { display: flex; align-items: center; gap: 17px; }
.site-nav a { padding-block: 11px; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--purple); }
.site-nav .nav-programme { color: var(--purple); font-weight: 700; }
.site-nav .nav-contact { display: inline-flex; align-items: center; gap: 12px; padding: 10px 17px; background: var(--purple); color: white; border-radius: 6px; }
.site-nav .nav-contact:hover { background: var(--purple-dark); color: white; }
.nav-contact span { font-size: 19px; line-height: 1; }

/* No fixed hero height: its size follows the actual content. */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 64px; padding-block: 42px 46px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
h1 { margin-bottom: 20px; font-size: clamp(42px, 4vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -2px; }
.headline-highlight { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.hero-intro { max-width: 730px; margin-bottom: 22px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 10px 21px; border: 1px solid var(--purple); border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color 160ms ease; }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-primary { background: var(--purple); color: white; }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { border-color: #d6ccdf; color: var(--purple); }
.button-secondary:hover { background: var(--purple-soft); }
.hero-mark { width: 100%; max-width: 430px; margin-left: auto; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.mark-frame { padding: 0; }
.mark-frame img { width: 100%; }
.location-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--purple); font-size: 13px; line-height: 1.55; text-decoration: none; }
.location-icon { flex: 0 0 34px; height: 34px; padding: 8px; background: var(--purple-soft); border-radius: 50%; }
.location-arrow { margin-left: auto; font-size: 23px; }

/* Tighten the rhythm, not the text: sections remain readable without empty bands. */
.section { scroll-margin-top: 92px; padding-block: 44px; }
.section-number { display: none; }
.section-label h2 { margin-bottom: 0; font-size: 34px; line-height: 1.15; letter-spacing: -1px; }
.split-section { display: grid; grid-template-columns: minmax(210px, 0.7fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.audience-section { background: var(--warm); border-block: 1px solid #ebe5db; padding-block: 34px; }
.audience-copy p { margin-bottom: 14px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.audience-copy strong { color: var(--ink); font-weight: 400; }
.audience-copy .audience-emphasis { margin-bottom: 0; color: var(--purple); font-size: 21px; font-weight: 700; line-height: 1.5; letter-spacing: -0.3px; }
.section-heading-row { display: flex; align-items: center; margin-bottom: 24px; }
.heading-rule { display: none; }
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.program-card { display: grid; grid-template-rows: auto auto 1fr; align-content: start; gap: 16px; padding: 24px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 9px; }
.card-topline { display: flex; align-items: center; justify-content: space-between; }
.program-icon { width: 42px; height: 42px; padding: 9px; background: var(--purple-soft); border-radius: 9px; color: var(--purple); }
.card-index { color: #68596f; font-size: 11px; letter-spacing: 1px; }
.program-card h3 { min-height: 54px; margin-bottom: 0; font-size: 23px; line-height: 1.2; letter-spacing: -0.5px; }
.program-card p { margin-bottom: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* Text is dark by default. A missing background can never make this section vanish. */
.working-section { border-block: 1px solid #e6dfd4; }
.working-heading { margin-bottom: 24px; }
.working-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.working-item { padding: 20px 23px; background: white; border: 1px solid #e5dfd6; border-left: 3px solid var(--gold); border-radius: 7px; }
.working-item h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.3; letter-spacing: -0.3px; }
.working-item p { margin-bottom: 0; font-size: 17px; line-height: 1.65; }
.information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.information-section .section-body { margin-top: 20px; }
.information-section p { margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.text-link { color: var(--purple); text-underline-offset: 4px; overflow-wrap: anywhere; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Foreground and background colours are paired within the same contact component. */
.contact-section { background: #291447; color: white; padding-block: 40px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: start; }
.contact-heading h2 { color: white; font-size: 38px; letter-spacing: -1px; }
.contact-heading h2 br { display: none; }
.contact-heading h2 span { color: #e2c572; }
.contact-heading > p { max-width: 510px; margin-top: 18px; margin-bottom: 0; color: #e2d9ef; font-size: 17px; line-height: 1.75; }
.contact-item { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.contact-item:first-child { padding-top: 0; }
.contact-item + .contact-item { border-top: 1px solid #ffffff24; }
.contact-item > div { min-width: 0; }
.contact-icon { flex: 0 0 35px; width: 35px; height: 35px; padding: 8px; border: 1px solid #ffffff30; border-radius: 50%; color: #e2c572; }
.contact-label { display: block; margin-bottom: 4px; color: #d4c7e2; font-size: 12px; }
.contact-item address, .contact-value { color: white; font-size: 17px; font-style: normal; line-height: 1.5; overflow-wrap: anywhere; }
.contact-link { color: white; text-decoration: none; }
.contact-link .contact-value { text-decoration: underline; text-decoration-color: #ffffff60; text-underline-offset: 4px; }
.contact-link:hover .contact-value { text-decoration-color: #e2c572; }
.contact-arrow { margin-left: auto; color: #e2c572; font-size: 22px; }
.site-footer { color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 22px; }
.footer-inner p { max-width: 800px; margin-bottom: 0; line-height: 1.7; }
.footer-policies { flex-shrink: 0; }
.footer-policies > span { margin-inline: 9px; color: #a89ab4; }
.footer-policies a { text-underline-offset: 3px; }

@media (min-width: 851px) and (max-width: 1100px) {
  .shell { width: calc(100% - 48px); }
  .header-inner { gap: 16px; }
  .wordmark-text { font-size: 16px; }
  .site-nav { gap: 9px; }
  .site-nav a { font-size: 11px; }
  .site-nav .nav-contact { padding-inline: 12px; }
  .hero { gap: 36px; }
  .hero-mark { padding: 16px; }
  h1 { font-size: 43px; }
  .split-section { gap: 40px; }
  .program-card { padding: 21px; }
  .program-card h3 { min-height: 80px; font-size: 22px; }
  .information-grid, .contact-layout { gap: 48px; }
}

@media (max-width: 850px) {
  html { scroll-padding-top: 132px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { display: block; min-height: 0; padding-top: 13px; }
  .wordmark { display: inline-block; margin-bottom: 7px; }
  .wordmark-text { font-size: 17px; }
  .site-nav { overflow-x: auto; gap: 22px; padding-bottom: 7px; scrollbar-width: thin; scrollbar-color: #c8b9d8 transparent; }
  .site-nav a { flex-shrink: 0; min-height: 44px; padding-block: 10px; font-size: 13px; }
  .site-nav .nav-contact { min-height: 42px; padding: 9px 14px; }
  .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; padding-block: 32px; }
  h1 { font-size: 39px; letter-spacing: -1.4px; }
  .hero-intro { font-size: 16px; }
  .hero-mark { padding: 14px; }
  .location-note { gap: 8px; font-size: 11px; }
  .location-icon { flex-basis: 29px; height: 29px; padding: 6px; }
  .location-arrow { font-size: 18px; }
  .button { gap: 14px; padding-inline: 17px; font-size: 13px; }
  .section { padding-block: 36px; scroll-margin-top: 132px; }
  .section-label h2 { font-size: 31px; }
  .split-section { grid-template-columns: 0.8fr 1.4fr; gap: 30px; }
  .audience-copy p { font-size: 17px; }
  .audience-copy .audience-emphasis { font-size: 20px; }
  .program-grid { gap: 16px; grid-template-columns: 1fr; }
  .program-card { gap: 15px; }
  .program-card h3 { min-height: 0; }
  .working-grid { gap: 16px; }
  .working-item { padding: 18px; }
  .working-item h3 { font-size: 19px; }
  .working-item p { font-size: 16px; }
  .information-grid { gap: 32px; }
  .information-section p { font-size: 16px; }
  .contact-layout { gap: 36px; }
  .contact-heading h2 { font-size: 34px; }
  .contact-heading > p { font-size: 16px; }
  .contact-item { gap: 10px; }
  .contact-value, .contact-item address { font-size: 15px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .eyebrow { font-size: 10px; margin-bottom: 14px; }
  h1 { font-size: clamp(36px, 9.6vw, 45px); line-height: 1.12; letter-spacing: -1.4px; }
  .hero-intro { line-height: 1.75; margin-bottom: 20px; }
  .hero-mark { width: 100%; max-width: 370px; margin-inline: auto; padding: 20px; }
  .location-note { font-size: 12px; }
  .split-section, .working-grid, .information-grid, .contact-layout { grid-template-columns: 1fr; }
  .split-section { gap: 20px; }
  .section-label h2 br { display: none; }
  .section-label h2 { font-size: 31px; }
  .section-heading-row, .working-heading { margin-bottom: 22px; }
  .program-card { padding: 23px; }
  .program-card h3 { font-size: 23px; }
  .working-item { padding: 18px 20px; }
  .information-grid { gap: 0; }
  .safeguarding-section { padding-top: 0; }
  .information-section .section-body { margin-top: 16px; }
  .contact-layout { gap: 26px; }
  .contact-section { padding-block: 32px; }
  .contact-heading h2 { font-size: 34px; }
  .contact-heading > p { margin-top: 16px; }
  .contact-item { gap: 13px; padding-block: 17px; }
  .contact-item address, .contact-value { font-size: 16px; }
  .footer-inner { padding-block: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
