﻿/* Australian Warrior Fitness - refined redesign v2 */
:root {
  --bg: #07080c;
  --bg-2: #0e1118;
  --surface: #141922;
  --surface-2: #1a2030;
  --text: #f5f6f8;
  --muted: #a0a8b8;
  --line: rgba(255, 255, 255, 0.1);
  --orange: #ff6508;
  --orange-hot: #ff7d2e;
  --lime: #ff7d2e;
  --paper: #f4f1ea;
  --ink: #12141a;
  --header: 108px;
  --max: 1180px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --font: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  overflow-x: clip;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .btn, .nav-links, .brand-text, .eyebrow, .kicker, .nav-cta {
  font-family: var(--display);
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--orange);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  overflow: hidden;
  animation: awf-header-shift 5s linear infinite;
  background: linear-gradient(105deg, #000 0%, #181a20 16%, #3a2a48 28%, #575d68 40%, #20242b 52%, #050608 68%, #2a1a32 84%, #111319 100%);
  background-size: 520% 100%;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  animation: awf-header-sheen 3.2s linear infinite;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 101, 8, 0.22) 25%, rgba(27, 255, 243, 0.2) 50%, rgba(255, 42, 163, 0.22) 72%, transparent 100%);
  transform: translateX(-110%);
}
.site-header .nav {
  position: relative;
  z-index: 1;
}
@keyframes awf-header-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes awf-header-sheen {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: #fff;
  min-width: 0;
}
.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(255, 101, 8, 0.22));
}
.brand-text {
  display: grid;
  gap: 2px;
  line-height: 0.98;
}
.brand-text strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-text span {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 70; /* nav-toggle-z95 */
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  place-items: center;
  margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.nav-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  flex: 0 1 auto;
  margin-left: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  max-width: none;
  width: auto;
  flex: 0 0 auto;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  white-space: normal;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.nav-links a span {
  display: block;
  line-height: 1.05;
}
.nav-links a span + span::before {
  content: none;
}
.nav-links a:hover {
  color: var(--orange-hot);
  background: rgba(255, 101, 8, 0.1);
  border-color: rgba(255, 101, 8, 0.28);
}
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 101, 8, 0.18);
  border-color: rgba(255, 101, 8, 0.55);
}
.nav-cta {
  position: static;
  flex-shrink: 0;
  margin-left: 4px;
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 10px 22px rgba(255, 101, 8, 0.3) !important;
}

/* Keep wide embeds from blowing out the fixed header */
#book-live .card,
#book .card {
  max-width: 100%;
  overflow-x: hidden;
}
#book-live iframe,
#book iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .wrap { width: min(var(--max), calc(100% - 1rem)); }
  .nav { gap: 8px; }
  .brand { gap: 12px; }
  .brand img { width: 88px; height: 88px; }
  .brand-text strong { font-size: 20px; }
  .brand-text span { font-size: 13px; letter-spacing: 0.1em; }
  .nav-panel { gap: 6px; }
  .nav-links { gap: 0; }
  .nav-links a { min-height: 42px; padding: 5px 7px; font-size: 10.5px; }
  .nav-cta { min-height: 44px !important; padding-inline: 14px !important; font-size: 11px !important; }
}
/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(255, 101, 8, 0.32);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  background: var(--orange-hot);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.btn-light:hover { background: #f0ece4; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.02);
}
.home-hero-media {
  background-position: center 30%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.78) 46%, rgba(7, 8, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 8, 12, 0.88) 0%, transparent 55%);
}
.hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--header) + 28px) 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 340px);
  gap: 28px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
}
.hero h1 {
  margin: 12px 0 14px;
  max-width: 14ch;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 900;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-lead {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.logo-strip {
  display: none; /* removed clutter from hero */
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.logo-tile img {
  width: auto;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}
.hero-meta a { color: #ffb48a; text-decoration: underline; text-underline-offset: 2px; }

/* Trust strip — sits clearly BELOW hero, never overlaps next section */
.trust-strip {
  padding: 28px 0 8px;
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}
.trust-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px 13px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-height: 0;
}
.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.trust-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Light info card - matches proven AWF pattern */
.hud {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 22px;
  padding-top: 28px;
  padding-right: 28px;
  margin-top: 72px;
  align-self: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: visible;
}
.hud-logo {
  position: absolute;
  top: -78px;
  right: 14px;
  width: 118px;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  z-index: 2;
  pointer-events: none;
}
.hud h2 {
  margin: 0 0 10px;
  padding-right: 112px;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 900;
}
.hud p {
  margin: 0;
  padding-right: 24px;
  color: #666b73;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(16, 17, 20, 0.12);
}
.stat {
  min-height: 70px;
  display: grid;
  place-content: center;
  padding: 10px;
  background: #fff;
  text-align: center;
}
.stat b {
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  font-family: var(--display);
}
.stat span {
  margin-top: 5px;
  color: #666b73;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--display);
}

/* ===== SECTIONS ===== */
.section {
  padding: 56px 0;
}
.section-band {
  background: #141418;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  padding-top: 48px;
  margin-top: 12px;
}
.section-paper {
  background: var(--paper);
  color: var(--ink);
}
.section-dark {
  background: var(--bg-2);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head h2,
.block-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
}
.section-head p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}
.section-paper .section-head p { color: #666b73; }

/* NSW Active Kids + Creative Kids — side by side */
.enrol-note {
  display: grid;
  gap: 10px;
  justify-items: start;
  max-width: min(100%, 420px);
}
.enrol-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.voucher-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 14px;
}
.voucher-logos img {
  display: block;
  width: 140px;
  height: auto;
  max-width: 46vw;
  object-fit: contain;
  background: transparent;
}
@media (max-width: 520px) {
  .voucher-logos {
    gap: 10px;
  }
  .voucher-logos img {
    width: 120px;
  }
}
.page-hero h1.hero-title-stack {
  line-height: 0.92;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Program cards */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
a.mission {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
a.mission:hover { transform: translateY(-4px); }
a.mission img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: -2;
  transition: transform 0.35s ease;
}
a.mission:hover img { transform: scale(1.05); }
a.mission::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 9, 12, 0.94), rgba(8, 9, 12, 0.12) 62%);
}
a.mission > div { padding: 24px; }
a.mission .tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-hot);
}
a.mission h3 {
  margin: 0 0 8px;
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 900;
}
a.mission p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
a.mission .go {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
a.mission .go::after { content: " ->"; color: var(--orange); }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px 40px;
  align-items: start;
}
.split-copy p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}
.section-paper .split-copy p { color: #555b66; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}
.pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section-paper .pill {
  background: #fff;
  border-color: rgba(16, 17, 20, 0.1);
  color: var(--ink);
}
.media-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: start;
  width: min(100%, 480px);
  max-width: 100%;
}
.media-frame img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  width: 100%;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* Click-to-play YouTube (more reliable than auto-embed on some hosts/file://) */
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #111 center / cover no-repeat;
  display: grid;
  place-items: center;
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
}
.video-play-btn {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  box-shadow: 0 12px 30px rgba(255, 101, 8, 0.45);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.video-poster:hover .video-play-btn {
  transform: scale(1.06);
  background: var(--orange-hot);
}
.video-play-btn::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.video-fallback {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.section-paper .video-fallback {
  color: #555b66;
}
.video-fallback a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-paper .video-fallback a {
  color: #d35400;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  padding: 22px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.section-paper .card {
  background: #fff;
  border-color: rgba(16, 17, 20, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 900;
}
.card p,
.card li {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}
.section-paper .card p,
.section-paper .card li { color: #666b73; }
.card ul { display: grid; gap: 8px; }
.card ul li {
  position: relative;
  padding-left: 14px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* Page hero - strong scrim so text stays readable on busy photos */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + 28px) 0 40px;
  background: #000;
}
.page-hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: none;
  transform: none;
  background-size: cover;
  background-position: center 30%;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Left text readable; right photo stays bright (Mikel 12 Sep) */
  background:
    linear-gradient(95deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 28%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.12) 68%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}
.page-hero-inner > * {
  max-width: 720px;
}
.page-hero-inner .hero-actions {
  max-width: none;
}
.page-hero .kicker,
.page-hero .hero-lead,
.page-hero h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.page-hero h1 {
  margin: 12px 0 14px;
  max-width: none;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
}
.page-hero .hero-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  line-height: 1.55;
}
.page-hero .btn-ghost {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}
.page-hero .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.5);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.crumbs a { color: var(--orange-hot); }

/* Forms */
.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  align-items: start;
}
.form-panel {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(16, 17, 20, 0.1);
  box-shadow: var(--shadow);
}
.form-panel-head {
  padding: 20px 22px;
  background: var(--ink);
  color: #fff;
}
.form-panel-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 900;
}
.form-panel-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}
.form-panel-body { padding: 20px 22px 22px; }
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.field > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field .req { color: var(--orange); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(16, 17, 20, 0.14);
  background: #faf9f6;
  color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
  background: #fff;
}
.field-hint {
  margin: 0 0 8px;
  color: #666b73;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}
.field-error {
  margin: 6px 0 0;
  color: #c62828;
  font-size: 11px;
  font-weight: 700;
}

/* Compact multi-class picker */
.class-field > span,
.class-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.class-picker-head > span:first-child {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.class-count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 101, 8, 0.12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}
.class-picker {
  border: 1px solid rgba(16, 17, 20, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.class-day-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 6px;
  overflow-x: auto;
  background: #f3f1ec;
  border-bottom: 1px solid rgba(16, 17, 20, 0.08);
  scrollbar-width: thin;
}
.class-day-tab {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #555b66;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.class-day-tab:hover { background: rgba(16, 17, 20, 0.06); }
.class-day-tab.is-active {
  background: var(--ink);
  color: #fff;
}
.class-picker-list {
  max-height: 250px;
  overflow: auto;
  padding: 4px 0;
  scrollbar-width: thin;
}
.class-day-group { padding: 0 0 2px; }
.class-day-group[hidden] { display: none !important; }
.class-day-label {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 5px 10px 3px;
  background: linear-gradient(#fff 70%, rgba(255, 255, 255, 0.9));
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.check-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 10px;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.12s ease;
}
.check-row:hover { background: #faf8f4; }
.check-row:has(input:checked) {
  background: #fff6ef;
  border-left-color: var(--orange);
}
.check-row input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--orange);
}
.check-name {
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.check-meta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #7a8190;
  white-space: nowrap;
}
.class-selected-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 8px;
  border-top: 1px solid rgba(16, 17, 20, 0.08);
  background: #f7f5f0;
}
.class-selected-label {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666b73;
}
.class-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.class-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(255, 101, 8, 0.28);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.class-clear-btn {
  flex-shrink: 0;
  min-height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #666b73;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.class-clear-btn:hover {
  background: rgba(16, 17, 20, 0.06);
  color: var(--ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.aside-sticky {
  position: sticky;
  top: calc(var(--header) + 16px);
  display: grid;
  gap: 12px;
}
.side-card {
  padding: 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.side-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 900;
}
.side-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.side-card a {
  color: var(--orange-hot);
  font-weight: 800;
}

/* Schedule */
.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.schedule .card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 900;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 10px;
}
.enrol-main {
  display: grid;
  gap: 12px;
  align-content: start;
}
.gallery-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
.enrol-main .gallery {
  margin-top: 0;
  margin-bottom: 0;
}
.enrol-main .card {
  margin-bottom: 0 !important;
}


/* CTA */
.cta-band {
  padding: 56px 0;
  background: var(--orange);
  color: #fff;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.05;
}
.cta-band p {
  margin: 0;
  max-width: 480px;
  font-weight: 700;
  font-size: 16px;
}
.cta-band .btn {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

/* Footer */
.site-footer {
  padding: 48px 0 20px;
  background: #05060a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}
.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}
.site-footer a:hover { color: var(--orange-hot); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
}

.reveal { opacity: 1; transform: none; }

@media (min-width: 861px) and (max-width: 1180px) {
  :root { --header: 96px; }
  .wrap { width: min(var(--max), calc(100% - 0.75rem)); }
  .nav { gap: 8px; }
  .brand { gap: 10px; }
  .brand img { width: 78px; height: 78px; }
  .brand-text strong { font-size: 18px; }
  .brand-text span { font-size: 12px; }
  .nav-links a { min-height: 40px; padding: 4px 6px; font-size: 10px; }
  .nav-cta { min-height: 42px !important; padding-inline: 12px !important; font-size: 11px !important; }
}
/* Responsive */
@media (max-width: 860px) {
  :root { --header: 88px; }
  .nav-toggle { display: grid; }
  .brand { min-width: 0; }
  .brand img { width: 64px; height: 64px; }
  .brand-text strong { font-size: 16px; }
  .brand-text span { font-size: 11px; }
  .nav-panel {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    z-index: 60;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    background: rgba(7, 8, 12, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: calc(100dvh - var(--header));
    overflow: auto;
    box-sizing: border-box;
  }
  body.nav-open .nav-panel {
    display: flex !important;
  }
  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    max-width: none;
    gap: 6px;
  }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: normal;
  }
  .nav-links a span { display: inline; }
  .nav-cta {
    position: static;
    right: auto;
    width: 100%;
    min-height: 48px !important;
    border-radius: 999px !important;
  }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-strip { padding-top: 20px; }
}
@media (max-width: 900px) {
  .hero-inner,
  .split,
  .mission-grid,
  .card-grid,
  .form-shell,
  .schedule,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: start; }
  .hero { min-height: auto; }
  .hud { margin-top: 8px; }
  .hero h1 { max-width: none; }
  .aside-sticky { position: static; }
  .hud-logo { width: 96px; top: -64px; right: 12px; }
  .hud { margin-top: 56px; padding-top: 24px; }
  .hud h2 { padding-right: 96px; }
  .trust-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --header: 82px; }
  .brand img { width: 58px; height: 58px; }
  .brand-text strong { font-size: 15px; }
  .brand-text span { font-size: 11px; }
  .nav-links { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr 1fr; }
  a.mission { min-height: 320px; }
  .trust-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* free-trial Goldilocks tight+bold — Mikel 10 Sep */
section#free-trial.section {
  padding-top: 1.25rem !important;
  padding-bottom: 1.5rem !important;
}
section#free-trial .wrap {
  padding-left: 16px !important;
  padding-right: 16px !important;
  max-width: 1180px !important;
}
section#free-trial .wrap.split,
section#free-trial .wrap.split.free-trial-split {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) !important;
  align-items: center !important;
  gap: 18px 24px !important;
}
section#free-trial .media-frame,
section#free-trial .media-frame-large {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  max-height: 440px !important;
  min-height: 320px !important;
  align-self: center !important;
  background: #0a0b0e !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  margin: 0 !important;
}
section#free-trial .media-frame img,
section#free-trial .media-frame-large img,
.media-frame.media-frame-large img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 42% !important;
  display: block !important;
}
section#free-trial .split-copy {
  padding: 0 !important;
  margin: 0 !important;
}
section#free-trial .split-copy .eyebrow {
  color: var(--orange) !important;
  font-family: Montserrat, Inter, system-ui, sans-serif !important;
  font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  margin: 0 0 0.55rem !important;
}
section#free-trial .split-copy h2 {
  color: #fff !important;
  font-family: Montserrat, Inter, system-ui, sans-serif !important;
  font-size: clamp(1.85rem, 3.6vw, 3rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  line-height: 0.98 !important;
  margin: 0 0 0.85rem !important;
  max-width: 14ch;
}
section#free-trial .split-copy p {
  margin: 0 0 1rem !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
section#free-trial .hero-actions {
  margin-top: 0.75rem !important;
  gap: 0.55rem !important;
}
@media (max-width: 900px) {
  section#free-trial .wrap.split,
  section#free-trial .wrap.split.free-trial-split {
    grid-template-columns: 1fr !important;
  }
  section#free-trial .media-frame,
  section#free-trial .media-frame-large {
    max-height: 380px !important;
    min-height: 280px !important;
  }
  section#free-trial .split-copy h2 {
    max-width: none;
  }
}

/* competitions hero — Alexa further right, softer bright (Mikel 12 Sep) */
.page-hero.competitions-hero {
  min-height: min(72vh, 640px);
  padding-bottom: 48px;
}
.page-hero.competitions-hero .competitions-hero-media,
.page-hero.competitions-hero .hero-media.competitions-hero-media {
  background-size: cover;
  background-position: 92% 40%;
  background-repeat: no-repeat;
  transform: none;
  filter: brightness(1.05) contrast(1.02);
}
/* Match sitewide left-dark / right-bright; no second dark overlay */
.page-hero.competitions-hero::before {
  background:
    linear-gradient(95deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.68) 26%, rgba(0, 0, 0, 0.28) 50%, rgba(0, 0, 0, 0.08) 72%, transparent 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0%, transparent 45%);
}
.page-hero.competitions-hero::after {
  content: none;
  display: none;
}
.page-hero.competitions-hero .page-hero-inner,
.page-hero.competitions-hero .hero-grid {
  position: relative;
  z-index: 2;
}
.page-hero.competitions-hero h1 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.page-hero.competitions-hero .hero-lead {
  max-width: 36rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
@media (max-width: 720px) {
  .page-hero.competitions-hero {
    min-height: 52vh;
  }
  .page-hero.competitions-hero .competitions-hero-media {
    background-position: 96% 42%;
  }
}


/* Julie INBOX_94 — days+times orange bold; orange dot by time; class under time non-bold */
.schedule .card > strong {
  color: var(--orange);
  font-weight: 900;
}
.schedule .card ul.schedule-lines {
  display: grid;
  gap: 12px;
  margin-top: 0.65rem;
}
.schedule .card ul.schedule-lines li {
  position: relative;
  padding-left: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
  list-style: none;
}
.schedule .card ul.schedule-lines li::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.schedule .card ul.schedule-lines .sched-time {
  display: block;
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 2px;
}
.schedule .card ul.schedule-lines .sched-class {
  display: block;
  color: #fff;
  font-weight: 400;
  padding-left: 0;
  margin-left: 0;
}
.pricing-extras {
  margin-top: 1rem;
  border: 2px solid var(--orange);
  background: #fff7f0;
}
.pricing-extras h3 {
  margin: 0 0 0.65rem;
  font-weight: 800;
  color: var(--ink);
}
.pricing-extras li {
  font-weight: 700;
  color: var(--ink);
}


/* Mikel 12 Sep — page hero title stacks + per-page photo framing */
.page-hero h1.hero-title-stack {
  line-height: 0.92;
}
.page-hero.kids-parties-hero .hero-media {
  /* Original photo, same cover scale. Slide RIGHT so 1ST podium clears text. Heads at top. */
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-position: center top !important;
  background-size: cover !important;
  filter: none !important;
  transform: translateX(18%) !important;
}
.page-hero.about-us-hero .hero-media {
  background-position: center 35%;
}
.page-hero.contact-us-hero .hero-media {
  background-position: center 32%;
}
.page-hero.gallery-hero .hero-media {
  background-position: center 30%;
}
.page-hero.book-a-kids-party-hero .hero-media {
  background-position: 40% 35%;
}
.page-hero.term-classes-hero .hero-media {
  background-position: center 30%;
}
.page-hero.school-holidays-hero .hero-media.school-holidays-hero-media,
.page-hero.school-holidays-hero .hero-media {
  background-position: center 42%;
  background-size: cover;
}



/* Julie INBOX_95 — mobile hamburger; breakpoint locked to 860px with site.js */
@media (max-width: 860px) {
  .nav-toggle {
    display: grid !important;
    pointer-events: auto;
  }
  body.nav-open .nav-panel,
  body.nav-open .nav-panel[hidden] {
    display: flex !important;
  }
}



/* Mobile hamburger: header backdrop-filter + overflow:hidden was clipping fixed .nav-panel */
@media (max-width: 860px) {
  .site-header {
    overflow: visible;
  }
  body.nav-open .site-header {
    overflow: visible;
  }
  .nav-panel {
    z-index: 80;
  }
  .nav-toggle {
    z-index: 90;
  }
}

/* CTA band: ghost buttons must stay readable on white btn background */
.cta-band .btn-ghost {
  color: #12141a !important;
  border-color: rgba(18, 20, 26, 0.35) !important;
  background: #fff;
}
.cta-band .btn-ghost:hover {
  color: #000 !important;
  border-color: rgba(18, 20, 26, 0.55) !important;
}
