:root {
  --ink: #0e1b2e;
  --ink-soft: #4d5b73;
  --brand-deep: #10305f;
  --brand: #1a5cb8;
  --brand-bright: #3f86e6;
  --accent: #f2a007;
  --accent-dark: #c47f00;
  --surface: #ffffff;
  --surface-muted: #f2f6fc;
  --border: #dbe4f0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 46, .06), 0 2px 8px rgba(14, 27, 46, .05);
  --shadow-md: 0 4px 12px rgba(14, 27, 46, .08), 0 12px 28px rgba(14, 27, 46, .08);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); }

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

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

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--muted { background: var(--surface-muted); }
.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .6rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand img { width: 116px; }
.brand__name { display: none; font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .8rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
}
.nav a:hover { background: var(--surface-muted); color: var(--brand-deep); }
.nav a[aria-current="page"] { color: #fff; background: var(--brand); font-weight: 800; box-shadow: var(--shadow-sm); }
.nav a[aria-current="page"]:hover { background: var(--brand-deep); color: #fff; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .6rem .8rem;
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 11px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #26190a; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #ffb02a; box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--surface); color: var(--brand-deep); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--brand-bright); background: var(--surface-muted); }
.btn--onblue { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--onblue:hover { background: rgba(255,255,255,.2); }
.btn--sm { padding: .6rem 1rem; font-size: .93rem; border-radius: 9px; }

/* ---------- checkered rule ---------- */
.checker {
  height: 10px;
  background-image:
    linear-gradient(45deg, var(--brand-deep) 25%, transparent 25%, transparent 75%, var(--brand-deep) 75%),
    linear-gradient(45deg, var(--brand-deep) 25%, transparent 25%, transparent 75%, var(--brand-deep) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-color: #fff;
  opacity: .9;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0d2a55 0%, #14418a 55%, #1a5cb8 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% 45%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(63, 134, 230, .45), transparent);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .55rem; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #cfe0f7; max-width: 34rem; }
.hero__eyebrow { color: #8fc0ff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__points { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.hero__points li { display: flex; gap: .65rem; align-items: flex-start; color: #d6e5f9; font-size: 1rem; }
.hero__points svg { flex: 0 0 auto; margin-top: .3rem; color: var(--accent); }

.hero__art { display: none; }
.road { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35)); }

/* ---------- stat strip ---------- */
.stats {
  background: var(--brand-deep);
  color: #fff;
  padding: 1.4rem 0;
}
.stats__grid {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  text-align: center;
}
.stats dt { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #9dc3f2; }
.stats dd { margin: .15rem 0 0; font-size: 1.28rem; font-weight: 800; }

.stats__locations { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .9rem 2.6rem; }
.stats__locations a { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.stats__locations a:hover, .stats__locations a:focus-visible { color: var(--accent); }
.stats__locations svg { color: var(--accent); flex: 0 0 auto; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin-bottom: .9rem; }
.card p:last-child, .card > :last-child { margin-bottom: 0; }
.card__tag {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand);
  background: #e8f0fd;
  border-radius: 999px;
  padding: .28rem .7rem;
  margin-bottom: .8rem;
}
.card__tag--online { color: #0b6b45; background: #dcf5e9; }
.card__link { margin-top: auto; padding-top: 1rem; font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.card__link:hover { text-decoration: underline; }

.card--location h3 { margin-bottom: .3rem; }
.card--location address { font-style: normal; color: var(--ink-soft); margin-bottom: .9rem; }

/* responsive google calendar embed */
.calendar-embed { max-width: 680px; }
.calendar-embed iframe { width: 100%; max-width: 680px; height: 600px; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (max-width: 480px) {
  .calendar-embed iframe { height: 480px; }
}

/* whole-card links (online course sign-ups) */
a.card--action {
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.card--action:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-bright);
}
a.card--action .card__link { color: var(--brand); }

/* highlighted band for the online-classes section */
.section--spotlight {
  background: linear-gradient(180deg, #fff7e6 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}
.section__note { margin-top: 1.6rem; color: var(--ink-soft); }
.section__note a { font-weight: 700; }
.section__note--tight { margin-top: .9rem; max-width: 42rem; }
.section__note--tight strong { color: var(--ink); }

/* ---------- feature list ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.features li { display: flex; gap: .9rem; align-items: flex-start; }
.features .ico {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: #e8f0fd;
  color: var(--brand);
}
.features h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.features p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.2rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.05rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > p, .faq details > ul { color: var(--ink-soft); margin-top: 0; padding-bottom: 1.1rem; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, #10305f, #1a5cb8);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f7; max-width: 38rem; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- prose (content pages) ---------- */
.page-head {
  background: linear-gradient(165deg, #0d2a55, #17489a);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.page-head h1 { color: #fff; margin-bottom: .3rem; }
.page-head p { color: #cfe0f7; max-width: 42rem; margin: 0; font-size: 1.08rem; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .5rem; }
.prose > p { color: var(--ink-soft); }

.callout {
  border-left: 4px solid var(--accent);
  background: #fff8ea;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
}
.callout p { margin: 0; color: #5c4715; }

/* ---------- footer ---------- */
.site-footer { background: #0b1c33; color: #b9c8de; padding: 3rem 0 2rem; margin-top: 0; }
.site-footer a { color: #dbe7f7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.footer__brand img { width: 128px; margin-bottom: .9rem; background: #fff; border-radius: 8px; padding: .4rem .5rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer__bottom {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between;
  font-size: .9rem;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--accent); color: #26190a;
  padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

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

/* ---------- responsive ---------- */
@media (min-width: 620px) {
  .brand__name { display: block; }
}

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__art { display: block; }
  .stats__locations { gap: .9rem 5rem; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: .5rem 1.25rem 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .6rem; border-radius: 8px; font-size: 1.02rem; }
  .site-header__inner { position: relative; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--phone-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
