/* Spark Walsall only: the original homepage and shared styles stay unchanged. */
.spark-page {
  background: #fffdf9;
  color: #2a2433;
  font: 17px/1.6 Arial, Helvetica, sans-serif;
}

.spark-page .shell {
  width: min(1160px, calc(100% - 64px));
}

.spark-page :where(a, button, input, summary):focus-visible {
  outline: 3px solid #3d1f6e;
  outline-offset: 4px;
}

.spark-page [hidden] {
  display: none !important;
}

.spark-page h2 {
  margin-bottom: 18px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.spark-page p {
  margin-bottom: 16px;
}

.spark-page .header-inner {
  min-height: 86px;
  gap: 24px;
}

.spark-brand {
  display: block;
  flex: 0 0 126px;
}

.spark-brand img {
  width: 126px;
  height: auto;
}

.spark-page .site-nav {
  gap: 22px;
}

.spark-page .site-nav a[aria-current="page"] {
  color: #3d1f6e;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c9a84c;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.spark-page .site-nav .button-primary {
  padding: 10px 17px;
  color: #fff;
  font-size: 14px;
}

.spark-hero {
  padding-block: 32px 30px;
}

.spark-page .eyebrow {
  margin-bottom: 10px;
}

.spark-hero-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.spark-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(42px, 5.5vw, 62px);
  line-height: 1.06;
  letter-spacing: -1.8px;
}

.spark-page .spark-subtitle {
  max-width: 720px;
  margin-bottom: 18px;
  color: #3d1f6e;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
}

.spark-hero-cta {
  flex-shrink: 0;
}

.spark-page .spark-facts {
  margin-bottom: 8px;
  padding: 12px 16px;
  border-left: 3px solid #c9a84c;
  border-radius: 0 5px 5px 0;
  background: #eee8f6;
  color: #3d1f6e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.spark-page .spark-schedule {
  margin-bottom: 20px;
  color: #3d1f6e;
  font-size: 16px;
  font-weight: 700;
}

.spark-scene {
  margin: 0 0 24px;
}

/* Natural aspect ratio keeps the whole illustration, including every face. */
.spark-scene img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.spark-scene figcaption {
  padding-top: 7px;
  color: #635c6d;
  font-size: 12px;
  line-height: 1.5;
}

.spark-introduction {
  max-width: 950px;
}

.spark-introduction p:last-child {
  margin-bottom: 0;
}

.spark-section {
  padding-block: 32px;
  scroll-margin-top: 106px;
}

.spark-programme {
  border-top: 1px solid #e5dfeb;
}

.spark-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.spark-benefit {
  padding: 20px 22px;
  border: 1px solid #e5dfeb;
  border-top: 3px solid #c9a84c;
  border-radius: 7px;
  background: #fff;
}

.spark-benefit p {
  margin-bottom: 0;
}

.spark-benefit strong {
  color: #3d1f6e;
}

.spark-page .spark-progression {
  max-width: 950px;
  margin: 20px 0 0;
}

.spark-audience {
  border-block: 1px solid #e6dfd4;
  background: #f5f1eb;
}

.spark-audience-copy {
  max-width: 950px;
}

.spark-audience-list {
  margin: 0 0 18px;
  padding-left: 22px;
}

.spark-audience-list li {
  padding-left: 3px;
  margin-bottom: 5px;
}

.spark-audience-list li::marker {
  color: #3d1f6e;
}

.spark-audience-copy > p:last-child {
  margin-bottom: 0;
}

.spark-join-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: start;
}

.spark-steps {
  margin: 0;
  padding-left: 24px;
}

.spark-steps li {
  padding-left: 7px;
  margin-bottom: 18px;
}

.spark-steps li::marker {
  color: #3d1f6e;
  font-weight: 700;
}

.spark-registration {
  min-width: 0;
  padding: 24px;
  border: 1px solid #d6ccdf;
  border-top: 3px solid #c9a84c;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 106px;
}

.spark-registration h3 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.spark-page .spark-form-note {
  color: #635c6d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.spark-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 20px 0;
  padding: 0;
  border: 0;
}

.spark-field,
.spark-checkbox-field {
  min-width: 0;
}

.spark-field-wide {
  grid-column: 1 / -1;
}

.spark-field > label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.spark-field > label > span,
.spark-required {
  font-size: 13px;
  font-weight: 400;
  color: #635c6d;
}

.spark-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #95879f;
  border-radius: 5px;
  background: #fff;
  color: #2a2433;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
}

.spark-page input[aria-invalid="true"] {
  border-color: #a11d2d;
  box-shadow: 0 0 0 1px #a11d2d;
}

.spark-page .spark-field-hint {
  margin: 6px 0 0;
  color: #635c6d;
  font-size: 12px;
  line-height: 1.5;
}

.spark-page .spark-field-error {
  margin: 6px 0 0;
  color: #a11d2d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.spark-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-block: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
}

.spark-checkbox-label input {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 2px 0 0;
  accent-color: #3d1f6e;
}

.spark-page button.button {
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.spark-submit {
  width: 100%;
}

.spark-page button:disabled {
  cursor: not-allowed;
  background: #635c6d;
  border-color: #635c6d;
  color: #fff;
}

.spark-fields:disabled {
  opacity: 0.75;
}

.spark-error-summary,
.spark-form-status,
.spark-noscript {
  margin-block: 18px;
  padding: 14px 16px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.spark-error-summary {
  border: 2px solid #a11d2d;
  background: #fff6f6;
  color: #821523;
}

.spark-error-summary p {
  margin-bottom: 0;
  font-weight: 700;
}

.spark-error-summary ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.spark-error-summary ul:empty {
  display: none;
}

.spark-error-summary a {
  text-underline-offset: 3px;
}

.spark-form-status,
.spark-noscript {
  border: 1px solid #b7a7cf;
  border-left: 4px solid #3d1f6e;
  background: #eee8f6;
  color: #3d1f6e;
}

.spark-visually-hidden,
.spark-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.spark-questions {
  border-block: 1px solid #e5dfeb;
  background: #f5f1eb;
}

.spark-contact-line {
  font-size: 16px;
}

.spark-faqs details {
  border-bottom: 1px solid #d6ccdf;
}

.spark-faqs details:first-child {
  border-top: 1px solid #d6ccdf;
}

.spark-faqs summary {
  padding: 15px 4px;
  color: #3d1f6e;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.spark-faqs details p {
  margin: 0;
  padding: 0 4px 16px;
  font-size: 16px;
}

.spark-about-copy {
  max-width: 950px;
}

.spark-about-copy p:last-child {
  margin-bottom: 24px;
}

.spark-joining-questions {
  border-top: 1px solid #e5dfeb;
  padding-top: 26px;
}

.spark-joining-questions p:last-child {
  margin-bottom: 0;
}

.spark-funding-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.spark-funding-logos img {
  height: auto;
  object-fit: contain;
}

.spark-government-logo {
  width: min(330px, 100%);
}

.spark-council-logo {
  width: min(180px, 100%);
}

.spark-footer {
  border-top: 1px solid #e5dfeb;
}

.spark-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.spark-footer .text-link {
  flex-shrink: 0;
}

@media (max-width: 850px) {
  .spark-page .shell {
    width: calc(100% - 40px);
  }

  .spark-page .header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 20px;
    padding-block: 8px;
  }

  .spark-brand {
    flex-basis: 112px;
  }

  .spark-brand img {
    width: 112px;
  }

  .spark-page .site-nav {
    gap: 16px;
    padding-bottom: 0;
  }

  .spark-hero-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .spark-hero-cta {
    margin-bottom: 18px;
  }

  .spark-section,
  .spark-registration {
    scroll-margin-top: 154px;
  }

  .spark-join-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .spark-steps {
    max-width: 680px;
  }

  .spark-steps li:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .spark-page .shell {
    width: calc(100% - 32px);
  }

  .spark-page .header-inner {
    display: block;
    padding-block: 6px 8px;
  }

  .spark-brand {
    width: 104px;
    margin-bottom: 3px;
  }

  .spark-brand img {
    width: 104px;
  }

  .spark-page .site-nav {
    flex-wrap: wrap;
    gap: 0 14px;
    overflow-x: visible;
  }

  .spark-page .site-nav a {
    font-size: 12px;
  }

  .spark-page .site-nav .button-primary {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .spark-hero {
    padding-block: 24px;
  }

  .spark-hero h1 {
    font-size: clamp(39px, 10vw, 50px);
    letter-spacing: -1.3px;
  }

  .spark-page .spark-facts {
    padding: 10px 12px;
    font-size: 14px;
  }

  .spark-section {
    padding-block: 26px;
  }

  .spark-section,
  .spark-registration {
    scroll-margin-top: 190px;
  }

  .spark-benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .spark-benefit,
  .spark-registration {
    padding: 18px;
  }

  .spark-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .spark-funding-logos {
    gap: 18px 28px;
  }

  .spark-government-logo {
    width: min(290px, 100%);
  }

  .spark-footer .footer-inner {
    gap: 10px;
    padding-block: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spark-page *,
  .spark-page *::before,
  .spark-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
