/* =========================================================
   Samir Tutors — warm editorial redesign
   ========================================================= */

:root {
  --forest: #173f35;
  --forest-deep: #0e2b24;
  --paper: #f6f1e7;
  --paper-deep: #ece3d3;
  --sage: #dbe5d8;
  --amber: #e9ad4a;
  --amber-deep: #c98522;
  --ink: #17201d;
  --muted: #66716c;
  --line: rgba(23, 63, 53, .16);
  --white: #fffdf8;
  --danger: #ad3f32;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-soft: 0 24px 60px rgba(14, 43, 36, .12);
  --shadow-card: 0 12px 34px rgba(14, 43, 36, .08);
}

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

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

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

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

::selection {
  color: var(--forest-deep);
  background: var(--amber);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section { padding: 120px 0; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: .7rem 1rem;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest-deep);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 5vw, 4.65rem);
}

h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); }

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1.3rem;
  color: var(--forest);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.eyebrow-light { color: rgba(255, 253, 248, .76); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .65fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 .55rem; color: var(--muted); font-size: 1.03rem; }

.btn {
  display: inline-flex;
  min-height: 52px;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 43, 36, .16);
}

.btn-primary {
  color: var(--forest-deep);
  background: var(--amber);
  border-color: var(--amber);
}

.btn-primary:hover { background: #f1bc60; border-color: #f1bc60; }

.btn-outline {
  color: var(--forest);
  background: transparent;
  border-color: rgba(23, 63, 53, .34);
}

.btn-outline:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }

.btn-paper {
  color: var(--forest-deep);
  background: var(--paper);
  border-color: var(--paper);
}

.btn-small { min-height: 44px; padding: .65rem 1.15rem; font-size: .84rem; }

.text-link {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: var(--forest);
  font-size: .92rem;
  font-weight: 700;
  text-decoration-color: rgba(23, 63, 53, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .2s ease, gap .2s ease;
}

.text-link:hover { gap: .7rem; color: var(--amber-deep); }
.text-link-light { color: var(--white); text-decoration-color: rgba(255, 253, 248, .42); }
.text-link-light:hover { color: var(--amber); }

/* Header -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(246, 241, 231, .94);
  backdrop-filter: blur(18px);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(14, 43, 36, .08);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  border-radius: 13px 13px 13px 4px;
  place-items: center;
  color: var(--white);
  background: var(--forest);
  font-family: var(--font-display);
  font-size: 1.32rem;
}

.brand-mark::after {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.brand-copy > span { margin-top: 4px; color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { color: #42504b; font-size: .83rem; font-weight: 600; text-decoration: none; }
.nav > a:not(.btn):hover { color: var(--forest); }
.nav-cta { color: var(--white); background: var(--forest); }
.nav-cta:hover { color: var(--forest-deep); background: var(--amber); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--forest);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero ---------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 253, 248, .82);
  background-color: var(--forest);
  background-image:
    radial-gradient(circle at 9% 15%, rgba(233, 173, 74, .13), transparent 27%),
    radial-gradient(circle at 90% 90%, rgba(219, 229, 216, .12), transparent 31%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 75%);
}

.hero-grid {
  display: grid;
  min-height: 710px;
  padding: 88px 0 96px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr);
  align-items: center;
  gap: 84px;
}

.hero-copy { position: relative; z-index: 2; max-width: 720px; }

.hero h1 {
  max-width: 720px;
  margin-bottom: 1.8rem;
  color: var(--white);
  font-size: clamp(4rem, 7.1vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -.055em;
}

.hero h1 em { color: var(--amber); font-weight: 400; }

.hero-lede {
  max-width: 620px;
  margin-bottom: 2rem;
  color: rgba(255, 253, 248, .76);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-meta { margin: 1.6rem 0 0; color: rgba(255, 253, 248, .58); font-size: .79rem; font-weight: 600; letter-spacing: .03em; }
.hero-meta span { margin: 0 7px; color: var(--amber); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 450px); padding: 0 14px 22px 0; }

.portrait-wrap {
  position: relative;
  border: 1px solid rgba(255, 253, 248, .21);
  border-radius: 180px 180px var(--radius-md) var(--radius-md);
  background: var(--sage);
  box-shadow: 28px 28px 0 rgba(8, 30, 24, .46), var(--shadow-soft);
}

.portrait-wrap::before {
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(23, 63, 53, .2);
  border-radius: 165px 165px 14px 14px;
  content: "";
}

.portrait-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 180px 180px var(--radius-md) var(--radius-md);
  object-fit: cover;
}

.portrait-rule {
  position: absolute;
  top: -27px;
  right: 54px;
  width: 84px;
  height: 7px;
  border-radius: 999px;
  background: var(--amber);
  transform: rotate(-6deg);
}

.portrait-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: flex;
  min-width: 146px;
  padding: 12px 16px;
  border: 1px solid rgba(23, 63, 53, .12);
  border-radius: 11px;
  flex-direction: column;
  color: var(--forest-deep);
  background: rgba(255, 253, 248, .9);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.portrait-label span { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.portrait-label strong { margin-top: 2px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }

.teaching-note {
  position: absolute;
  left: -88px;
  bottom: -25px;
  width: 240px;
  padding: 24px 24px 20px;
  color: var(--forest-deep);
  background: var(--amber);
  box-shadow: 0 18px 38px rgba(8, 30, 24, .26);
  transform: rotate(-3.5deg);
}

.teaching-note p { margin: 0 0 .75rem; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.35; }
.note-signoff { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.note-pin { position: absolute; top: 10px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); transform: translateX(-50%); }

.hero-orbit { position: absolute; z-index: -1; color: rgba(255, 253, 248, .08); font-family: var(--font-display); }
.hero-orbit-one { top: 18%; left: 2%; font-size: 5rem; transform: rotate(-12deg); }
.hero-orbit-two { right: 2%; bottom: 3%; font-size: 8rem; }
.hero-scribble { position: absolute; left: 6%; bottom: 27px; width: 180px; opacity: .4; }
.hero-scribble path { fill: none; stroke: var(--amber); stroke-linecap: round; stroke-width: 3; }

/* Trust strip --------------------------------------------- */
.trust-strip { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; min-height: 150px; padding: 30px 28px; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-icon { display: grid; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; place-items: center; flex: none; color: var(--forest); background: var(--sage); font-family: var(--font-display); font-size: .9rem; font-weight: 600; }
.trust-item p { display: flex; margin: 0; flex-direction: column; line-height: 1.35; }
.trust-item strong { color: var(--forest-deep); font-size: .85rem; }
.trust-item p span { margin-top: 5px; color: var(--muted); font-size: .73rem; line-height: 1.5; }

/* About --------------------------------------------------- */
.about { position: relative; background: var(--paper); }
.about-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 44px 96px; align-items: start; }
.about-heading { position: sticky; top: 125px; }
.about-heading h2 { max-width: 560px; }
.about-story { padding-top: 60px; }
.about-story > p { color: #4c5a54; font-size: 1.02rem; }
.about-story .lead-paragraph { color: var(--ink); font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.45; }
.about-story .lead-paragraph em { color: var(--forest); }

.about-stamp {
  display: flex;
  width: 145px;
  height: 145px;
  margin: 46px 0 0 20px;
  border: 1px solid rgba(23, 63, 53, .24);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.05;
  transform: rotate(-8deg);
}

.about-stamp b { margin: 4px 0; color: var(--amber-deep); font-family: var(--font-body); font-size: .52rem; letter-spacing: .18em; text-transform: uppercase; }

.credential-row { display: flex; margin-top: 34px; gap: 10px; flex-wrap: wrap; }
.placeholder-chip { padding: .55rem .8rem; border: 1px dashed rgba(23, 63, 53, .42); border-radius: 999px; color: var(--forest); background: rgba(219, 229, 216, .36); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.expect-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  margin-top: 42px;
  padding: 48px 54px;
  grid-column: 1 / -1;
  grid-template-columns: .75fr 1.2fr;
  gap: 60px;
  color: var(--white);
  background: var(--forest-deep);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 8px;
}

.expect-panel::after { position: absolute; right: -75px; bottom: -115px; width: 300px; height: 300px; border: 60px solid rgba(233,173,74,.1); border-radius: 50%; content: ""; }
.expect-panel h3 { margin: 0; color: var(--white); font-size: clamp(2.1rem, 3.5vw, 3.5rem); }
.expect-panel .eyebrow { grid-column: 1; margin-bottom: .8rem; }
.expect-list { position: relative; z-index: 1; display: grid; margin: 0; padding: 0; grid-row: 1 / span 2; grid-column: 2; list-style: none; }
.expect-list li { display: flex; min-height: 58px; padding: 12px 0; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.expect-list li:last-child { border: 0; }
.expect-list span { color: var(--amber); font-family: var(--font-display); font-size: .8rem; }
.panel-number { position: absolute; top: -40px; right: 28%; color: rgba(255,255,255,.035); font-family: var(--font-display); font-size: 12rem; line-height: 1; }

/* Subjects ------------------------------------------------ */
.subjects { overflow: hidden; border-top: 1px solid var(--line); background: var(--paper-deep); }
.subjects-heading > p { max-width: 480px; }
.subject-layout { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.subject-card { position: relative; overflow: hidden; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-card); }
.subject-card h3 { margin-bottom: .8rem; font-size: clamp(2rem, 3.4vw, 3.2rem); }
.subject-card > p:not(.subject-kicker) { max-width: 530px; color: var(--muted); }
.subject-card-math { display: flex; min-height: 650px; grid-row: 1 / span 2; flex-direction: column; color: var(--white); background: var(--forest); }
.subject-card-math::after { position: absolute; right: -70px; bottom: -90px; width: 320px; height: 320px; border: 55px solid rgba(233,173,74,.12); border-radius: 50%; content: ""; }
.subject-card-math h3 { color: var(--white); font-size: clamp(3rem, 5vw, 5rem); }
.subject-card-math > p:not(.subject-kicker) { color: rgba(255,255,255,.68); }
.subject-card-science { background: var(--sage); }
.subject-card-prep { background: var(--white); }
.subject-topline { display: flex; margin-bottom: 52px; align-items: center; justify-content: space-between; }
.subject-card-science .subject-topline, .subject-card-prep .subject-topline { margin-bottom: 24px; }
.subject-index { font-family: var(--font-display); font-size: .8rem; font-weight: 600; }
.subject-symbol { display: grid; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; place-items: center; font-family: var(--font-display); font-size: 1.2rem; opacity: .62; }
.subject-kicker { margin-bottom: 8px; color: var(--amber-deep); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.subject-card-math .subject-kicker { color: var(--amber); }

.topic-list { position: relative; z-index: 1; display: flex; margin: auto 0 0; padding: 0; gap: 8px; flex-wrap: wrap; list-style: none; }
.topic-list li { padding: .52rem .7rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.82); font-size: .7rem; font-weight: 600; }
.topic-list-compact { margin-top: 24px; }
.topic-list-compact li { border-color: var(--line); color: var(--forest); background: rgba(255,255,255,.36); }
.formula { position: absolute; right: 35px; bottom: 100px; color: rgba(255,255,255,.1); font-family: var(--font-display); font-size: 1.5rem; transform: rotate(-6deg); }

.support-row { display: grid; margin-top: 20px; padding: 25px 28px; border: 1px solid var(--line); border-radius: var(--radius-sm); grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; background: rgba(255,253,248,.55); }
.support-row p { display: flex; margin: 0; align-items: center; gap: 12px; font-size: .78rem; }
.support-icon { display: grid; width: 36px; height: 36px; border-radius: 50%; place-items: center; color: var(--white); background: var(--forest); }
.support-row ul { display: flex; margin: 0; padding: 0; gap: 9px; flex-wrap: wrap; list-style: none; }
.support-row li { color: var(--muted); font-size: .75rem; }
.support-row li + li::before { margin-right: 9px; color: var(--amber-deep); content: "/"; }

/* Process ------------------------------------------------- */
.process { position: relative; overflow: hidden; color: rgba(255,255,255,.72); background: var(--forest-deep); }
.process::before { position: absolute; top: 10%; left: -190px; width: 430px; height: 430px; border: 1px solid rgba(233,173,74,.18); border-radius: 50%; content: ""; }
.process-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
.process-intro { position: sticky; top: 125px; }
.process h2 { color: var(--white); }
.process-intro > p:not(.eyebrow) { max-width: 470px; margin-bottom: 2rem; color: rgba(255,255,255,.64); }
.process-list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); list-style: none; }
.process-list li { position: relative; display: grid; min-height: 185px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.15); grid-template-columns: 76px 1fr; gap: 18px; }
.process-list li::after { position: absolute; right: 0; bottom: -1px; width: 0; height: 2px; background: var(--amber); content: ""; transition: width .3s ease; }
.process-list li:hover::after { width: 100%; }
.step-number { color: var(--amber); font-family: var(--font-display); font-size: .9rem; }
.process-list h3 { margin: 0 0 .65rem; color: var(--white); font-size: clamp(1.8rem, 2.8vw, 2.7rem); }
.process-list p { max-width: 520px; margin: 0; color: rgba(255,255,255,.58); font-size: .92rem; }

/* Sessions ------------------------------------------------ */
.sessions { background: var(--white); }
.session-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.session-card { display: flex; min-height: 540px; padding: 36px 34px; border: 1px solid var(--line); border-radius: var(--radius-md); flex-direction: column; background: var(--paper); }
.session-card-featured { color: var(--white); background: var(--forest); border-color: var(--forest); box-shadow: var(--shadow-soft); transform: translateY(-12px); }
.session-label { min-height: 36px; color: var(--amber-deep); font-size: .64rem; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.session-card-featured .session-label { color: var(--amber); }
.session-card h3 { margin: 1rem 0 .7rem; font-size: 2.25rem; }
.session-card-featured h3 { color: var(--white); }
.session-price { margin-bottom: 1rem; color: var(--forest); font-family: var(--font-display); font-size: 1.15rem; }
.session-card-featured .session-price { color: var(--amber); }
.placeholder-price { display: inline-flex; align-self: flex-start; padding: .42rem .7rem; border: 1px dashed currentColor; border-radius: 999px; font-family: var(--font-body); font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.session-description { min-height: 80px; color: var(--muted); font-size: .87rem; }
.session-card-featured .session-description { color: rgba(255,255,255,.64); }
.included-list { display: grid; margin: 12px 0 30px; padding: 0; gap: 11px; list-style: none; }
.included-list li { position: relative; padding-left: 22px; color: #4e5b56; font-size: .8rem; }
.included-list li::before { position: absolute; left: 0; color: var(--amber-deep); font-weight: 800; content: "✓"; }
.session-card-featured .included-list li { color: rgba(255,255,255,.72); }
.session-card-featured .included-list li::before { color: var(--amber); }
.session-card .btn { width: 100%; margin-top: auto; }
.session-card-featured .btn-primary { color: var(--forest-deep); }
.session-note { max-width: 700px; margin: 32px auto 0; color: var(--muted); font-size: .77rem; text-align: center; }

/* Enrollment ---------------------------------------------- */
.enrollment {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(233,173,74,.14), transparent 27%),
    var(--white);
}
.enrollment::before { position: absolute; top: 220px; left: -150px; width: 310px; height: 310px; border: 50px solid rgba(23,63,53,.045); border-radius: 50%; content: ""; }
.enrollment-heading { position: relative; z-index: 1; }
.enrollment-heading > p { max-width: 500px; }
.enrollment-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: start; }
.enrollment-form { display: grid; gap: 34px; }
.choice-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-step legend { display: flex; width: 100%; margin-bottom: 20px; align-items: flex-start; gap: 14px; }
.choice-step legend > span:last-child { display: flex; flex-direction: column; }
.choice-step legend strong { color: var(--forest-deep); font-family: var(--font-display); font-size: 1.45rem; font-weight: 550; line-height: 1.2; }
.choice-step legend small { margin-top: 5px; color: var(--muted); font-size: .73rem; }
.choice-number { display: grid; width: 34px; height: 34px; border-radius: 50%; place-items: center; flex: none; color: var(--forest); background: var(--sage); font-family: var(--font-display); font-size: .7rem; font-weight: 600; }
.choice-input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.subject-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.subject-choice { display: flex; min-height: 72px; padding: 13px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); align-items: center; justify-content: center; gap: 8px; color: #44534d; background: var(--paper); font-size: .75rem; font-weight: 700; text-align: center; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
.subject-choice > span { display: grid; width: 28px; height: 28px; border-radius: 50%; place-items: center; flex: none; color: var(--forest); background: rgba(219,229,216,.8); font-family: var(--font-display); font-size: .82rem; }
.subject-choice:hover { border-color: rgba(23,63,53,.38); transform: translateY(-2px); }
.choice-input:focus-visible + .subject-choice, .choice-input:focus-visible + .package-choice { outline: 3px solid var(--amber); outline-offset: 3px; }
.choice-input:checked + .subject-choice { color: var(--white); background: var(--forest); border-color: var(--forest); box-shadow: 0 9px 24px rgba(14,43,36,.15); }
.choice-input:checked + .subject-choice > span { color: var(--forest-deep); background: var(--amber); }

.package-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.package-choice { position: relative; display: flex; min-height: 340px; padding: 27px 23px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); flex-direction: column; color: var(--ink); background: var(--paper); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.package-choice:hover { border-color: rgba(23,63,53,.4); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.package-choice-featured { background: #eff3eb; }
.package-ribbon { position: absolute; top: 0; right: 20px; padding: 6px 10px; border-radius: 0 0 8px 8px; color: var(--forest-deep); background: var(--amber); font-size: .55rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.package-check { display: grid; width: 25px; height: 25px; margin: 0 0 25px auto; border: 1px solid rgba(23,63,53,.28); border-radius: 50%; place-items: center; background: var(--white); }
.package-check::after { width: 9px; height: 5px; border-bottom: 2px solid var(--white); border-left: 2px solid var(--white); content: ""; opacity: 0; transform: rotate(-45deg) translateY(-1px); }
.package-eyebrow { margin-bottom: 8px; color: var(--amber-deep); font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.package-choice > strong { min-height: 56px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 550; letter-spacing: -.02em; line-height: 1.15; }
.package-price { display: flex; margin: 18px 0 15px; flex-direction: column; color: var(--forest); font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.05; }
.package-price small { margin-top: 5px; color: var(--muted); font-family: var(--font-body); font-size: .6rem; font-weight: 650; }
.package-description { color: var(--muted); font-size: .73rem; line-height: 1.55; }
.package-includes { margin-top: auto; padding-top: 18px; color: var(--forest); font-size: .61rem; font-weight: 700; }
.package-includes i { padding: 0 3px; color: var(--amber-deep); font-style: normal; }
.choice-input:checked + .package-choice { color: var(--white); background: var(--forest); border-color: var(--forest); box-shadow: 0 18px 38px rgba(14,43,36,.18); transform: translateY(-4px); }
.choice-input:checked + .package-choice .package-check { border-color: var(--amber); background: var(--amber); }
.choice-input:checked + .package-choice .package-check::after { opacity: 1; }
.choice-input:checked + .package-choice .package-eyebrow, .choice-input:checked + .package-choice .package-price { color: var(--amber); }
.choice-input:checked + .package-choice .package-price small, .choice-input:checked + .package-choice .package-description { color: rgba(255,255,255,.66); }
.choice-input:checked + .package-choice .package-includes { color: rgba(255,255,255,.82); }

.order-card { position: sticky; top: 108px; overflow: hidden; padding: 30px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 8px; color: rgba(255,255,255,.72); background: var(--forest-deep); box-shadow: var(--shadow-soft); }
.order-card::after { position: absolute; right: -80px; bottom: -92px; width: 230px; height: 230px; border: 45px solid rgba(233,173,74,.08); border-radius: 50%; content: ""; pointer-events: none; }
.order-card-top { position: relative; z-index: 1; display: flex; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); align-items: center; justify-content: space-between; gap: 14px; }
.order-card .eyebrow { margin: 0; color: rgba(255,255,255,.7); }
.order-secure { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.48); font-size: .58rem; font-weight: 700; }
.order-secure span { color: var(--amber); font-size: .48rem; }
.order-choice { position: relative; z-index: 1; display: flex; min-height: 145px; padding: 25px 0; flex-direction: column; }
.order-choice > span { color: var(--amber); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.order-choice strong { margin-top: 9px; color: var(--white); font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: 1.12; }
.order-choice p { margin: 7px 0 0; color: rgba(255,255,255,.52); font-size: .7rem; }
.order-total { position: relative; z-index: 1; display: flex; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); align-items: center; justify-content: space-between; gap: 20px; }
.order-total span { font-size: .66rem; font-weight: 700; }
.order-total strong { color: var(--amber); font-family: var(--font-display); font-size: 1.18rem; font-weight: 550; }
.checkout-button { position: relative; z-index: 1; width: 100%; border: 0; cursor: pointer; }
.checkout-button:disabled { opacity: .7; cursor: wait; transform: none; }
.checkout-status { position: relative; z-index: 1; min-height: 40px; margin: 13px 6px 0; color: rgba(255,255,255,.52); font-size: .63rem; line-height: 1.5; text-align: center; }
.checkout-status.is-error { color: #ffc0b7; }
.checkout-status.is-ready { color: #d9f0d4; }
.preview-booking-link { position: relative; z-index: 1; display: flex; margin: 6px 0 15px; justify-content: center; color: var(--amber); font-size: .7rem; font-weight: 750; text-underline-offset: 4px; }
.preview-booking-link[hidden] { display: none; }
.order-trust { position: relative; z-index: 1; display: grid; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.12); gap: 8px; list-style: none; }
.order-trust li { color: rgba(255,255,255,.58); font-size: .61rem; }
.order-trust span { margin-right: 6px; color: var(--amber); font-weight: 800; }

.support-callout { position: relative; z-index: 1; display: grid; margin-top: 42px; padding: 28px 30px; border: 1px solid rgba(23,63,53,.14); border-radius: var(--radius-md); grid-template-columns: auto .8fr 1.1fr auto; align-items: center; gap: 22px; background: var(--sage); }
.support-callout-mark { display: grid; width: 48px; height: 48px; border-radius: 50%; place-items: center; color: var(--white); background: var(--forest); font-family: var(--font-display); font-size: 1.25rem; }
.support-callout .eyebrow { margin-bottom: 5px; font-size: .58rem; }
.support-callout h3 { margin: 0; font-size: 1.3rem; }
.support-callout > p { margin: 0; color: #52615b; font-size: .72rem; line-height: 1.55; }
.support-callout .text-link { white-space: nowrap; font-size: .72rem; }

/* Booking ------------------------------------------------- */
.booking-page { min-height: 100vh; color: var(--ink); background: var(--paper); }
.booking-header { position: relative; z-index: 10; color: var(--white); background: var(--forest-deep); }
.booking-header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 28px; }
.brand-booking .brand-mark { background: rgba(255,255,255,.1); }
.brand-booking .brand-mark::after { border-color: var(--forest-deep); }
.brand-booking .brand-copy strong { color: var(--white); }
.brand-booking .brand-copy > span { color: rgba(255,255,255,.45); }
.booking-main { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100vh - 164px); padding: 62px 0 90px; }
.booking-main::before { position: absolute; inset: 0; z-index: -2; opacity: .42; background-image: linear-gradient(rgba(23,63,53,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(23,63,53,.055) 1px, transparent 1px); background-size: 48px 48px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.booking-container { position: relative; z-index: 1; max-width: 1050px; }
.booking-orbit { position: absolute; z-index: -1; color: rgba(23,63,53,.055); font-family: var(--font-display); line-height: 1; }
.booking-orbit-one { top: 120px; left: 2vw; font-size: 9rem; transform: rotate(-10deg); }
.booking-orbit-two { right: 2vw; bottom: 5%; font-size: 11rem; }
.booking-progress { display: grid; max-width: 760px; margin: 0 auto 34px; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; }
.booking-progress li { position: relative; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.booking-progress li::after { position: absolute; top: 18px; left: 48px; right: 12px; height: 1px; background: var(--line); content: ""; }
.booking-progress li:last-child::after { display: none; }
.booking-progress li > span { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; place-items: center; flex: none; background: var(--paper); font-family: var(--font-display); font-size: .72rem; }
.booking-progress li > div { position: relative; z-index: 1; display: flex; padding-right: 14px; flex-direction: column; background: var(--paper); line-height: 1.25; }
.booking-progress small { font-size: .54rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.booking-progress strong { color: var(--ink); font-size: .7rem; }
.booking-progress .is-complete > span { color: var(--forest-deep); background: var(--amber); border-color: var(--amber); }
.booking-progress .is-complete > span::before { content: "✓"; }
.booking-progress .is-complete > span { font-size: 0; }
.booking-progress .is-complete > span::before { font-family: var(--font-body); font-size: .72rem; font-weight: 800; }
.booking-progress .is-current strong { color: var(--forest); }

.booking-status-card { position: relative; max-width: 760px; margin: 0 auto 28px; padding: 42px 60px; border: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 8px; text-align: center; background: var(--white); box-shadow: var(--shadow-soft); }
.booking-status-card .eyebrow { justify-content: center; margin-bottom: 12px; }
.booking-status-card h1 { max-width: 650px; margin: 0 auto 13px; font-size: clamp(2.25rem, 5vw, 3.9rem); }
.booking-status-card > p:last-child { max-width: 610px; margin: 0 auto; color: var(--muted); font-size: .85rem; }
.status-mark { display: grid; width: 50px; height: 50px; margin: 0 auto 20px; border-radius: 50%; place-items: center; background: var(--sage); }
.status-mark i { width: 18px; height: 18px; border: 2px solid rgba(23,63,53,.28); border-top-color: var(--forest); border-radius: 50%; animation: booking-spin .8s linear infinite; }
.booking-status-card[aria-busy="false"] .status-mark i { width: 13px; height: 7px; border: 0; border-bottom: 2px solid var(--forest); border-left: 2px solid var(--forest); border-radius: 0; animation: none; transform: rotate(-45deg) translate(1px, -1px); }
.booking-status-card.is-locked .status-mark { background: var(--paper-deep); }
.booking-status-card.is-locked .status-mark i { width: 14px; height: 14px; border: 2px solid var(--muted); border-radius: 3px; transform: none; }
.booking-status-card.is-preview { border-style: dashed; }
.booking-status-card.is-preview .status-mark { color: var(--forest); background: var(--amber); }
.booking-status-card.is-confirmed { border-color: rgba(23,63,53,.24); }
@keyframes booking-spin { to { transform: rotate(360deg); } }

.booking-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.booking-panel[hidden] { display: none; }
.booking-panel-heading { display: grid; padding: 36px 42px 30px; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 310px; align-items: end; gap: 50px; }
.booking-panel-heading .eyebrow { margin-bottom: 8px; }
.booking-panel-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.booking-panel-heading > p { margin: 0 0 5px; color: var(--muted); font-size: .75rem; }
.calendly-shell { min-height: 680px; background: #fbfaf6; }
.calendly-embed { min-width: 320px; height: 680px; }
.calendly-embed[hidden] { display: none; }
.calendar-demo[hidden] { display: none; }
.demo-banner { padding: 12px 20px; color: #6e5018; background: rgba(233,173,74,.18); font-size: .67rem; font-weight: 600; text-align: center; }
.demo-banner span { margin-right: 7px; padding: 4px 7px; border-radius: 999px; color: var(--forest-deep); background: var(--amber); font-size: .55rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.demo-calendar-layout { display: grid; min-height: 630px; grid-template-columns: 300px 1fr; }
.demo-calendar-layout > aside { display: flex; padding: 44px 34px; border-right: 1px solid var(--line); flex-direction: column; color: var(--muted); }
.demo-avatar { display: grid; width: 48px; height: 48px; margin-bottom: 23px; border-radius: 14px 14px 14px 4px; place-items: center; color: var(--white); background: var(--forest); font-family: var(--font-display); }
.demo-calendar-layout aside small { color: var(--muted); font-size: .66rem; font-weight: 700; }
.demo-calendar-layout aside strong { margin: 7px 0 24px; color: var(--ink); font-family: var(--font-display); font-size: 1.7rem; font-weight: 550; line-height: 1.2; }
.demo-calendar-layout aside p { margin: 0 0 8px; font-size: .7rem; }
.demo-calendar-layout aside p span { display: inline-block; width: 20px; color: var(--forest); }
.demo-dates { padding: 44px; }
.demo-month { display: flex; align-items: center; justify-content: space-between; }
.demo-month strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 550; }
.demo-month button { display: grid; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; place-items: center; color: var(--muted); background: transparent; }
.demo-week, .demo-days { display: grid; margin-top: 34px; grid-template-columns: repeat(5, 1fr); text-align: center; }
.demo-week span { color: var(--muted); font-size: .52rem; font-weight: 750; }
.demo-days { margin-top: 12px; }
.demo-days span { display: grid; width: 40px; height: 40px; margin: auto; border-radius: 50%; place-items: center; font-size: .72rem; }
.demo-days .available { color: var(--white); background: var(--forest); }
.demo-dates > p { margin: 44px 0 13px; color: var(--muted); font-size: .72rem; text-align: center; }
.demo-times { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.demo-times span { padding: 9px 12px; border: 1px solid rgba(23,63,53,.25); border-radius: 8px; color: var(--forest); font-size: .67rem; font-weight: 700; }
.booking-fallback-copy { margin: 0; padding: 18px 28px; border-top: 1px solid var(--line); color: var(--muted); background: var(--paper); font-size: .7rem; text-align: center; }
.booking-fallback-copy .text-link { margin-left: 4px; font-size: .7rem; }
.booking-help { display: flex; max-width: 760px; margin: 24px auto 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); align-items: center; gap: 13px; background: rgba(255,253,248,.65); }
.booking-help > span { display: grid; width: 31px; height: 31px; border-radius: 50%; place-items: center; flex: none; color: var(--white); background: var(--forest); font-family: var(--font-display); }
.booking-help p { margin: 0; color: var(--muted); font-size: .68rem; }
.booking-help strong { color: var(--ink); }
.booking-help a { color: var(--forest); font-weight: 700; text-underline-offset: 3px; }
.booking-footer { padding: 26px 0; color: rgba(255,255,255,.5); background: var(--forest-deep); }
.booking-footer .container { display: flex; justify-content: space-between; gap: 20px; }
.booking-footer p { margin: 0; font-size: .62rem; }

/* FAQ ----------------------------------------------------- */
.faq-section { border-top: 1px solid var(--line); background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 125px; }
.faq-intro h2 { font-size: clamp(2.5rem, 4.5vw, 4.25rem); }
.faq-intro > p:not(.eyebrow) { max-width: 430px; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; min-height: 86px; padding: 22px 4px; grid-template-columns: 1fr 32px; align-items: center; gap: 20px; color: var(--ink); font-size: .97rem; font-weight: 650; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; display: block; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; }
.faq-item summary i::before, .faq-item summary i::after { position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; background: var(--forest); content: ""; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--sage); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { max-width: 620px; padding: 0 55px 26px 0; }
.faq-body p { margin: 0; color: var(--muted); font-size: .91rem; }
.inline-placeholder { padding: 0 .18rem; border-bottom: 1px dashed var(--amber-deep); color: #8b641d; background: rgba(233,173,74,.1); }

/* Contact ------------------------------------------------- */
.contact { position: relative; overflow: hidden; padding: 120px 0; color: rgba(255,255,255,.72); background: var(--forest); }
.contact::before { position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(255,255,255,.14) .8px, transparent .8px); background-size: 20px 20px; content: ""; }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(3.15rem, 5.7vw, 5.5rem); }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.65); font-size: 1rem; }
.contact-details { display: grid; margin: 36px 0 0; padding: 0; gap: 14px; list-style: none; }
.contact-details li { display: flex; align-items: baseline; gap: 12px; font-size: .82rem; }
.contact-details li > span:first-child { color: var(--amber); }
.contact-details a { color: var(--white); text-underline-offset: 4px; }
.inline-placeholder-dark { color: var(--amber); background: rgba(233,173,74,.08); }

.contact-form { display: grid; padding: 42px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 8px; gap: 20px; color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(8,30,24,.32); }
.form-heading { display: flex; margin-bottom: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); flex-direction: column; }
.form-heading span { color: var(--amber-deep); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.form-heading strong { margin-top: 5px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { color: var(--forest-deep); font-size: .72rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(23,63,53,.22); border-radius: 10px; color: var(--ink); background: #fffefa; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.field input, .field select { height: 48px; padding: 0 13px; }
.field textarea { min-height: 112px; padding: 12px 13px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(23,63,53,.11); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--danger); background: rgba(173,63,50,.04); }
.btn-submit { width: 100%; margin-top: 2px; border: 0; cursor: pointer; }
.form-note { margin: -3px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }
.form-note.error { color: var(--danger); font-weight: 700; }
.form-note.success { color: var(--forest); font-weight: 700; }
.contact-symbol { position: absolute; color: rgba(255,255,255,.06); font-family: var(--font-display); line-height: 1; }
.contact-symbol-one { top: -70px; left: 2%; font-size: 18rem; }
.contact-symbol-two { right: 2%; bottom: -80px; font-size: 16rem; }

/* Footer -------------------------------------------------- */
.site-footer { padding: 64px 0 48px; color: rgba(255,255,255,.54); background: var(--forest-deep); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr; gap: 60px; align-items: start; }
.brand-footer .brand-mark { background: rgba(255,255,255,.1); }
.brand-footer .brand-mark::after { border-color: var(--forest-deep); }
.brand-footer .brand-copy strong { color: var(--white); }
.brand-footer .brand-copy > span { color: rgba(255,255,255,.45); }
.footer-brand > p { max-width: 440px; margin: 22px 0 0; color: rgba(255,255,255,.48); font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.68); font-size: .78rem; text-decoration: none; }
.footer-nav a:hover { color: var(--amber); }
.footer-meta { font-size: .7rem; text-align: right; }
.footer-meta p { margin: 0 0 6px; }
.footer-todo { color: var(--amber); }

/* Progressive reveal ------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}

.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive ---------------------------------------------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .hero-grid { gap: 48px; }
  .teaching-note { left: -45px; }
  .trust-item { padding-inline: 20px; }
  .about-grid { gap: 44px 58px; }
  .process-grid, .contact-grid { gap: 64px; }
  .faq-grid { gap: 64px; }
  .enrollment-layout { grid-template-columns: 1fr 340px; gap: 22px; }
  .package-choice { padding-inline: 18px; }
}

@media (max-width: 960px) {
  .section { padding: 96px 0; }
  .hero-grid { min-height: auto; padding: 76px 0 105px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero h1 { max-width: 800px; }
  .hero-visual { justify-self: center; width: min(78vw, 480px); margin-top: 18px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 1px solid var(--line); }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .about-heading { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-story { padding-top: 0; }
  .about-stamp { display: none; }
  .expect-panel { grid-column: auto; }
  .subject-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .subject-card-math { min-height: 560px; grid-row: auto; }
  .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-intro, .faq-intro { position: static; }
  .process-intro { max-width: 700px; }
  .session-grid { grid-template-columns: 1fr; }
  .session-card { min-height: auto; }
  .session-card-featured { transform: none; }
  .session-description { min-height: auto; }
  .enrollment-layout { grid-template-columns: 1fr; }
  .order-card { position: static; }
  .support-callout { grid-template-columns: auto 1fr 1fr; }
  .support-callout .text-link { grid-column: 2; }
  .contact-copy { max-width: 720px; }
  .contact-form { width: min(100%, 720px); }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 72px 0 auto;
    display: flex;
    max-height: calc(100vh - 72px);
    padding: 16px 24px 28px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav > a:not(.btn) { display: flex; min-height: 54px; border-bottom: 1px solid var(--line); align-items: center; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
  .nav .nav-cta { margin-top: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .expect-panel { padding: 40px; grid-template-columns: 1fr; gap: 26px; }
  .expect-list { grid-row: auto; grid-column: auto; }
  .panel-number { right: 0; }
  .support-row { grid-template-columns: 1fr; gap: 14px; }
  .subject-choices { grid-template-columns: 1fr 1fr; }
  .package-choices { grid-template-columns: 1fr; }
  .package-choice { min-height: 270px; }
  .package-choice > strong { min-height: auto; }
  .support-callout { grid-template-columns: auto 1fr; }
  .support-callout > p, .support-callout .text-link { grid-column: 2; }
  .booking-panel-heading { grid-template-columns: 1fr; gap: 10px; }
  .demo-calendar-layout { grid-template-columns: 1fr; }
  .demo-calendar-layout > aside { padding: 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .demo-calendar-layout aside strong { margin-bottom: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); text-align: left; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding: 78px 0; }
  .brand-copy strong { font-size: .98rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero-grid { padding: 64px 0 92px; gap: 52px; }
  .hero h1 { margin-bottom: 1.35rem; font-size: clamp(3.4rem, 16vw, 4.45rem); line-height: .98; }
  .hero-lede { font-size: .98rem; line-height: 1.65; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .btn { width: 100%; min-height: 54px; }
  .hero-actions .text-link { align-self: center; }
  .hero-meta { display: flex; align-items: center; flex-direction: column; gap: 2px; text-align: center; }
  .hero-meta span { display: none; }
  .hero-visual { width: min(92%, 410px); padding-right: 0; }
  .portrait-wrap { box-shadow: 16px 18px 0 rgba(8,30,24,.42), var(--shadow-soft); }
  .teaching-note { left: -8px; bottom: -47px; width: 205px; padding: 20px; }
  .hero-scribble { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 118px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 0; }
  .about-grid { gap: 34px; }
  .about-story .lead-paragraph { font-size: 1.35rem; }
  .expect-panel { padding: 34px 26px; border-radius: 24px 24px 24px 6px; }
  .subject-card { padding: 30px 26px; }
  .subject-card-math { min-height: 570px; }
  .subject-topline { margin-bottom: 34px; }
  .formula { right: 20px; bottom: 138px; font-size: 1rem; }
  .support-row { padding: 22px; }
  .process-list li { min-height: auto; padding: 28px 0; grid-template-columns: 44px 1fr; }
  .process-list h3 { font-size: 1.65rem; }
  .session-card { padding: 32px 26px; }
  .subject-choice { min-height: 66px; padding-inline: 8px; font-size: .67rem; }
  .subject-choice > span { width: 25px; height: 25px; }
  .package-choice { min-height: 285px; padding: 24px 22px; }
  .order-card { padding: 26px 22px; border-radius: 24px 24px 24px 6px; }
  .order-card-top { align-items: flex-start; flex-direction: column; }
  .order-choice { min-height: 126px; }
  .support-callout { padding: 25px 22px; grid-template-columns: 1fr; }
  .support-callout-mark { width: 42px; height: 42px; }
  .support-callout > p, .support-callout .text-link { grid-column: 1; }
  .booking-header-inner { min-height: 74px; }
  .booking-header .text-link { font-size: 0; text-decoration: none; }
  .booking-header .text-link span { font-size: 1.2rem; }
  .booking-main { padding: 38px 0 64px; }
  .booking-progress { margin-bottom: 24px; }
  .booking-progress li { gap: 6px; }
  .booking-progress li::after { left: 36px; right: 7px; top: 15px; }
  .booking-progress li > span { width: 30px; height: 30px; }
  .booking-progress li > div { padding-right: 5px; }
  .booking-progress small { display: none; }
  .booking-progress strong { font-size: .57rem; }
  .booking-status-card { padding: 34px 22px; border-radius: 24px 24px 24px 6px; }
  .booking-status-card h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .booking-panel { border-radius: 22px; }
  .booking-panel-heading { padding: 30px 22px 24px; }
  .calendly-shell { min-height: 620px; }
  .calendly-embed { min-width: 0; height: 620px; }
  .demo-banner { padding-inline: 12px; line-height: 1.6; }
  .demo-calendar-layout { min-height: 560px; }
  .demo-dates { padding: 28px 18px 38px; }
  .demo-week, .demo-days { margin-top: 24px; }
  .demo-days { margin-top: 10px; }
  .demo-dates > p { margin-top: 34px; }
  .booking-fallback-copy { padding-inline: 18px; }
  .booking-fallback-copy .text-link { display: flex; margin: 8px 0 0; justify-content: center; }
  .booking-help { align-items: flex-start; }
  .booking-footer .container { flex-direction: column; gap: 4px; text-align: center; }
  .faq-item summary { min-height: 80px; font-size: .88rem; }
  .faq-body { padding-right: 40px; }
  .contact { padding: 82px 0; }
  .contact-grid { gap: 48px; }
  .contact h2 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .contact-form { padding: 28px 22px; border-radius: 24px 24px 24px 6px; }
  .field-row { grid-template-columns: 1fr; }
  .field input, .field select { height: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .nav-toggle, .contact-form, .site-footer, .booking-header, .booking-footer { display: none; }
  body { color: #000; background: #fff; }
  .hero, .process, .contact, .expect-panel, .subject-card-math, .session-card-featured { color: #000; background: #fff; }
  .hero h1, .process h2, .contact h2, .expect-panel h3, .subject-card-math h3, .session-card-featured h3 { color: #000; }
  .section { padding: 28px 0; }
}
