/* ==========================================================================
   NORTHWOOD STADIUM — DESIGN TOKENS
   ========================================================================== */
/* Anything marked hidden stays hidden, even where a class gives it its own
   display (buttons, form rows, footer links). Several page scripts show
   and hide things this way. */
[hidden] { display: none !important; }

:root {
  /* Colour — Northwood brand palette (brand sheet 1) */
  --c-track:  #DA3832;
  --c-gym:    #1A1818;
  --c-chalk:  #F3F0EB;
  --c-pitch:  #3F7148;
  --c-court:  #3678B5;   /* brand #377BBA, 2.5% deeper so white text passes WCAG AA */

  /* Roles. Older rules use these names, so they now point at the brand
     colours above. --c-red is the master brand colour: logo, header,
     main booking buttons, footer and error messages — it stays red on
     every page. Per-facility colour comes from --accent (below). */
  --c-black:       var(--c-gym);
  --c-black-soft:  #2A2727;
  --c-white:       #FFFFFF;
  --c-red:         var(--c-track);
  --c-red-dark:    #B02A25;   /* hover state only */
  --c-grey-light:  var(--c-chalk);
  --c-grey-mid:    #6B6B6F;   /* deep enough for WCAG AA on chalk */
  --c-grey-line:   rgba(255,255,255,0.12);
  --c-grey-line-dark: rgba(26,24,24,0.10);

  /* Type */
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --header-h: 84px;
  --max-w: 1280px;
  --pad: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   FACILITY ACCENT COLOURS
   --accent is the facility colour: Track red by default. Add a theme class
   to <body>, a <section> or a single card and everything inside switches:
     .theme-pitch  3G / football          .theme-court  sports hall / indoor
     .theme-gym    gym / memberships      .theme-track  track (the default)
   --accent-ink  a slightly deeper version for SMALL text on light
                 backgrounds (red and blue are too faint on Chalk otherwise)
   --accent-tint a pale wash for selected states
   Both are recalculated wherever a theme class is set, so they always
   match the local accent.
   ========================================================================== */
:root, .theme-track { --accent: var(--c-track); }
.theme-pitch { --accent: var(--c-pitch); }
.theme-court { --accent: var(--c-court); }
.theme-gym   { --accent: var(--c-gym); }
:root, .theme-track, .theme-pitch, .theme-court, .theme-gym {
  --accent-ink:  color-mix(in srgb, var(--accent) 82%, #000);
  --accent-tint: color-mix(in srgb, var(--accent) 9%, #fff);
}

/* ==========================================================================
   TRACK GRAPHIC (brand pack)
   One SVG (images/track-graphic.svg) used as a CSS mask, so its colour is
   whatever background-color it's given. Decorative only: never clickable,
   always cropped off an edge, and fainter on phones so it never fights text.
   ========================================================================== */
.track-graphic {
  position: absolute; pointer-events: none;
  aspect-ratio: 924 / 1738;
  background-color: var(--track-color, var(--c-red));
  -webkit-mask: url(images/track-graphic.svg) center / contain no-repeat;
          mask: url(images/track-graphic.svg) center / contain no-repeat;
}

/* Homepage hero: big white track running off the right-hand edge, kept
   faint so it sits behind the white headline without competing with it */
.hero-track {
  z-index: 0;
  height: 128%; top: 50%; right: -7vw;
  transform: translateY(-50%);
  --track-color: #fff;
  opacity: 0.12;
}
@media (max-width: 900px) { .hero-track { right: -45vw; opacity: 0.08; } }

/* Footer: faint white track turned on its side, bottom-right corner */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  height: 1100px; aspect-ratio: 924 / 1738;
  right: 2%; bottom: -760px;
  transform: rotate(90deg);
  background-color: #fff; opacity: 0.06;
  -webkit-mask: url(images/track-graphic.svg) center / contain no-repeat;
          mask: url(images/track-graphic.svg) center / contain no-repeat;
}
.site-footer > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .site-footer::before { height: 760px; bottom: -560px; right: -30%; } }

/* Bands: a faint white track turned on its side, cropped off the right
   edge. Every .about band gets it automatically; other full-width bands
   opt in with class="track-band" (add track-band--left to flip sides).
   z-index -1 inside an isolated band = above the band's colour, below
   its content, without touching the content's own positioning. */
.about, .track-band { isolation: isolate; }
.track-band { position: relative; overflow: hidden; }
.about::after, .track-band::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  height: 860px; aspect-ratio: 924 / 1738;
  top: 50%; right: -60px; transform: translateY(-50%) rotate(90deg);
  background-color: var(--band-track-color, #fff); opacity: var(--band-track-opacity, 0.1);
  -webkit-mask: url(images/track-graphic.svg) center / contain no-repeat;
          mask: url(images/track-graphic.svg) center / contain no-repeat;
}
.track-band--left::after { right: auto; left: -60px; }
@media (max-width: 760px) {
  .about::after, .track-band::after { height: 560px; right: -170px; }
  .track-band--left::after { left: -170px; }
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--c-black);
  background: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  /* Higher than #customerStatusBar's z-index (150) in index.html — the
     header is a fixed, positioned element, so it creates its own
     stacking context. That means a z-index set on something INSIDE the
     header (like .main-nav.is-open) can never rise above elements
     outside the header no matter how high it's set; only raising the
     header's own z-index actually lifts everything nested inside it,
     including the open mobile menu, above the status bar. */
  z-index: 200;
  background: rgba(11,11,12,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-grey-line);
  transition: background 0.3s var(--ease);
}

.header-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.logo-text {
  font-family: var(--f-display);
  color: var(--c-white);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--c-grey-mid);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

/* Six menu items (Sponsorship added Oct 2026): keep each label on one line
   and tighten the spacing on narrower desktops before the burger takes over. */
.main-nav a { white-space: nowrap; }
@media (min-width: 1001px) and (max-width: 1200px) {
  .main-nav { gap: 22px; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .site-header .main-nav a { font-size: 13px; }
}

.main-nav a {
  color: var(--c-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-red);
  transition: width 0.25s var(--ease);
}

.main-nav a:hover::after { width: 100%; }

.nav-cta {
  flex-shrink: 0;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 11px 22px;
  transition: background 0.2s var(--ease);
}

.nav-cta:hover { background: var(--c-red-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-white);
}

.nav-toggle span {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--c-black);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(1.5) contrast(1.05);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11,11,12,0.55) 0%,
    rgba(11,11,12,0.35) 40%,
    rgba(11,11,12,0.92) 100%);
}

/* Signature motif: faint track-lane lines across the hero */
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 1px,
    transparent 1px,
    transparent 120px
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 180px var(--pad) 90px;
  width: 100%;
}

.hero-eyebrow {
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-left: 28px;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-white);
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  max-width: 900px;
  margin-bottom: 28px;
}

.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Same look as the subpage buttons (.btn-red etc. in subpage.css):
   Barlow Condensed, uppercase, rounded corners, small lift on hover. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.2;
  border-radius: 6px;
  transition: all 0.2s var(--ease);
}

.btn-primary {
  background: var(--c-red);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-red-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--c-white);
  font-weight: 700;
}

.btn-ghost:hover {
  border-color: var(--c-white);
  background: rgba(255,255,255,0.08);
}

.btn-black {
  background: var(--c-black);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-black:hover {
  background: var(--c-black-soft);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.3);
}

.hero-scroll span {
  position: absolute;
  top: 0; left: -3px;
  width: 7px;
  height: 7px;
  background: var(--c-red);
  border-radius: 50%;
  animation: scrollDot 2.2s var(--ease) infinite;
}

@keyframes scrollDot {
  0%   { top: 0; opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ==========================================================================
   GENERIC SECTION STUBS (to be built out one at a time)
   ========================================================================== */
.section {
  padding: 120px var(--pad);
  border-bottom: 1px solid var(--c-grey-line-dark);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-eyebrow {
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-note {
  color: var(--c-grey-mid);
  font-size: 15px;
}

.offer { background: var(--c-white); }
.activities, .find-us { background: var(--c-grey-light); }

/* ---- Find Us & Opening Times ---- */
.find-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: stretch;
}

.find-us-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.find-us-logo-wrap {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--c-black);
  padding: 14px 22px;
  border-radius: 10px;
}

.find-us-logo {
  height: 32px;
  width: auto;
  display: block;
}

.find-us-block {
  border-top: 1px solid var(--c-grey-line-dark);
  padding-top: 24px;
}

.find-us-heading {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--c-black);
  margin-bottom: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: var(--c-grey-mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--c-grey-line-dark);
}

.hours-row span:first-child {
  color: var(--c-black);
  font-weight: 600;
}

.find-us-address {
  color: var(--c-grey-mid);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.find-us-email {
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
}

.find-us-map {
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11,11,12,0.1);
}

.find-us-map iframe {
  display: block;
}

@media (max-width: 900px) {
  .find-us-grid {
    grid-template-columns: 1fr;
  }
  .find-us-map { min-height: 320px; }
}

/* ---- About (full-bleed banner block) ---- */
.about {
  position: relative;
  background: var(--accent);
  overflow: hidden;
}

/* ---- Follow Our Journey (social embeds) ---- */
.social-embeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

.social-embed-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.social-link-card {
  justify-content: center;
  padding: 32px;
}

.social-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.facebook-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #1877F2; /* Facebook's own blue for its icon */
}

.facebook-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--c-white);
}

.instagram-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.instagram-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--c-white);
}

.social-handle {
  display: block;
  color: var(--c-white);
  font-weight: 700;
  font-size: 16px;
}

.social-sub {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.social-link-card p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-social-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  background: var(--c-white);
  color: var(--c-black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 14px 26px;
  border-radius: 6px;
  transition: transform 0.2s var(--ease);
}

.btn-social-link:hover { transform: translateY(-2px); }

@media (max-width: 800px) {
  .social-embeds { grid-template-columns: 1fr; }
  .social-link-card { padding: 28px; }
}

.about-mark {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  max-width: 55vw;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about-label {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-white);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.05;
  max-width: 720px;
  margin-bottom: 16px;
}

.about-sub {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 560px;
  margin-bottom: 40px;
}

.about-details {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.about-detail-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.about-detail-val {
  display: block;
  color: var(--c-white);
  font-weight: 700;
  font-size: 15px;
}

.btn-about {
  display: inline-block;
  background: var(--c-black);
  color: var(--c-white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 6px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-about:hover {
  background: #000;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .about-mark { width: 260px; opacity: 0.08; }
  .about-details { gap: 28px; }
}

/* ---- Activities ("What's On" cards — one per live activity) ----
   Markup comes from activity-card.js. Photo on the left, coloured
   panel on the right with a logo, "when" line, text and button.
   Two cards per row on wide screens, one per row below that, and the
   photo stacks above the panel on phones. */
.activities-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
}
@media (min-width: 1180px) {
  .activities-features { grid-template-columns: 1fr 1fr; }
}
/* Status messages ("Loading activities…") span the whole row */
.activities-features > p { grid-column: 1 / -1; }

.activity-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--accent);
  border: 3px solid var(--hl, var(--accent));
  box-shadow: 0 16px 36px rgba(11,11,12,0.12);
}
.activity-feature.no-media { grid-template-columns: 1fr; min-height: 0; }
.activity-feature.no-media .activity-feature-media { display: none; }

.activity-feature-media {
  position: relative;
  min-height: 0;
  background: rgba(0,0,0,0.25);
}
.activity-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Divider between photo and panel in the highlight colour */
.activity-feature.has-highlight .activity-feature-media { border-right: 3px solid var(--hl); }

.activity-feature-content {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--c-white);
  min-width: 0;
}

.activity-feature-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.activity-feature-title.has-logo { line-height: 0; }
.activity-feature-logo {
  display: block;
  max-width: min(100%, 300px);
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.activity-feature-when {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1.45;
  /* a lighter tint of the highlight so it reads on a dark panel */
  color: color-mix(in srgb, var(--hl, #FFFFFF) 65%, #FFFFFF);
  margin-bottom: 16px;
}

.activity-feature-body {
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Chunky uppercase button. White with text in the card's colour by
   default; in the highlight colour when the activity has one. */
.activity-feature-link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--btn-bg, var(--c-white));
  color: var(--btn-ink, var(--accent));
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  padding: 14px 26px;
  border-radius: 6px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
.activity-feature-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11,11,12,0.28);
  filter: brightness(0.94);
}

@media (max-width: 680px) {
  .activity-feature { grid-template-columns: 1fr; min-height: 0; }
  .activity-feature-media { height: 240px; }
  .activity-feature.has-highlight .activity-feature-media { border-right: 0; border-bottom: 3px solid var(--hl); }
  .activity-feature-content { padding: 28px 24px 30px; }
  .activity-feature-logo { max-height: 110px; }
  .activity-feature-link { align-self: stretch; }
}

.offer {
  position: relative;
  background-image: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--c-red) 4%, transparent) 0px,
    color-mix(in srgb, var(--c-red) 4%, transparent) 1px,
    transparent 1px,
    transparent 90px
  );
}

/* ---- Offer grid (facility cards) ---- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.offer-card {
  background: var(--c-white);
  border: 1px solid rgba(11,11,12,0.06);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(11,11,12,0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(11,11,12,0.12);
}

.offer-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-grey-light);
  border-bottom: 3px solid var(--accent);
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.offer-body h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.offer-body p {
  font-size: 14px;
  color: var(--c-grey-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.btn-small {
  align-self: flex-start;
  background: var(--c-black);
  color: var(--c-white);
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 11px 18px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-small:hover { background: var(--accent); transform: translateY(-2px); }

/* 4 across only when there's room for two buttons side by side in each */
@media (max-width: 1239px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .offer-grid { grid-template-columns: 1fr; }
}

.site-footer {
  background: var(--c-black);
  color: var(--c-white);
  padding: 80px var(--pad) 32px;
}

.footer-inner-grid {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  height: 34px;
  width: auto;
  align-self: flex-start;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 260px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s var(--ease);
}

.footer-social:hover {
  background: var(--c-red);
  border-color: var(--c-red);
  color: var(--c-white);
}

.footer-col h4 {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-white);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--c-white); }

.footer-hours {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.7;
}

.footer-phone {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 12px;
}

.footer-charity {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  max-width: 640px;
  margin-bottom: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

.footer-credit img {
  height: 40px;
  width: auto;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Burger menu from 1000px down (was 900px): six menu items no longer
   fit beside the logo and Call button below that. */
@media (max-width: 1000px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--c-black);
    padding: 24px var(--pad) 32px;
    gap: 22px;
    border-bottom: 1px solid var(--c-grey-line);
    /* Sits above the "Signed in as..." status bar (z-index: 150 in
       index.html) so the open menu isn't hidden behind it — the bar
       simply reappears once the menu is closed. */
    z-index: 160;
  }
}
@media (max-width: 900px) {
  .hero-content { padding-bottom: 70px; }
  .section { padding: 80px var(--pad); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}

/* ==========================================================================
   FACILITIES PAGE
   ========================================================================== */
.facilities-intro {
  background: var(--c-white);
  padding-top: calc(var(--header-h) + 64px);
}

.facilities-lede {
  color: var(--c-grey-mid);
  font-size: 17px;
  max-width: 640px;
  margin-bottom: 40px;
}

.facility-quicknav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.facility-quicknav a {
  background: var(--c-black);
  color: var(--c-white);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  transition: background 0.2s var(--ease);
}

.facility-quicknav a:hover {
  background: var(--accent);
}

.facility-quicknav a.theme-gym:hover {
  box-shadow: inset 0 0 0 2px var(--c-white), 0 0 0 2px var(--c-gym);
}

.facility-detail {
  padding: 100px var(--pad);
  background: var(--c-white);
}

.facility-detail.alt { background: var(--c-grey-light); }

.facility-detail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}

.facility-detail.alt .facility-detail-inner {
  flex-direction: row-reverse;
}

.facility-gallery {
  flex: 1 1 48%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(11,11,12,0.1);
}

.facility-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.facility-content {
  flex: 1 1 52%;
}

.facility-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 20px;
}

.facility-copy {
  color: var(--c-grey-mid);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.facility-features {
  list-style: none;
  margin-bottom: 36px;
}

.facility-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--c-black);
  font-weight: 500;
}

.facility-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 2px;
  background: var(--accent);
}

@media (max-width: 860px) {
  .facility-detail-inner,
  .facility-detail.alt .facility-detail-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .facility-detail { padding: 64px var(--pad); }
}

.about-note {
  margin-top: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  max-width: 460px;
}

/* ============ PARTNER CONTACT MODAL ============ */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.contact-modal.is-open { display: flex; }

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,11,12,0.85);
}

.contact-modal-box {
  position: relative;
  background: var(--c-black-soft);
  border: 1px solid var(--c-grey-line);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s var(--ease);
}
.contact-modal-close:hover { opacity: 1; }

.contact-modal-box h3 {
  margin: 0 0 8px;
  color: var(--c-white);
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 0.3px;
}
.contact-modal-box p {
  margin: 0 0 24px;
  color: var(--c-grey-mid);
  font-size: 14px;
  font-family: var(--f-body);
}

.contact-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-modal-btn {
  display: block;
  padding: 16px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--c-white);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-modal-btn:hover { transform: translateY(-2px); }

.contact-modal-message {
  background: rgba(255,255,255,0.12);
}
.contact-modal-message:hover { background: rgba(255,255,255,0.2); }

.contact-modal-call {
  background: var(--c-red);
}
.contact-modal-call:hover { background: var(--c-red-dark); }
/* ==========================================================================
   CALL NOW (header button + popup) — shared by every page
   ========================================================================== */
.header-actions { display: flex; align-items: center; gap: 14px; }
.call-now-btn {
  position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-red); color: #fff; border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;
}
.call-now-btn svg { width: 20px; height: 20px; position: relative; z-index: 1; animation: callWiggle 3s ease-in-out infinite; }
.call-now-btn::before, .call-now-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--c-red); opacity: 0.55; animation: callPulse 2s ease-out infinite;
}
.call-now-btn::after { animation-delay: 1s; }
.call-now-btn:hover { filter: brightness(1.1); }
.call-now-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes callPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes callWiggle {
  0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); }
  88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .call-now-btn::before, .call-now-btn::after, .call-now-btn svg { animation: none; }
  .call-now-btn::before, .call-now-btn::after { opacity: 0; }
}
.call-modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(26,24,24,0.65); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.call-modal-overlay[hidden] { display: none; }
.call-modal { background: #fff; border-radius: 16px; width: 100%; max-width: 360px; padding: 2rem 1.75rem 1.5rem; text-align: center; border-top: 4px solid var(--c-red); box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.call-modal-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 1rem; background: color-mix(in srgb, var(--c-red) 10%, #fff); color: var(--c-red); display: flex; align-items: center; justify-content: center; }
.call-modal-icon svg { width: 26px; height: 26px; }
.call-modal h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--c-black); margin: 0 0 0.35rem; }
.call-modal-number { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; letter-spacing: 0.5px; color: var(--c-black); margin: 0.25rem 0 0.5rem; }
.call-modal-hours { font-family: var(--f-body); font-size: 0.85rem; color: var(--c-grey-mid); line-height: 1.5; margin: 0 0 1.4rem; }
.call-modal-go { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.95rem; border-radius: 10px; background: var(--c-red); color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.call-modal-go svg { width: 18px; height: 18px; }
.call-modal-go:hover { filter: brightness(1.08); }
.call-modal-cancel { margin-top: 0.6rem; width: 100%; padding: 0.8rem; border-radius: 10px; background: none; border: 1.5px solid rgba(0,0,0,0.15); cursor: pointer; font-family: var(--f-body); font-weight: 600; font-size: 0.9rem; color: var(--c-black); }

/* Footer "Site by Dealo" credit logo — rounded to read as an app tile */
.footer-credit img { border-radius: 22%; }

/* ==========================================================================
   HEADER NAV: "WHAT'S ON" DROPDOWN (Northwood, Oct 2026)
   Desktop: opens on hover or keyboard focus (no JavaScript needed).
   Burger menu (1000px and below, matching the burger breakpoint above):
   shown as an indented list inside the open menu.
   ========================================================================== */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 0; cursor: pointer; white-space: nowrap;
  color: var(--c-white); font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0.2px;
}
.nav-drop-btn svg { width: 10px; height: 6px; transition: transform 0.2s var(--ease); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 24px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 250px; padding: 10px 0;
  display: flex; flex-direction: column;
  background: var(--c-black); border: 1px solid var(--c-grey-line); border-top: 2px solid var(--c-red);
  border-radius: 0 0 10px 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; z-index: 200;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; } /* hover bridge */
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop:hover .nav-drop-btn svg,
.nav-drop:focus-within .nav-drop-btn svg { transform: rotate(180deg); }
.main-nav .nav-drop-menu a { padding: 10px 22px; white-space: nowrap; }
.main-nav .nav-drop-menu a::after { display: none; }
.main-nav .nav-drop-menu a:hover { background: rgba(255,255,255,0.06); }
.main-nav .nav-drop-menu a.nav-drop-all { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--c-grey-line); color: rgba(255,255,255,0.7); font-size: 13px; }
@media (min-width: 1001px) and (max-width: 1100px) {
  .site-header .nav-drop-btn { font-size: 13px; }
}
@media (max-width: 1000px) {
  .nav-drop { flex-direction: column; align-items: flex-start; }
  .nav-drop-btn { padding: 0; }
  .nav-drop:hover .nav-drop-btn svg,
  .nav-drop:focus-within .nav-drop-btn svg { transform: none; }
  .nav-drop.is-expanded .nav-drop-btn svg { transform: rotate(180deg); }
  .nav-drop-menu {
    display: none; /* collapsed until "What's On" is tapped */
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; margin-top: 14px; padding: 0 0 0 14px; gap: 14px;
    background: none; border: 0; border-left: 2px solid var(--c-red); border-radius: 0; box-shadow: none;
  }
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu { transform: none; }
  .nav-drop.is-expanded .nav-drop-menu { display: flex; }
  .nav-drop-menu::before { display: none; }
  .main-nav .nav-drop-menu a { padding: 0; }
  .main-nav .nav-drop-menu a:hover { background: none; }
  .main-nav .nav-drop-menu a.nav-drop-all { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Footer: 5 blocks (brand + 4 link columns) but the grid only had 4
   columns, so "Site Information" dropped onto its own row.
   Wide desktop: all five in one row. Narrower desktop: brand on its own
   row with the four link columns beneath. Phones keep the rules above. */
@media (min-width: 1101px) {
  .footer-top { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* "Get the App" in the main menu: only in the burger menu on phones and
   tablets (desktop visitors have it in the footer). add-to-home.js opens
   the popup, and hides the link when already running as the app. */
@media (min-width: 1001px) {
  .main-nav .nav-get-app { display: none; }
}
/* Inside the installed app the script marks these links hidden. Footer
   and menu links have their own display rules, which would otherwise
   override that and leave a link that does nothing. */
[data-aths-open][hidden], [data-aths-open-wrap][hidden] { display: none !important; }

/* ==========================================================================
   BREADCRUMBS + BACK LINK (added by crumbs.js on every public subpage)
   Sits just under the fixed header, over the top padding of the page's
   first section. "dark" = white text over a photo/dark hero,
   "light" = dark text on a light page.
   ========================================================================== */
.crumbs {
  position: absolute; left: 0; right: 0; top: var(--header-h); z-index: 5;
  padding: 16px var(--pad) 0;
  font-family: var(--f-body); font-size: 13px; font-weight: 500; line-height: 1.4;
}
.crumbs-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.crumbs-back {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--f-display); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.6px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.crumbs-back svg { width: 14px; height: 14px; }
.crumbs-list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; min-width: 0; }
.crumbs-list li { display: inline-flex; align-items: center; }
.crumbs-list li + li::before { content: "\203A"; margin: 0 8px; opacity: 0.6; font-size: 15px; }
.crumbs-list a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease); }
.crumbs-list a:hover { text-decoration-color: currentColor; }
.crumbs-list [aria-current="page"] { font-weight: 700; }

.crumbs--dark { color: rgba(255,255,255,0.78); }
.crumbs--dark .crumbs-list [aria-current="page"] { color: var(--c-white); }
.crumbs--dark .crumbs-back { color: var(--c-white); border: 1px solid rgba(255,255,255,0.35); background: rgba(11,11,12,0.25); }
.crumbs--dark .crumbs-back:hover { border-color: var(--c-white); background: rgba(255,255,255,0.1); }

.crumbs--light { color: var(--c-grey-mid); }
.crumbs--light .crumbs-list [aria-current="page"] { color: var(--c-black); }
.crumbs--light .crumbs-back { color: var(--c-black); border: 1px solid rgba(11,11,12,0.2); background: var(--c-white); }
.crumbs--light .crumbs-back:hover { border-color: var(--c-black); }

/* Booking page: sits in the page heading instead of under a site header */
.crumbs--inline { position: static; padding: 0; margin-bottom: 18px; }

@media (max-width: 600px) {
  .crumbs { padding-top: 12px; font-size: 12px; }
  /* On phones the trail can get long: keep the Back button and just the
     page's parent + current page. */
  .crumbs-list li:not(:nth-last-child(-n+2)) { display: none; }
  .crumbs-list li:nth-last-child(2)::before { content: none; }
}

/* ==========================================================================
   ACCESSIBILITY HELPERS
   ========================================================================== */
/* Text for screen readers only */
.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;
}
/* Scrollable areas that keyboard users can tab to (e.g. wide tables on phones) */
[role="region"][tabindex="0"]:focus-visible { outline: 2px solid var(--accent, var(--c-red)); outline-offset: 3px; }
