/* ==========================================================================
   SOS School of Steering — dark cinematic theme
   Brand: blue #2f6fed · amber #f0b429 · L-plate red #e63329
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* surfaces — near-black navy through to raised panels */
  --bg:        #070c17;
  --bg-2:      #0a1121;
  --sf:        #101a30;
  --sf-2:      #16223d;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  /* brand */
  --blue:      #2f6fed;
  --blue-lit:  #4f88ff;
  --blue-deep: #1d51bd;
  --amber:     #f0b429;
  --red:       #e63329;

  /* ink */
  --white:     #ffffff;
  --text:      #c3d0e4;
  --muted:     #8496b2;
  --faint:     #5d6d88;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 26px;

  --wrap:      1280px;
  --gutter:    clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --header-h:  clamp(66px, 7vw, 88px);

  /* fluid display face — heavy, tight, wide-impact */
  --display: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
             Arial, sans-serif;
  --font:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  color: var(--white);
  line-height: 1.08;
  margin: 0 0 .55em;
  font-weight: 900;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 5.6rem); }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }
p  { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--blue-lit); }
ul { margin: 0 0 1.15rem; padding-left: 1.2rem; }
li { margin-bottom: .5rem; }

:focus-visible {
  outline: 3px solid var(--blue-lit);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue); color: #fff; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-2); }

.section__head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-lit);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
}
.section__head--center .eyebrow::before { display: none; }

.lede { font-size: clamp(1.05rem, 1rem + .38vw, 1.22rem); color: var(--muted); }

.rule {
  width: 54px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--blue);
  color: #fff;
  padding: .9rem 1.3rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: clamp(.85rem, 1.4vw, 1.05rem) clamp(1.4rem, 2.4vw, 2.1rem);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(47, 111, 237, .85);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28), transparent 80%);
  transform: translateX(-130%);
  transition: transform .75s var(--ease-out);
}
.btn--primary:hover { background: var(--blue-lit); box-shadow: 0 16px 42px -12px rgba(47,111,237,1); }
.btn--primary:hover::after { transform: translateX(130%); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--line-2);
  backdrop-filter: blur(6px);
}
.btn--outline:hover { border-color: var(--blue-lit); background: rgba(47, 111, 237, .12); }

.btn--sm { padding: .68rem 1.15rem; font-size: .9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.logo__mark { flex: none; width: clamp(38px, 4vw, 46px); height: auto; }
.logo__mark path.hex { transition: fill .3s var(--ease); }
.logo:hover path.hex { fill: var(--blue-lit); }
.logo__word {
  font-size: clamp(.92rem, .8rem + .45vw, 1.2rem);
  font-weight: 600;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-stuck="true"] {
  background: rgba(7, 12, 23, .88);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.6rem); }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list li { margin: 0; }
.nav__link {
  position: relative;
  display: block;
  padding: .45rem 0;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-lit);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--white); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions { display: flex; align-items: center; gap: clamp(.6rem, 1.8vw, 1.7rem); }
/* The in-panel CTA only exists for the mobile menu. */
.nav__cta { display: none; }
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.header__tel svg { color: var(--blue-lit); }
.header__tel:hover { color: var(--blue-lit); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(620px, 100svh, 1000px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}

/* -- artwork layer ------------------------------------------------------- */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 26s var(--ease) infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

/* darkening + brand wash so text always passes contrast */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 42%, rgba(7,12,23,0) 0%, rgba(7,12,23,.35) 48%, rgba(7,12,23,.86) 82%),
    linear-gradient(90deg, var(--bg) 4%, rgba(7,12,23,.92) 26%, rgba(7,12,23,.45) 55%, rgba(7,12,23,.35) 100%),
    linear-gradient(180deg, rgba(7,12,23,.85) 0%, transparent 28%, transparent 62%, var(--bg) 100%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  left: -10%;
  top: 18%;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(47,111,237,.30) 0%, rgba(47,111,237,.10) 42%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 9s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .75; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.14); }
}

.hero__inner { position: relative; width: 100%; }
.hero__copy { max-width: min(53rem, 94%); }

.hero h1 { margin-bottom: 0; }
.hero h1 .accent {
  color: var(--blue-lit);
  display: inline-block;
  font-style: normal; /* <em> is used for emphasis, not italics, here */
}
.hero h1 .line { display: block; overflow: hidden; }

.hero__lede {
  font-size: clamp(1.02rem, .95rem + .5vw, 1.3rem);
  color: var(--text);
  max-width: 33rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}

.hero__cta { margin-bottom: clamp(2.4rem, 5vw, 3.75rem); }

/* -- stat row ------------------------------------------------------------ */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(1.2rem, 3.5vw, 2.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats li {
  margin: 0;
  padding-right: clamp(1.2rem, 3.5vw, 2.75rem);
  border-right: 1px solid var(--line-2);
}
.stats li:last-child { border-right: 0; padding-right: 0; }
.stat__num {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.stat__num .star { color: var(--amber); font-size: .9em; }
.stat__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
}

/* -- scroll cue ---------------------------------------------------------- */
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.4rem, 3.5vw, 2.75rem);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue svg { color: var(--blue-lit); animation: nudge 1.9s var(--ease) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0);   opacity: 1; }
  50%      { transform: translateY(9px); opacity: .45; }
}

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }

.card {
  position: relative;
  background: linear-gradient(160deg, var(--sf) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .35s var(--ease),
              box-shadow .45s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--line-2);
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, .95);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--blue-lit);
  background: rgba(47, 111, 237, .13);
  border: 1px solid rgba(47, 111, 237, .26);
  margin-bottom: 1.35rem;
  transition: transform .45s var(--ease-out), background-color .3s var(--ease);
}
.card:hover .card__icon { transform: translateY(-2px) scale(1.06); background: rgba(47,111,237,.2); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; color: var(--muted); }
.card__meta {
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
}
.card__meta small { display: block; font-weight: 500; color: var(--faint); font-size: .78rem; margin-top: .15rem; }

/* ---------- Instructors ---------- */
.person { text-align: center; }
.person__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.15rem;
  background: linear-gradient(160deg, var(--sf-2), var(--bg-2));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--faint);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,12,23,.75));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.person:hover .person__photo::after { opacity: 1; }
.person h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.person__role {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-lit);
  margin-bottom: .7rem;
}
.person p { font-size: .93rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, var(--sf) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.8vw, 2.25rem);
  transition: transform .45s var(--ease-out), border-color .35s var(--ease),
              box-shadow .45s var(--ease-out);
}
.price:hover { transform: translateY(-7px); box-shadow: 0 26px 60px -28px rgba(0,0,0,.95); }
.price--featured {
  border-color: rgba(47, 111, 237, .55);
  box-shadow: 0 0 0 1px rgba(47,111,237,.22), 0 30px 70px -34px rgba(47,111,237,.7);
}
.price--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, var(--blue), transparent 55%, var(--amber));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.price__flag {
  position: absolute;
  top: -.75rem;
  right: 1.5rem;
  background: var(--amber);
  color: #17202f;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}
.price h3 { margin-bottom: .25rem; }
.price__sub { color: var(--faint); font-size: .89rem; margin-bottom: 1.4rem; }
.price__amount {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.price__amount b {
  font-size: clamp(2.3rem, 1.9rem + 1.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.price__amount span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.price__list { list-style: none; margin: 0 0 1.8rem; padding: 0; font-size: .94rem; }
.price__list li { display: flex; gap: .6rem; margin-bottom: .65rem; color: var(--text); }
.price__list svg { flex: none; color: var(--blue-lit); margin-top: .3rem; }
.price .btn { margin-top: auto; width: 100%; }
.price-note { margin-top: 2rem; text-align: center; font-size: .89rem; color: var(--faint); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.steps li { margin: 0; counter-increment: step; position: relative; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
  margin-bottom: .9rem;
  transition: -webkit-text-stroke-color .4s var(--ease), color .4s var(--ease);
}
.steps li:hover::before { -webkit-text-stroke-color: var(--blue); color: rgba(47,111,237,.1); }
.steps h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.steps p { font-size: .94rem; color: var(--muted); }

/* ---------- Areas ---------- */
.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.areas li {
  margin: 0;
  background: var(--sf);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .58rem 1.2rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease-out);
}
.areas li:hover { border-color: var(--blue); color: var(--white); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sf);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq details[open] { border-color: var(--line-2); background: var(--sf-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  font-size: .99rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue-lit);
  border-bottom: 2px solid var(--blue-lit);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .35s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__body { padding: 0 1.4rem 1.4rem; font-size: .96rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.contact-card {
  background: linear-gradient(160deg, var(--sf), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  text-align: center;
  transition: transform .45s var(--ease-out), border-color .35s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--blue); }
.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: rgba(47, 111, 237, .13);
  border: 1px solid rgba(47, 111, 237, .26);
  color: var(--blue-lit);
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
}
.contact-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.contact-card a {
  color: var(--white);
  font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
  transition: color .25s var(--ease);
}
.contact-card a:hover { color: var(--blue-lit); }
.contact-card p { font-size: .85rem; color: var(--faint); margin: .65rem 0 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #17306b 45%, var(--sf) 100%);
  border: 1px solid rgba(79, 136, 255, .3);
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -55%;
  right: -12%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(240,180,41,.2), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { color: #c9d8f5; max-width: 34rem; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #050911; border-top: 1px solid var(--line); padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem; font-size: .92rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}
.footer h4 {
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { color: var(--muted); text-decoration: none; transition: color .25s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__blurb { margin-top: 1.2rem; max-width: 25rem; color: var(--muted); font-size: .9rem; }
.footer__bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  justify-content: space-between;
  color: var(--faint);
  font-size: .84rem;
}

/* ---------- Legal pages ---------- */
.legal { max-width: 47rem; }
.legal h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-top: 2.75rem; }
.legal h2:first-of-type { margin-top: 1.75rem; }
.legal__updated {
  display: inline-block;
  background: var(--sf);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: .4rem 1.05rem;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.page-head { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }

/* ==========================================================================
   ANIMATION
   ========================================================================== */

/* Every rule that starts an element invisible is scoped to `.js`, which an
   inline script in <head> adds. Without JavaScript — or if the script fails
   to load — none of this applies and the page renders fully visible. */

/* scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* hero entrance — plays on load, no observer needed */
.js .hero__copy > *,
.js .hero .scroll-cue {
  opacity: 0;
  animation: riseIn .95s var(--ease-out) forwards;
}
.js .hero__copy > *:nth-child(1) { animation-delay: .12s; }
.js .hero__copy > *:nth-child(2) { animation-delay: .24s; }
.js .hero__copy > *:nth-child(3) { animation-delay: .36s; }
.js .hero__copy > *:nth-child(4) { animation-delay: .48s; }
.js .hero__copy > *:nth-child(5) { animation-delay: .60s; }
.js .hero .scroll-cue            { animation-delay: .78s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}

/* headline words slide up out of their mask */
.js .hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.05s var(--ease-out) forwards;
}
.js .hero h1 .line:nth-of-type(1) > span { animation-delay: .18s; }
.js .hero h1 .line:nth-of-type(2) > span { animation-delay: .32s; }
@keyframes lineUp { to { transform: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .header__tel span { display: none; }
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 12, 23, .97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.75rem;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform .45s var(--ease-out), visibility .45s;
  }
  .nav[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 1.05rem 0; font-size: .95rem; }
  .nav__link::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 1.35rem; width: 100%; }

  .hero { min-height: auto; padding-block: calc(var(--header-h) + 3rem) 5.5rem; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(7,12,23,.92) 0%, rgba(7,12,23,.72) 45%, rgba(7,12,23,.96) 100%),
      radial-gradient(90% 60% at 70% 30%, rgba(7,12,23,0), rgba(7,12,23,.7));
  }
  .scroll-cue { display: none; }
}

@media (max-width: 620px) {
  /* Not enough room for phone + CTA + burger. Keep the phone (the primary
     action for a driving school); the CTA lives inside the menu panel. */
  .header__actions > .btn { display: none; }

  .stats { gap: 1rem 1.4rem; }
  .stats li { padding-right: 1.4rem; }
  .stats li:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 440px) {
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .logo__word { letter-spacing: .14em; }
  .stats li { border-right: 0; padding-right: 0; flex: 1 1 42%; }
}

/* ---------- Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__copy > *, .js .hero .scroll-cue { opacity: 1; animation: none; }
  .js .hero h1 .line > span { transform: none; animation: none; }
  .hero__media img, .hero__media svg { animation: none; }
  .btn:hover, .card:hover, .price:hover, .contact-card:hover { transform: none; }
}

@media print {
  .header, .nav-toggle, .hero__media, .hero__scrim, .hero__glow,
  .scroll-cue, .btn, .cta-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  h1, h2, h3, h4, .contact-card a { color: #000; }
}
