/* Shared reading, interaction, and layout rules. Loaded after page styles.
   Color stays with each section so dark teaching panels retain their contrast. */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --read: 708px;
  --section-space: clamp(56px, 7vw, 96px);
  --radius: 12px;
}
body { font-family: var(--font); line-height: 1.7; }
h1, h2, h3, button, input, select, textarea { font-family: var(--font); }
h1, h2, h3 { font-weight: 600; font-style: normal; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; margin-top: 0; }
h3 { line-height: 1.3; }
main > section { padding-block: var(--section-space); }
main :where(p, li, h1, h2, h3, a) { overflow-wrap: break-word; }
main .hero { background: var(--paper); padding-block: clamp(52px, 7vw, 88px); }
main .hero h1 { font-weight: 600; font-style: normal; }
main .hero p { text-wrap: pretty; }
main .read > p:last-child { margin-bottom: 0; }
main img { max-width: 100%; }
main [id] { scroll-margin-top: 28px; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, .btn { min-height: 48px; line-height: 1.45; }
.btn { text-align: center; max-width: 100%; border-radius: 8px; }
button.btn { font-family: var(--font); }
.btn-ghost, .btn-quiet { border-color: #AAB9BA; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #2F6675;
  outline-offset: 4px;
}
.signup input:focus-visible { outline: 3px solid #2F6675; outline-offset: 3px; }
.method :focus-visible, .dark :focus-visible, footer :focus-visible { outline-color: #F3EEE4; }
button:disabled { opacity: .6; cursor: not-allowed; }
.signup { gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; text-align: left; }
.form-field > span { font-size: 15px; font-weight: 500; color: var(--ink); }
.signup .form-field input { flex: none; width: 100%; max-width: none; min-width: 0; margin: 0; }
.signup .fine { flex-basis: 100%; }
.fine { font-size: 14px; }
.availability { font-size: 16px; color: var(--blue-dark); margin: 0 0 16px; }
.founder, .scene, .pull { border-left: 0; padding-left: 0; }
.pull { padding-block: 24px; border-block: 1px solid var(--line); }
footer { line-height: 1.8; }
footer a { display: inline-block; padding-block: 8px; }
.page-thank-you, .page-circle-waitlist-thank-you { display: block; padding: 0; }
.page-thank-you main, .page-circle-waitlist-thank-you main { width: 100%; max-width: 708px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px; }

/* Home: a clear opening, then reading, teaching, and the people behind it. */
.page-home .hero { padding-block: clamp(56px, 8vw, 108px); }
.page-home .mantra { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.16; }
.page-home .hero-sub { margin-bottom: 28px; }
.page-home .hero-cta { gap: 12px; }
.page-home .secondary-line { margin-bottom: 0; }
.page-home .recognition { border-block: 1px solid var(--line); }
.page-home .method { background: var(--blue-dark); }
.page-home .flow { gap: 0; border-radius: 0; }
.page-home .flow > div { background: transparent; padding: 24px 0 24px 52px; border-top: 1px solid #64838B; position: relative; }
.page-home .flow .ltr { position: absolute; left: 0; top: 20px; margin: 0; }
.page-home .flow > div:last-child { border-bottom: 1px solid #64838B; }
.page-home .lineage { text-align: left; }
.founder-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.founder-photo { margin: 0; }
.founder-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.founder-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.founder-copy { min-width: 0; }
.text-link { display: inline-block; font-weight: 600; padding-block: 10px; }
.text-link span { margin-left: 8px; }
.page-home .paths { gap: 0; grid-template-columns: 1fr 1fr; }
.page-home .card { border: 0; box-shadow: none; border-radius: 0; background: transparent; padding: 0 36px 0 0; }
.page-home .card + .card { border-left: 1px solid #CFC7B9; padding: 0 0 0 36px; }
.page-home .card h3 { margin-bottom: 18px; }
.page-home .card p { font-size: 17px; }
.page-home .card .fine { font-size: 14px; }

/* Our Story: the portrait is part of the opening, with one consistent prose style. */
.page-our-story .story-hero { text-align: left; padding-block: clamp(40px, 6vw, 80px); }
.story-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.story-intro h1 { font-size: clamp(34px, 4.3vw, 52px); line-height: 1.14; }
.story-hero .story-intro p { font-size: 19px; margin: 0; }
.story-portrait { margin: 0; }
.story-portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.story-portrait figcaption { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 14px; }
.page-our-story .read > p { font-size: 18px; line-height: 1.7; }
.page-our-story .read > .pull { font-size: clamp(23px, 2.6vw, 29px); line-height: 1.45; }
.page-our-story .care-note { padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); color: var(--ink); }
.page-our-story .read > .sig { font-size: 15px; }
.jacoby { float: right; width: 220px; margin: 4px 0 24px 32px; }
.jacoby img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.jacoby figcaption { font-size: 14px; margin-top: 8px; color: var(--muted); }

/* Resource lists use space and rules instead of a stack of identical boxes. */
.page-families .step { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 28px 0; background: transparent; }
.page-families .steps { gap: 0; }
.page-families .step p { font-size: 18px; }
.page-contact .card { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; padding: 28px 0; }
.page-contact .card h2 { font-size: clamp(24px, 2.5vw, 30px); }
.page-contact .card p { font-size: 18px; }
.page-contact .card .fine { font-size: 15px; }
.page-work-with-us .tier, .page-professionals .tier { box-shadow: none; }
.page-work-with-us .tier:not(.core), .page-professionals .tier:not(.core) { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding-inline: 0; background: transparent; }

@media (max-width: 760px) {
  .founder-layout, .story-opening { grid-template-columns: 1fr; }
  .founder-photo { max-width: 480px; }
  .story-opening { gap: 28px; }
  .page-home .paths { grid-template-columns: 1fr; gap: 36px; }
  .page-home .card { padding: 0; }
  .page-home .card + .card { border-left: 0; border-top: 1px solid #CFC7B9; padding: 32px 0 0; }
  .jacoby { float: none; width: min(100%, 280px); margin: 0 0 28px; }
  .joinbox, .checkout, .tier.core { padding: 28px 18px; }
}
@media (max-width: 420px) {
  .wrap { padding-inline: 20px; }
  .hero-cta, .doors { flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .doors .btn { width: 100%; }
  .page-home .mantra { font-size: 34px; }
  .signup .btn { width: 100%; padding-inline: 16px; }
  .joinbox, .checkout, .tier.core { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
