/* =========================================================
   Parkes Fitness4All — Site Clone Styles
   Brand: black / white / sky blue (Cronulla Sharks inspired)
   ========================================================= */
:root {
  --primary: #0a0a0a;
  --secondary: #ffffff;
  /* Sharks-style sky blue accent — no red */
  --accent: #00a9e0;
  --accent-hover: #0090c0;
  --accent-deep: #0077a3;
  /* Readable ink pairings (WCAG AA):
     --accent-ink : accent-family text on white/light backgrounds  (6.2:1)
     --on-accent  : text/icon colour on an --accent fill           (7.1:1) */
  --accent-ink: #00688f;
  --on-accent: #041018;
  --danger: #dc2626;
  --accent-blue: #00a9e0;
  --accent-rgb: 0, 169, 224;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --text-light: #f5f5f5;
  --bg-dark: #111;
  --bg-darker: #0a0a0a;
  --bg-light: #fff;
  --bg-gray: #f4f4f4;
  --bg-card: #1a1a1a;
  --border: #e5e5e5;
  --border-dark: #333;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(0,0,0,.12);
  --transition: .25s ease;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* sticky header offset, kept in sync by script.js */
  scroll-padding-top: calc(var(--header-h, 72px) + 16px);
  /* clip, not hidden: hidden on <html> breaks position:sticky descendants.
     Safety net so a stray off-screen element can never pan the page sideways. */
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
/* Heading level is chosen for document structure, not for size. These keep the
   visual size a heading already had when its level had to change. */
.h-size-md { font-size: 1.17rem; }
.h-size-sm { font-size: 1rem; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
}

/* Utilities */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-gray { background: var(--bg-gray); }
.section-accent { background: var(--accent); color: #fff; }
.text-center { text-align: center; }
.text-accent { color: var(--accent-ink); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff !important; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.grid { display: grid; gap: 28px; }
/* The min track widths were small enough that .grid-2/.grid-3/.grid-4 all fitted an
   extra column in a 1200px container — .grid-3 rendered 4 up, so 6-item grids (team,
   classes) broke as a ragged 4 + 2. Raising the minimums caps each at its named count
   while still collapsing responsively. */
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.wrap { flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--accent-ink); color: var(--accent-ink); }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
/* --accent-ink is tuned for light backgrounds; on dark bands use the bright accent */
.section-dark .btn-outline,
.cta-strip .btn-outline,
.dual-plaster .btn-outline,
.loyalty-banner .btn-outline,
.video-banner .btn-outline,
footer .btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #eee; }
.btn-outline-white { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: #333; }
/* size lives on .btn / .btn-sm only. Colour separates primary from secondary, so a
   row of buttons is always the same height and type size. */
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Header / Nav */
/* Login CTA — clean pill, not broken by nav link styles */
.nav-login-item {
  margin-left: 12px !important;
  list-style: none;
}
.nav-login-item > a.nav-login-btn,
a.nav-login-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: var(--accent) !important;
  color: #041018 !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 169, 224, 0.35) !important;
  white-space: nowrap !important;
  min-height: 40px !important;
  text-decoration: none !important;
}
.nav-login-item > a.nav-login-btn:hover,
a.nav-login-btn:hover {
  filter: brightness(1.08);
  color: #041018 !important;
  background: #1bb8ef !important;
}
.nav-login-btn .icon {
  width: 1.05em !important;
  height: 1.05em !important;
  background-color: #041018 !important;
  flex-shrink: 0;
}
.nav-login-btn span:not(.icon) {
  color: #041018 !important;
}
/* Mobile drawer: full-width solid CTA at bottom of menu */
@media (max-width: 768px) {
  .nav-login-item {
    margin: 16px 16px 8px !important;
    width: auto !important;
    order: 99;
  }
  .nav-login-item > a.nav-login-btn,
  a.nav-login-btn {
    width: 100% !important;
    padding: 16px 18px !important;
    font-size: 0.95rem !important;
    min-height: 48px !important;
    box-shadow: none !important;
  }
}

/* Party / birthday plans — homepage cards */
.section-plans .section-sub { max-width: 40rem; margin: .5rem auto 0; color: var(--text-muted); }
.plan-grid { align-items: stretch; }
.plan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.12); }
.plan-card-img {
  position: relative;
  aspect-ratio: 940 / 788;
  background: #111;
  overflow: hidden;
}
.plan-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.plan-badge, .pp-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 2;
}
.plan-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.plan-tag, .pp-tag {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-ink);
  margin-bottom: 6px;
  display: block;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 6px 0 10px;
}
.plan-includes {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1;
}
.plan-includes li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: .92rem;
  color: var(--text-muted);
  border-bottom: 1px solid #f0f0f0;
}
.plan-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.plan-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.plan-card-actions .btn { flex: 1 1 auto; text-align: center; }

/* Party plans page — polished layout */
.pp-hero {
  background: linear-gradient(135deg, #0b1620 0%, #123044 55%, #0a1a28 100%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
}
.pp-hero .breadcrumb { opacity: .75; }
.pp-hero .breadcrumb a { color: #fff; }
.pp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: .4rem 0 .75rem;
}
.pp-hero-lead {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  opacity: .9;
  font-size: 1.05rem;
}
.pp-jump {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pp-jump a {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}
.pp-jump a:hover { background: var(--accent); border-color: var(--accent); color: #041018; }

.pp-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.pp-pick {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.pp-pick:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,.16);
  color: inherit;
}
.pp-pick img {
  width: 100%;
  aspect-ratio: 940/788;
  object-fit: cover;
  display: block;
}
.pp-pick-body { padding: 16px 18px 18px; }
.pp-pick-body strong {
  display: block;
  font-size: 1.15rem;
  margin: 2px 0 4px;
}
.pp-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.pp-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent-ink);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pp-silver .pp-tag { color: #556275; }
.pp-gold .pp-tag { color: #946005; }
.pp-vip .pp-tag { color: #6d28d9; }

.pp-stack { display: flex; flex-direction: column; gap: 36px; max-width: 1100px; }
.pp-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pp-panel-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
}
.pp-panel-media {
  position: relative;
  background: #0b0f14;
  min-height: 100%;
}
.pp-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}
.pp-panel-info { padding: 28px 28px 24px; }
.pp-panel-info h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.pp-price-lg {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-ink);
  margin: 0 0 12px;
}
.pp-price-lg small {
  font-size: .9rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pp-blurb { color: var(--text-muted); margin: 0 0 16px; line-height: 1.55; }
.pp-panel-info h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px;
  color: var(--text-muted);
}
.pp-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.pp-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #f0f2f5;
  position: relative;
  font-size: .98rem;
}
.pp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent-ink);
  font-weight: 800;
}
.pp-book {
  border-top: 1px solid var(--border);
  background: #f7fafc;
  padding: 24px 28px 28px;
}
.pp-book-head h3 { margin: 0 0 4px; }
.pp-book-head p { margin: 0 0 16px; color: var(--text-muted); font-size: .95rem; }
.pp-book .form-box, .pp-book.form-wrap {
  max-width: none;
  margin: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.pef-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 14px;
}
.pef-full { grid-column: 1 / -1; }
.pp-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0b1620;
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
}
.pp-help h2 { margin: 0 0 8px; }
.pp-help p { margin: 0; opacity: .88; max-width: 36rem; }
.pp-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-help .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.pp-help .btn-outline:hover { background: #fff; color: #0b1620; }

/* Job listing helper block */
.job-help {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-gray);
}
.job-help h2, .job-help h3 { font-size: .95rem; margin: 0 0 10px; }
.job-help h3 + p { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.job-help ul { list-style: none; margin: 0 0 20px; padding: 0; }
.job-help li { padding: 7px 0; border-bottom: 1px solid #e6e6e6; font-size: .93rem; }
.job-help li:last-child { border-bottom: 0; }
.job-help a { color: var(--accent-ink); font-weight: 600; }
.job-help a:hover { text-decoration: underline; }
.job-help .btn { margin-top: 4px; }

/* Shared closing CTA for the shorter inner pages */
.page-cta {
  background: linear-gradient(135deg, #0b1620 0%, #123044 100%);
  color: #fff;
}
.page-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.page-cta h2 { margin-bottom: .5rem; font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.page-cta p { opacity: .88; margin: 0; max-width: 46ch; font-size: .98rem; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) {
  .page-cta-inner { flex-direction: column; align-items: flex-start; }
  .page-cta-actions { width: 100%; }
  .page-cta-actions .btn { flex: 1 1 45%; }
}

/* Staff profile pages */
.staff-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
.staff-photo {
  border-radius: 18px;
  overflow: hidden;
  background: #f0f0f0;
  aspect-ratio: 1;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-intro .team-role {
  color: var(--accent-ink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
  margin-bottom: .5rem;
}
.staff-disc { color: var(--text-muted); margin-bottom: .75rem; font-size: .95rem; }
.staff-disc strong {
  color: var(--text-dark);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .06em;
  margin-right: .4rem;
}
.staff-bio { font-size: 1.05rem; margin-bottom: 1.25rem; }
.staff-actions { justify-content: flex-start; }

.staff-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.staff-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.staff-panel h2 { font-size: 1.05rem; margin-bottom: 14px; }
.staff-list { margin: 0 0 16px; padding: 0; list-style: none; }
.staff-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: .95rem; }
.staff-list li:last-child { border-bottom: 0; }
.staff-list a { color: var(--accent-ink); font-weight: 600; }
.staff-list a:hover { color: var(--accent-deep); text-decoration: underline; }
.staff-list.ticks li { position: relative; padding-left: 26px; color: var(--text-muted); }
.staff-list.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.staff-panel .btn { margin-top: 4px; }

.staff-visit {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0b1620 0%, #123044 100%);
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 44px;
}
.staff-visit h2 { margin-bottom: 10px; }
.staff-visit p { opacity: .9; margin-bottom: 14px; }
.staff-visit .staff-list.ticks li { color: rgba(255,255,255,.85); border-bottom-color: rgba(255,255,255,.12); }
.staff-visit-actions { display: flex; flex-direction: column; gap: 10px; }
.staff-visit-actions .btn { width: 100%; }
.staff-visit .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.staff-visit .btn-outline:hover { background: #fff; color: #0b1620; }

.staff-rest h2 { font-size: 1.15rem; margin-bottom: 18px; }
.staff-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.staff-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: var(--transition);
}
.staff-mini:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.staff-mini img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.staff-mini span { display: flex; flex-direction: column; min-width: 0; }
.staff-mini strong { font-size: .92rem; line-height: 1.25; }
.staff-mini em { font-style: normal; font-size: .76rem; color: var(--text-muted); line-height: 1.3; }

@media (max-width: 720px) {
  .staff-top { grid-template-columns: 1fr; }
  .staff-photo { max-width: 260px; }
  .staff-visit { grid-template-columns: 1fr; padding: 24px; }
}

/* The brushstroke 4 from the logo, used inline inside headings */
.has-logo-four { display: inline; }
.logo-four {
  display: inline-block;
  width: auto;
  /* the brushstroke 4 is tall and thin, so it needs to run taller than the cap height
     to read at the same weight as the letters beside it - same as it does in the logo */
  height: 1.22em;
  vertical-align: -.26em;
  margin: 0 .04em;
}

/* Facebook feed */
.fb-section {
  background:
    radial-gradient(900px 340px at 12% -10%, rgba(var(--accent-rgb), .10), transparent 70%),
    var(--bg-gray);
}
.fb-feed-wrap {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  justify-content: center;
}
.fb-feed-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(11, 22, 32, .12);
  min-height: 320px;
}
.fb-feed-card .fb-page { display: block; margin: 0 auto; max-width: 100%; }
.fb-feed-card .fb-page span,
.fb-feed-card .fb-page iframe { max-width: 100% !important; }

/* skeleton, shown only while the SDK is in flight */
.fb-feed-skeleton { display: none; padding: 20px; }
.fb-feed-card.is-loading .fb-feed-skeleton { display: block; }
.fb-feed-skeleton .fb-sk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fb-feed-skeleton .fb-sk-avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.fb-feed-skeleton .fb-sk-lines { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.fb-feed-skeleton .fb-sk-lines i { height: 10px; border-radius: 5px; display: block; }
.fb-feed-skeleton .fb-sk-lines i:first-child { width: 45%; }
.fb-feed-skeleton .fb-sk-lines i:last-child { width: 28%; }
.fb-feed-skeleton .fb-sk-block { display: block; height: 200px; border-radius: 12px; margin-bottom: 16px; }
.fb-feed-skeleton .fb-sk-line { display: block; height: 11px; border-radius: 6px; margin-bottom: 10px; }
.fb-feed-skeleton .fb-sk-line.short { width: 62%; }
.fb-feed-skeleton .fb-sk-avatar,
.fb-feed-skeleton .fb-sk-lines i,
.fb-feed-skeleton .fb-sk-block,
.fb-feed-skeleton .fb-sk-line {
  background: linear-gradient(90deg, #ececec 25%, #f7f7f7 37%, #ececec 63%);
  background-size: 400% 100%;
  animation: fb-shimmer 1.4s ease infinite;
}
@keyframes fb-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) {
  .fb-feed-skeleton .fb-sk-avatar, .fb-feed-skeleton .fb-sk-lines i,
  .fb-feed-skeleton .fb-sk-block, .fb-feed-skeleton .fb-sk-line { animation: none; }
}

/* blocked by an extension, or Meta is down */
.fb-feed-card.is-unavailable .fb-page,
.fb-feed-card.is-unavailable .fb-feed-skeleton { display: none; }
.fb-feed-card.is-unavailable::after {
  content: 'Our Facebook feed could not load here. Open Facebook to see the latest posts.';
  display: block;
  padding: 48px 28px;
  color: var(--text-muted);
  font-size: .95rem;
  text-align: center;
}
.fb-feed-fallback { padding: 32px 20px; text-align: center; }
.fb-feed-fallback a { color: var(--accent-ink); font-weight: 700; }

.fb-feed-side {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(11, 22, 32, .10);
}
.fb-side-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  margin-bottom: 14px;
}
.fb-side-badge .icon { width: 1.5rem; height: 1.5rem; background-color: #fff; }
.fb-feed-side h3 { margin: 0 0 10px; font-size: 1.3rem; }
.fb-feed-side p { color: var(--text-muted); margin: 0 0 20px; font-size: .98rem; }
.fb-feed-links { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fb-feed-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}
.fb-feed-links a:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), .05); transform: translateX(2px); }
.fb-feed-links .icon { width: 1.25rem; height: 1.25rem; background-color: var(--accent-ink); flex: 0 0 auto; }
.fb-feed-links a span:not(.icon) { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.fb-feed-links strong { font-size: .95rem; color: var(--text-dark); }
.fb-feed-links em { font-style: normal; font-size: .8rem; color: var(--text-muted); }
.fb-feed-actions { justify-content: flex-start; }

@media (max-width: 900px) {
  .fb-feed-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .pp-picks { grid-template-columns: 1fr; margin-top: 0; }
  .pp-panel-top { grid-template-columns: 1fr; }
  .pef-grid { grid-template-columns: 1fr; }
  .fb-feed-wrap { grid-template-columns: 1fr; }
}

/* Cafe menu callout */
.cafe-menu-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #0b1c28, #123044);
  color: #fff;
  border-radius: var(--radius, 12px);
  padding: 28px;
  border: 1px solid rgba(0,169,224,.35);
}
.cafe-menu-card h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); }
.cafe-menu-card p { margin: 0 0 16px; opacity: .92; max-width: 48ch; }
.cafe-menu-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cafe-menu-visual {
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 12px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  padding: 20px;
}
.cafe-menu-visual .icon { width: 2.5rem; height: 2.5rem; color: var(--accent); }
@media (max-width: 768px) {
  .cafe-menu-card { grid-template-columns: 1fr; }
}
header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 16px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.logo-img { display: flex; align-items: center; }
.logo-img img {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}
footer .logo-img img { height: 42px; max-width: 150px; filter: brightness(1.05); }
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
}
.nav-links > li { position: relative; margin-left: 14px; }
.nav-links > li > a {
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 8px 4px;
  display: block;
}
.nav-links a:hover { color: var(--accent); }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-dark);
  box-shadow: var(--shadow);
  z-index: 100;
  border: 1px solid var(--border-dark);
}
.dropdown-content a {
  display: block;
  padding: 11px 16px;
  font-size: .85rem;
  border-bottom: 1px solid #2a2a2a;
  text-transform: none;
  font-weight: 500;
}
.dropdown-content a:hover { background: #222; color: var(--accent); }
.dropdown:hover .dropdown-content { display: block; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* Hero / banners */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #111 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.75) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 40px 20px; }
.hero-content h1,
.hero-content h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 1rem;
  text-shadow: 2px 4px 12px rgba(0,0,0,.5);
}
.hero-content p { font-size: 1.15rem; margin-bottom: 1.75rem; opacity: .95; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-slide { min-height: inherit; }
.page-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}
.page-hero.with-photo {
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0 70px;
}
.page-hero.with-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72));
}
.page-hero.with-photo .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-hero p { opacity: .85; max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; opacity: .7; margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--accent); }

/* Partner logos strip */
.partners {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.partners-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
}
.partner-logo {
  height: 56px;
  width: 130px;
  flex: 0 0 auto;
  background: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  padding: 4px 8px;
  opacity: .9;
  transition: var(--transition);
}
.partner-logo:hover { opacity: 1; transform: scale(1.04); }
.partner-logo img {
  max-height: 48px;
  max-width: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Full colour logos — no grayscale / invert */
  filter: none !important;
  opacity: 1;
}
.partner-logo:hover img { filter: none !important; transform: scale(1.05); }

/* Infinite partner marquee */
.partners.partners-marquee {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  border-bottom: 1px solid #e2eef6;
  border-top: 1px solid #e2eef6;
  padding: 22px 0;
  overflow: hidden;
}
.partners-marquee-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners.partners-marquee .partners-track {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start !important;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  animation: partners-marquee-scroll 36s linear infinite;
  will-change: transform;
}
.partners.partners-marquee .partners-set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  flex: 0 0 auto;
}
.partners.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}
@keyframes partners-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.partners.partners-marquee .partner-logo img {
  filter: none !important;
  opacity: 1;
}
.partners.dark-strip {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  border-bottom: 1px solid #e2eef6;
  border-top: 1px solid #e2eef6;
}
.partners.dark-strip .partner-logo img {
  filter: none !important;
  opacity: 1;
}
.partners.dark-strip .partner-logo:hover img {
  filter: none !important;
}
/* Footer partner row — colour on light band */
.footer-partners {
  background: #fff;
  padding: 28px 0 8px;
  border-top: 1px solid #e5e5e5;
}
.footer-partners .partners-track {
  justify-content: center;
  gap: 28px 36px;
  flex-wrap: wrap;
}
.footer-partners .partner-logo img {
  filter: none !important;
  max-height: 40px;
}
.footer-join-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-join-stack .btn { min-height: 36px; padding: 8px 12px; font-size: .75rem; }
/* .btn-dark is --primary on a --primary footer — the Gym & Swim button was an
   invisible box. It is the flagship offer, so give it the white treatment. */
footer .btn-dark {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}
footer .btn-dark:hover { background: #e6f7fd; border-color: #e6f7fd; color: var(--primary); }

.footer-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  align-items: center;
}
.footer-credits__agency {
  color: #aaa;
  font-size: .85rem;
}
.footer-credits__agency strong { color: #fff; font-weight: 700; }
.footer-credits__agency:hover { color: var(--accent); }
.footer-credits__agency:hover strong { color: var(--accent); }

@media (min-width: 768px) {
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .footer-credits { justify-content: flex-end; }
}

/* Feature banners (dual membership, evolt, aquatic) */
.feature-banner {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.feature-banner.dark { background: var(--bg-dark); color: #fff; }
.feature-banner.blue {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #0ea5e9 100%);
  color: #fff;
}
.feature-banner.red,
.feature-banner.sky {
  background: linear-gradient(135deg, #0a0a0a 0%, #0077a3 50%, #00a9e0 100%);
  color: #fff;
}
.feature-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-inner.reverse { direction: rtl; }
.feature-inner.reverse > * { direction: ltr; }
.img-placeholder {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border: 1px dashed #555;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #999;
  font-size: .8rem;
  position: relative;
  overflow: hidden;
}
.img-placeholder.square { aspect-ratio: 1; }
.img-placeholder.portrait { aspect-ratio: 3/4; }
.img-placeholder .ph-icon { font-size: 2.5rem; margin-bottom: 8px; opacity: .5; }
.img-placeholder .ph-label { font-weight: 600; color: #bbb; margin-bottom: 4px; text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; }
.img-placeholder .ph-file { font-family: monospace; font-size: .7rem; color: #777; }
.img-real {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/10;
}
.img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-real.contain {
  background: #f4f4f4;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.img-real.contain img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.equip-card .card-img.has-photo,
.card-img.has-photo {
  padding: 0;
  background: #f0f0f0;
}
.equip-card .card-img.has-photo img,
.card-img.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.card-img.has-photo { position: relative; }
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  background: #111;
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  font-size: .9rem;
  animation: toastIn .25s ease;
  pointer-events: auto;
}
.toast.success { border-left-color: #22c55e; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero.with-photo {
  background-size: cover;
  background-position: center;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-dark { background: var(--bg-card); color: #fff; }
.card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #333, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: .75rem;
  text-align: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.card-img .ph-icon { font-size: 2rem; opacity: .4; }
.card-img.has-photo {
  padding: 0;
  background: #1a1a1a;
}
.card-img.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-img.has-photo img { transform: scale(1.05); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-ink);
  font-weight: 700;
  margin-bottom: 6px;
}
.card-title { font-size: 1.1rem; margin-bottom: 8px; }
.card-title a:hover { color: var(--accent-ink); }
.card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-ink);
  margin-bottom: 14px;
  font-weight: 700;
}
.card-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }
.card-body .btn { margin-top: auto; }

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.price-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.price-card .badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--on-accent);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card h2, .price-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-ink);
  margin: 12px 0 4px;
}
.price-card .price-note { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }
.price-card .desc { font-size: .9rem; margin-bottom: 20px; color: #555; min-height: 60px; }
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.price-tab {
  padding: 10px 18px;
  border: 2px solid var(--border);
  background: #fff;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  transition: var(--transition);
}
.price-tab:hover, .price-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.price-panel { display: none; }
.price-panel.active { display: block; }

/* Schedule table */
.schedule-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* The timetable is wider than a phone and scrolls inside its own box. Say so,
   and make the box focusable so it can be scrolled from the keyboard too. */
.schedule-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.scroll-hint { display: none; font-size: .85rem; margin-bottom: 12px; }
@media (max-width: 768px) { .scroll-hint { display: block; } }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .9rem;
}
.schedule-table th,
.schedule-table td {
  border: 1px solid var(--border);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
}
.schedule-table th {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .04em;
}
.schedule-table tr:nth-child(even) { background: #fafafa; }
.schedule-table .time-col {
  font-weight: 700;
  background: var(--bg-gray);
  white-space: nowrap;
  width: 90px;
}
.schedule-table .class-cell {
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
}
.schedule-table .class-cell a { color: var(--accent-ink); }
.schedule-table .class-cell a:hover { text-decoration: underline; }
.schedule-section-label {
  background: var(--accent) !important;
  color: var(--on-accent) !important;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
}

/* Team */
.team-card { text-align: center; }
.team-card .card-img { aspect-ratio: 1; border-radius: 50%; width: 160px; height: 160px; margin: 24px auto 0; overflow: hidden; }
.team-card .card-body { padding-top: 16px; }
.team-role { color: var(--accent-ink); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* Forms */
.form-box {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}
.form-box.dark {
  background: var(--bg-card);
  color: #fff;
}
.form-box.dark .form-control {
  background: #222;
  border-color: #444;
  color: #fff;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-success, .form-error {
  display: none;
  padding: 14px 16px;
  margin-top: 14px;
  border-radius: var(--radius);
  font-weight: 500;
}
.form-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.form-success.show, .form-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loyalty-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #12303f 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.loyalty-banner h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
.faq-q:hover { background: var(--bg-gray); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent-ink); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: #555;
  font-size: .95rem;
}
.faq-item.open .faq-a { display: block; }

/* Etiquette list */
.rules-list { max-width: 800px; margin: 0 auto; }
.rules-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.rules-list .num {
  background: var(--accent);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.rules-list strong { display: block; margin-bottom: 2px; }

/* Equipment */
.equip-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.equip-tab {
  padding: 12px 24px;
  background: var(--bg-gray);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition);
}
.equip-tab.active, .equip-tab:hover {
  background: var(--accent);
  color: #fff;
}
.equip-panel { display: none; }
.equip-panel.active { display: block; }
.equip-card .card-img { aspect-ratio: 1; }

/* Blog */
.blog-card .card-img { aspect-ratio: 16/9; }
.post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.post-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 2rem; }

/* Jobs / careers */
.job-filters {
  max-width: 100%;
  margin: 0 0 28px;
  padding: 20px 22px;
}
.job-filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.job-filters-actions { display: flex; align-items: end; padding-bottom: 2px; }
.job-count {
  display: inline-block;
  margin-left: .35rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), .12);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: .85rem;
}
.jobs-list { display: flex; flex-direction: column; gap: 14px; }
.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 0;
  transition: var(--transition);
}
.job-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.job-card-body { flex: 1 1 280px; min-width: 0; }
.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.job-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-gray);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--text-muted);
}
.job-badge .icon { width: .95em; height: .95em; }
.job-badge.role { background: rgba(var(--accent-rgb), .12); color: var(--accent-ink); }
.job-badge.type { background: #111; color: #fff; }
.job-card-title {
  font-size: 1.15rem;
  margin: 0 0 6px;
  line-height: 1.3;
}
.job-card-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 52ch;
}
.job-apply { white-space: nowrap; }
.job-loc { font-size: .85rem; color: var(--text-muted); }
.job-type {
  display: inline-block;
  background: var(--bg-gray);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 6px;
}
.careers-perks { gap: 20px; }
.perk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.04));
}
.perk-card .icon {
  width: 2rem;
  height: 2rem;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.perk-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.perk-card p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.careers-cta {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.careers-cta h3 { margin-bottom: 8px; }
.careers-cta p { color: var(--text-muted); margin-bottom: 16px; }
.jobs-empty { padding: 32px 16px; color: var(--text-muted); }
.section-sub { color: var(--text-muted); margin-top: 6px; }
.hero-lead { max-width: 52ch; margin: 8px auto 0; opacity: .95; }
.page-hero .hero-lead { margin-left: 0; }
.req { color: var(--accent-ink); font-weight: 700; }
.form-hint {
  display: block;
  margin-top: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}
.form-box .btn-block { margin-top: 4px; }
.contact-info-box h3 { text-transform: capitalize; }

/* Video / media (legacy class kept for safety) */
.video-ph {
  background: #000;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.video-ph .play {
  width: 64px; height: 64px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  opacity: .9;
}
.video-ph .v-title { font-weight: 600; padding: 0 20px; text-align: center; }

/* Dark team cards readable on white pages */
.team-card .card-img.has-photo {
  border: 3px solid rgba(var(--accent-rgb), .35);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-box h3 { margin-bottom: 1rem; }
.contact-info-box p, .contact-info-box a { display: block; margin-bottom: 8px; }
.contact-info-box a:hover { color: var(--accent); }
.map-embed {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-gray);
  margin-top: 24px;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, #041018 0%, #0a3a52 45%, #0077a3 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-strip h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-strip p { opacity: 1; }

/* Footer */
footer {
  background: var(--primary);
  color: #ccc;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}
.footer-heading {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
/* Footer links are the densest tap targets on the site. Inline text sits at
   ~17px tall on a phone, under the 24px minimum, so the padding here is the
   hit area rather than decoration — the list rhythm is unchanged. */
.footer-links li { margin-bottom: 2px; }
.footer-links a { font-size: .9rem; display: inline-block; padding: 4px 0; min-height: 24px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-brand p > a { display: inline-block; padding: 4px 0; min-height: 24px; }
.footer-brand p { font-size: .9rem; margin-bottom: 8px; }
.footer-brand a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: .85rem;
  color: #888;
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--accent); }
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }
  .footer-bottom .payment-icons { margin-top: 0; width: 100%; }
}
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.payment-icons span {
  background: #222;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  color: #aaa;
}

/* Section headings */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--text-muted); }
.section-dark .section-header p { color: #aaa; }
.view-all {
  display: inline-block;
  margin-top: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.view-all:hover { opacity: .8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

/* Highlight boxes */
/* Checklist used on membership feature blocks */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
}
.advantage-card .card-img { aspect-ratio: 16/10; }
.section-dark .step { color: #fff; }
.section-dark .step p { color: #ccc; }

.highlight-box {
  background: var(--bg-gray);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Responsive */
@media (max-width: 992px) {
  .feature-inner, .feature-inner.reverse,
  .contact-grid { grid-template-columns: 1fr; }
  .feature-inner.reverse { direction: ltr; }
  .nav-links > li > a { font-size: .72rem; }
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 24px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    border-top: 1px solid #333;
  }
  .nav-links.active { display: flex; }
  .nav-links > li { margin: 0; }
  .nav-links > li > a {
    padding: 12px 24px;
    font-size: .9rem;
    border-bottom: 1px solid #222;
  }
  .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: #1a1a1a;
  }
  .dropdown.active .dropdown-content { display: block; }
  .dropdown-content a { padding-left: 40px; }
  .hero { min-height: 55vh; }
  .form-row { grid-template-columns: 1fr; }
  .job-filters-grid { grid-template-columns: 1fr; }
  .job-filters-actions { width: 100%; }
  .job-filters-actions .btn { width: 100%; }
}
