:root {
  --navy: #1F3A5F;
  --navy-deep: #172C48;
  --blue: #3E6A9A;
  --blue-soft: #D9ECEF;
  --ivory: #EAF5F6;
  --white: #FFFFFF;
  --ink: #1E2A38;
  --muted: #56636F;
  --line: #C7DDE1;
  --red: #B5413B;
  --green: #2F7A5A;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
}

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

a { color: var(--blue); text-underline-offset: 3px; }

h1, h2, h3 {
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 24px;
}
.narrow { max-width: 760px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 0.8em 1.4em;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--navy-deep); }

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(234, 245, 246, 0.95);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
}
.brand-tile { width: 24px; height: 31px; }

.site-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--blue); }

/* ---------- Intro ---------- */
.intro { padding-block: 64px 80px; }
.intro-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 32em; }
.intro-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 2px dashed #A9C8CE;
  color: var(--muted);
  font-size: 0.95rem;
}
.photo-placeholder small { font-size: 0.8rem; }
.intro-photo { aspect-ratio: 4 / 5; width: 100%; }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section-tint { background: var(--blue-soft); }
.section-navy { background: var(--navy); color: #D6E1EC; }
.section-navy h2 { color: var(--white); }
.section-navy a { color: var(--white); font-weight: 600; }

.section-lede { color: var(--muted); max-width: 40em; margin-bottom: 40px; }

/* ---------- Lessons ---------- */
.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid var(--navy);
}
.lesson {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr 150px;
  gap: 8px 40px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.lesson h3 { margin: 0 0 8px; }
.lesson p { margin: 0; color: var(--muted); }
.lesson-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.lesson-name h3 { flex-basis: 100%; }

.lesson-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.lesson-price .amount {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.2;
}
.lesson-price .price-tbd { color: #7D93A3; }
.lesson-price .unit { font-size: 0.85rem; color: var(--muted); }
.lesson-price .amount-contact {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.lesson-price .amount-contact:hover { color: var(--red); }

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15em 0.6em;
  border-radius: 4px;
  border: 1px solid currentColor;
}
.tag-online { color: var(--green); }
.tag-dc { color: var(--red); }

.online-note {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--white);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  max-width: 760px;
}
.online-note p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.about-photo { aspect-ratio: 1 / 1; }
.about-copy p { color: var(--muted); max-width: 36em; }

/* ---------- Quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 16px;
}
.quote { margin: 0; padding-top: 18px; border-top: 2px solid var(--red); }
.quote:nth-child(2) { border-top-color: var(--green); }
.quote:nth-child(3) { border-top-color: var(--blue); }
.quote blockquote {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote figcaption { font-size: 0.9rem; color: var(--muted); }

/* ---------- Questions ---------- */
details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details:first-of-type { border-top: 2px solid var(--navy); }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  padding: 32px;
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; flex: 1; }
.field-row { display: flex; gap: 16px; flex-wrap: wrap; }
.field-row .field { min-width: 200px; }
label { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.65em 0.8em;
  border: 1px solid #C9D2DC;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.form-status { margin: 14px 0 0; font-size: 0.95rem; color: var(--green); min-height: 1.4em; }
.form-status.error { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #93A7BE;
  font-size: 0.9rem;
  padding-block: 24px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .intro-inner, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .intro { padding-block: 40px 56px; }
  .intro-photo { max-width: 360px; }
  .about-photo { max-width: 360px; }
  .section { padding-block: 56px; }
  .lesson { grid-template-columns: 1fr; }
  .lesson-price { flex-direction: row; align-items: baseline; gap: 8px; text-align: left; margin-top: 6px; }
  .site-nav { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
