:root {
  --yellow: #ffc900;
  --blue: #00a9e0;
  --blue-dark: #007ca8;
  --cream: #fff8e6;
  --soft-blue: #e9f8fd;
  --soft-yellow: #fff3b8;
  --green: #9fd7b5;
  --text: #25313b;
  --muted: #65737c;
  --border: #dbe7ec;
  --white: #ffffff;
  color-scheme: light;
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(0, 169, 224, 0.18), transparent 24%),
              radial-gradient(circle at bottom right, rgba(255, 201, 0, 0.16), transparent 28%),
              var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--cream);
}

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

a {
  color: inherit;
}

button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

button:hover, a.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd841 100%);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(255, 201, 0, 0.18);
}

.button-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--border);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  color: var(--text);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  line-height: 1.08;
  text-decoration: none;
}

.brand span {
  min-width: 14rem;
  max-width: 15rem;
}

.brand-logo {
  flex: 0 0 auto;
  width: 4.8rem;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 248, 230, 0.72);
  box-shadow: 0 12px 28px rgba(0, 124, 168, 0.08);
}

.nav-toggle {
  display: none;
}

.site-nav a,
.site-nav summary {
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav summary:hover,
.nav-group[open] > summary {
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.site-nav a:focus-visible,
.site-nav summary:focus-visible {
  outline: 3px solid rgba(0, 169, 224, 0.28);
  outline-offset: 2px;
}

.site-nav a[aria-current="page"],
.nav-group-current > summary {
  background: var(--soft-yellow);
  color: var(--text);
}

.nav-group {
  position: relative;
}

.nav-group::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 29;
  display: none;
  height: 0.75rem;
}

.nav-group summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-group[open] > summary::after {
  transform: translateY(0.08rem) rotate(225deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 230px;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
  transform: translateX(-50%);
}

.nav-group:not([open]) .nav-submenu {
  display: none;
}

.nav-group[open]::before {
  display: block;
}

.nav-submenu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  color: var(--text);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .nav-group:hover > summary {
    background: var(--soft-blue);
    color: var(--blue-dark);
  }

  .nav-group:hover::before {
    display: block;
  }

  .nav-group:hover .nav-submenu {
    display: grid;
  }
}
.hero {
  padding: 5rem 0 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  align-items: center;
}

.hero-copy {
  max-width: 40rem;
}

.page-hero-grid,
.history-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.page-hero-grid .section-header,
.history-hero-grid .section-header {
  margin-bottom: 0;
}

.page-hero-media,
.history-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.page-hero-media img,
.history-hero-media img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.page-hero-grid + .hero-actions,
.page-hero-grid + .cards-grid,
.page-hero-grid + .contact-grid {
  margin-top: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.35rem;
}

.lead {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.availability-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0, 124, 168, 0.22);
  border-left: 6px solid var(--blue);
  border-radius: 1rem;
  background: rgba(233, 248, 253, 0.84);
  color: var(--text);
}

.availability-note strong {
  color: var(--blue-dark);
}

.availability-note span {
  color: var(--muted);
}

.quick-cards,
.cards-grid,
.info-grid,
.download-grid,
.policy-grid,
.timeline-list {
  display: grid;
  gap: 1.5rem;
}

.quick-cards {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card,
.policy-card,
.cta-panel,
.info-panel,
.download-card,
.timeline-item,
.image-card {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.card h3,
.policy-card h3,
.info-panel h3,
.timeline-item h3 {
  margin-bottom: 0.85rem;
}

.card p,
.policy-card p,
.info-panel p,
.timeline-item p,
.footer-column p,
.section-copy {
  margin: 0;
  color: var(--muted);
}

.card strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text);
}

.section {
  padding: 4rem 0;
}

.section-compact {
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}

.section-alt {
  background: var(--soft-blue);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-header p {
  margin-top: 1rem;
  color: var(--muted);
}

.section-compact .section-header {
  margin-bottom: 1.35rem;
}

.parent-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.parent-info-grid .info-panel {
  display: flex;
  min-height: 0;
  padding: 1.4rem;
  flex-direction: column;
  gap: 0.9rem;
}

.parent-info-grid .info-panel h3 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.parent-info-grid .info-panel .button {
  margin-top: auto;
}

.compact-feature-section,
.sessions-preview-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.compact-feature-panel,
.sessions-preview-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.25fr);
  gap: 1.5rem;
  align-items: center;
}

.compact-feature-panel .section-header,
.sessions-preview-panel .section-header {
  margin-bottom: 0;
}

.compact-feature-panel h2,
.sessions-preview-panel h2 {
  max-width: 16ch;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}

.compact-feature-grid,
.session-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.compact-feature-item,
.session-preview-item {
  min-height: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.compact-feature-item h3,
.session-preview-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.compact-feature-item p,
.session-preview-item p {
  margin: 0;
  color: var(--muted);
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.welcome-grid .section-header {
  margin-bottom: 0;
}

.welcome-image {
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.welcome-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.split-grid,
.detail-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-details-list {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 0;
}

.contact-details-list div,
.opening-hours-list div {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.contact-details-list dt,
.opening-hours-list span {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details-list dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.term-time-note {
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 800;
}

.opening-hours-list {
  display: grid;
  gap: 1rem;
}

.opening-hours-list strong {
  color: var(--text);
  font-size: 1rem;
}

.map-panel {
  position: relative;
  margin-top: 2rem;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.map-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.94);
}

.hero-media {
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 201, 0, 0.12), rgba(0, 169, 224, 0.08));
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 230, 0.5), rgba(255, 248, 230, 0.5));
}

.hero-media-full-colour::after {
  display: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--blue-dark);
  font-weight: 700;
}

.branded-highlight {
  color: var(--blue-dark);
}

.info-panel {
  background: var(--soft-yellow);
}

.policy-section {
  background: var(--white);
}

.details-list details {
  border: 1px solid var(--border);
  border-radius: 1.3rem;
  padding: 1.2rem 1.25rem;
  background: var(--white);
}

.details-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.details-list summary::-webkit-details-marker {
  display: none;
}

.details-list summary:after {
  content: "+";
  float: right;
  font-size: 1.2rem;
  color: var(--blue-dark);
}

.details-list details[open] summary:after {
  content: "-";
}

.details-list p,
.details-list li {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.details-list ul {
  margin: 0.9rem 0 0 1.2rem;
  padding-left: 0;
}

.footer {
  padding: 3rem 0 2rem;
  background: var(--blue-dark);
  color: var(--white);
}

.footer-inner {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(360px, 1.45fr) minmax(160px, 0.65fr) minmax(220px, 0.75fr);
}

.footer-column h3 {
  margin-bottom: 1.2rem;
  color: var(--white);
  line-height: 1.2;
}

.footer-column p {
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.footer-column a:hover {
  color: var(--yellow);
}

.footer-note {
  width: min(1120px, calc(100% - 2rem));
  margin: 2.25rem auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.term-banner,
.policy-note,
.warning-card {
  padding: 1.4rem 1.6rem;
  border-radius: 1.4rem;
  background: var(--soft-blue);
  border: 1px solid var(--border);
  color: var(--text);
}

.warning-card {
  background: var(--soft-yellow);
}

.timeline-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border-color: rgba(31, 111, 139, 0.18);
  background:
    linear-gradient(180deg, rgba(250, 194, 53, 0.16) 0, rgba(250, 194, 53, 0.16) 6px, transparent 6px),
    var(--white);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline-item h3 {
  margin-bottom: 0.65rem;
}

.timeline-item:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 139, 0.34);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
}

.image-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.image-card {
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.image-card img,
.inline-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.image-card figcaption,
.inline-photo figcaption {
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.image-card-large img {
  min-height: 380px;
}

.inline-photo {
  margin: 2rem 0 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.inline-photo + .cards-grid,
.inline-photo + .details-list {
  margin-top: 2rem;
}

.editable-session-text {
  width: 100%;
  min-height: 11rem;
  resize: vertical;
  font: inherit;
}

.two-column-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.history-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.history-profile,
.archive-panel {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.history-profile p,
.archive-panel p {
  color: var(--muted);
}

.history-quote {
  margin: 0;
  padding: 2rem;
  border-left: 6px solid var(--yellow);
  border-radius: 1.5rem;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.archive-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.archive-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.archive-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.archive-photo-wide {
  grid-column: span 2;
}

.archive-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.archive-photo-wide img {
  height: 340px;
}

.archive-photo figcaption {
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.team-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--soft-yellow);
  border: 1px solid var(--border);
}

.team-intro p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.team-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-photo-card {
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.team-photo-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
}

.team-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
}

.team-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 320px;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(0, 169, 224, 0.14), rgba(255, 201, 0, 0.2)),
    var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 800;
  text-align: center;
}

.team-photo-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(10rem, 100%);
  aspect-ratio: 1;
  border: 2px dashed rgba(0, 124, 168, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

.team-photo-card-featured .team-photo {
  height: 100%;
  min-height: 420px;
}

.team-photo-card-featured .team-photo-placeholder {
  min-height: 420px;
}

.team-photo-copy {
  padding: 1.4rem;
}

.team-role {
  margin: 0 0 0.35rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-photo-copy p:last-child {
  color: var(--muted);
}

.sessions-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem 0 3rem;
}

.sessions-hero-copy {
  max-width: 46rem;
}

.sessions-hero-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
}

.sessions-hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.sessions-hero-photo figcaption {
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.session-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.session-block {
  padding: 1.6rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.session-block-lunch {
  background: var(--soft-yellow);
}

.session-time,
.fee-label {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.session-block p,
.fee-card p,
.funding-panel p,
.next-step-panel p {
  color: var(--muted);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.fee-card {
  display: grid;
  grid-template-rows: auto minmax(5.5rem, auto) auto 1fr;
  align-content: start;
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.fee-card h3 {
  max-width: 10rem;
}

.fee-card-featured {
  background: var(--soft-blue);
}

.fee-price {
  margin: 0 0 0.25rem;
  color: var(--text) !important;
  font-size: 2.7rem;
  line-height: 1;
  font-weight: 900;
}

.sessions-warning {
  margin-top: 1.5rem;
}

.funding-panel,
.next-step-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.funding-actions {
  display: grid;
  gap: 1rem;
  min-width: 240px;
}

.volunteer-panel {
  display: grid;
  gap: 2rem;
}

.volunteer-panel .section-header {
  max-width: 860px;
}

.volunteer-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.volunteer-detail-card {
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.volunteer-detail-card p,
.volunteer-detail-card li {
  color: var(--muted);
}

.volunteer-detail-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.volunteer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem;
  border-radius: 1.5rem;
  background: var(--soft-yellow);
  border: 1px solid var(--border);
}

.volunteer-cta .button {
  flex: 0 0 auto;
  min-width: 15rem;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.volunteer-cta p,
.volunteer-download p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.volunteer-download {
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: 700;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 0.65rem;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-submit {
  margin-top: 1rem;
}

.hidden {
  display: none;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.75rem !important;
  color: var(--muted);
}

.calendar-glance-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.calendar-glance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.calendar-glance-table th,
.calendar-glance-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.calendar-glance-table th:first-child,
.calendar-glance-table td:first-child {
  white-space: nowrap;
}

.calendar-glance-table th {
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calendar-glance-table tbody tr:last-child td {
  border-bottom: none;
}

.calendar-glance-closed {
  color: #b84d1c;
  font-weight: 700;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.calendar-legend-item .cal-day {
  width: 1rem;
  height: 1rem;
  aspect-ratio: auto;
  border-radius: 0.35rem;
}

.calendar-year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cal-month {
  padding: 1.4rem;
  border-radius: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.cal-month-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.cal-weekday-row,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
}

.cal-weekday-row {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 0.78rem;
}

.cal-day--empty {
  visibility: hidden;
}

.cal-day--session {
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 700;
}

.cal-day--weekend {
  color: var(--muted);
  opacity: 0.55;
}

.cal-day--no-session {
  color: var(--muted);
  opacity: 0.3;
}

.cal-day--half-term,
.cal-day--holiday {
  background: var(--soft-yellow);
  color: #8a6400;
  font-weight: 700;
}

.cal-day--inset,
.cal-day--bank-holiday {
  background: #ffe9d8;
  color: #b84d1c;
  font-weight: 700;
}

.cal-day--term-start,
.cal-day--term-end {
  box-shadow: inset 0 0 0 2px var(--blue-dark);
}

@media (max-width: 1024px) {
  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
    border-radius: 1.2rem;
  }

  .hero-grid,
  .page-hero-grid,
  .history-hero-grid,
  .split-grid,
  .detail-grid,
  .contact-grid,
  .footer-inner,
  .form-grid,
  .timeline-list,
  .image-strip,
  .archive-panel,
  .archive-gallery,
  .sessions-hero,
  .session-timeline,
  .compact-feature-panel,
  .sessions-preview-panel,
  .welcome-grid,
  .volunteer-detail-grid {
    grid-template-columns: 1fr;
  }

  .archive-photo-wide {
    grid-column: span 1;
  }

  .timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-intro,
  .funding-panel,
  .next-step-panel,
  .volunteer-cta,
  .archive-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .team-photo-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .team-photo-card-featured .team-photo {
    min-height: 0;
    height: 340px;
  }

  .compact-feature-grid,
  .session-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .parent-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
  }

  .brand {
    justify-content: flex-start;
    text-align: left;
    font-size: 1rem;
  }

  .brand-logo {
    width: 3.8rem;
  }

  .brand span {
    min-width: 0;
    max-width: none;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: center;
    border-radius: 1.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .nav-toggle:focus-visible {
    outline: 3px solid rgba(0, 169, 224, 0.28);
    outline-offset: 2px;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -0.38rem;
  }

  .nav-toggle-icon::after {
    top: 0.38rem;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav a,
  .site-nav summary {
    background: var(--white);
    border: 1px solid var(--border);
  }

  .nav-group {
    width: 100%;
  }

  .nav-group summary {
    justify-content: center;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    left: auto;
    margin-top: 0.5rem;
    min-width: 0;
    box-shadow: none;
    transform: none;
  }

  .hero {
    padding-top: 2.25rem;
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.18rem;
  }

  .lead {
    margin: 1.1rem 0 1.5rem;
  }

  .card,
  .policy-card,
  .cta-panel,
  .info-panel,
  .download-card,
  .timeline-item,
  .image-card {
    padding: 1.25rem;
    border-radius: 1rem;
  }

  .availability-note {
    padding: 0.95rem 1rem;
  }

  .hero-trust {
    margin-top: 1.35rem;
  }

  .hero-media {
    min-height: 320px;
    border-radius: 1.25rem;
  }

  .page-hero-media,
  .history-hero-media,
  .welcome-image,
  .map-panel {
    border-radius: 1rem;
  }

  .page-hero-media img,
  .history-hero-media img {
    height: 260px;
  }

  .welcome-image {
    min-height: 260px;
  }

  .button,
  button {
    width: 100%;
  }

  .volunteer-cta .button {
    min-width: 0;
    white-space: normal;
  }

  .map-link {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .compact-feature-grid,
  .session-preview-grid {
    grid-template-columns: 1fr;
  }

  .two-column-card-grid {
    grid-template-columns: 1fr;
  }

  .three-column-card-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list {
    grid-template-columns: 1fr;
  }
}
