@charset "UTF-8";

:root {
  /* Core canvas — deep navy → royal blue */
  --ink: #060f2e;
  --ink-2: #0a1a45;
  --navy: #0d2159;
  --navy-2: #143080;
  --blue: #1e4bc4;
  --blue-bright: #2f6fd6;
  --blue-glow: #4b8bff;

  /* Sampled directly from the logo artwork's background, so the header reads
     as one piece with the badge instead of a slightly-off shade of navy */
  --logo-navy: #092242;

  --cream: #f6f2e4;
  --mute: #93a3c4;
  --line: rgba(140, 170, 235, 0.18);

  /* Gold accents */
  --gold: #ffc40a;
  --gold-light: #ffe89a;
  --gold-deep: #e59700;

  /* Light sections */
  --paper: #eef2f9;
  --white: #fff;
  --body: #3b4552;


  --display: 'Barlow Condensed', sans-serif;
  --sans: 'Barlow', sans-serif;

  /* Height of the announcement marquee — the sticky header stacks below it */
  --topstrip-h: 44px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: 0.01em;
  font-weight: 700;
}

h1 { font-size: 4rem; line-height: 0.98; margin-bottom: 1rem; letter-spacing: -0.01em; }
h2 { font-size: 2.6rem; line-height: 1.05; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: uppercase; }
h4 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; }

p { margin-bottom: 1rem; }

a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }

/* Buttons — outlined pill, no filled default */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1.9rem;
  border-radius: 100px;
  cursor: pointer;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }

.btn-hivis {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn-hivis:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); transform: translateY(-2px); }

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold);
}
.btn-dark:hover { background: transparent; color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream);
}
.btn-ghost:hover { background: var(--cream); color: var(--ink); }

.btn-line {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid #c6cfd8;
  border-radius: 100px;
}
.btn-line:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }

.btn-sm { font-size: 0.8rem; padding: 0.5rem 1.2rem; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Gradient-stroked primary CTA — the one filled exception */
.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(100deg, var(--blue), var(--gold));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.3s ease;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(47, 111, 214, 0.25); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(246, 242, 228, 0.4);
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.btn-hero-secondary:hover { border-color: var(--cream); background: rgba(246,242,228,0.08); transform: translateY(-3px); }

/* Header & Navigation */
.topstrip {
  position: sticky;
  top: 0;
  z-index: 101;
  min-height: var(--topstrip-h);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--ink) 0%, var(--navy-2) 50%, var(--ink) 100%);
  color: var(--gold);
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  /* fade the message in and out at the edges rather than hard-clipping it */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee-group { display: flex; align-items: center; flex: 0 0 auto; }

.marquee-item { padding: 0 1.4rem; white-space: nowrap; }

.marquee-sep { color: var(--gold); opacity: 0.45; font-size: 0.6em; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Let people stop it to read / click the number */
.topstrip:hover .marquee-track,
.topstrip:focus-within .marquee-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .topstrip { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; justify-content: center; width: 100%; }
  /* a static, centred message instead of a moving one */
  .marquee-group:not(:first-child) { display: none; }
  .marquee-group .marquee-item:not(:first-child),
  .marquee-group .marquee-sep { display: none; }
}

.site-head {
  background: rgba(9, 34, 66, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--topstrip-h);
  z-index: 100;
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  /* Extra vertical padding keeps the animated logo clear of the header edges —
     at 1rem the shine overlay came within 8px of the top and bottom borders. */
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-mark { max-width: 170px; height: auto; border-radius: 6px; }

/* ---- Animated logo lockup ----------------------------------------------
   Shield + wordmark, ported from the Claude Design canvas. Every dimension
   is expressed in em so the whole lockup scales from one font-size: the
   shield is exactly 1em tall and the rest is derived from the source
   artwork's own ratios (shield 108x126, wordmark 248x38, gap 28). */
.s4a-logo {
  --s4a-logo-size: 56px;
  font-size: var(--s4a-logo-size);
  /* inline-flex so the lockup hugs its artwork instead of filling the row —
     the shine overlay is positioned against this box, so a stretched one
     would sweep across empty space. */
  display: inline-flex;
  align-items: center;
  gap: 0.222em;
  line-height: 0;
  position: relative;
  flex-shrink: 0;
}
.s4a-logo__shield-wrap { width: 0.857em; height: 1em; display: block; }
.s4a-logo__shield { width: 100%; height: 100%; display: block; }
.s4a-logo__word { width: 1.968em; height: 0.302em; display: block; }

/* The shine sweeps across the lockup, clipped to it. It only overhangs
   horizontally — giving it vertical overhang too put a hard-edged gold band
   in the empty space above and below the artwork, which read as a visible
   border across the header. The mask fades the sweep out at top and bottom
   so it has no hard edge of its own. */
.s4a-logo__shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.15em;
  right: -0.15em;
  overflow: hidden;
  pointer-events: none;
}
.s4a-logo__shine i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.72em;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(242,169,0,.45), rgba(255,255,255,0));
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

@keyframes s4a-drop {
  0%   { transform: translateY(-0.206em) scale(.82) rotate(-6deg); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes s4a-fill  { 0% { clip-path: inset(100% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes s4a-lift  { 0% { transform: translateY(0.079em) scale(.94); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes s4a-word  { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes s4a-shine { 0% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
@keyframes s4a-beat  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* Timings are deliberately tight. Every one of these uses fill-mode `both`,
   which means the 0% frame — opacity 0 for the shield and wordmark, a fully
   inset clip-path for both wipes — is what shows during the delay. So a delay
   here is not a pause before the animation, it is a stretch of time where the
   logo is simply not on screen. The wordmark used to wait 1.7s and finish at
   2.65s, which left a hole in the header on every page load and read as a
   broken image rather than an entrance. The whole lockup now settles in 0.76s;
   the shine and the pulse follow afterwards as ambient polish. */
.s4a-logo__shield-wrap {
  animation: s4a-drop .5s cubic-bezier(.16,1,.3,1) both,
             s4a-beat 2.4s ease-in-out 1.4s infinite;
}
.s4a-logo__shield { animation: s4a-fill .4s cubic-bezier(.4,0,.2,1) .08s both; }
.s4a-logo__word-wrap { animation: s4a-lift .38s cubic-bezier(.2,.8,.2,1) .3s both; }
.s4a-logo__word { animation: s4a-word .42s cubic-bezier(.4,0,.2,1) .34s both; }
.s4a-logo__shine i { animation: s4a-shine 1.1s ease-in-out .9s both; }

/* Footer lockup sits a little smaller than the header one. The font-size and
   the inner spans are restated here because the footer's own
   `.foot-brand span { font-size: 1.4rem }` rule (further down this file) would
   otherwise outrank `.s4a-logo` and collapse every em-based dimension. */
.foot-brand .s4a-logo {
  --s4a-logo-size: 44px;
  font-size: var(--s4a-logo-size);
  margin-bottom: 0.6rem;
}
.foot-brand .s4a-logo span {
  font-size: inherit;
  letter-spacing: normal;
  font-family: inherit;
}

/* Someone who has asked their OS to reduce motion gets the finished lockup
   with no drop, pulse or shine — the logo still renders in full. */
@media (prefers-reduced-motion: reduce) {
  .s4a-logo__shield-wrap,
  .s4a-logo__shield,
  .s4a-logo__word-wrap,
  .s4a-logo__word,
  .s4a-logo__shine i { animation: none; }
  .s4a-logo__shine { display: none; }
}

.brand-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.brand-name span { color: var(--gold); }

#navlinks { display: flex; list-style: none; gap: 0.25rem; flex: 1; }

#navlinks li a {
  padding: 0.6rem 1.1rem;
  display: block;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  transition: all 0.2s;
}

#navlinks li a:hover,
#navlinks li a.active { color: var(--ink); background: var(--gold); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--cream); }
.nav > .btn { border-color: var(--cream); color: var(--cream); }
.nav > .btn.btn-hivis { border-color: var(--gold); color: var(--ink); }

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: var(--cream);
  isolation: isolate;
}

.hero-bg { display: none; }

/* --- slides --- */
.hero-slides { position: absolute; inset: 0; z-index: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease, transform 7s linear;
  transform: scale(1.06);
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }

.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Blue gradient wash — keeps text legible, ties photos to the palette */
.hero-slides::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6,15,46,0.97) 0%, rgba(10,26,69,0.92) 38%, rgba(20,48,128,0.55) 65%, rgba(30,75,196,0.25) 100%),
    radial-gradient(ellipse at 15% 90%, rgba(30,75,196,0.5), transparent 60%);
}

/* --- decorative flowing waves --- */
.hero-decor { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }

/* Flowing organic wave ribbon */
.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-wave path { opacity: 0.5; }

/* Bottom wave divider into the next section */
.hero-divider {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 4;
  width: 100%;
  height: 90px;
  pointer-events: none;
}
.hero-divider path { fill: var(--paper); }

/* --- content --- */
.hero-redesigned {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 5rem 2rem 4rem;
  position: relative;
  z-index: 5;
}

.hero-content { position: relative; z-index: 5; }
.hero-accent-line { display: none; }
.hero-title { margin-bottom: 1.5rem; }

/* Slide-keyed copy: fades in as each slide becomes active */
.hero-copy { display: none; }
.hero-copy.is-active { display: block; animation: heroIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px) }
  to   { opacity: 1; transform: translateY(0) }
}

.hero .hero-title, .hero.hero-yellow .hero-title {
  color: var(--cream);
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0.5rem 0 1.4rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  font-family: var(--display);
}

.hero .hero-title em, .hero.hero-yellow .hero-title em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(100deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead, .hero.hero-yellow .lead {
  color: #d3ddf2;
  font-size: 1.18rem;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2.5rem;
}


.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 5; }

/* --- carousel controls --- */
.hero-nav {
  grid-column: 1 / -1;
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.hero-dots { display: flex; gap: 0.7rem; }

.hero-dot {
  width: 40px; height: 4px;
  border: none;
  padding: 0;
  border-radius: 100px;
  background: rgba(246, 242, 228, 0.28);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot:hover { background: rgba(246, 242, 228, 0.55); }
.hero-dot.is-active { background: var(--gold); width: 64px; }

.hero-arrows { display: flex; gap: 0.6rem; margin-left: auto; }

.hero-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 242, 228, 0.35);
  background: rgba(6, 15, 46, 0.4);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: scale(1.08); }
.hero-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.hero-subscribe {
  position: relative;
  z-index: 5;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  background: var(--navy-2);
  border: 1px solid rgba(140, 170, 235, 0.24);
  border-radius: 18px;
  padding: 1.75rem 2.25rem;
  margin-top: 0.5rem;
}
.hero-subscribe-text h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.hero-subscribe-text p { font-size: 0.9rem; color: var(--mute); margin: 0; }
.hero-sub-form { flex: 1 1 340px; max-width: 420px; margin: 0; }
.hero-sub-msg { flex-basis: 100%; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.4s ease; transform: none; }
  .hero-slide.is-active { transform: none; }
  .hero-copy.is-active { animation: none; }
}

/* legacy hero-inner / hero-side kept for other pages */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
}

.hero-side {
  background: rgba(246, 242, 228, 0.06);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}

.hero-side h3 { color: var(--cream); font-size: 1rem; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.hero-side ul { list-style: none; }
.hero-side li { color: var(--mute); font-size: 0.95rem; margin-bottom: 0.8rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.hero-side li:last-child { border-bottom: none; }

#hero-image-container { margin-bottom: 1.5rem; }
#hero-side-image { width: 100%; border-radius: 12px; max-height: 300px; object-fit: cover; }

/* Trust Strip */
.trust { background: var(--ink); padding: 2.5rem 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.trust-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-inner > div b {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.trust-inner > div span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

/* Sections */
.section { padding: 5.5rem 2rem; max-width: 1400px; margin: 0 auto; position: relative; }
.section.bg-paper { background: var(--paper); }

.section + .section,
.section.bg-paper { border-top: none; }

.wrap { max-width: 1400px; margin: 0 auto; }

.sec-head { margin-bottom: 2.75rem; max-width: 700px; }

.sec-head h2 { position: relative; padding-bottom: 0; }
.sec-head h2::after { display: none; }

.sec-head p { color: var(--mute); font-size: 1.15rem; margin-top: 0.75rem; }

/* Hairline divider between major sections */
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem; right: 2rem;
  height: 1px;
  background: var(--line);
}
.section:first-of-type::before,
.hero + .section::before { display: none; }

/* Two Column Layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.two-col > div:last-child { order: 2; }
.two-col > .img-ph { order: 1; }

/* Image Placeholders */
.img-ph {
  background: linear-gradient(135deg, #e0e6ec 0%, #f0f3f7 100%);
  border-radius: 16px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mute);
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.img-ph img, .ccard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Single-column prose section — used by About's "Our story" / "Our mission",
   which read as text-only blocks rather than image/text pairs */
.prose-block { max-width: 820px; }
.prose-block .sec-head { margin-bottom: 1.25rem; }
.prose-block p { font-size: 1.08rem; line-height: 1.8; }

/* Instructor cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border: 1px solid #e4e8ec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 13, 16, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 40px rgba(10, 13, 16, 0.13);
}

/* Fixed, modest portrait height — without this the shared .img-ph min-height
   of 300px makes each instructor photo a full-width banner */
.team-card .img-ph {
  min-height: 0;
  height: 240px;
  border-radius: 0;
  padding: 1rem;
  font-size: 0.85rem;
}
/* Bias the crop upwards so faces aren't cut off */
.team-card .img-ph img { object-position: center 22%; }

.team-card .pad { padding: 1.5rem; }
.team-card h4 { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--ink); }
.team-card .role {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.7rem;
}
.team-card p { font-size: 0.93rem; line-height: 1.65; color: var(--mute); margin-bottom: 0; }

/* Contact page — form alongside a dark details panel */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: start;
}

.c-form {
  background: var(--white);
  border: 1px solid #e4e8ec;
  border-radius: 18px;
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(10, 13, 16, 0.06);
}
.c-form .sec-head { margin-bottom: 1rem; }
.c-form .sec-head h2 { font-size: 1.9rem; }
.c-form .btn { margin-top: 1.5rem; }

.c-details {
  background: var(--ink);
  color: var(--cream);
  border-radius: 18px;
  padding: 2.25rem;
}
.c-details h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Each label/value pair is wrapped in its own row so the two stack with real
   spacing — a bare dt/dd sequence runs together into an unreadable block */
.c-row + .c-row {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.c-details dt {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.c-details dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #dce4f5;
}
.c-details dd a {
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 196, 10, 0.5);
}
.c-details dd a:hover { color: var(--gold); }

/* Grid Layouts */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

.cat-card {
  background: var(--white);
  border: 1px solid #e4e8ec;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(10, 13, 16, 0.06);
  position: relative;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 1;
}

.cat-card:hover { border-color: var(--gold); transform: translateY(-8px); box-shadow: 0 20px 45px rgba(10,13,16,0.14); }
.cat-card:hover::before { transform: scaleX(1); }

.cat-card .img-ph { height: 200px; border-radius: 0; min-height: 0; }
.cat-card .pad { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.cat-card p { color: var(--mute); font-size: 0.95rem; margin-bottom: 1.5rem; flex: 1; }

.cat-card .go {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.cat-card .go::after { content: '→'; transition: transform .25s ease; }
.cat-card:hover .go::after { transform: translateX(4px); }

/* Category Card Carousel */
.cat-carousel .carousel-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 0;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dots .dot.is-active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Steps Grid */
.steps-grid { display: grid; gap: 2rem; }
.step { display: flex; gap: 1.75rem; align-items: flex-start; }

.step .num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
}

/* h3 for document outline; sized to the old h4 so the design is unchanged. */
.step h3 { font-size: 1.2rem; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.step p { color: var(--mute); }

/* Why — full blue band */
.section.why {
  background: linear-gradient(125deg, var(--ink) 0%, var(--navy) 55%, var(--navy-2) 100%);
  max-width: none;
  position: relative;
  overflow: hidden;
}
.section.why::before { display: none; }
.section.why > .wrap { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.section.why .sec-head h2 { color: var(--cream); }
.section.why .sec-head p { color: var(--mute); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }

.why-card {
  text-align: left;
  padding: 2.25rem;
  background: rgba(30, 75, 196, 0.16);
  border: 1px solid rgba(140, 170, 235, 0.24);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}
.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  background: rgba(30, 75, 196, 0.28);
  box-shadow: 0 18px 44px rgba(6, 15, 46, 0.5);
}

.why-card .ic { width: 48px; height: 48px; margin: 0 0 1.25rem; }
.why-card h3 { font-size: 1.2rem; letter-spacing: 0.02em; margin-bottom: 0.75rem; color: var(--cream); }
.why-card p { color: var(--mute); margin-bottom: 0; }

/* ============================================
   BOOKING PAGE
   ============================================ */

/* Page banner */
.page-banner {
  background: linear-gradient(125deg, var(--ink) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: var(--cream);
  padding: 4.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-banner > .wrap { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; }
.page-banner h1 { color: var(--cream); font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.02; margin-bottom: 1rem; }
.page-banner p { color: #d3ddf2; font-size: 1.1rem; max-width: 640px; margin-bottom: 0; }

/* Panels */
.panel { display: none; }
.panel.active { display: block; }
.empty-cat { font-size: 1rem; padding: 2rem 0; color: var(--body); }
.empty-cat a { font-weight: 700; color: var(--navy); text-decoration: underline; }

/* --- Course card grid --- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

.ccard {
  background: var(--white);
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(6, 15, 46, 0.07);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.ccard:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(6, 15, 46, 0.15);
}

/* smaller image container */
.ccard-img {
  height: 190px;
  background: linear-gradient(135deg, #dfe6f2, #eef2f9);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-bottom: 3px solid var(--navy);
}

.ccard-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.ccard-meta {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e8eefb;
  border-radius: 100px;
  padding: .28rem .8rem;
  margin-bottom: .7rem;
}

.ccard-title {
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: .55rem;
}

.ccard-price {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .9rem;
}

.ccard-specs { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.ccard-specs li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .93rem;
  line-height: 1.45;
  color: var(--body);
  margin-bottom: .45rem;
}
.ccard-specs li::before {
  content: '';
  position: absolute;
  left: 0; top: .52em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Description accordion */
.ccard-desc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid #e4eaf4;
  border-bottom: 1px solid #e4eaf4;
  padding: .8rem 0;
  margin-bottom: 1.1rem;
  cursor: pointer;
  font-family: var(--display);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .2s ease;
}
.ccard-desc-toggle:hover { color: var(--blue); }
.ccard-desc-toggle .chev {
  font-size: 1.3rem;
  line-height: 1;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #e8eefb;
  color: var(--navy);
}

.ccard-desc { margin: -.4rem 0 1.1rem; font-size: .92rem; animation: descIn .25s ease both; }
@keyframes descIn { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
.ccard-desc p { color: var(--body); margin-bottom: .9rem; }
.ccard-desc h4 {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--navy);
  margin: .9rem 0 .45rem;
}
.ccard-desc ul { margin: 0 0 .5rem; padding-left: 1.15rem; }
.ccard-desc li { color: var(--body); margin-bottom: .3rem; line-height: 1.45; }

/* --- Upcoming dates (static list, no booking flow) --- */
.ccard-dates {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #e4eaf4;
}

.drop-head {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: .06em;
  font-size: .9rem;
  margin-bottom: .8rem;
}

.sess {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  border: 1.5px solid #dbe3ef;
  border-radius: 10px;
  background: var(--white);
  margin-bottom: .55rem;
  transition: border-color .2s ease, background .2s ease;
}

.sess-pick {
  cursor: pointer;
}
.sess-pick:hover { border-color: var(--navy); }
.sess-pick:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.sess-pick.is-selected { border-color: var(--gold); background: #fffdf2; }

.sess-disabled { opacity: .55; cursor: not-allowed; }

/* Confirmation panel shown once a date is picked */
.sess-confirm {
  margin-top: .3rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--gold);
  border-radius: 10px;
  background: #fffdf2;
  animation: descIn .3s ease both;
}
.sess-confirm h5 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: .7rem;
}
.sess-confirm dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .7rem;
  margin-bottom: .8rem;
}
.sess-confirm dt {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: .15rem;
}
.sess-confirm dd { font-size: .92rem; font-weight: 600; color: var(--ink); }
.sess-confirm p { font-size: .86rem; color: var(--body); line-height: 1.5; margin: 0 0 .9rem; }

.reserve-form { display: grid; gap: .6rem; }
.reserve-form label { font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: .25rem; display: block; }
.reserve-form input, .reserve-form textarea {
  width: 100%;
  padding: .6rem .8rem;
  border: 1.5px solid #dbe3ef;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: .92rem;
  background: var(--white);
}
.reserve-form textarea { resize: vertical; min-height: 70px; }
.reserve-form .btn { width: 100%; margin-top: .2rem; }

.reserve-msg { margin-top: .8rem; font-size: .88rem; font-weight: 600; padding: .6rem .8rem; border-radius: 8px; }
.reserve-msg:empty { display: none; }
.reserve-msg.err { color: #b3261e; background: #fdeaea; }
.reserve-msg.ok  { color: #17692f; background: #e6f6ea; }

/* ---- discount code + price summary ---- */
.reserve-form .discount-row label .opt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--mute); }
.discount-entry { display: flex; gap: .5rem; align-items: stretch; }
.discount-entry input { flex: 1; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.discount-entry input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.discount-entry .btn { width: auto; margin-top: 0; flex-shrink: 0; padding: .6rem 1.1rem; }
.discount-msg { margin: .4rem 0 0; font-size: .84rem; font-weight: 600; }
.discount-msg:empty { display: none; }
.discount-msg.err { color: #b3261e; }
.discount-msg.ok { color: #17692f; }

.price-summary {
  border: 1.5px solid #dbe3ef;
  border-radius: 8px;
  padding: .8rem .9rem;
  background: #f7f9fc;
  display: grid;
  gap: .35rem;
}
.price-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .9rem; }
.price-line[hidden] { display: none; }
.price-line.was { color: var(--mute); }
.price-line.was s { text-decoration: line-through; }
.price-line.off { color: #17692f; font-weight: 700; }
.price-line.total {
  border-top: 1px solid #dbe3ef;
  margin-top: .2rem;
  padding-top: .45rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.price-line.total strong { font-size: 1.35rem; color: var(--ink); }

.s-date { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.s-info { grid-column: 2; font-size: .84rem; color: var(--mute); }
.sess .s-date + .s-info { grid-column: auto; }

.s-spaces {
  font-family: var(--display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #17692f;
  background: #e6f6ea;
  border-radius: 100px;
  padding: .25rem .7rem;
  white-space: nowrap;
}
.s-spaces.low { color: #9a3412; background: #fdece2; }

.form-msg { margin-top: .8rem; font-size: .88rem; font-weight: 600; padding: .6rem .8rem; border-radius: 8px; }
.form-msg:empty { display: none; }
.form-msg.hint { color: var(--navy); background: #e8eefb; }
.form-msg.warn { color: #9a3412; background: #fdece2; }
.form-msg.err  { color: #b3261e; background: #fdeaea; }
.form-msg.ok   { color: #17692f; background: #e6f6ea; }

@media (max-width: 600px) {
  .course-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ccard-img { height: 165px; }
  .sess { grid-template-columns: auto 1fr; }
  .s-spaces { grid-column: 2; justify-self: start; }
}

/* Category filter tabs (book page) */
.tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 2.5rem; }
.tab {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--body);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.active { background: var(--ink); border-color: var(--ink); color: var(--gold); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; padding: 1rem 0; }

.badge {
  background: var(--white);
  border: 1.5px solid var(--line);
  padding: 1.1rem 2rem;
  border-radius: 100px;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge .badge-img { display: block; max-height: 48px; max-width: 120px; width: auto; height: auto; object-fit: contain; margin: 0 auto 0.5rem; }
.badge span { display: block; font-size: 0.68rem; color: var(--mute); margin-top: 0.35rem; font-weight: 600; letter-spacing: 0.08em; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }

.quote {
  background: var(--white);
  padding: 2.25rem;
  border-radius: 20px;
  border: 1px solid #e4e8ec;
  border-left: 3px solid var(--gold);
}

.quote .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: .1em; }
.quote p { color: var(--body); font-size: 1rem; margin-bottom: 1.5rem; }
.quote footer { font-size: 0.85rem; color: var(--mute); font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; }
.quote footer span { display: block; color: #aaa; margin-top: 0.3rem; font-family: var(--sans); text-transform: none; letter-spacing: 0; }

/* CTA Band */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--navy) 50%, var(--navy-2) 100%);
  color: var(--cream);
  padding: 6.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(circle at 28% 30%, rgba(47,111,214,.45), transparent 55%), radial-gradient(circle at 78% 68%, rgba(255,196,10,.16), transparent 52%);
  pointer-events: none;
  z-index: 0;
}
.cta-band h2 { color: var(--cream); margin-bottom: 1rem; font-size: 3rem; position: relative; z-index: 1; }
.cta-band p { color: var(--mute); font-size: 1.15rem; margin-bottom: 2.25rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* Subscribe Section */
.subscribe { background: var(--ink-2); padding: 4rem 2rem; color: var(--cream); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 50%, rgba(30,75,196,.35), transparent 60%);
  pointer-events: none;
}
.subscribe > .wrap { position: relative; z-index: 1; }
.subscribe > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.subscribe h2 { color: var(--cream); font-size: 1.9rem; margin-bottom: 0.5rem; text-transform: none; }
.subscribe p { color: var(--mute); }

.sub-form { display: flex; gap: 0.6rem; }
.sub-form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: rgba(246,242,228,0.05);
  color: var(--cream);
}
.sub-form input::placeholder { color: var(--mute); }
.sub-form button { flex-shrink: 0; }
.sub-msg { margin-top: 0.8rem; font-size: 0.9rem; color: var(--mute); }

/* Footer */
.site { background: linear-gradient(180deg, var(--ink) 0%, #040a1f 100%); color: var(--mute); padding: 4rem 2rem 2rem; border-top: 1px solid var(--line); }

.foot-grid { max-width: 1400px; margin: 0 auto 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; }

.foot-brand span { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.06em; color: var(--cream); }
.foot-brand span span { color: var(--gold); }
.foot-brand p { font-size: 0.9rem; line-height: 1.6; margin-top: 0.8rem; color: var(--mute); }

.site h3 { color: var(--cream); font-size: 0.9rem; margin-bottom: 1.1rem; letter-spacing: .06em; }
.site ul { list-style: none; }
.site ul li { margin-bottom: 0.75rem; }
.site a { color: var(--mute); transition: color 0.2s; }
.site a:hover { color: var(--gold); }

.foot-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--mute);
}
.foot-bottom span { flex: 1; }
.foot-bottom span:last-child { text-align: right; }
.foot-bottom a { color: var(--mute); }
.foot-bottom a:hover { color: var(--gold); }

/* Forms */
label {
  display: block;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0.7rem 0 0.3rem;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #c6cfd8;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
textarea { resize: vertical; min-height: 100px; }
.f-err { border-color: #d32f2f; background: #ffebee; }

/* Toasts */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--ink);
  color: var(--gold);
  padding: 1rem 1.6rem;
  border-radius: 100px;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 1000;
  pointer-events: none;
  border: 1px solid var(--line);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-redesigned { grid-template-columns: 1fr; gap: 3rem; align-items: start; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .two-col > div:last-child { order: auto; }
  .two-col > .img-ph { order: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .subscribe > .wrap { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .section { padding: 3rem 1.5rem; }
  .c-form, .c-details { padding: 1.5rem; }
  .team-card .img-ph { height: 200px; }
  /* Vertical padding stays generous so the animated logo keeps clear of the
     header edges; only the horizontal padding tightens on small screens. */
  .nav { padding: 1.35rem 1rem; gap: 1rem; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  #navlinks { display: none; flex-direction: column; width: 100%; }
  #navlinks.show { display: flex; }
  .hero { min-height: auto; }
  .hero-redesigned { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 6rem; }
  .hero .hero-title { margin: 1rem 0; }
  .hero .lead { font-size: 1rem; max-width: 100%; margin-bottom: 1.75rem; }
  .hero-divider { height: 45px; }
  .hero-nav { margin-top: 0.5rem; }
  .hero-arrows { display: none; }
  .hero-dot { width: 30px; }
  .hero-dot.is-active { width: 48px; }
  .hero-subscribe { flex-direction: column; align-items: stretch; text-align: center; padding: 1.5rem; }
  .hero-sub-form { flex-basis: auto; max-width: none; }
  .hero-ctas { flex-wrap: wrap; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; justify-content: center; margin-bottom: 0; }
  .trust-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .sub-form { flex-direction: column; }
  .cta-band { padding: 3rem 1.5rem; }
  .cta-band h2 { font-size: 2.1rem; }
  .toast { bottom: 1rem; right: 1rem; left: 1rem; }
}

@media (max-width: 480px) {
  .brand-mark { max-width: 120px; }
  /* 56px would make the lockup ~171px wide and crowd the nav toggle. */
  .s4a-logo { --s4a-logo-size: 39px; }
  .foot-brand .s4a-logo { --s4a-logo-size: 36px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 2.5rem 1rem; }
  .step { gap: 1rem; }
  .badges { gap: 0.75rem; }
  .badges { padding: 1rem 0; }
  .foot-bottom { gap: 0.5rem; font-size: 0.75rem; }
}
