@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/bricolage.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/instrument.woff2") format("woff2");
}

:root {
  --ink: #12343b;
  --muted: #43625e;
  --cta: #0b7168;
  --cta-dark: #095c55;
  --deep: #0e3a40;
  --wave: #5ab9c6;
  --amber: #e8a317;
  --paper: #fbfcfb;
  --tint: #eef6f5;
  --line: #d9e7e5;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.btn {
  display: inline-block;
  white-space: nowrap;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 34px;
  border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--cta-dark); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--cta);
  box-shadow: inset 0 0 0 2px var(--cta);
}
.btn--ghost:hover { background: var(--tint); color: var(--cta-dark); }
.btn--ondark { background: #0d8076; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn--ondark:hover { background: #0b6d65; }

/* ---------- header ---------- */
header {
  background: rgba(251, 252, 251, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
}
.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
}
.nav__links a:hover { color: var(--cta); }
.nav__links a[aria-current="page"] {
  color: var(--cta-dark);
  font-weight: 600;
}
.nav__links a.btn { color: #fff; }
.nav__links a.btn:hover { color: #fff; }
.nav .btn { padding: 11px 26px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 72px; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.hero__grid > * { min-width: 0; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 26px;
}
.badge .stars { color: var(--amber); letter-spacing: .1em; font-size: .85rem; }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 .seven {
  color: var(--cta);
  position: relative;
  white-space: nowrap;
}
.hero h1 .seven svg {
  position: absolute;
  left: 0;
  bottom: -.18em;
  width: 100%;
  height: .32em;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__price { font-size: .95rem; color: var(--muted); }
.hero__price strong { color: var(--ink); }

/* hero visual: photo + floating grade card */
.hero__visual { position: relative; padding-bottom: 72px; }
.hero__photo {
  border-radius: 28px 120px 28px 28px;
  width: 100%;
  object-fit: cover;
}
.grades--float {
  position: absolute;
  left: -56px;
  bottom: 0;
  width: min(330px, 86%);
  padding: 22px 24px 20px;
}
.grades--float .grades__bars { height: 140px; gap: 12px; }
.grades--float .grades__caption { display: none; }

/* grade trajectory device */
.grades {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(14, 58, 64, .16);
  padding: 30px 32px 26px;
}
.grades__title {
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 24px;
}
.grades__bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
  height: 210px;
}
.grades__bar { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.grades__bar i {
  display: block;
  border-radius: 10px 10px 4px 4px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.grades__bar:nth-child(1) i { height: 34%; }
.grades__bar:nth-child(2) i { height: 52%; }
.grades__bar:nth-child(3) i { height: 72%; }
.grades__bar:nth-child(4) i {
  height: 100%;
  background: linear-gradient(180deg, var(--wave), var(--cta));
  border: none;
}
.grades__bar b {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 10px;
  color: var(--muted);
}
.grades__bar:nth-child(4) b { color: var(--cta-dark); }
.grades__caption { margin-top: 18px; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.stats div { padding: 34px 16px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--cta-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stats span { color: var(--muted); font-size: .98rem; }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.section__head .sub { color: var(--muted); font-size: 1.12rem; margin-top: 14px; }

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14, 58, 64, .12); }
.service > img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.service__body { padding: 22px 24px 24px; }
.service h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .96rem; }

/* pricing */
.pricing {
  background: var(--deep);
  border-radius: 22px;
  color: #fff;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.pricing h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 20px; }
.pricing ul { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.pricing li { padding-left: 30px; position: relative; color: #d7e8e6; font-size: 1.08rem; }
.pricing li::before { content: "✓"; position: absolute; left: 0; color: var(--wave); font-weight: 700; }
.pricing__ps { font-size: .92rem; color: #9fc3bf; font-style: italic; margin-top: 22px; }
.pricing__card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  text-align: center;
  padding: 44px 32px;
}
.pricing__card .amount {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.pricing__card .per { color: #9fc3bf; margin: 8px 0 28px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--cta-dark);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; }
.step p + p { margin-top: 10px; }

/* mission */
.mission { max-width: 780px; margin: 0 auto; text-align: center; }
.mission h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 24px; }
.mission p { font-size: 1.18rem; color: var(--muted); }
.mission p + p { margin-top: 18px; }
.mission u { text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* cta band */
.cta-band { background: var(--deep); text-align: center; padding: 84px 28px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: #b9d4d1; font-size: 1.1rem; margin-bottom: 32px; }

/* ---------- footer ---------- */
footer { background: var(--tint); border-top: 1px solid var(--line); padding: 52px 0 40px; }
.foot {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot img { height: 30px; width: auto; }
.foot nav { display: flex; gap: 26px; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.foot nav a:hover { color: var(--cta); }
.foot .legal { width: 100%; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- about ---------- */
.about-hero { padding: 84px 0 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 92px;
}
.about-grid > * { min-width: 0; }
.about-grid h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); font-weight: 800; margin-bottom: 28px; }
.about-grid .prose p { color: var(--muted); margin-bottom: 18px; }
.about-grid .prose strong { color: var(--ink); }
.about-grid .prose u { text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 4px; color: var(--ink); }
.about-photo img { border-radius: var(--radius); }
.about-photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.pull {
  background: var(--tint);
  border-left: 4px solid var(--cta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0;
}

/* ---------- book a lesson ---------- */
.book { padding: 72px 0 92px; }
.book h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  max-width: 720px;
  margin-bottom: 48px;
}
.book__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: start;
}
.book__grid > * { min-width: 0; }
.book__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  min-height: 420px;
}
.why {
  background: var(--deep);
  border-radius: var(--radius);
  color: #fff;
  padding: 40px 36px;
  position: sticky;
  top: 96px;
}
.why h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 24px; }
.why p { color: #c4dbd8; font-size: .99rem; margin-bottom: 18px; }
.why p strong { color: #fff; }

/* ---------- faq ---------- */
.faq__list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq__list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
}
.faq__list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 17px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cta);
  flex-shrink: 0;
  transition: transform .15s ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding-bottom: 20px; }

/* ---------- wave divider ---------- */
.wave-div { line-height: 0; background: var(--paper); }
.wave-div svg { width: 100%; height: 54px; display: block; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.services .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.services .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.services .reveal:nth-child(5) { transition-delay: .08s; }
.services .reveal:nth-child(6) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero__grid, .about-grid, .book__grid, .pricing { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { padding-bottom: 0; }
  .grades--float { position: static; width: auto; margin: -56px 20px 0 auto; max-width: 340px; }
  .pricing { padding: 44px 30px; }
  .services, .steps { grid-template-columns: 1fr 1fr; }
  .why { position: static; }
  .section { padding: 64px 0; }
}
@media (max-width: 620px) {
  .services, .steps { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stats div + div { border-left: none; border-top: 1px solid var(--line); }
  .nav__links a:not(.btn) { display: none; }
  .grades__bars { height: 170px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
