:root {
  --navy: #12357a;
  --navy-2: #0d2860;
  --ink: #172033;
  --muted: #4d5870;
  --paper: #fffdf8;
  --card: #ffffff;
  --line: #eadfbe;
  --yellow: #f2c400;
  --red: #e23b32;
  --red-deep: #c42720;
  --font-display: "Lilita One", "Arial Black", sans-serif;
  --font-body: "Outfit", "Avenir Next", sans-serif;
  --font-script: "Pacifico", cursive;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.6rem, 2vw, 2.1rem);
  --text-hero: clamp(2.6rem, 6vw, 4.6rem);
  --space: clamp(1.25rem, 3vw, 2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.menu-btn {
  display: none;
  margin-left: auto;
  min-height: 44px;
  border: 1.5px solid var(--navy);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 4vw;
  background: linear-gradient(90deg, #f57c20 0%, #c45a78 48%, #6b3d86 100%);
  border-bottom: none;
  color: #fffdf8;
}
.site-header .brand, .site-header nav a { color: #fffdf8; }
.site-header nav a:hover { color: var(--yellow); }
.site-header .menu-btn { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.brand {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand em {
  font-family: var(--font-script);
  font-style: normal;
  color: #fffdf8;
  font-weight: 400;
  font-size: 1.15rem;
}
.site-header nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  font-size: var(--text-sm);
}
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
}
.btn-red { background: #6b3d86; color: white; }
.btn-red:hover { background: #552f69; }
.btn-navy { background: #6b3d86; color: white; }
.btn-navy:hover { background: #552f69; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.hero {
  display: block;
  padding: 1.6rem 0 0.4rem;
  background: var(--paper);
}
.hero .logo-mark, .bio-wash h1, .bio-wash .bio {
  margin-left: 4vw;
  margin-right: 4vw;
}
.bio-wash {
  padding: 1.4rem 0 2.2rem;
  background: linear-gradient(165deg, #f57c20 0%, #c45a78 48%, #6b3d86 100%);
}
.bio-wash h1 { color: #fffdf8; }
.bio-wash .bio { color: #fff7ea; }
.kicker {
  margin: 0 0 0.6rem;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.04em; line-height: 0.95; margin: 0; }
h1 { font-size: var(--text-hero); font-weight: 800; max-width: 12ch; }
h2 { font-size: var(--text-xl); font-weight: 800; }
h3 { font-size: var(--text-lg); font-weight: 700; }
.lede { max-width: 42rem; color: var(--muted); }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.2rem 0; }
.facts {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.45rem;
  font-size: var(--text-sm);
}
.facts strong {
  display: inline-block;
  min-width: 3.4rem;
  color: var(--navy);
}
.hero-frame img {
  width: 100%;
  height: min(68vh, 560px);
  object-fit: cover;
  border-radius: 1.4rem 1.4rem 0.2rem 1.4rem;
}
.hero-frame figcaption {
  margin-top: 0.55rem;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.services, .book, .desk { padding: 3.5rem 4vw; scroll-margin-top: 5rem; }
#book, #desk, #services, #coach { scroll-margin-top: 5.5rem; }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.section-head p:last-child { color: var(--muted); }
.path-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.path {
  display: block;
  text-decoration: none;
  background: var(--navy);
  color: white;
  border-radius: 0.4rem 1.4rem 0.4rem 1.4rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 6px solid var(--yellow);
}
.path span {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.path strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: 0.25rem 0;
}
.path p { margin: 0; color: #d5d8e4; font-size: var(--text-sm); }
.service-grid article .btn { margin: 0.4rem 1rem 0.2rem; }
.where {
  margin: 1.4rem auto 0;
  max-width: 46rem;
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 600;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: 0.4rem;
  overflow: hidden;
  padding-bottom: 1rem;
  box-shadow: 6px 6px 0 var(--yellow);
}
.service-grid img { height: auto; aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.service-grid h3, .service-grid p, .service-grid ul { margin-left: 1rem; margin-right: 1rem; }
.service-grid h3 { margin-top: 0.9rem; }
.service-grid p { color: var(--muted); font-size: var(--text-sm); }
.service-grid ul { padding-left: 1.1rem; margin-top: 0.4rem; font-size: var(--text-sm); }
.label, .credential {
  color: var(--navy) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-xs) !important;
}

.band {
  margin: 0 4vw;
  background: var(--navy);
  color: #f6f3ec;
  border-radius: 1.2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}
.band .kicker { color: var(--yellow); }
.band p { color: #d5d8e4; }
.band dl { margin: 0; display: grid; gap: 0.8rem; }
.band dt { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.band dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.35rem; }
.band a { color: white; }

.scheduler {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
}
.steps {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  overflow-x: auto;
}
.steps li {
  font-size: var(--text-xs);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #efe8d6;
  color: var(--muted);
}
.steps li.on { background: var(--navy); color: white; }
.steps li.done { background: var(--yellow); color: var(--navy); }

.ask {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.03em;
}
.choices, .times, .days {
  display: grid;
  gap: 0.6rem;
}
.choices { grid-template-columns: repeat(3, 1fr); }
.days { grid-template-columns: repeat(7, 1fr); }
.times { grid-template-columns: repeat(4, 1fr); }
.choice, .slot {
  text-align: left;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
}
.choice strong, .slot strong { display: block; font-family: var(--font-display); }
.choice small, .slot small { color: var(--muted); }
.choice.on, .slot.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #fff8d8; }
.slot:disabled, .choice:disabled { opacity: 0.4; cursor: not-allowed; background: #f3f0e8; }
.day {
  min-height: 64px;
}
.row-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
form.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
form.details label, .lock label {
  display: grid;
  gap: 0.3rem;
  font-size: var(--text-sm);
  font-weight: 700;
}
form.details label.wide { grid-column: 1 / -1; }
input, select, textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border-radius: 0.6rem;
  border: 1.5px solid var(--line);
  background: white;
}
textarea { min-height: 90px; resize: vertical; }
.confirm {
  border-left: 6px solid var(--yellow);
  padding-left: 1rem;
}
.confirm code {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}
.error { color: var(--red); font-size: var(--text-sm); margin: 0.4rem 0 0; }

.desk { background: #efe8d6; }
.lock { display: flex; gap: 0.7rem; align-items: end; }
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: var(--text-sm);
}
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
th { font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.empty { color: var(--muted); }

footer {
  padding: 2rem 4vw 3rem;
  color: var(--muted);
  font-size: var(--text-sm);
}
footer a { color: var(--navy); }
.fine { font-size: var(--text-xs); }
.toast {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #10224a;
  color: #fffdf8;
  padding: 0.7rem 0.9rem;
  border-radius: 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 30;
}
.toast.show { opacity: 1; }

.logo-mark {
  width: min(280px, 70vw);
  height: auto;
  background: transparent;
  margin: 0 0 0.4rem;
}
.tag {
  display: block;
  width: 100%;
  margin: 0.6rem 0 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.35;
  text-align: center;
  padding: 0.85rem 1rem;
  box-sizing: border-box;
}
.subhead {
  margin: 0.45rem 0 0;
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 600;
}
.bio { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.bio li { margin: 0.35rem 0; }
.inquiry { max-width: 42rem; }
.crest {
  width: min(280px, 70vw);
  height: 168px;
  object-fit: cover;
  object-position: center 42%;
  margin: 0 0 1rem;
  border-radius: 0.4rem;
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .hero, .band, .service-grid, .choices, .path-row { grid-template-columns: 1fr; }
  .site-header nav, .site-header > .btn { display: none; }
  .site-header nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 4vw 1rem;
    gap: 0.8rem;
  }
  .site-header nav.is-open a {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.05rem;
  }
  #adults, #youth, #about, #contact { scroll-margin-top: 5.5rem; }
  .days { grid-template-columns: repeat(4, 1fr); }
  .times, form.details { grid-template-columns: 1fr 1fr; }
  .hero-frame img { height: 280px; }
}
@media (max-width: 560px) {
  .times, form.details, .days { grid-template-columns: 1fr 1fr; }
  .lock { flex-direction: column; align-items: stretch; }
}
.service-grid img.top { object-position: center 8%; }
.hint { grid-column: 1 / -1; margin: -0.3rem 0 0; font-size: var(--text-sm); color: var(--muted); }
