/* ==========================================================================
   Shire Oak Scouts — "Woodland" theme
   Scouts brand: purple #7413DC, Nunito Sans, official section colours.
   ========================================================================== */

:root {
  --green-950: #14261C;   /* footer */
  --green-900: #123826;   /* hover / dark links */
  --green-700: #205B41;   /* primary green, hero */
  --green-600: #2A6B4E;
  --green-100: #EAF3EC;
  --green-50:  #DCE9DF;
  --mint:      #B9E4C9;
  --on-green:  #E3F1E8;

  --cream:     #F4F1EA;
  --sand:      #E8E2D4;
  --line:      #E2DDD0;
  --input:     #C9C2B2;

  --ink:       #1C2B22;
  --ink-2:     #3A4A40;
  --muted:     #4A5A50;

  --purple:      #7413DC;
  --purple-dark: #4D0C93;
  --yellow:      #FFE627;

  --squirrels: #E22E12;
  --beavers:   #006DDF;
  --cubs:      #23A950;
  --scouts:    #004851;
  --explorers: #00425E;
  --network:   #7F7F7F;

  --radius-sm: 12px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow:    0 12px 32px rgba(20, 40, 30, 0.14);
  --gutter:    32px;
  --max:       1200px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }

h1, h2, h3 { font-weight: 900; line-height: 1.1; margin: 0; }
/* Even out the lines of multi-line headings instead of leaving one word on the last line */
h1, h2, h3 { text-wrap: balance; }
/* The bracketed part of a name, e.g. "(St Margaret's)", stays in one piece; in page headings it gets its own line */
.heading-aside { display: inline-block; max-width: 100%; }
.page-hero h1 .heading-aside, .heading-aside--line { display: block; }
h1 { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--yellow); }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 800;
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; color: var(--green-700);
}
.on-dark .eyebrow { color: var(--mint); }

.stack > * + * { margin-top: 20px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

.btn--primary { background: var(--purple); color: #fff; }
.btn--primary:hover { background: var(--purple-dark); color: #fff; }

.btn--yellow { background: var(--yellow); color: var(--ink); font-weight: 900; }
.btn--yellow:hover { background: #F2D800; color: var(--ink); }

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

.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); color: #fff; }

.btn--outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--green-700); }

.btn--white { background: #fff; color: var(--purple-dark); font-weight: 900; }
.btn--white:hover { background: var(--green-100); color: var(--purple-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header__inner { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 50px; height: 46px; object-fit: contain; }
.brand__name { display: block; font-weight: 900; font-size: 20px; line-height: 1.1; }
.brand__strap { display: block; font-size: 13px; color: var(--muted); }

.nav { flex-grow: 1; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.nav__link { font-weight: 700; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; display: inline-block; }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--green-900); border-bottom-color: var(--green-700); }

.header-actions { display: flex; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none; margin-left: auto; min-height: 44px; min-width: 44px; padding: 8px 14px;
  border: 2px solid var(--green-700); border-radius: 999px; background: #fff; color: var(--green-700);
  font: inherit; font-weight: 800; cursor: pointer;
}

@media (max-width: 1080px) {
  .site-header__inner { flex-wrap: wrap; gap: 16px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav, .header-actions { display: none; width: 100%; }
  .site-header.is-open .nav, .site-header.is-open .header-actions { display: block; }
  .site-header.is-open .header-actions { display: flex; padding-bottom: 8px; }
  .nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 14px 0; border-bottom: 0; }
  .nav__link[aria-current="page"], .nav__link.is-active { border-bottom: 0; box-shadow: inset 4px 0 0 var(--green-700); padding-left: 12px; }
}

/* ---------- Hero (homepage) ---------- */

.hero { background: var(--green-700); color: #fff; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 112px;
}
@media (min-width: 800px) { .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Town names run across the full width, above the text and photo */
.hero__eyebrow { grid-column: 1 / -1; margin-bottom: -24px; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__intro { font-size: 20px; line-height: 1.5; color: var(--on-green); }

.media {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--green-600) 0 14px, #26654A 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
/* Natural: the frame takes the photo's own shape (story pages), so nothing is cropped */
.media--natural { aspect-ratio: auto; display: block; }
.media--natural img { height: auto; }
.media--light { background: repeating-linear-gradient(135deg, var(--green-50) 0 14px, #D3E3D7 14px 28px); }
.media--sand { background: repeating-linear-gradient(135deg, var(--sand) 0 10px, #E1DACA 10px 20px); }
.media img.media__mark { width: 28%; max-width: 120px; height: auto; object-fit: contain; opacity: .3; }
.media--light img.media__mark, .media--sand img.media__mark { opacity: .18; filter: invert(1); }

/* ---------- Search card ---------- */

.search-wrap { position: relative; margin-top: -56px; }
.search-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end;
}
.search-card .field { flex: 1 1 200px; }
.search-card .field--wide { flex: 2 1 240px; }

/* ---------- Forms ---------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 800; font-size: 15px; }
.field__hint { font-size: 14px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; border-radius: var(--radius-sm); border: 2px solid var(--input);
  padding: 12px 16px; font: inherit; font-size: 17px; color: var(--ink); background: #fff;
}
.textarea { min-height: 160px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green-700); outline: 3px solid var(--green-100); outline-offset: 0; }
.input-validation-error { border-color: #B42318; }
.field-validation-error { color: #B42318; font-size: 14px; font-weight: 700; }
.validation-summary-errors { color: #B42318; font-weight: 700; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 14px; color: var(--muted); }

.alert { border-radius: var(--radius); padding: 20px 24px; font-weight: 700; }
.alert--success { background: var(--green-100); color: var(--green-900); border: 2px solid var(--mint); }
.alert--info { background: #FFF8D6; color: #5C4A00; border: 2px solid #F2D800; }

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

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--white { background: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 760px; }

/* Age-section cards */
.age-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; }
.age-card {
  text-decoration: none; color: var(--ink); background: #fff; border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 6px; border-top: 6px solid var(--section, var(--green-700));
}
.age-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.age-card__name { font-weight: 900; font-size: 20px; }
.age-card__ages { color: var(--muted); }
.age-card__tagline { font-size: 15px; color: var(--ink-2); }
.age-card--cream { background: var(--cream); }
.age-card__logo { height: 48px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 4px; }
/* Cards with a logo: logo, ages and tagline centred */
.age-card--logo { align-items: center; text-align: center; }
/* White section logo as the heading of a section page */
.page-hero__logo { line-height: 0; }
.page-hero__logo img { display: block; height: 96px; width: auto; max-width: 100%; }
@media (max-width: 640px) { .page-hero__logo img { height: 72px; } }

[data-section="squirrels"] { --section: var(--squirrels); }
[data-section="beavers"]   { --section: var(--beavers); }
[data-section="cubs"]      { --section: var(--cubs); }
[data-section="scouts"]    { --section: var(--scouts); }
[data-section="explorers"] { --section: var(--explorers); }
[data-section="network"]   { --section: var(--network); }

.dot { width: 12px; height: 12px; border-radius: 999px; background: var(--section, var(--green-700)); flex-shrink: 0; display: inline-block; }

/* Feature panel (Hunters Greave on the homepage) */
.feature { background: #fff; border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }
.feature .media { aspect-ratio: auto; min-height: 420px; border-radius: 0; }
.feature__body { padding: 48px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 640px) { .feature__body { padding: 28px; } .feature .media { min-height: 240px; } }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--green-100); font-weight: 700; font-size: 14px; }

/* Purple volunteer band */
.band { background: var(--purple); color: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.band__actions { justify-content: flex-end; }
.band p { font-size: 18px; }
@media (max-width: 720px) { .band__actions { justify-content: flex-start; } }

/* ---------- Inner page hero ---------- */

.page-hero { background: var(--green-700); color: #fff; }
.page-hero__inner { padding-top: 56px; padding-bottom: 64px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: center; }
.page-hero__inner--text { grid-template-columns: minmax(0, 820px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero .lead { color: var(--on-green); font-size: 20px; }
.page-hero--overlap .page-hero__inner { padding-bottom: 104px; }
.page-hero__text { display: flex; flex-direction: column; gap: 20px; }

.page-hero[data-section] { box-shadow: inset 0 -10px 0 var(--section); }
.age-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: 15px;
}
.age-badge .dot { width: 22px; height: 22px; }

.breadcrumb { font-size: 14px; font-weight: 700; color: var(--mint); }
.breadcrumb a { color: var(--mint); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Content layout ---------- */

.layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .layout--sidebar { grid-template-columns: minmax(0, 1fr) 360px; } }

.panel { background: #fff; border-radius: var(--radius-lg); padding: 32px; }
.panel--green { background: var(--green-700); color: #fff; }
.panel h2 { font-size: 26px; margin-bottom: 16px; }
@media (max-width: 640px) { .panel { padding: 22px; } }

.prose { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; color: var(--ink); margin-top: 1.4em; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius); }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 999px; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23205B41' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list a { display: flex; gap: 10px; align-items: center; font-weight: 800; }

/* ---------- News and stories ---------- */

.news-lead { background: var(--green-700); color: #fff; }
.news-lead__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center;
  padding-top: 48px; padding-bottom: 64px;
}
@media (min-width: 800px) { .news-lead__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.news-lead__text { display: flex; flex-direction: column; gap: 18px; }
.news-lead__link { display: flex; flex-direction: column; gap: 16px; color: #fff; text-decoration: none; }
.news-lead__link:hover { color: #fff; }
.news-lead__link:hover .news-lead__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.news-lead__title { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; }
.news-lead__summary { font-size: 19px; line-height: 1.55; color: var(--on-green); }
.news-lead__more { font-weight: 900; color: var(--yellow); }
.news-label {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.news-meta { font-size: 14px; font-weight: 800; color: var(--mint); }

.story-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.story-card {
  background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink);
}
.section--white .story-card { background: var(--cream); }
.story-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.story-card:hover .story-card__title { text-decoration: underline; }
.story-card__media {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, var(--sand) 0 10px, #E1DACA 10px 20px);
  border-bottom: 6px solid var(--section, var(--green-700));
}
.story-card__media img { width: 100%; height: 100%; object-fit: cover; }
.story-card__media img.media__mark { width: 28%; max-width: 90px; height: auto; object-fit: contain; opacity: .18; filter: invert(1); }
.story-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.story-card__meta { font-size: 13px; font-weight: 800; color: var(--green-700); }
.story-card__title { font-size: 19px; font-weight: 900; line-height: 1.2; }
.story-card__date { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--muted); }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.pager__status { font-weight: 800; color: var(--muted); }

.story { max-width: 760px; }
.story__back { display: inline-block; margin-top: 32px; font-weight: 800; }

/* ---------- Group finder ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-chip {
  min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 999px;
  font-weight: 800; font-size: 15px; text-decoration: none; background: #fff; color: var(--ink); border: 2px solid #D6D0C1;
}
.filter-chip:hover { border-color: var(--green-700); color: var(--ink); }
.filter-chip[aria-current="true"] { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.filter-chip[aria-current="true"] .dot { box-shadow: 0 0 0 2px #fff; }
.filter-chip__ages { font-weight: 600; color: var(--muted); }
.filter-chip[aria-current="true"] .filter-chip__ages { color: var(--on-green); }

.meeting__venue { display: block; font-size: 14px; color: var(--muted); }
.venues { display: grid; gap: 22px; }
.venue { display: grid; gap: 4px; }
.venue + .venue { border-top: 1px solid var(--line); padding-top: 18px; }
.venue__when { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); }
.venue__name { font-weight: 800; }

.results-summary { font-weight: 800; color: var(--muted); margin-bottom: 14px; }

.group-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr)); }
.group-card { background: #fff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.group-card__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.group-card__name { font-size: 21px; }
.group-card__name a { color: var(--ink); text-decoration: none; }
.group-card__name a:hover { text-decoration: underline; }
.group-card__meta { font-size: 15px; color: var(--muted); }
.group-card__meta + .group-card__meta { margin-top: -8px; }
.group-card__distance { font-size: 14px; font-weight: 800; color: var(--green-700); white-space: nowrap; }

.meetings { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.meeting { display: grid; grid-template-columns: 12px 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 15px; }
.meeting__name { font-weight: 800; }
@media (max-width: 480px) {
  .meeting { grid-template-columns: 12px minmax(0, 1fr) auto; row-gap: 2px; }
  .meeting > .dot { grid-row: 1; grid-column: 1; }
  .meeting__name { grid-row: 1; grid-column: 2; }
  .meeting > :last-child { grid-row: 1; grid-column: 3; }
  .meeting__times { grid-row: 2; grid-column: 2 / -1; }
}

.badge { padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 13px; white-space: nowrap; }
.badge--space { background: var(--green-100); color: #14532D; }
.badge--wait { background: #FFF1D6; color: #7A4A00; }
.badge--off { background: #EEEBE3; color: var(--muted); }

.type-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-900); font-size: 13px; font-weight: 800; }

/* ---------- Cards (roles, team) ---------- */

.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card__title { font-size: 21px; }

.person { display: flex; gap: 16px; align-items: center; }
.person__photo { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; flex-shrink: 0; background: var(--green-100); }
.person__initials { width: 64px; height: 64px; border-radius: 999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--green-100); color: var(--green-700); font-weight: 900; font-size: 20px; }
.person__name { font-weight: 900; font-size: 18px; }
.person__role { color: var(--muted); font-size: 15px; }

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

.site-footer { background: var(--green-950); color: #D7E4DB; }
.site-footer a { color: #D7E4DB; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); padding-top: 48px; padding-bottom: 48px; }
.site-footer h2 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer__safeguarding { font-size: 14px; line-height: 1.6; display: grid; gap: 10px; }
.site-footer__safeguarding a.highlight { color: var(--yellow); font-weight: 800; }
.site-footer__legal { font-size: 13px; line-height: 1.6; color: #A9BCAF; display: grid; gap: 12px; align-content: start; }
.site-footer__legal img { width: 56px; height: 51px; object-fit: contain; }
.ceop {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px;
  background: #2C4235; color: #fff !important; font-weight: 800; font-size: 13px; text-decoration: none; width: fit-content;
}
.ceop:hover { background: #3A5545; }
/* Safeguarding numbers: each number on its own line so it never splits, with a short note under it */
.safe-numbers { display: grid; gap: 16px; }
.safe-numbers__group { display: flex; flex-direction: column; align-items: flex-start; }
.safe-numbers h3 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.site-footer .safe-numbers__number { font-size: 20px; font-weight: 900; color: #fff; white-space: nowrap; text-decoration: none; line-height: 1.3; }
.site-footer .safe-numbers__number:hover { text-decoration: underline; }
.safe-numbers__note { font-size: 13px; color: #A9BCAF; margin-bottom: 6px; }
.safe-numbers__note:last-child { margin-bottom: 0; }
.site-footer__bottom {
  border-top: 1px solid #2C4235; padding-top: 18px; padding-bottom: 28px; font-size: 13px; color: #A9BCAF;
  display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
}
.site-footer__credit a { color: #D7E4DB; font-weight: 800; }
.site-footer__privacy { color: #D7E4DB; margin-left: 10px; white-space: nowrap; }
.site-footer__credit a:hover { color: #fff; }
.site-footer__heart { color: #FF8FA3; }

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero__grid { padding-top: 40px; padding-bottom: 96px; gap: 32px; }
  .hero__eyebrow { margin-bottom: -8px; text-align: center; text-wrap: balance; }
  .section { padding: 48px 0; }
}

@media print {
  .site-header, .site-footer, .search-wrap, .band, .btn { display: none !important; }
  body { background: #fff; }
}
