:root {
  --brand-50: #eef5ff;
  --brand-100: #dbe9ff;
  --brand-200: #b8d3ff;
  --brand-300: #85b3ff;
  --brand-400: #4a89ff;
  --brand-500: #1e6fd9;
  --brand-600: #1558b0;
  --brand-700: #12468c;
  --brand-800: #123a70;
  --brand-900: #0f172a;
  --brand-950: #0b1220;
  --accent: #3fc6ff;
  --accent-soft: #a9e4ff;
  --ink: #1c2740;
  --ink-soft: #4a5876;
  --surface: #ffffff;
  --surface-tint: #f5f8fe;
  --border: #e3e9f5;
  --success: #16a34a;
  --error: #dc2626;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -15px rgba(11, 18, 32, 0.25);
  --shadow-sm: 0 8px 20px -8px rgba(11, 18, 32, 0.15);
  --font-sans: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", var(--font-sans);
  color-scheme: light;
}

/* This site commits to a single, deliberately-designed light blue-and-white
   theme rather than following the OS dark-mode preference. A previous
   auto-dark-mode block left several fixed (non-token) colors - heading text,
   the batch-timing pills - unreadable against the dark surface it produced,
   since they were never designed against it. One theme, fully tested, with
   no partially-covered second theme to regress into. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-900);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand-logo { height: 34px; width: auto; display: block; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.4px; }
.brand-sub { font-size: 10px; letter-spacing: 3px; color: var(--accent-soft); font-weight: 600; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: #fff; }

.nav-cta {
  background: #ffffff;
  color: var(--brand-700) !important;
  font-weight: 700 !important;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--brand-50); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(63, 198, 255, 0.28), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(74, 137, 255, 0.25), transparent 45%),
    linear-gradient(160deg, #00142e 0%, var(--brand-900) 45%, var(--brand-700) 100%);
  color: #fff;
  padding: 96px 0 84px;
  text-align: center;
  overflow: hidden;
}
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-canvas-wrap canvas { display: block; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.eyebrow {
  color: var(--accent-soft);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-tagline {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(30, 111, 217, 0.55);
}
.btn-white {
  background: #ffffff;
  color: var(--brand-700);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
}
.btn-white:hover { background: var(--brand-50); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--brand-600);
  border: 1.5px solid var(--brand-300);
}
.btn-outline:hover { background: var(--brand-50); }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--surface-tint); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
  color: var(--brand-900);
}
.section-sub {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 48px;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600);
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--brand-900); }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-copy p { color: var(--ink-soft); line-height: 1.7; font-size: 15.5px; margin: 0 0 18px; }
.link-arrow { color: var(--brand-600); font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

.about-stat-card {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.stat { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.quote {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-style: italic;
  font-weight: 600;
  color: var(--accent-soft);
}

/* ---------- Programs ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.program-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.program-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-600);
  margin-bottom: 14px;
}
.program-card-featured .program-icon { background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); color: #fff; }
.program-icon svg { width: 24px; height: 24px; }
.program-card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--brand-900); }
.program-sessions { margin: 0 0 18px; color: var(--ink-soft); font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.program-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.program-price span { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--brand-700); }
.program-price small { color: var(--ink-soft); font-size: 13px; }
.program-price-alt { color: var(--ink-soft); font-size: 13px; margin-bottom: 18px; }
.program-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0 0 24px; flex-grow: 1; }

.program-card-featured {
  border: 2px solid var(--brand-400);
  transform: scale(1.02);
  box-shadow: 0 20px 40px -12px rgba(30, 111, 217, 0.35);
}
.program-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -4px rgba(30, 111, 217, 0.6);
}
.programs-note {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Schedule ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.schedule-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.schedule-col:hover {
  border-color: var(--brand-200);
  box-shadow: 0 16px 32px -14px rgba(30, 111, 217, 0.25);
}
.schedule-col h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--brand-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.schedule-col h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-400);
  flex-shrink: 0;
}
.schedule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.schedule-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--brand-900);
  background: var(--brand-50);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.schedule-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--brand-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.schedule-list li:hover {
  background: var(--brand-100);
  border-color: var(--brand-300);
  transform: translateX(2px);
}

/* ---------- Coaches ---------- */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.coach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.coach-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  box-shadow: 0 10px 22px -8px rgba(30, 111, 217, 0.5);
}
.coach-card.is-placeholder .coach-avatar {
  background: var(--surface-tint);
  color: var(--brand-300);
  border: 2px dashed var(--border);
  box-shadow: none;
}
.coach-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--brand-900); }
.coach-role { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--brand-600); text-transform: uppercase; letter-spacing: 0.4px; }
.coach-card p.coach-bio { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.coach-badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-tint);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(11, 18, 32, 0.78), transparent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.gallery-item.is-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.gallery-item.is-placeholder:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.gallery-placeholder-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  color: var(--brand-500);
}
.gallery-placeholder-icon svg { width: 28px; height: 28px; }
.gallery-item.is-placeholder .gallery-placeholder-label { font-size: 13px; font-weight: 700; color: var(--brand-600); }
.gallery-item.is-placeholder .gallery-placeholder-note { font-size: 11.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 18px 22px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brand-900);
}
.faq-question-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-600);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[data-open="true"] .faq-question-icon {
  transform: rotate(45deg);
  background: var(--brand-500);
  color: #fff;
}
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-item[data-open="true"] .faq-answer-wrap { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-section { background: var(--surface-tint); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--ink); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--brand-600); }
.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-100);
  color: var(--brand-700);
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-hours {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.contact-hours h3 { margin: 0 0 12px; font-size: 15px; color: var(--brand-800); }
.contact-hours dl { margin: 0; display: grid; gap: 8px; }
.contact-hours .hours-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.contact-hours dt { color: var(--ink-soft); font-weight: 600; }
.contact-hours dd { margin: 0; color: var(--ink); font-weight: 700; }

.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
}
.enquiry-form h3 { margin: 0 0 22px; font-size: 20px; font-weight: 700; color: var(--brand-900); }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row input[type="number"],
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15);
}
.form-row textarea { resize: vertical; }
.form-row input.field-invalid,
.form-row textarea.field-invalid { border-color: var(--error); }
.field-error {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--error);
}

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-soft);
  margin-bottom: 0 !important;
}
.radio-pill:has(input:checked) {
  border-color: var(--brand-500);
  background: var(--brand-50);
  color: var(--brand-700);
}
.radio-pill input { accent-color: var(--brand-500); }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.checkbox-row input { margin-top: 3px; accent-color: var(--brand-500); flex-shrink: 0; }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }
.form-status.loading { color: var(--ink-soft); }

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: calc(100vw - 32px);
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  box-shadow: 0 16px 32px -10px rgba(11, 18, 32, 0.45);
  animation: toast-in 0.25s ease;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast.toast-success { background: var(--success); }
.toast.toast-error { background: var(--error); }
.toast-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.toast-close:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 44px 0 28px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.footer-tagline { font-size: 12px; color: var(--accent-soft); margin-top: 2px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-copy { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13.5px; }
}

@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-stat-card { order: -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    /* height (not bottom: 0) because .site-header's backdrop-filter makes it
       the containing block for fixed descendants in modern browsers - vh
       units stay viewport-relative regardless, so this sizes correctly. */
    height: calc(100vh - 72px);
    background: rgba(11, 18, 32, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 18px; width: 100%; }
  .nav-cta { width: 100%; text-align: center; }

  .hero { padding: 72px 0 56px; }
  .section { padding: 64px 0; }
  .form-row-split { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .toast-stack { top: 12px; right: 12px; left: 12px; }
  .toast { min-width: 0; max-width: none; width: 100%; }
}
