:root {
  --paper: #f6f9f7;
  --white: #ffffff;
  --ink: #24333b;
  --muted: #52646b;
  --sea: #9fc9bd;
  --sea-dark: #3f6d65;
  --lilac: #c9bdd4;
  --coral: #e6aa90;
  --fog: #b8cad0;
  --sun: #f0d5ad;
  --line: #d9e4df;
  --shadow: 0 18px 50px rgba(36, 51, 59, .13);
  --display: "Iowan Old Style", Charter, "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 1.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 1rem; line-height: 1.62; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid #8d5f7d; outline-offset: 4px; border-radius: .25rem; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 78rem; margin: 0 auto; padding: 1.1rem 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: .92rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.wordmark-mark { display: inline-grid; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 50% 50% 46% 54%; background: var(--ink); color: white; font-family: var(--display); font-size: 1rem; }
nav { display: flex; align-items: center; gap: .9rem; }
nav a { font-size: .8rem; font-weight: 650; text-decoration: none; }
nav a:not(.nav-contact) { display: none; }
.nav-contact { padding: .52rem .8rem; border: 1px solid var(--ink); border-radius: 999px; }

.hero { position: relative; display: grid; min-height: 43rem; overflow: hidden; padding: 3.2rem 1rem 4rem; }
.hero::before { content: ""; position: absolute; width: 34rem; height: 34rem; top: -13rem; right: -15rem; border: 6rem solid rgba(159, 201, 189, .28); border-radius: 50%; pointer-events: none; }
.hero-copy { position: relative; z-index: 4; max-width: 39rem; }
.eyebrow { margin: 0 0 .85rem; color: var(--sea-dark); font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.03; }
h1 { max-width: 12ch; margin-bottom: 1.25rem; font-size: clamp(3rem, 13vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 8vw, 4.25rem); }
h3 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.hero-lede { max-width: 37rem; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .78rem 1.05rem; border: 1px solid transparent; border-radius: 999px; font-size: .84rem; font-weight: 750; line-height: 1.1; text-align: center; text-decoration: none; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 0 8px 20px rgba(36, 51, 59, .14); }
.button-secondary { border-color: var(--muted); background: transparent; color: var(--ink); }
.button-light { background: white; color: var(--ink); }
.text-link { color: var(--ink); font-size: .86rem; font-weight: 700; }
.format-note { max-width: 37rem; margin-top: 1.5rem; color: #63757b; font-size: .8rem; }

.cover-stage { position: relative; z-index: 3; width: min(92vw, 31rem); height: 24rem; margin: 2.5rem auto 0; perspective: 1200px; }
.cover-stage::after { content: ""; position: absolute; z-index: -1; right: 5%; bottom: 1%; left: 5%; height: 20%; border-radius: 50%; background: rgba(36, 51, 59, .16); filter: blur(22px); }
.cover { position: absolute; left: 50%; bottom: 0; width: 11.4rem; border-radius: .25rem .65rem .65rem .25rem; box-shadow: var(--shadow); transform-origin: 50% 100%; }
.cover-one { transform: translateX(-98%) rotate(-12deg) translateY(.8rem); }
.cover-two { transform: translateX(-76%) rotate(-6deg) translateY(.2rem); }
.cover-three { z-index: 5; transform: translateX(-50%) translateY(-.6rem); }
.cover-four { transform: translateX(-24%) rotate(6deg) translateY(.2rem); }
.cover-five { transform: translateX(-2%) rotate(12deg) translateY(.8rem); }

.pathway { padding: 3.6rem 1rem; background: var(--ink); color: white; }
.pathway h2 { max-width: 13ch; margin-bottom: 2rem; font-size: clamp(2.2rem, 9vw, 4rem); }
.pathway .eyebrow { color: #b9ddd3; }
.pathway-links { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.pathway-links a { display: grid; grid-template-columns: 2.2rem 1fr; align-items: center; gap: .45rem; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.17); font-family: var(--display); font-size: 1.18rem; text-decoration: none; }
.pathway-links span { color: #b9ddd3; font-family: var(--body); font-size: .68rem; letter-spacing: .1em; }

.library { max-width: 78rem; margin: 0 auto; padding: 5rem 1rem; }
.section-heading { max-width: 48rem; margin-bottom: 4.5rem; }
.section-heading h2 { max-width: 13ch; margin-bottom: 1rem; }
.section-heading > p:last-child { max-width: 39rem; color: var(--muted); }
.book { display: grid; gap: 2rem; align-items: center; margin: 0 0 6rem; scroll-margin-top: 2rem; }
.book-art { position: relative; max-width: 20rem; margin: 0 auto; padding: 1.3rem; }
.book-art::before { content: ""; position: absolute; inset: 4% 0 0 7%; border-radius: 48% 52% 43% 57%; background: var(--sea); opacity: .35; transform: rotate(-7deg); }
.book:nth-of-type(3) .book-art::before { background: var(--lilac); transform: rotate(7deg); }
.book:nth-of-type(4) .book-art::before { background: var(--coral); }
.book:nth-of-type(5) .book-art::before { background: var(--sun); transform: rotate(5deg); }
.book:nth-of-type(6) .book-art::before { background: var(--fog); }
.book-art img { position: relative; width: 100%; border-radius: .3rem .7rem .7rem .3rem; box-shadow: var(--shadow); }
.book-copy { max-width: 38rem; }
.book-number { margin: 0 0 .65rem; color: var(--sea-dark); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.book h3 { margin-bottom: .55rem; }
.book-subtitle { margin: 0 0 1.25rem; color: var(--muted); font-family: var(--display); font-size: 1.15rem; font-style: italic; }
.book-features { display: grid; gap: .45rem; margin: 1.2rem 0 1.6rem; padding: 0; list-style: none; }
.book-features li { position: relative; padding-left: 1.25rem; }
.book-features li::before { content: ""; position: absolute; top: .62rem; left: 0; width: .48rem; height: .48rem; border-radius: 50%; background: var(--sea); }
.downloads { display: flex; flex-wrap: wrap; gap: .65rem; }

.approach { display: grid; gap: 3rem; padding: 5rem 1rem; background: #e8f1ed; }
.approach-intro { max-width: 40rem; }
.approach-intro h2 { max-width: 13ch; }
.principles { display: grid; gap: .8rem; }
.principles > div { padding: 1.4rem 0; border-top: 1px solid #b8cbc4; }
.principles span { color: var(--sea-dark); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.principles h3 { margin: .35rem 0 .45rem; font-size: 1.55rem; }
.principles p { margin: 0; color: var(--muted); }

.contact-band { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; padding: 4rem 1rem; background: #756680; color: white; }
.contact-band .eyebrow { color: #eadff0; }
.contact-band h2 { max-width: 12ch; margin: 0; }
.medical-note { max-width: 60rem; margin: 0 auto; padding: 3.5rem 1rem; }
.medical-note h2 { font-size: 1.55rem; }
.medical-note p { color: var(--muted); font-size: .86rem; }

footer { display: grid; gap: 1.4rem; padding: 3rem 1rem; background: #1f2d34; color: #f5f7f6; font-size: .85rem; }
.pathway a:focus-visible, .contact-band a:focus-visible, footer a:focus-visible, .pathway button:focus-visible, .contact-band button:focus-visible, footer button:focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #24333b; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .wordmark-mark { background: #f5f7f6; color: #1f2d34; }
.footer-brand p, .copyright { margin: .2rem 0 0; color: #b9c6c9; }
footer address { color: #d6dfe0; font-style: normal; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.footer-links a { color: #eaf1ef; }
.copyright { grid-column: 1 / -1; }

@media (min-width: 48rem) {
  .site-header { padding: 1.25rem 2rem; }
  nav { gap: 1.5rem; }
  nav a:not(.nav-contact) { display: inline; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(25rem, .9fr); align-items: center; min-height: 49rem; padding: 4rem max(2rem, calc((100vw - 74rem) / 2)) 6rem; }
  .hero-copy { padding-right: 2rem; }
  .cover-stage { width: 30rem; height: 36rem; margin-top: 0; }
  .cover { width: 14.5rem; }
  .pathway { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; padding: 5rem max(2rem, calc((100vw - 74rem) / 2)); }
  .book { grid-template-columns: minmax(16rem, .78fr) minmax(0, 1.22fr); gap: 5rem; }
  .book:nth-of-type(even) .book-art { order: 2; }
  .book:nth-of-type(even) .book-copy { justify-self: end; }
  .approach { grid-template-columns: .9fr 1.1fr; gap: 6rem; padding: 6rem max(2rem, calc((100vw - 74rem) / 2)); }
  .principles { grid-template-columns: 1fr 1fr; gap: 0 2.2rem; }
  .contact-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 5rem max(2rem, calc((100vw - 74rem) / 2)); }
  footer { grid-template-columns: 1.4fr .9fr 1fr; padding: 4rem max(2rem, calc((100vw - 74rem) / 2)); }
}

@media (min-width: 72rem) {
  .hero { min-height: 52rem; }
  .hero-lede { font-size: 1.16rem; }
  .cover-stage { width: 35rem; height: 32rem; }
  .cover { width: 16rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .cover-stage.is-ready .cover { animation: settle .72s cubic-bezier(.2,.75,.25,1) both; }
  .cover-stage.is-ready .cover-one, .cover-stage.is-ready .cover-five { animation-delay: .12s; }
  .cover-stage.is-ready .cover-two, .cover-stage.is-ready .cover-four { animation-delay: .06s; }
  @keyframes settle { from { opacity: 0; translate: 0 1.4rem; } to { opacity: 1; translate: 0 0; } }
}

@media print {
  .site-header, .hero-actions, .downloads, .contact-band { display: none; }
  body { background: white; }
  .hero, .book, .approach { break-inside: avoid; }
}
