/* =====================================================================
   1st Cotswold Scout Group: Hall Hire styles
   ---------------------------------------------------------------------
   To change the look, edit the colours and fonts in :root just below.
   Everything else uses these variables.
   Mobile first: the base styles are for phones, and the @media
   (min-width: …) blocks adjust the layout for bigger screens.
   ===================================================================== */

:root {
  /* ── Brand colours ──
     1st Cotswold's colours are black and white; Scout purple is the accent. */
  --black: #0e0e0f;
  --black-soft: #1c1c1f;
  --white: #ffffff;

  --grey-50:  #f6f6f6;
  --grey-100: #eeeeee;
  --grey-200: #e2e2e2;
  --grey-300: #cccccc;
  --grey-500: #666666;
  --grey-600: #4a4a4a;

  --purple-900: #3a1560;
  --purple-800: #4e1d7d;
  --purple-700: #622599;   /* Scout purple */
  --purple-300: #c4a6ea;   /* purple text on black */
  --purple-200: #ddcbf2;
  --purple-100: #efe6f8;
  --purple-50:  #f8f4fc;

  /* ── What each colour is used for ── */
  --color-primary: var(--purple-700);
  --color-primary-hover: var(--purple-800);
  --color-accent: var(--purple-700);
  --color-accent-hover: var(--purple-800);
  --accent: var(--purple-700);            /* small highlights on white */
  --accent-on-dark: var(--purple-300);    /* the same on black */
  --color-bg: var(--white);
  --color-bg-alt: var(--grey-50);
  --color-surface: var(--white);
  --color-dark: var(--black);
  --color-text: #141414;
  --color-muted: var(--grey-500);
  --color-border: var(--grey-200);
  --color-border-strong: var(--grey-300);
  --color-heading: var(--black);
  --color-whatsapp: #0f7a5f;
  --color-error: #b42318;
  --color-error-bg: #fef3f2;
  --focus-ring: var(--purple-700);

  /* Calendar states */
  --cal-available-bg: #e3f5ea;
  --cal-available-bg-hover: #c9ecd6;
  --cal-available-text: #17643a;
  --cal-booked-bg: #f1e6e6;
  --cal-booked-text: #8b3a3a;
  --cal-pending-bg: #fdf1d8;
  --cal-pending-text: #8a5a00;
  --cal-pending-border: #efcd85;
  --cal-past-text: #b0b0b0;

  /* ── Font: Inter for everything ── */
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* ── Shape and depth ── */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 6px rgba(0, 0, 0, .05);
  --shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .08);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, .05), 0 24px 60px rgba(0, 0, 0, .16);

  /* ── Layout ── */
  --header-h: 68px;
  --container: 1160px;
  --gutter: 16px;
  --section-space: clamp(64px, 11vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ===================== Base ===================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.lightbox-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
/* :where() keeps this reset weaker than any component style below */
:where(ul[class], ol[class], nav ul) { list-style: none; padding: 0; }

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h3 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; }

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

[hidden] { display: none !important; }

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

.sr-only {
  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: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; color: #fff; }

.noscript {
  margin: calc(var(--header-h) + 16px) var(--gutter) 0;
  padding: 16px;
  background: var(--color-error-bg);
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon-wrap { display: inline-flex; }

/* ===================== Buttons ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 6px 18px rgba(98, 37, 153, .22); }
.btn--primary:hover { background: var(--color-primary-hover); color: #fff; }

.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 6px 18px rgba(98, 37, 153, .25); }
.btn--accent:hover { background: var(--color-accent-hover); color: #fff; }

.btn--ghost { border-color: var(--purple-200); color: var(--color-primary); background: transparent; }
.btn--ghost:hover { background: var(--purple-50); border-color: var(--color-primary); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: #fff; }

.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #0b604b; color: #fff; }

.btn--link {
  min-height: 44px;
  padding: .5rem .75rem;
  background: none;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn--link:hover { transform: none; color: var(--color-primary-hover); }

.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* ===================== Header and navigation ===================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  --focus-ring: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--color-text);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .06);
  --focus-ring: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; transition: filter .3s; }
/* The header logo is white over the black banner and black on the white header. */
.site-header.is-scrolled .brand__mark,
.site-header.menu-open .brand__mark { filter: invert(1); }
.brand__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__short { display: none; }
@media (max-width: 359px) {
  .brand__full { display: none; }
  .brand__short { display: inline; }
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -6px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; background: transparent; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu: a panel that drops down below the header */
.nav-menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 8px var(--gutter) 20px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .12);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.menu-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s, transform .3s var(--ease), visibility 0s;
}
.nav-links a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 500;
  font-size: 1.0625rem;
  text-decoration: none;
}
.nav-links a[aria-current] { color: var(--color-primary); }
.nav-cta { width: 100%; margin-top: 16px; min-height: 50px; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links { display: flex; gap: 4px; }
  .nav-links a {
    position: relative;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-pill);
    color: inherit;
    font-size: .9375rem;
    opacity: .88;
    transition: opacity .2s, background-color .2s;
  }
  .nav-links a:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
  .nav-links a[aria-current] { color: inherit; opacity: 1; }
  .nav-links a[aria-current]::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-on-dark);
  }
  .site-header.is-scrolled .nav-links a[aria-current]::after { background: var(--color-primary); }
  .nav-cta { width: auto; margin: 0; min-height: 42px; }
}

/* ===================== Shared section styles ===================== */

.section { padding-block: var(--section-space); }
.section--pricing,
.section--gallery { background: var(--color-bg-alt); }

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--accent-on-dark); }

.section-head { margin-bottom: clamp(32px, 6vw, 56px); }
.section-head--center { text-align: center; max-width: 680px; margin-inline: auto; }
.lead {
  margin-top: 14px;
  color: var(--grey-600);
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
}

/* Scroll-in animation (only when the visitor hasn't asked for less motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--delay, 0ms);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  /* Stagger cards so they fade in one after another */
  .feature:nth-child(4n + 2), .gallery__item:nth-child(3n + 2) { --delay: 80ms; }
  .feature:nth-child(4n + 3), .gallery__item:nth-child(3n) { --delay: 160ms; }
  .feature:nth-child(4n) { --delay: 240ms; }
}

/* ===================== 1. Hero ===================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92svh, 860px);
  min-height: max(600px, min(92svh, 860px));
  padding: calc(var(--header-h) + 40px) 0 104px;
  color: #fff;
  background:
    radial-gradient(55% 70% at 88% 35%, rgba(98, 37, 153, .38) 0%, transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(98, 37, 153, .18) 0%, transparent 70%),
    var(--black);
  overflow: hidden;
  isolation: isolate;
  --focus-ring: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
/* No banner photo set in config.js: plain black with the logo. */
.hero__bg:not([src]), .hero__bg:not([src]) ~ .hero__overlay { display: none; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 14, 15, .55) 0%, rgba(14, 14, 15, .35) 40%, rgba(14, 14, 15, .85) 100%);
}
@media (min-width: 900px) {
  .hero__overlay {
    background:
      linear-gradient(100deg, rgba(14, 14, 15, .9) 0%, rgba(14, 14, 15, .7) 42%, rgba(14, 14, 15, .15) 75%),
      linear-gradient(180deg, rgba(14, 14, 15, .35) 0%, transparent 30%, rgba(14, 14, 15, .45) 100%);
  }
}
.hero__content { position: relative; display: grid; gap: 28px; align-items: center; }
.hero__logo { width: min(170px, 44vw); height: auto; }
@media (min-width: 900px) {
  .hero__content { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; }
  .hero__logo { order: 2; justify-self: end; width: min(360px, 100%); }
}
.hero__title {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2.4rem, 8vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero__tagline {
  max-width: 34rem;
  margin-top: 20px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__actions .btn { flex: 1 1 220px; }
@media (min-width: 600px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__text > *, .js .hero__logo { animation: rise .9s var(--ease) both; }
  .js .hero__text > :nth-child(2) { animation-delay: .08s; }
  .js .hero__text > :nth-child(3) { animation-delay: .16s; }
  .js .hero__text > :nth-child(4), .js .hero__logo { animation-delay: .24s; }
  .js .hero__bg { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

/* Quick facts strip that overlaps the bottom of the hero */
.facts-wrap { position: relative; z-index: 2; margin-top: -56px; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px 20px;
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.3;
}
.fact__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
}
.fact--featured { color: var(--color-primary); }
.fact--featured .fact__icon { background: var(--color-primary); color: #fff; }
@media (min-width: 900px) {
  .facts { padding: 24px 32px; }
  .fact { font-size: 1rem; }
}

/* ===================== 2. About ===================== */

.about__layout { display: grid; gap: 4px; }
.about__layout .section-head { margin-bottom: 16px; }
.about__text p { color: var(--grey-600); font-size: 1.0625rem; }
.about__text p + p { margin-top: 14px; }
@media (min-width: 900px) {
  .about__layout {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: end;
    margin-bottom: 56px;
  }
  .about__layout .section-head { margin-bottom: 0; }
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.feature {
  padding: 18px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s var(--ease), opacity .8s var(--ease);
}
.feature:hover { box-shadow: var(--shadow); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
}
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title { font-size: 1rem; color: var(--color-heading); }
.feature__text { margin-top: 4px; color: var(--color-muted); font-size: .9rem; line-height: 1.5; }
@media (min-width: 600px) {
  .features { gap: 16px; }
  .feature { padding: 24px; }
}
@media (min-width: 900px) {
  .features { grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 0; }
}

/* ===================== 3. Pricing ===================== */

.pricing { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) {
  .pricing { grid-template-columns: 5fr 7fr; gap: 40px; }
}

.price-card {
  position: relative;
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(98, 37, 153, .5) 0%, transparent 60%),
    linear-gradient(160deg, var(--black-soft) 0%, var(--black) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  --focus-ring: #fff;
}
.price-card__label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .9);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 20px 0 24px; }
.price-card__amount {
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.price-card__unit { color: rgba(255, 255, 255, .78); font-size: 1.125rem; }

.check-list { display: grid; gap: 12px; margin-bottom: 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.check-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(196, 166, 234, .22);
  color: var(--accent-on-dark);
  stroke-width: 2.6;
}

.pricing__notes-title { margin-bottom: 16px; font-size: 1.25rem; color: var(--color-heading); }
.notes { display: grid; gap: 12px; }
.note {
  padding: 18px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.note dt { font-weight: 600; color: var(--color-heading); }
.note dd { margin-top: 4px; color: var(--grey-600); font-size: .9375rem; line-height: 1.55; }
@media (min-width: 600px) {
  .notes { grid-template-columns: 1fr 1fr; gap: 16px; }
}

.support-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--color-text);
}
.support-note__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--accent);
}

/* ===================== 4. Availability calendar ===================== */

.availability { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) {
  .availability { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
}

.calendar { position: relative; padding: 14px 12px 16px; }
@media (min-width: 600px) { .calendar { padding: 24px; } }
@media (max-width: 359px) { .calendar { padding-inline: 8px; } }

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.calendar__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-heading);
  text-align: center;
}
.calendar__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.calendar__nav:hover:not(:disabled) { background: var(--purple-50); border-color: var(--purple-200); }
.calendar__nav:disabled { opacity: .35; cursor: not-allowed; }

.calendar__grid {
  --cal-gap: 4px;
  width: calc(100% + 2 * var(--cal-gap));
  margin: 0 calc(-1 * var(--cal-gap));
  border-collapse: separate;
  border-spacing: var(--cal-gap);
  table-layout: fixed;
}
@media (max-width: 359px) { .calendar__grid { --cal-gap: 3px; } }
.calendar__grid th {
  padding-bottom: 4px;
  color: var(--color-muted);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.calendar__grid td { padding: 0; }

.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(42px, 11.5vw, 54px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s var(--ease), box-shadow .15s;
}
.cal-day:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; z-index: 1; }

.cal-day.is-available { background: var(--cal-available-bg); color: var(--cal-available-text); }
.cal-day.is-available:hover { background: var(--cal-available-bg-hover); transform: translateY(-1px); }
/* Half days (Sundays and Mondays): half green */
.cal-day.is-available.is-half:not(.is-selected):not(.is-preview) { background: linear-gradient(135deg, var(--cal-available-bg) 0 50%, var(--color-surface) 50% 100%); box-shadow: inset 0 0 0 1.5px #9fd8b6; }
.cal-day.is-available.is-half:not(.is-selected):not(.is-preview):hover { background: linear-gradient(135deg, var(--cal-available-bg-hover) 0 50%, var(--color-surface) 50% 100%); }

.cal-day.is-booked {
  background-color: var(--cal-booked-bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(139, 58, 58, .09) 5px 10px);
  color: var(--cal-booked-text);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  cursor: not-allowed;
}
.cal-day.is-pending {
  background: var(--cal-pending-bg);
  color: var(--cal-pending-text);
  box-shadow: inset 0 0 0 1.5px var(--cal-pending-border);
  cursor: not-allowed;
}
.cal-day.is-past { color: var(--cal-past-text); font-weight: 500; cursor: default; }

/* Today: a small dot under the number */
.cal-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* Hover preview while choosing a range */
.cal-day.is-preview { background: var(--purple-50); color: var(--color-primary); box-shadow: inset 0 0 0 1.5px var(--purple-200); }

/* Chosen dates */
.cal-day.is-selected { background: var(--purple-100); color: var(--purple-800); }
.cal-day.is-range-start,
.cal-day.is-range-end {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(98, 37, 153, .3);
}
.cal-day.is-selected:hover { transform: none; }

.calendar__loading {
  position: absolute;
  inset: auto 16px 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  color: var(--color-primary);
  font-size: .875rem;
  font-weight: 500;
  text-align: center;
}
.calendar__loading.is-error { position: static; margin-top: 12px; background: var(--color-error-bg); color: var(--color-error); }
.calendar.is-loading tbody { opacity: .4; }

.availability__side { display: grid; gap: 16px; }

.legend { padding: 18px 20px; }
.legend__title {
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legend__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; font-size: .9375rem; }
.legend__list li { display: flex; align-items: center; gap: 10px; }
.swatch { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; }
.swatch--available { background: var(--cal-available-bg); box-shadow: inset 0 0 0 1.5px #9fd8b6; }
.swatch--selected { background: var(--color-primary); }
.swatch--half { background: linear-gradient(135deg, var(--cal-available-bg) 0 50%, var(--color-surface) 50% 100%); box-shadow: inset 0 0 0 1.5px #9fd8b6; }
.legend__note { margin-top: 12px; color: var(--color-muted); font-size: .875rem; }
.legend__note:empty { display: none; }
.swatch--booked {
  background-color: var(--cal-booked-bg);
  background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(139, 58, 58, .18) 4px 7px);
  box-shadow: inset 0 0 0 1.5px #e0c6c6;
}
.swatch--past { background: var(--color-surface); box-shadow: inset 0 0 0 1.5px var(--color-border-strong); }
.swatch--pending { background: var(--cal-pending-bg); box-shadow: inset 0 0 0 1.5px var(--cal-pending-border); }

.selection { padding: 22px 20px; }
.selection__empty { display: flex; gap: 14px; align-items: flex-start; color: var(--grey-600); }
.selection__empty .icon { width: 28px; height: 28px; color: var(--accent); }
.selection__label {
  color: var(--color-muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.selection__dates {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
}
.selection__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border-strong);
  color: var(--grey-600);
}
.selection__total { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--color-primary); }
.selection__hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  color: var(--purple-900);
  font-size: .9rem;
}
.selection__actions { display: grid; gap: 4px; margin-top: 16px; justify-items: center; }

.calendar__message:not(:empty) {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--color-error-bg);
  border: 1px solid #f7d4d0;
  color: var(--color-error);
  font-size: .9375rem;
  font-weight: 500;
}

/* ===================== 5. Gallery ===================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery__item { min-width: 0; }
.gallery__item:first-child { grid-column: span 2; }
.gallery__item:last-child:nth-child(even) { grid-column: span 2; }

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-200);
  cursor: zoom-in;
}
.gallery__item:first-child .gallery__btn,
.gallery__item:last-child:nth-child(even) .gallery__btn { aspect-ratio: 16 / 10; }
.gallery__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__btn.is-missing img { opacity: 0; }
.gallery__btn.is-missing {
  background: repeating-linear-gradient(135deg, var(--grey-100) 0 12px, var(--grey-200) 12px 24px);
}
.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(14, 14, 15, .75));
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  text-align: left;
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 16px;
  }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery__item:last-child:nth-child(even) { grid-column: auto; }
  /* A last photo that would sit alone on its row fills the row instead. */
  .gallery__item:last-child:nth-child(3n + 1):not(:first-child) { grid-column: 1 / -1; }
  .gallery__btn,
  .gallery__item:first-child .gallery__btn,
  .gallery__item:last-child:nth-child(even) .gallery__btn { aspect-ratio: auto; }
  .gallery__caption { padding: 40px 18px 16px; font-size: .9375rem; }
}

/* Photo viewer (lightbox) */
.lightbox {
  /* Space kept free around the photo: top bar, caption and buttons */
  --lb-chrome: 230px;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0b0b0c;
  color: #fff;
  overflow: hidden;
  --focus-ring: #fff;
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: #0b0b0c; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: fade .25s ease both; }
}
@keyframes fade { from { opacity: 0; } }

.lightbox__bar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 0 20px;
}
.lightbox__counter { color: rgba(255, 255, 255, .75); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .2); }
.lightbox__btn .icon { width: 24px; height: 24px; }

/* The figure fills the space under the bar; photo and caption sit centred in it */
.lightbox__figure {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 8px 12px 96px;
  touch-action: pan-y pinch-zoom;
}
.lightbox__stage { display: flex; justify-content: center; max-width: 100%; }
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - var(--lb-chrome));
  max-height: calc(100dvh - var(--lb-chrome));
  border-radius: 10px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .25s ease;
}
.lightbox__img.is-loading { opacity: 0; }
.lightbox__caption { padding-top: 14px; text-align: center; color: rgba(255, 255, 255, .9); font-size: 1rem; }

.lightbox__nav { position: absolute; bottom: 24px; }
.lightbox__nav--prev { left: calc(50% - 60px); }
.lightbox__nav--next { right: calc(50% - 60px); }
@media (min-width: 900px) {
  .lightbox { --lb-chrome: 160px; }
  .lightbox__figure { padding: 8px 96px 32px; }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); width: 56px; height: 56px; }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
}

/* ===================== 6. Enquiry form ===================== */

.enquire { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .enquire { grid-template-columns: 5fr 7fr; gap: 56px; }
  .enquire__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

.steps { display: grid; gap: 4px; margin-top: 28px; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 0 20px 52px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-weight: 700;
  font-size: .9375rem;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16.5px;
  top: 38px;
  bottom: 2px;
  width: 1px;
  background: var(--grey-300);
}
.steps strong { color: var(--color-heading); }
.steps span { color: var(--color-muted); font-size: .9375rem; }
.enquire__alt { margin-top: 8px; color: var(--grey-600); }
.enquire__alt a { font-weight: 600; }

.form-card { padding: clamp(20px, 5vw, 40px); }
.form__title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-heading); }
.form__title:focus { outline: none; }
.form__required-note { margin: 2px 0 20px; color: var(--color-muted); font-size: .875rem; }
.req { color: var(--color-error); }
.optional { color: var(--color-muted); font-weight: 400; }

.form-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-error-bg);
  border: 1px solid #f7d4d0;
  color: var(--color-error);
  font-weight: 500;
}
.form-alert .icon { margin-top: 2px; }
.form-alert a { color: inherit; font-weight: 700; }

.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 1rem;   /* 16px stops phones zooming in on tap */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: #9a919f; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b3a9b8; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 37, 153, .25);
  border-radius: 12px;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b1f7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}
.field input[type="date"] { line-height: 1.4; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }

.field__hint { color: var(--color-muted); font-size: .8125rem; line-height: 1.4; }
.field__error:empty { display: none; }
.field__error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  color: var(--color-error);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
}
.field__error .icon { width: 16px; height: 16px; margin-top: 1px; }
.has-error input,
.has-error select,
.has-error textarea { border-color: var(--color-error); background-color: var(--color-error-bg); }

/* Checkbox */
.field--check {
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
}
.field--check label { font-weight: 400; font-size: .9375rem; line-height: 1.5; color: var(--grey-600); cursor: pointer; }
.field--check .field__error { grid-column: 1 / -1; }
.field input[type="checkbox"] {
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  cursor: pointer;
}
.field input[type="checkbox"]:checked {
  border-color: var(--color-primary);
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Spam trap: hidden from people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Live price estimate */
.estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
}
.estimate__text { display: grid; gap: 2px; min-width: 0; }
.estimate__label { font-weight: 700; color: var(--color-heading); }
.estimate__detail { color: var(--grey-600); font-size: .875rem; line-height: 1.4; }
.estimate__total {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.form__submit { display: grid; gap: 10px; margin-top: 4px; }
.human-check:empty { display: none; }
.form__submit-note { color: var(--color-muted); font-size: .875rem; text-align: center; }
.btn.is-busy .icon { animation: nudge 1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

/* Success message */
.form-success { padding: 12px 0 4px; text-align: center; }
.form-success__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--cal-available-bg);
  color: var(--cal-available-text);
}
.form-success__icon .icon { width: 34px; height: 34px; }
.form-success__title { font-family: var(--font-heading); font-size: 1.625rem; color: var(--color-heading); }
.form-success__title:focus { outline: none; }
.form-success__text { max-width: 34rem; margin: 12px auto 0; color: var(--grey-600); }
.form-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.form-success__actions .btn:not(.btn--link) { flex: 1 1 200px; }
.form-success__actions .btn--link { flex-basis: 100%; }

/* ===================== 7. Contact ===================== */

.contact { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 5fr 7fr; gap: 32px; align-items: stretch; }
}
.contact-card { padding: clamp(24px, 5vw, 36px); }
.contact-card__name { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-heading); }
.contact-card__role { color: var(--accent); font-weight: 600; font-size: .9375rem; }
.contact-list { display: grid; gap: 14px; margin: 24px 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--grey-600); }
.contact-list a { font-weight: 600; word-break: break-word; }
.contact-list address { font-style: normal; }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: -6px;
  border-radius: 10px;
  background: var(--grey-100);
  color: var(--black);
}
.contact-list__icon .icon { width: 20px; height: 20px; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-card__actions .btn { flex: 1 1 160px; }

/* Partner (Everdream), under the contact details */
.partner {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding: clamp(24px, 5vw, 36px);
  border-radius: var(--radius-lg, 20px);
  background: var(--black);
  color: rgba(255, 255, 255, .8);
}
.partner__intro { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-on-dark); }
.partner__name { margin-top: 4px; font-size: 1.375rem; font-weight: 700; color: #fff; }
.partner__about { margin-top: 6px; }
.partner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.partner__actions .btn { flex: 1 1 180px; }
@media (min-width: 900px) {
  .partner { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .partner__actions .btn { flex: 0 0 auto; }
}
.footer__partner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.map { position: relative; min-height: 340px; overflow: hidden; padding: 0; }
.map--embed { display: grid; grid-template-rows: 1fr auto; }
.map__frame { position: relative; min-height: 300px; background: var(--grey-100); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
}
.map__bar-text { color: var(--grey-600); font-size: .9375rem; }
.map__placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  height: 100%;
  min-height: 340px;
  padding: 32px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 166, 234, .18) 0 18%, transparent 19%),
    radial-gradient(circle at 75% 70%, rgba(98, 37, 153, .1) 0 22%, transparent 23%),
    linear-gradient(transparent 47px, rgba(98, 37, 153, .07) 48px) 0 0 / 48px 48px,
    linear-gradient(90deg, transparent 47px, rgba(98, 37, 153, .07) 48px) 0 0 / 48px 48px,
    var(--grey-100);
}
.map__pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.map__pin .icon { width: 30px; height: 30px; transform: rotate(45deg); }
.map__title { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: var(--color-heading); }
.map__address { margin-bottom: 12px; color: var(--grey-600); }

/* ===================== 8. Footer ===================== */

.site-footer {
  padding: 56px 0 28px;
  background: var(--black);
  color: rgba(255, 255, 255, .75);
  --focus-ring: #fff;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent-on-dark); }
.footer { display: grid; gap: 32px; }
.footer__name { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: #fff; }
.footer__logo { width: 132px; height: auto; margin-bottom: 16px; }
.footer__tagline { margin-top: 6px; }
.footer__nav ul { display: grid; gap: 8px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.footer__scouts a { font-weight: 600; }
.footer__bottom {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
}
/* Divider line, lined up with the text rather than the container edge */
.footer__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
@media (min-width: 760px) {
  .footer { grid-template-columns: 2fr 1fr 1fr; }
}

/* ===================== Reduced motion ===================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== Simple pages (privacy, 404) ===================== */

.plain-header { border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.plain-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand--dark { color: var(--color-text); }
.plain-header .btn { flex-shrink: 0; }
@media (max-width: 480px) { .plain-header .brand__name { display: none; } }

.prose { max-width: 720px; padding-block: 48px 72px; }
.prose h1 { font-weight: 800; font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.35rem; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--grey-600); }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 8px; padding-left: 1.25rem; display: grid; gap: 6px; }
.prose--center { text-align: center; display: grid; justify-items: center; gap: 8px; padding-top: 18vh; }

.terms-link { margin-top: 14px; font-weight: 600; }

/* =====================================================================
   Fundraiser, Scouting and form pages (kit.js, shop.js, forms.js)
   ===================================================================== */

.sub-page { background: var(--color-bg-alt); }
.sub-page .plain-header { position: sticky; top: 0; z-index: 40; }
.sub-nav { display: flex; align-items: center; gap: 8px; }
.sub-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.sub-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  white-space: nowrap;
}
.sub-nav a:hover { background: var(--purple-50); color: var(--color-primary); }
.sub-nav a[aria-current] { background: var(--purple-100); color: var(--color-primary); }
.sub-nav .sub-nav__join, .sub-nav .sub-nav__join:hover { color: #fff; }
.sub-nav__join[aria-current] { box-shadow: none; }
.sub-nav__toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}
@media (max-width: 960px) {
  .sub-nav__toggle { display: grid; }
  .sub-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 8px var(--gutter) 16px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }
  .plain-header.is-open .sub-nav ul { display: flex; }
  .sub-nav ul a { padding: 13px 14px; font-size: 1rem; border-radius: 12px; }
}

/* The home page */
.sub-hero.home-hero { padding-block: clamp(32px, 7vw, 72px) clamp(84px, 12vw, 136px); }
.home-hero__inner { position: relative; display: grid; gap: 20px; align-items: center; }
@media (min-width: 820px) { .home-hero__inner { grid-template-columns: auto 1fr; gap: 48px; } }
.home-hero__logo { width: clamp(110px, 28vw, 200px); height: auto; }
.home-hero__text { display: grid; gap: 10px; justify-items: start; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.home-doors-wrap { position: relative; margin-top: clamp(-64px, -8vw, -44px); }
.home-doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .home-doors { grid-template-columns: 1.25fr 1fr 1fr; } }
.home-door {
  display: grid;
  gap: 8px;
  align-content: start;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow);
  color: var(--color-text);
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s;
}
.home-door:hover { transform: translateY(-3px); border-color: var(--color-primary); color: var(--color-text); }
.home-door strong { font-size: 1.35rem; letter-spacing: -.02em; }
.home-door > span { color: var(--grey-600); }
.home-door__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--purple-50); color: var(--color-primary); }
.home-door__icon .icon { width: 26px; height: 26px; }
.home-door > .home-door__go { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; color: var(--color-primary); font-weight: 700; }
.home-door--join { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.home-door--join:hover { border-color: var(--purple-900); color: #fff; }
.home-door--join > span { color: rgba(255, 255, 255, .88); }
.home-door--join .home-door__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.home-door--join > .home-door__go { color: #fff; }
.sub-page .section--whats-on { margin-top: clamp(36px, 7vw, 64px); }
.sub-stack.home-stack { max-width: var(--container); margin-inline: auto; }
.contact-pair { display: grid; gap: 18px; }
@media (min-width: 640px) { .contact-pair { grid-template-columns: 1fr 1fr; } }
.contact-pair__role { color: var(--color-primary); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-pair__name { font-size: 1.15rem; font-weight: 700; margin: 2px 0; }

/* Black banner at the top, with a soft purple glow */
.sub-hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  padding-block: clamp(40px, 8vw, 72px) clamp(36px, 7vw, 60px);
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% 30%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(98, 37, 153, .55), transparent);
  pointer-events: none;
}
.sub-hero--festive::before { background: radial-gradient(closest-side, rgba(176, 32, 48, .45), transparent); }
.sub-hero--fire::before { background: radial-gradient(closest-side, rgba(214, 106, 24, .45), transparent); }
.sub-hero--stage::before { background: radial-gradient(closest-side, rgba(196, 150, 40, .40), transparent); }
.sub-hero__inner { position: relative; display: grid; gap: 10px; justify-items: start; }
.sub-hero__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  color: var(--purple-300);
}
.sub-hero__icon .icon { width: 28px; height: 28px; }
.sub-hero__title { color: #fff; font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.6rem); letter-spacing: -.01em; line-height: 1.12; text-wrap: balance; }
.sub-hero__lead { max-width: 640px; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 2.6vw, 1.15rem); }
.sub-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sub-facts:empty { display: none; }
.sub-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .9375rem;
  font-weight: 500;
}
.sub-facts .icon { color: var(--purple-300); }

/* Two columns on big screens: information, then the form */
.sub-layout { display: grid; gap: 28px; padding-block: 32px 72px; }
@media (min-width: 960px) {
  .sub-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
  .sub-layout > .form-card { position: sticky; top: calc(var(--header-h) + 20px); }
}
.sub-heading { font-size: 1.35rem; margin: 26px 0 10px; letter-spacing: -.02em; }
.sub-layout__info > .sub-heading:first-child, .sub-block > .sub-heading:first-child { margin-top: 0; }
.sub-text { color: var(--grey-600); }
.sub-text + .sub-text { margin-top: 10px; }
.sub-note { margin-top: 18px; color: var(--grey-600); font-size: .9375rem; }
.sub-note:empty { display: none; }
.tick-list { display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--grey-600); }
.tick-list .icon { color: var(--color-primary); margin-top: 3px; }
.tick-list--rules .icon { color: var(--grey-500); }
.sub-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 18px; }
.sub-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.steps--compact { margin-top: 8px; }

.checking { display: flex; gap: 10px; align-items: center; color: var(--color-muted); }
.notice-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
}
.notice-card > .icon { color: var(--color-primary); width: 24px; height: 24px; }
.notice-card p { color: var(--grey-600); }
.notice-card p + p { margin-top: 8px; }
.notice-card__title { font-size: 1.15rem; margin-bottom: 4px; letter-spacing: -.01em; }
.coming-soon { display: grid; justify-items: center; gap: 10px; padding: 24px 8px; text-align: center; }
.coming-soon > .icon { width: 48px; height: 48px; color: var(--color-primary); }
.coming-soon h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 800; }
.coming-soon p { color: var(--grey-600); max-width: 420px; }
.form-alert--info { background: var(--purple-50); border-color: var(--purple-100); color: var(--color-text); }

/* Photoshoot time slots */
.slots { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.slots legend, .choice-list legend, .ticket-types > span { font-weight: 600; font-size: .9375rem; margin-bottom: 8px; padding: 0; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 10px 4px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 12px;
  background: var(--color-surface);
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.slot small { font-size: .75rem; font-weight: 500; color: var(--cal-available-text); }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot:hover { border-color: var(--color-primary); }
.slot:has(input:checked) { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.slot:has(input:checked) small { color: #fff; }
.slot:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.slot--taken, .slot--break { background: var(--grey-100); border-color: var(--grey-200); color: var(--cal-past-text); cursor: not-allowed; text-decoration: line-through; }
.slot--taken small, .slot--break small { color: var(--grey-500); }
.slot--break { text-decoration: none; }
.slots.has-error .slots__grid { outline: 2px solid var(--color-error); outline-offset: 4px; border-radius: 12px; }

/* Lists of choices (Fridays, events, radio questions) */
.choice-list { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 12px;
  background: var(--color-surface);
  cursor: pointer;
  line-height: 1.45;
}
.choice small { display: block; color: var(--color-muted); font-size: .8125rem; }
.choice:has(input:checked) { border-color: var(--color-primary); background: var(--purple-50); }
.field .choice input[type="radio"] {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  min-height: 0;
  padding: 0;
  margin: 1px 0 0;
  border: 1.5px solid var(--color-border-strong);
  border-radius: 50%;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}
.field .choice input[type="radio"]:checked { border: 7px solid var(--color-primary); }
.choice-list--inline { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice-list.has-error .choice { border-color: var(--color-error); }
.choice-list .field__hint { margin-top: -4px; }
.sub-page .form > .field, .sub-page .form > .choice-list { margin-bottom: 20px; }

/* − 1 + number picker */
.stepper { justify-self: start; display: inline-flex; align-items: center; border: 1.5px solid var(--color-border-strong); border-radius: var(--radius-pill); background: #fff; }
.stepper__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: none; color: var(--color-primary); border-radius: 50%; cursor: pointer; }
.stepper__btn:hover { background: var(--purple-50); }
.field .stepper input {
  width: 56px;
  min-height: 0;
  padding: 0;
  border: 0;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  -moz-appearance: textfield;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ticket-types { display: grid; gap: 10px; }
.ticket-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.ticket-type small { display: block; color: var(--color-muted); }
.total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  font-weight: 700;
}
.total-line output { font-size: 1.25rem; color: var(--color-heading); text-align: right; }
.form__submit-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }

/* After paying */
.order-wrap { max-width: 640px; padding-block: 32px 72px; }
.order-status { display: grid; justify-items: center; gap: 8px; text-align: center; padding-bottom: 18px; }
.order-status > .icon { width: 52px; height: 52px; }
.order-status h1 { font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 800; }
.order-status p { color: var(--grey-600); max-width: 460px; }
.order-status--ok > .icon { color: var(--cal-available-text); }
.order-status--wait > .icon { color: var(--cal-pending-text); }
.order-status--off > .icon { color: var(--grey-500); }
.order-status .btn { margin-top: 8px; }
.order-steps { margin: 18px 0; }
.order-steps .icon { color: var(--color-primary); flex-shrink: 0; }
.order-wrap .bank-details { margin-bottom: 4px; }
.order-facts { display: grid; margin: 18px 0; border-top: 1px solid var(--color-border); }
.order-facts div { display: grid; grid-template-columns: 38% 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.order-facts dt { color: var(--color-muted); font-size: .9375rem; }
.order-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.order-next { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--purple-50); }
.order-next .icon { color: var(--color-primary); margin-top: 3px; }
.muted-note { color: var(--color-muted); font-size: .9375rem; }
.ticket-pass {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--black);
  color: #fff;
  text-align: center;
}
.ticket-pass__title { font-weight: 800; font-size: 1.3rem; }
.ticket-pass__qr { width: min(260px, 70vw); padding: 10px; background: #fff; border-radius: 14px; margin: 8px 0; }
.ticket-pass__qr svg { width: 100%; height: auto; display: block; }
.ticket-pass__code { font-size: 1.6rem; font-weight: 800; letter-spacing: .12em; color: var(--purple-300); }
.ticket-pass p:last-child { color: rgba(255, 255, 255, .8); font-size: .9375rem; }

/* Join Scouts page */
.sub-stack { display: grid; gap: 20px; padding-block: 32px 72px; max-width: 920px; }
.sub-block { padding: clamp(20px, 5vw, 36px); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.two-col { display: grid; gap: 10px; }
@media (min-width: 720px) { .two-col { grid-template-columns: 1fr 1fr; gap: 24px; } }
.feature-list { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 720px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list li > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--purple-50); color: var(--color-primary); }
.feature-list div { display: grid; gap: 2px; }
.feature-list div span { color: var(--grey-600); font-size: .9375rem; }
.age-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.age-card { padding: 18px; border-radius: var(--radius); background: var(--black); color: #fff; }
.age-card__ages { font-size: .8125rem; font-weight: 700; color: var(--purple-300); text-transform: uppercase; letter-spacing: .06em; }
.age-card__name { font-size: 1.35rem; font-weight: 800; margin: 2px 0 6px; }
.age-card p { color: rgba(255, 255, 255, .8); font-size: .9375rem; }
.join-cards { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .join-cards { grid-template-columns: repeat(3, 1fr); } }
.join-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 20px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.join-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--color-text); }
.join-card > .icon { width: 30px; height: 30px; color: var(--color-primary); }
.join-card strong { font-size: 1.1rem; }
.join-card span { color: var(--grey-600); font-size: .9375rem; }
.join-card .join-card__go { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; color: var(--color-primary); font-weight: 700; }

.uniform-item { margin-bottom: 16px; }
#uniform-form .form__title { margin-bottom: 20px; }
#items-field > .field__label { margin-bottom: 10px; padding-top: 14px; border-top: 1px solid var(--color-border); width: 100%; }
#uniform-form > .field, #uniform-form > .estimate { margin-bottom: 22px; }
#items .form-page__note { margin-bottom: 4px; }
.join-block--top { border: 2px solid var(--color-primary); }
.join-card--main { background: var(--purple-50); border-color: var(--purple-200); }
.join-card--static, .join-card--static:hover { transform: none; box-shadow: none; border-style: dashed; border-color: var(--color-border); }
.join-card .join-card__step { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 4px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 800; font-size: .9375rem; }
.join-card--main .join-card__step { background: var(--color-primary); }
.fee-list { display: grid; gap: 12px; margin: 0 0 14px; }
@media (min-width: 720px) { .fee-list { grid-template-columns: 1fr 1fr; } }
.fee-list > div { padding: 16px 18px; border-radius: var(--radius); background: var(--purple-50); }
.fee-list dt { font-weight: 800; font-size: 1.05rem; }
.fee-list dd { margin: 4px 0 0; color: var(--grey-600); font-size: .9375rem; }
.uniform-cards { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.uniform-card { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1.5px solid var(--color-border); border-radius: var(--radius); }
.uniform-card h3 { font-size: 1.2rem; }
.uniform-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.uniform-card li { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.uniform-card li span:last-child { color: var(--grey-600); white-space: nowrap; }
.uniform-card__note { color: var(--grey-600); font-size: .875rem; }
.uniform-card__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--color-border); font-size: .9375rem; }

.join-cards--two { grid-template-columns: 1fr; }
@media (min-width: 720px) { .join-cards--two { grid-template-columns: 1fr 1fr; } }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jump-links a { padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.jump-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.sub-block[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.notice { display: grid; gap: 4px; justify-items: start; padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--color-border); }
.notice__when { color: var(--color-primary); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.notice__title { font-size: 1.15rem; }
.notice__who { font-size: .8125rem; font-weight: 700; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--grey-100); color: var(--grey-600); }
.notice__note { color: var(--grey-600); font-size: .9375rem; }
.notice .btn { margin-top: 6px; }
.badge-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 14px 0 16px; border-radius: var(--radius-pill); background: var(--grey-100); }
.badge-tabs button { min-height: 42px; padding: 8px 16px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--grey-600); font: inherit; font-weight: 700; cursor: pointer; }
.badge-tabs button[aria-selected="true"] { background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow-sm); }
.badge-panel { display: grid; gap: 14px; }
.badge-panel[hidden] { display: none; }
.badge-panel__title { font-size: 1.1rem; }
.badge-figures { display: grid; gap: 12px; }
@media (min-width: 720px) {
  .badge-figures { grid-template-columns: 1fr 1fr; }
  .badge-figures--one { grid-template-columns: 1fr; }
  .badge-figures--sleeve { grid-template-columns: 3fr 1fr; align-items: start; }
}
.badge-figures--one { max-width: 680px; width: 100%; margin-inline: auto; }
.badge-figures img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; }

.nowrap { white-space: nowrap; }
#paying .bank-details { margin-top: 14px; }

/* Bank details (kit.js bankHtml) */
.bank-details { display: grid; gap: 0; margin: 0; border-radius: var(--radius); background: var(--grey-50); border: 1px solid var(--color-border); overflow: hidden; }
.bank-details > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 10px 16px; border-top: 1px solid var(--color-border); }
.bank-details > div:first-child { border-top: 0; }
.bank-details dt { color: var(--grey-600); font-size: .875rem; }
.bank-details dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bank-details__ref { background: var(--purple-50); }
.bank-details__ref dd { color: var(--color-primary); font-size: 1.05rem; }
.bank-details__copy { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--purple-200); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-primary); font: inherit; font-size: .8125rem; font-weight: 700; cursor: pointer; }
.bank-details__copy .icon { width: 15px; height: 15px; }

/* Long forms (membership and consent) */
.form-page { max-width: 820px; padding-block: 28px 72px; }
.form-page__intro { color: var(--grey-600); margin-bottom: 12px; }
.form-page__intro:empty { display: none; }
.form-page__note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius); background: var(--purple-50); color: var(--grey-600); font-size: .9375rem; }
.form-page__note .icon { color: var(--color-primary); margin-top: 2px; }
.long-form, #form-root { display: grid; gap: 16px; }
#form-root > .form-card { margin-bottom: 4px; }
#pick { display: grid; gap: 20px; }
.form-section { padding: clamp(18px, 4.5vw, 32px); }
.form-section__title { font-size: 1.25rem; margin-bottom: 14px; letter-spacing: -.015em; }
.form-section__lead { margin: -6px 0 12px; color: var(--grey-600); }
.form-section__links { margin: 0 0 16px; font-size: .9375rem; }
.form-section__links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.form-section__links .icon { width: 14px; height: 14px; }
.statements { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px 16px 14px 36px; border-radius: var(--radius); background: var(--grey-50); color: var(--grey-600); font-size: .875rem; line-height: 1.55; max-height: 340px; overflow-y: auto; }
.statement { margin: 0 0 12px; color: var(--grey-600); font-size: .875rem; line-height: 1.55; }
.field__label { font-weight: 600; font-size: .9375rem; }
.field__fixed { padding: 12px 14px; border-radius: 12px; background: var(--grey-50); font-weight: 600; }
.form-section--send p { color: var(--grey-600); font-size: .9375rem; margin-bottom: 14px; }
.event-banner { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: var(--black); color: #fff; }
.event-banner .icon { width: 28px; height: 28px; color: var(--purple-300); }
.event-banner div { display: grid; }
.event-banner span { color: rgba(255, 255, 255, .8); font-size: .9375rem; }
.done-card { display: grid; justify-items: center; gap: 10px; text-align: center; }
.done-card > .icon { width: 52px; height: 52px; color: var(--cal-available-text); }
.done-card p { color: var(--grey-600); max-width: 480px; }

/* Signature pad */
.sign-pad { position: relative; border: 1.5px dashed var(--color-border-strong); border-radius: 12px; background: #fff; }
.sign-pad canvas { display: block; width: 100%; height: 170px; touch-action: none; cursor: crosshair; border-radius: 12px; }
.sign-pad__line { position: absolute; left: 16px; right: 16px; bottom: 34px; border-top: 1px solid var(--grey-300); padding-top: 4px; color: var(--grey-500); font-size: .75rem; pointer-events: none; }
.is-signed .sign-pad__line { color: transparent; }
.sign-pad__clear { position: absolute; top: 2px; right: 4px; min-height: 36px; font-size: .875rem; }
.has-error .sign-pad { border-color: var(--color-error); background: var(--color-error-bg); }

/* Footer on these pages */
.sub-footer-wrap { background: var(--black); color: rgba(255, 255, 255, .75); }
.sub-footer { display: grid; gap: 14px; padding-block: 28px; font-size: .875rem; }
.sub-footer a { color: #fff; }
.sub-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* "What's on" on the home page */
.section--whats-on { background: var(--black); color: #fff; }
.section--whats-on h2 { color: #fff; }
.section--whats-on .lead { color: rgba(255, 255, 255, .78); }
.whats-on { display: grid; gap: 14px; }
@media (min-width: 720px) { .whats-on { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .whats-on { grid-template-columns: repeat(4, 1fr); } .whats-on--two { grid-template-columns: repeat(2, 1fr); } }
.event-card {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--black-soft);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s;
}
.event-card:hover { transform: translateY(-3px); border-color: var(--purple-300); color: #fff; }
.event-card > .icon-wrap:first-child .icon, .event-card__icon .icon { width: 30px; height: 30px; color: var(--purple-300); }
.event-card__when { color: var(--purple-300); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event-card strong { font-size: 1.2rem; }
.event-card span { color: rgba(255, 255, 255, .78); font-size: .9375rem; }
.event-card .event-card__go { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; color: #fff; font-weight: 700; }
