/* =====================================================================
   Walsall Awards 2026 — main.css
   Design system, layout, components.
   ===================================================================== */

/* ---------- Tokens -------------------------------------------------- */

:root {
  /* Colour */
  --red:        #E01F26;
  --red-deep:   #B0161C;
  --ink:        #141414;
  --ivory:      #FAF7F2;
  --white:      #FFFFFF;
  --grey:       #595959;
  --grey-soft:  #7A7A7A;
  --hairline:   #E4DFD6;
  --gold:       #B08D3C;
  /* Gold is only 2.9:1 on ivory — this darker tone clears AA for text. */
  --gold-deep:  #7A5F1E;

  /* Semantic */
  --bg:           var(--ivory);
  --bg-alt:       var(--white);
  --bg-dark:      var(--ink);
  --fg:           var(--ink);
  --fg-on-dark:   var(--ivory);
  --fg-muted:     var(--grey);
  --link:         var(--red-deep);
  --link-hover:   var(--red);
  --border:       var(--hairline);
  --accent:       var(--red);

  /* Typography */
  --font-display:   "Bodoni Moda", "Times New Roman", Georgia, serif;
  --font-body:      "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-eyebrow:     0.8125rem;
  --fs-small:       0.875rem;
  --fs-body:        clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead:        clamp(1.125rem, 1.04rem + 0.4vw, 1.25rem);
  --fs-h4:          clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-h3:          clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-h2:          clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
  --fs-h1:          clamp(2rem, 1.3rem + 3.4vw, 4.5rem);
  --fs-display:     clamp(2.25rem, 1rem + 5vw, 6rem);

  --lh-tight:       1.1;
  --lh-snug:        1.25;
  --lh-base:        1.55;
  --lh-loose:       1.7;

  --tracking-tight:  -0.015em;
  --tracking-normal: 0;
  --tracking-wide:   0.08em;
  --tracking-xwide:  0.18em;

  /* Spacing */
  --space-xs:    0.25rem;   /*  4px */
  --space-sm:    0.5rem;    /*  8px */
  --space-md:    1rem;      /* 16px */
  --space-lg:    2rem;      /* 32px */
  --space-xl:    4rem;      /* 64px */
  --space-2xl:   6rem;      /* 96px */
  --space-3xl:   8rem;      /*128px */
  --section-y:   clamp(3rem, 5vw + 1rem, 5rem); /* ≥48 mobile, ~80 desktop */

  /* Layout */
  --container:           1200px;
  --container-narrow:    760px;
  --radius-sm:           2px;
  --radius-md:           4px;
  --radius-lg:           6px;
  --border-thin:         1px solid var(--hairline);
  --rule-red:            2px solid var(--red);
  --rule-gold:           1px solid var(--gold);

  --shadow-soft:   0 2px 6px rgba(20,20,20,0.04), 0 12px 30px rgba(20,20,20,0.06);
  --shadow-card:   0 1px 2px rgba(20,20,20,0.04), 0 6px 16px rgba(20,20,20,0.05);

  --duration-fast:   140ms;
  --duration-base:   240ms;
  --duration-slow:   500ms;
  --easing:          cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light scheme is the canonical brand. We do NOT respond to
   prefers-color-scheme: dark — the editorial ivory/ink palette is the
   design. `color-scheme: light` below also forces native UI (form
   controls, scrollbars) to use light variants on dark-mode devices. */

/* ---------- Reset --------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
img, picture, svg, video { max-width: 100%; display: block; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: transparent; cursor: pointer; padding: 0; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--duration-fast) var(--easing); }
a:hover { color: var(--link-hover); }
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

html {
  /* Force light scheme regardless of the user's system preference, so
     native form controls, scrollbars and selection colours stay light. */
  color-scheme: light;
  scroll-behavior: smooth;
  /* Prevent horizontal scroll even if a fixed/transformed element
     extends past the viewport (mobile drawer, banners). */
  overflow-x: hidden;
  overflow-x: clip;
}
body { overflow-x: hidden; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--fg);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography --------------------------------------------- */

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  font-size: var(--fs-h3);
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
}

h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: var(--lh-snug);
}
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  max-width: 70ch;
  margin-block-end: var(--space-md);
}
p:last-child { margin-block-end: 0; }

/* When a parent element explicitly text-aligns center, also centre
   the paragraph block horizontally — otherwise a 70ch p inside a
   wide centred container stays glued to the left and the centred
   text appears off-axis. Covers inline style="text-align:center",
   the .text-center utility, and our centred .cta-block. */
[style*="text-align: center"] p,
[style*="text-align:center"] p,
.text-center p,
.cta-block p,
.section--center p {
  margin-inline: auto;
}

/* Centre the rule and action buttons when a parent is text-align: center. */
[style*="text-align: center"] .hero__rule,
[style*="text-align:center"] .hero__rule { margin-inline: auto; }
[style*="text-align: center"] .hero__actions,
[style*="text-align:center"] .hero__actions { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  color: var(--fg);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  color: var(--red-deep);
  margin-block-end: var(--space-md);
}

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

/* Italic Bodoni works beautifully for accenting one word. */
.display em,
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--red); }

/* Lists */
.section ul:not([class]) { padding-inline-start: 1.25rem; max-width: 70ch; }
.section ul:not([class]) li { margin-block-end: var(--space-sm); }

/* ---------- Utilities ---------------------------------------------- */

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: top var(--duration-base) var(--easing);
}
.skip-link:focus { top: var(--space-md); color: var(--ivory); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--section-y);
}
.section--ink {
  background: var(--ink);
  color: var(--fg-on-dark);
}
.section--ink h1, .section--ink h2, .section--ink h3,
.section--ink h4, .section--ink h5, .section--ink h6 { color: var(--fg-on-dark); }
.section--ink p { color: rgba(250, 247, 242, 0.86); }
.section--ink p strong { color: var(--ivory); }
.section--ink ul:not([class]) li,
.section--ink ol:not([class]) li { color: rgba(250, 247, 242, 0.86); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink small { color: rgba(250, 247, 242, 0.6); }
.section--ink a:not(.btn) { color: #FF8B8F; text-decoration-color: rgba(255, 139, 143, 0.5); }
.section--ink a:not(.btn):hover { color: #FFB0B3; }

/* Form readability on dark sections — labels, hints, errors and consent
   default to ink which becomes invisible against the ink background. */
.section--ink .form__label { color: var(--ivory); }
.section--ink .form__hint  { color: rgba(250, 247, 242, 0.65); }
.section--ink .form__consent { color: rgba(250, 247, 242, 0.82); }
.section--ink .form__consent a { color: var(--ivory); text-decoration-color: rgba(250, 247, 242, 0.7); }
.section--ink .form__error  { color: #FF8B8F; }
.section--ink .form__label .required { color: #FF8B8F; }
.section--ink fieldset legend.eyebrow { color: var(--gold); }
.section--ink .form__response--success { background: rgba(176, 141, 60, 0.18); color: var(--ivory); border-left-color: var(--gold); }
.section--ink .form__response--error   { background: rgba(255, 92, 97, 0.16);  color: var(--ivory); border-left-color: #FF5C61; }

.rule {
  border: 0;
  border-top: var(--rule-red);
  width: 80px;
  margin: var(--space-md) 0 var(--space-lg);
}
.rule--gold { border-top: var(--rule-gold); width: 120px; }
.rule--centered { margin-inline: auto; }
.rule--full { width: 100%; border-top: var(--border-thin); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-base) var(--easing),
              color var(--duration-base) var(--easing),
              transform var(--duration-fast) var(--easing),
              box-shadow var(--duration-base) var(--easing);
  min-height: 44px;
}

.btn--red,
a.btn--red,
a.btn--red:link,
a.btn--red:visited {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn--red:hover,
a.btn--red:hover,
a.btn--red:focus { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
.btn--red:active { transform: translateY(1px); }

/* NHS-blue variant, used for the Well Wishers donation CTA. */
.btn--blue,
a.btn--blue,
a.btn--blue:link,
a.btn--blue:visited {
  background: #005EB8;
  color: var(--white);
  border: 2px solid #005EB8;
}
.btn--blue:hover,
a.btn--blue:hover,
a.btn--blue:focus { background: #004A94; border-color: #004A94; color: var(--white); }
.btn--blue:active { transform: translateY(1px); }

.btn--outline {
  background: transparent;
  color: var(--red-deep);
  border: 2px solid currentColor;
}
.btn--outline:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.section--ink .btn--outline,
.hero .btn--outline,
.cta-block .btn--outline { color: var(--ivory); }
.section--ink .btn--outline:hover,
.hero .btn--outline:hover,
.cta-block .btn--outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.btn--text {
  background: transparent;
  color: var(--fg-muted);
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
}
.btn--text:hover { color: var(--fg); border-color: var(--hairline); }

.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Header & Nav ------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ivory);
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.875rem;
}
.site-header__logo img {
  width: clamp(140px, 18vw, 200px);
  height: auto;
  aspect-ratio: 2000 / 1088;
}

.site-nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
}
.site-nav__bars,
.site-nav__bars::before,
.site-nav__bars::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform var(--duration-base) var(--easing),
              opacity var(--duration-base) var(--easing);
}
.site-nav__bars::before { transform: translateY(-7px); }
.site-nav__bars::after  { transform: translateY(5px); }

.site-nav__list {
  list-style: none; padding: 0; margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  flex-wrap: nowrap;
}
.site-nav__item {
  flex: 0 0 auto;
}
.site-nav__item > a:not(.btn),
.site-nav__parent {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__item > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--easing);
}
.site-nav__item > a:not(.btn):hover::after,
.site-nav__item.is-active > a:not(.btn)::after { transform: scaleX(1); }
.site-nav__item.is-active > a:not(.btn) { color: var(--red-deep); }

/* Well-Wishers nav item — NHS blue callout, all states.
   Uses !important to override the generic .is-active red-deep colour
   at every breakpoint (desktop, tablet, mobile drawer). */
.site-nav__item[data-slug="well-wishers"] > a:not(.btn),
.site-nav__item[data-slug="well-wishers"] > a:not(.btn):link,
.site-nav__item[data-slug="well-wishers"] > a:not(.btn):visited,
.site-nav__item[data-slug="well-wishers"] > a:not(.btn):hover,
.site-nav__item[data-slug="well-wishers"] > a:not(.btn):focus,
.site-nav__item[data-slug="well-wishers"].is-active > a:not(.btn) { color: #005EB8 !important; }
.site-nav__item[data-slug="well-wishers"] > a:not(.btn)::after,
.site-nav__item[data-slug="well-wishers"].is-active > a:not(.btn)::after { background: #005EB8 !important; }

.site-nav__item--cta a {
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  min-height: 0;
  white-space: nowrap;
}

/* ---------- Awards dropdown (desktop hover, mobile inline) -------- */

.site-nav__parent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.site-nav__parent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--easing);
}
.site-nav__item.is-active > .site-nav__parent { color: var(--red-deep); }
.site-nav__item.is-active > .site-nav__parent::after,
.site-nav__item--has-dropdown:hover > .site-nav__parent::after,
.site-nav__item--has-dropdown:focus-within > .site-nav__parent::after { transform: scaleX(1); }
.site-nav__chevron {
  display: inline-flex;
  align-items: center;
  transition: transform var(--duration-fast) var(--easing);
}
.site-nav__item--has-dropdown:hover > .site-nav__parent .site-nav__chevron,
.site-nav__item--has-dropdown:focus-within > .site-nav__parent .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__sublist {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

/* Desktop: floating dropdown panel ------------------------------- */
@media (min-width: 881px) {
  .site-nav__item--has-dropdown { position: relative; }
  .site-nav__sublist {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    min-width: 180px;
    background: var(--ivory);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--easing),
                transform var(--duration-base) var(--easing);
    z-index: 60;
  }
  .site-nav__item--has-dropdown:hover > .site-nav__sublist {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .site-nav__item--has-dropdown:focus-within > .site-nav__sublist {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .site-nav__item--has-dropdown.is-open > .site-nav__sublist {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .site-nav__subitem a {
    display: block;
    padding: 0.6rem 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--duration-fast) var(--easing),
                color var(--duration-fast) var(--easing);
  }
  .site-nav__subitem a:hover { background: rgba(224, 31, 38, 0.06); color: var(--red-deep); }
  .site-nav__subitem.is-active a { color: var(--red-deep); }
}

@media (max-width: 880px) {
  .site-nav__toggle { display: inline-flex; position: relative; z-index: 101; }
  .site-nav__list {
    position: fixed;
    top: 0; right: 0; left: auto;
    width: min(360px, 88vw);
    height: 100vh;            /* fallback */
    height: 100dvh;           /* mobile-safe dynamic viewport */
    max-height: 100vh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(env(safe-area-inset-top) + 72px) var(--space-lg)
             calc(env(safe-area-inset-bottom) + var(--space-lg));
    background: var(--ivory);
    border-left: 1px solid var(--hairline);
    transform: translateX(100%);
    transition: transform var(--duration-base) var(--easing);
    box-shadow: var(--shadow-soft);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 100;
  }
  .site-nav.is-open .site-nav__list { transform: translateX(0); }
  .site-nav__item > a:not(.btn) {
    display: block;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .site-nav__item > a:not(.btn)::after { display: none; }

  /* Dropdown parent inside the drawer — shows children expanded inline. */
  .site-nav__item--has-dropdown > .site-nav__parent {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: default;
  }
  .site-nav__item--has-dropdown > .site-nav__parent::after { display: none; }
  .site-nav__item--has-dropdown > .site-nav__parent .site-nav__chevron { display: none; }
  .site-nav__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(20, 20, 20, 0.025);
  }
  .site-nav__subitem a {
    display: block;
    padding: 0.75rem 0 0.75rem 1rem;
    border-bottom: 1px solid var(--hairline);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
  }
  .site-nav__subitem.is-active a { color: var(--red-deep); }
  .site-nav__item--cta { margin-top: var(--space-lg); }
  .site-nav__item--cta a {
    display: block;
    text-align: center;
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    padding: 0.875rem 1.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    text-decoration: none;
  }
  .site-nav__item--cta a:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--white); }
  .site-nav.is-open .site-nav__bars { background: transparent; }
  .site-nav.is-open .site-nav__bars::before { transform: rotate(45deg); }
  .site-nav.is-open .site-nav__bars::after  { transform: rotate(-45deg); }
}

/* ---------- Breadcrumbs -------------------------------------------- */

.breadcrumbs {
  padding-block: var(--space-md);
  font-size: var(--fs-small);
  color: var(--fg-muted);
}
.breadcrumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-xs);
}
.breadcrumbs a { color: var(--fg-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red-deep); text-decoration: underline; }
.breadcrumbs__sep { margin-inline: var(--space-xs); opacity: 0.5; }
.breadcrumbs [aria-current="page"] { color: var(--fg); font-weight: 700; }

/* Breadcrumbs sitting inside a dark hero — the ink-context defaults, matching
   .section--ink elsewhere. */
.hero .breadcrumbs { color: rgba(250, 247, 242, 0.86); padding-block-end: var(--space-sm); }
.hero .breadcrumbs a { color: rgba(250, 247, 242, 0.86); }
.hero .breadcrumbs a:hover { color: #FF8B8F; text-decoration: underline; }
.hero .breadcrumbs [aria-current="page"] { color: var(--ivory); }

/* ---------- Hero --------------------------------------------------- */

.hero {
  background: var(--ink);
  color: var(--fg-on-dark);
  padding-block: clamp(4rem, 8vw + 2rem, 8rem);
  position: relative;
  overflow: hidden;
}
.hero__eyebrow {
  color: var(--gold);
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  margin-block-end: var(--space-md);
}
.hero h1 {
  color: var(--ivory);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  max-width: 18ch;
  margin-block-end: var(--space-lg);
}
.hero h1 em { color: var(--red); font-style: italic; font-weight: 500; }
.hero__lead {
  max-width: 56ch;
  font-size: var(--fs-lead);
  color: rgba(250, 247, 242, 0.8);
  margin-block-end: var(--space-xl);
}
.hero__rule {
  width: 80px;
  border: 0;
  border-top: 2px solid var(--red);
  margin: 0 0 var(--space-lg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* One restrained page-load animation, per CLAUDE.md. */
.hero > * {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 700ms var(--easing) forwards;
}
.hero > *:nth-child(1) { animation-delay: 80ms; }
.hero > *:nth-child(2) { animation-delay: 200ms; }
.hero > *:nth-child(3) { animation-delay: 320ms; }
.hero > *:nth-child(4) { animation-delay: 440ms; }
.hero > *:nth-child(5) { animation-delay: 560ms; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero > * { opacity: 1; transform: none; animation: none; }
}

/* ---------- Page intro (non-home) ---------------------------------- */

.page-intro {
  /* Top is generous, bottom is tighter so the gap to the next section
     doesn't compound on desktop. */
  padding-block: clamp(3rem, 6vw + 1rem, 6rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ivory);
  color: var(--ink);
}
/* When a default section follows page-intro, trim its top padding too
   so the transition feels coherent. */
.page-intro + .section { padding-block-start: clamp(2rem, 3.5vw + 0.5rem, 3rem); }
/* Tighter paragraph rhythm inside dark sections (hero recap, inaugural). */
.section--ink p { margin-block-end: 0.875rem; }
.section--ink p:last-child { margin-block-end: 0; }
.section--ink .grid p { margin-block-end: 0.875rem; }
.page-intro h1 { margin-block-end: var(--space-md); color: var(--ink); }
.page-intro p { color: var(--ink); }
.page-intro a:not(.btn) { color: var(--red-deep); }
.page-intro__lead { font-size: var(--fs-lead); max-width: 56ch; color: var(--grey); }
.page-intro .breadcrumbs { color: var(--grey); }
.page-intro .breadcrumbs a { color: var(--grey); }
.page-intro .breadcrumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Cards / Grids ------------------------------------------ */

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: var(--border-thin);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--duration-base) var(--easing),
              box-shadow var(--duration-base) var(--easing),
              border-color var(--duration-base) var(--easing);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.card h3 { font-size: var(--fs-h4); font-family: var(--font-body); font-weight: 700; color: var(--ink); }
.card p { color: var(--ink); }
.card__meta { font-size: var(--fs-small); color: var(--grey); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 700; }

/* Cards placed on a dark section need light text — overrides .card defaults. */
.section--ink .card h3,
.section--ink .card p,
.section--ink .card li { color: var(--ivory); }
.section--ink .card p strong { color: var(--ivory); }
.section--ink .card a:not(.btn) { color: #FF8B8F; }

/* Category cards: Bodoni display, gold rule, ceremonial feel. */
.category-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--duration-base) var(--easing), box-shadow var(--duration-base) var(--easing);
}
.category-card p { color: var(--ink); }
.category-card a:not(.btn) { color: var(--red-deep); }
.category-card::before {
  content: "";
  display: block;
  width: 36px;
  border-top: 1px solid var(--gold);
}
.category-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.4rem + 1vw, 1.875rem);
  line-height: var(--lh-snug);
  color: var(--ink);
  margin: 0;
}
.category-card__index {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: var(--tracking-wide);
  color: var(--gold);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

/* Sponsorship & ticket tiers */
.tier {
  background: var(--white);
  color: var(--ink);
  border: var(--border-thin);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.tier p { color: var(--ink); }
.tier a:not(.btn) { color: var(--red-deep); }
.tier__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
}
.tier__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--red-deep);
}
.tier__features { list-style: none; padding: 0; margin: 0; color: var(--ink); }
.tier__features li {
  padding-block: 0.5rem;
  border-bottom: var(--border-thin);
  font-size: 0.9375rem;
  color: var(--ink);
}
.tier__features li:last-child { border-bottom: 0; }

/* People */
.person {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--ink);
}
.person__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--ink);
}
.person__role { font-size: var(--fs-small); color: var(--grey); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 700; }

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

.form {
  display: grid;
  gap: var(--space-md);
  max-width: var(--container-narrow);
}
.form__row { display: grid; gap: var(--space-md); }
@media (min-width: 640px) {
  .form__row--two { grid-template-columns: 1fr 1fr; }
}
.form__field { display: flex; flex-direction: column; gap: 0.375rem; }
.form__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
/* --red is 4.47:1 on ivory, just under AA. --red-deep clears it at 6.6:1. */
.form__label .required { color: var(--red-deep); margin-inline-start: 2px; }
.form__hint { font-size: 0.8125rem; color: var(--fg-muted); }
.form__error {
  display: none;
  font-size: 0.8125rem;
  color: var(--red-deep);
  font-weight: 700;
}
.form__field.is-invalid .form__error { display: block; }

.form__field input,
.form__field select,
.form__field textarea {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  color: var(--ink);
  min-height: 44px;
  transition: border-color var(--duration-fast) var(--easing),
              box-shadow var(--duration-fast) var(--easing);
}
.form__field textarea { min-height: 160px; resize: vertical; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 31, 38, 0.15);
}
.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: var(--red-deep);
  box-shadow: 0 0 0 3px rgba(176, 22, 28, 0.12);
}

.form__consent {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
/* `.form__field input` above was written for text inputs, but it matches
   every input in the block — so checkboxes inherited a 44px min-height,
   padding and a border, leaving the box sitting ~15px below its own label
   text. Give them their own sizing. The 44px touch target is not lost:
   .form__consent is a <label> wrapping the input, so the whole row toggles. */
.form__field input[type="checkbox"],
.form__field input[type="radio"],
.form__consent input[type="checkbox"] {
  min-height: 0;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--red-deep);
  cursor: pointer;
  /* Inherit the label's type, so the 1lh below resolves against the label's
     line box (21.7px) rather than the 1rem the blanket rule forced on it. */
  font: inherit;
  line-height: inherit;
}
.form__consent { cursor: pointer; }

/* Centre the box on the FIRST line of the label, which may wrap.
   1lh is the line box height; the static value is the fallback for
   browsers without it. */
.form__consent input[type="checkbox"] {
  margin-top: 0.15rem;
  margin-top: calc((1lh - 1.15rem) / 2);
}

/* Honeypot — visually & screen-reader hidden */
.form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

.form__actions { display: flex; gap: var(--space-md); align-items: center; flex-wrap: wrap; }
.form__response {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  display: none;
}
.form__response.is-visible { display: block; }
.form__response--success {
  background: rgba(176, 141, 60, 0.1);
  color: var(--ink);
  border-left: 3px solid var(--gold);
}
.form__response--error {
  background: rgba(176, 22, 28, 0.08);
  color: var(--red-deep);
  border-left: 3px solid var(--red-deep);
}

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

.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding-block: var(--space-2xl) var(--space-lg);
  margin-top: 0;
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: var(--space-md);
}
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer__grid {
  display: grid;
  gap: var(--space-xl) var(--space-lg);
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
}
@media (max-width: 880px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer__brand img { width: 200px; height: auto; aspect-ratio: 2000 / 1088; margin-block-end: var(--space-md); }
.site-footer__brand p { color: rgba(250, 247, 242, 0.7); max-width: 32ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer__social {
  display: flex !important;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.site-footer__social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(250, 247, 242, 0.2);
  border-radius: 50%;
  color: var(--ivory);
  transition: border-color var(--duration-fast) var(--easing), background var(--duration-fast) var(--easing);
}
.site-footer__social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.site-footer__partners-logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}
.site-footer__partners-logos a {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity var(--duration-base) var(--easing), transform var(--duration-base) var(--easing);
}
.site-footer__partners-logos a:hover { opacity: 1; transform: translateY(-1px); }
.site-footer__partners-logos img {
  display: block;
  width: auto;
  height: auto;
  max-height: 36px;
  /* white council logo + colour FC badge both look clean on ink */
}
.site-footer__partners-logos img[alt="Walsall FC"] { max-height: 48px; }

.site-footer__partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 160px;
  background: transparent;
}

.site-footer__base {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  color: rgba(250, 247, 242, 0.5);
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.site-footer__legal-inline {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 2vw, 1.5rem);
}
.site-footer__legal-inline a {
  color: rgba(250, 247, 242, 0.65);
  text-decoration: none;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
}
.site-footer__legal-inline a:hover {
  color: var(--ivory);
  text-decoration: underline;
}
.site-footer__sep {
  display: inline-block;
  margin-inline: 0.5rem;
  color: rgba(250, 247, 242, 0.3);
}
.site-footer__made-by {
  display: inline-flex;
  align-items: center;
  vertical-align: -2px;
  margin: 0 0.15rem;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--easing), transform var(--duration-fast) var(--easing);
}
.site-footer__made-by:hover { opacity: 0.8; transform: translateY(-1px); }
.site-footer__gloss-logo {
  display: block;
  height: 13px;
  width: auto;
  opacity: 0.8;
}
@media (max-width: 640px) {
  .site-footer__gloss-logo { height: 10px; }
}

/* ---------- Back to top -------------------------------------------- */

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(5rem, 10vh, 6rem);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  z-index: 40;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity var(--duration-base) var(--easing),
              transform var(--duration-base) var(--easing),
              background var(--duration-fast) var(--easing);
}
.back-to-top.is-visible {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.back-to-top:hover { background: var(--red); color: var(--white); }

/* ---------- Cookie banner ------------------------------------------ */

.cookie-banner {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  max-width: calc(100% - 2 * var(--space-md));
  max-width: calc(100dvw - 2 * var(--space-md));
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  z-index: 60;
  padding-block: var(--space-md);
  box-sizing: border-box;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; max-width: 60ch; color: rgba(250, 247, 242, 0.85); flex: 1 1 280px; }
.cookie-banner a { color: var(--ivory); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--space-sm); margin-inline-start: auto; flex-wrap: wrap; }
@media (max-width: 540px) {
  .cookie-banner__inner { gap: var(--space-sm); }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; margin-inline-start: 0; }
}
.cookie-banner .btn--text { color: rgba(250, 247, 242, 0.7); }
.cookie-banner .btn--text:hover { color: var(--ivory); border-color: rgba(250, 247, 242, 0.3); }

/* ---------- noscript banner ---------------------------------------- */

.noscript-banner {
  background: var(--red-deep);
  color: var(--white);
  text-align: center;
  padding: var(--space-md);
}
.noscript-banner a { color: var(--ivory); text-decoration: underline; font-weight: 700; }

/* ---------- Data tables (horizontally scrollable on narrow screens) ---- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: var(--space-md);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
}
.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  color: var(--ink);
}
.data-table thead { background: rgba(20, 20, 20, 0.04); }
.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}
.data-table th {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grey);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8125rem;
  background: rgba(20, 20, 20, 0.05);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  color: var(--red-deep);
  white-space: nowrap;
}

/* ---------- inWalsall Magazine: masthead + hero ------------------- */

.inwalsall-masthead {
  display: inline-flex;
  align-items: center;
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.5vw, 2rem);
  margin: 0 0 var(--space-lg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  line-height: 0;
  max-width: 100%;
}
.inwalsall-masthead__logo {
  display: block;
  height: clamp(36px, 5vw, 64px);
  width: auto;
  aspect-ratio: 2000 / 461;
  max-width: none;
  object-fit: contain;
}

/* ---------- inWalsall Magazine: hero with photo bg ---------------- */

.hero--bg-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero--bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(20,20,20,0.88), rgba(20,20,20,0.7)),
                    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero--bg-image .hero__eyebrow,
.hero--bg-image .hero__sub,
.hero--bg-image .hero__tagline {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  margin-block-end: var(--space-md);
  display: block;
}
.hero--bg-image .hero__tagline {
  color: var(--ivory);
  letter-spacing: 0.12em;
  text-align: center;
  margin-inline: auto;
}

/* Side-by-side image + text rows (alternating layout) */
.split {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
}
.split__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Feature cards (used on inWalsall and similar landing pages) */
.feature-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-base) var(--easing), box-shadow var(--duration-base) var(--easing);
}
.feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.feature-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--grey-bg);
}
.feature-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--easing);
}
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
.feature-card__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}
.feature-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.feature-card__body p { color: var(--ink); margin: 0; }

/* ---------- Checkout details (2-step Stripe flow) ----------------- */

.order-summary {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2vw, 1.5rem);
  margin-block-end: var(--space-xl);
  display: grid;
  gap: var(--space-md);
}
.order-summary__label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--grey);
}
.order-summary__line {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem);
  color: var(--ink);
}
.order-summary__price { color: var(--red-deep); font-weight: 600; }

.checkout-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-xl);
}
.checkout-fieldset > legend {
  display: block;
  margin-block-end: var(--space-md);
}
.checkout-fieldset > p { color: var(--grey); margin-block-end: var(--space-md); }

.guest-row {
  padding-block: var(--space-md);
  border-top: 1px solid var(--hairline);
}
.guest-row:first-child { border-top: 0; padding-top: 0; }
.guest-row__label {
  margin: 0 0 var(--space-sm);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

/* ---------- Inline Stripe buy form on tier cards ------------------ */

.ticket-buy {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.ticket-buy__row {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .ticket-buy__row { grid-template-columns: 90px 1fr; }
}
.ticket-buy__qty,
.ticket-buy__email {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ticket-buy__qty-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 700;
}
.ticket-buy input[type="number"],
.ticket-buy input[type="email"] {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 0.9375rem;
  min-height: 44px;
}
.ticket-buy input:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 31, 38, 0.15);
}
.ticket-buy__submit { margin-top: 0.25rem; width: 100%; }
.ticket-buy__error {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--red-deep);
  font-weight: 700;
}

/* ---------- Photo grid (Walsall landmarks) ------------------------- */

.photo-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .photo-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
  background: var(--grey-bg);
  margin: 0;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--easing);
  display: block;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 1rem 0.875rem;
  background: linear-gradient(to top, rgba(20,20,20,0.85), transparent);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

/* Auto-rotating full-bleed photo carousel (CSS-only fade).
   Cycle: 24s total / 4 slides = 6s each. First slide always renders
   immediately to avoid a black flash before the animation kicks in. */
.photo-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--ink);
}
@media (max-width: 720px) { .photo-rotator { aspect-ratio: 4 / 3; } }
.photo-rotator__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: photo-rotate 24s infinite ease-in-out;
}
.photo-rotator__slide:first-child { opacity: 1; }
.photo-rotator__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes photo-rotate {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-rotator__slide { animation: none; opacity: 0; }
  .photo-rotator__slide:first-child { opacity: 1; }
}

/* Single hero-style photo banner (full-bleed inside its container) */
.photo-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--ink);
}
@media (max-width: 720px) { .photo-banner { aspect-ratio: 4 / 3; } }
.photo-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Video grid (Walsall heritage) -------------------------- */

.video-section {
  background: var(--ink);
  margin: 0;
  padding: 0;
  width: 100%;
}
.video-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .video-grid--multi { grid-template-columns: repeat(2, 1fr); }
}
.video-card {
  background: var(--ink);
  overflow: hidden;
  border: 0;
}
.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card__meta {
  padding: clamp(0.875rem, 1.5vw, 1.25rem);
  color: var(--ivory);
}
.video-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  line-height: 1.25;
  margin: 0;
  color: var(--ivory);
}
.video-card__caption {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.6);
  letter-spacing: 0.04em;
}

/* ---------- Misc CTA blocks ---------------------------------------- */

.cta-block {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-block h2 { color: var(--ivory); margin-block-end: var(--space-md); }
.cta-block p { margin-inline: auto; color: rgba(250, 247, 242, 0.8); margin-block-end: var(--space-lg); }
.cta-block .btn--outline { color: var(--ivory); }
.cta-block .btn--outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
/* Equal-height columns with buttons pinned to the same baseline. */
.cta-block .grid > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.cta-block .grid > div > p {
  margin-inline: 0;
  margin-block-end: 0;
}
.cta-block .grid > div > .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Partners & Sponsors carousel --------------------------- */
.partners-strip {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  padding-block-start: var(--space-xl);
  padding-block-end: 20px;
  overflow: hidden;
}
.partners-strip__title {
  display: block;
  text-align: center;
  margin-bottom: var(--space-lg);
}
.partners-strip__marquee {
  position: relative;
  overflow: hidden;
}
.partners-strip__track {
  display: flex;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  width: max-content;
  animation: partners-scroll 45s linear infinite;
}
.partners-strip__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 180px;
}
.partners-strip__item img {
  display: block;
  height: clamp(52px, 6vw, 80px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* one full set (since we render twice) */
}
@media (prefers-reduced-motion: reduce) {
  .partners-strip__track { animation: none; justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .partners-strip { padding-block-start: var(--space-lg); }
  .partners-strip__item img { height: 44px; }
}

/* ---------- Charity partners row (Well Wishers + NHS) -------------- */
.charity-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding: var(--space-xl) var(--space-lg);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.charity-partners__logo {
  display: block;
  height: clamp(72px, 8vw, 110px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* ---------- Footer venue block (WFC logo + date/place) ------------- */
.site-footer__venue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: var(--space-md);
}
.site-footer__brand .site-footer__venue-logo {
  display: block;
  height: 48px;
  width: 48px;
  max-width: none;
  aspect-ratio: auto;
  flex: 0 0 auto;
  margin: 0;
  object-fit: contain;
}

/* ---------- Print -------------------------------------------------- */
/* Lightweight subset here; full set in print.css. */
@media print {
  .site-header, .site-footer, .cookie-banner, .back-to-top,
  .noscript-banner, .form, .hero__actions { display: none !important; }
  body { background: white; color: black; }
}

/* ---------- Brand assets page ------------------------------------- */
.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.brand-logo {
  display: flex;
  flex-direction: column;
}
.brand-logo__stage {
  display: grid;
  place-items: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  min-height: 220px;
}
.brand-logo__stage--light { background: var(--ivory); border: 1px solid var(--hairline); }
.brand-logo__stage--dark  { background: var(--ink);   border: 1px solid #2a2a2a; }
.brand-logo__stage img { max-width: 100%; height: auto; }
.brand-logo h3 {
  margin-block: var(--space-sm) var(--space-xs);
}

.brand-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.brand-swatch {
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 200px;
  justify-content: flex-end;
  color: var(--ivory);
  border: 1px solid rgba(250,247,242,0.12);
}
.brand-swatch__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.brand-swatch__hex {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.brand-swatch__role {
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  opacity: 0.75;
}

.brand-type {
  padding: var(--space-xl);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--white);
}
.brand-type__sample {
  color: var(--red);
  margin-bottom: var(--space-md);
}
.brand-type h3 { margin: 0 0 var(--space-md); font-size: 1.5rem; }
.brand-type ul { padding-left: 1.25rem; }


/* ---------- Event meta block (launch RSVP page) --------------------- */

.event-meta{
  display:flex; flex-wrap:wrap; gap:var(--space-md) var(--space-xl);
  margin-block-start:var(--space-lg); padding-block-start:var(--space-md);
  border-block-start:1px solid var(--hairline);
}
.event-meta > div{min-width:11rem}
.event-meta dt{
  font-size:var(--fs-eyebrow); font-weight:700; letter-spacing:var(--tracking-xwide);
  text-transform:uppercase; color:var(--gold-deep,#7A5F1E); margin-block-end:.25rem;
}
.event-meta dd{margin:0}
.event-meta dd small{color:var(--fg-muted)}
