:root {
  color-scheme: light;
  --ink: #141d2c;
  --muted: #485467;
  --paper: #f7f8fa;
  --white: #fff;
  --line: #dcdedb;
  --blue: #0047bb;
  --navy: #101d33;
  --lime: #e4ed42;
  --gutter: clamp(20px, 5vw, 76px);
  --width: 1320px;
  --section-space: clamp(60px, 8vw, 118px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "Inter", system-ui, "DejaVu Sans", sans-serif;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #4a89ec; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.06; font-weight: 750; letter-spacing: -.055em; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 4.8vw, 4.8rem); font-weight: 850; }
h3 { font-size: clamp(1.3rem, 2vw, 1.85rem); }
p { max-width: 62ch; color: var(--muted); }
p + p { margin-top: 1em; }
[id] { scroll-margin-top: 24px; }
.tag {
  color: var(--blue);
  font-size: .73rem;
  font-weight: 760;
  line-height: 1.45;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.tag:has(+ h1), .tag:has(+ h2), .tag:has(+ h3) { margin-bottom: 13px; }

header {
  padding: 14px max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
header > a { display: block; flex: none; background: var(--blue); padding: 7px 9px; border-radius: 5px; }
.logo { width: 119px; }
@media (min-width: 1100px) {
  .logo { width: 136px; }
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px clamp(14px, 2.3vw, 34px); }
nav a { font-size: .86rem; font-weight: 650; text-decoration: none; }
nav a:not(.button):hover { text-decoration: underline; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 45px;
  padding: .72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  font-size: .9rem;
  font-weight: 740;
  line-height: 1.35;
  text-decoration: none;
}
.button:hover { filter: brightness(.92); }
.secondary, .offer-actions a:not(.button), .offer-note a, details a { font-weight: 700; }
.actions, .offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }

.hero {
  display: grid;
  position: relative;
  isolation: isolate;
  min-height: clamp(570px, 55vw, 780px);
  color: white;
  background: #101d33;
}
.hero-copy, .hero-photo { grid-area: 1 / 1; }
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(100%, var(--width));
  margin-inline: auto;
  padding: clamp(44px, 7vw, 104px) var(--gutter);
  z-index: 1;
}
.hero .tag { color: var(--lime); }
.hero h1 {
  max-width: 14ch;
  font-size: clamp(3.35rem, 6.15vw, 6.75rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
  text-transform: uppercase;
  text-wrap: initial;
}
.hero h1 span { color: #d2e4ff; }
.hero h1 + p { margin-top: 24px; }
.hero p:not(.tag) { max-width: 48ch; color: #e1e9f6; }
.hero p.hero-welcome { font-weight: 750; color: white; }
.hero .button { background: var(--lime); color: var(--ink); }
.hero-photo { position: relative; min-width: 0; overflow: hidden; }
.hero-photo img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 67%;
  height: 100%;
  object-position: center 38%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101d33 33%, #101d33eb 43%, #101d3388 59%, #101d3310 83%);
}
.hero-photo figcaption {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  right: var(--gutter);
  max-width: calc(100% - 2 * var(--gutter));
  padding: 8px 12px;
  background: #101d33e8;
  color: white;
  font-size: .74rem;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 0;
  padding: 17px var(--gutter);
  background: var(--blue);
  color: white;
  text-align: center;
}
.bar span { padding-inline: clamp(10px, 3vw, 44px); }
.bar span + span { border-inline-start: 1px solid #ffffff80; }

.section, .offer-section, .story { padding-block: var(--section-space); }
.section, .story, .offer-wrap, footer {
  padding-inline: var(--gutter);
  max-width: var(--width);
  margin-inline: auto;
}
.intro, .offer-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: 20px clamp(24px, 7vw, 104px);
  margin-bottom: 36px;
}
#training { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(28px, 8vw, 120px); }
#training .intro { display: block; margin-bottom: 0; }
#training .intro > p { margin-top: 20px; }
.paths { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 17px 1px;
  font-weight: 740;
  line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary span { color: var(--blue); font-size: .74rem; font-variant-numeric: tabular-nums; }
summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 1.3rem; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 10px 20px 30px; }
details a { display: inline-block; margin-top: 10px; color: var(--blue); }

.offer-classes { background: #e9eff8; }
.offer-programs {
  background: var(--navy);
  color: var(--white);
  --muted: #d4deed;
  --line: #4a5b73;
  --card: #1c304e;
}
.offer-programs .tag { color: var(--lime); }
.offer-programs .button { background: var(--lime); color: var(--ink); }
.offer-memberships { background: #edf2fa; }
.offer-grid, .option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.offer-card, .option-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--card, white);
}
.offer-card p, .option-grid article p { margin-top: 0; }
.offer-card .offer-meta {
  color: var(--blue);
  font-size: .76rem;
  letter-spacing: .025em;
  font-weight: 740;
}
.offer-programs .offer-meta { color: #d8e5fb; }
.offer-card .offer-price { color: inherit; font-weight: 750; font-size: 2rem; letter-spacing: -.045em; line-height: 1.1; }
.offer-price span { font-size: .9rem; font-weight: 650; letter-spacing: normal; }
.offer-card .offer-note { margin-top: auto; padding-top: 8px; }
.offer-wrap > .offer-note { margin-top: 20px; }
.offer-visit { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 26px; }
.offer-visit p { margin-top: 8px; }

.story, .community { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 7vw, 100px); }
.story img, .community img { border-radius: 3px; }
.story img { aspect-ratio: 1; }
.story h2 + p, .community h2 + p { margin-top: 20px; }
.story strong { display: block; margin-top: 18px; }
.community { padding-top: 0; }
.community img { aspect-ratio: 3 / 2; }

.start {
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--width)) / 2 + var(--gutter)));
  background: #dee9fa;
}
.option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.option-grid .tag:has(+ h3) { margin-bottom: 0; }
.option-grid .button { margin-top: auto; }
#free-consult {
  --card: #f0f6ff;
  --line: #a9c3e7;
}
#discovery-session {
  --card: #173b6b;
  --line: #173b6b;
  --muted: #e0ebfa;
  color: white;
}
#discovery-session .tag { color: #c8ddff; }
#discovery-session .button { background: white; color: #173b6b; }
#discovery-session .button:focus-visible { outline-color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-grid h3 { margin-bottom: 10px; }
.contact-grid address { font-style: normal; }
.contact-grid dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 10px; }
.contact-grid dd { margin: 0; }
footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 26px; padding-block: 26px; border-top: 1px solid var(--line); font-size: .88rem; }
footer strong { margin-right: auto; }

@media (max-width: 880px) {
  header { align-items: flex-start; }
  nav { justify-content: flex-end; }
  .hero h1 { font-size: clamp(3.35rem, 7vw, 5.75rem); }
  .offer-classes .offer-grid, .offer-programs .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  header { flex-direction: column; gap: 12px; }
  nav { justify-content: flex-start; gap: 8px 16px; }
  nav a { font-size: .82rem; }
  nav .button { min-height: 36px; padding: .4rem .7rem; }
  .hero, #training, .intro, .offer-intro, .story, .community, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-copy, .hero-photo { grid-area: auto; }
  .hero-copy { padding-block: 36px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.55rem, 10vw, 4.2rem); }
  .hero-photo { aspect-ratio: 1.22; }
  .hero-photo img { width: 100%; object-position: center 34%; }
  .hero-photo::after { background: linear-gradient(180deg, #101d334d, transparent 26%); }
  .bar { justify-content: flex-start; column-gap: 16px; text-align: left; }
  .bar span { padding: 0; }
  .bar span + span { border: 0; }
  .offer-memberships .offer-grid, .option-grid { grid-template-columns: 1fr; }
  .offer-intro, .intro { margin-bottom: 24px; }
}
@media (max-width: 420px) {
  .offer-classes .offer-grid, .offer-programs .offer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.class-schedule {
  margin-top: 36px;
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
}
.class-schedule h3 { margin-bottom: 16px; }
.class-schedule .offer-note { margin-top: 14px; }

.registration-title { font-size: clamp(2.4rem, 5vw, 4.8rem); }

.team {
  border-top: 1px solid var(--line);
}
.team-directory {
  margin-top: 28px;
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
}
.team-directory healcode-widget { display: block; }

.consult-calendar {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
}

.specials-announcement:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 3px;
  padding: 10px var(--gutter);
  background: var(--lime);
  color: var(--ink);
  font-size: .9rem;
  text-align: center;
}
.specials-announcement a { font-weight: 750; }
.specials-hero { padding-block: clamp(44px, 7vw, 88px); background: var(--navy); color: white; }
.specials-hero .tag { color: var(--lime); }
.specials-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); text-transform: uppercase; }
.specials-hero h1 + p { margin-top: 16px; color: #e1e9f6; }
.specials-offers { padding-block: 32px 64px; }
.specials-status { max-width: none; margin-bottom: 20px; }
.specials-offers h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
@media (max-width: 880px) {
  .specials-offers .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .specials-offers .offer-grid { grid-template-columns: 1fr; }
}
