/* Creative Writing Collaborative — site styles */

:root {
  --teal: #73d1be;
  --teal-dark: #3dcba5;
  --teal-soft: #8fdacb;
  --icon: #86cbd6;
  --ink: #212121;
  --ink-soft: rgba(0, 0, 0, 0.64);
  --line: rgba(0, 0, 0, 0.12);
  --paper: #ffffff;
  --paper-alt: #f7f7f7;
  --header-h: 56px;
  --max: 1120px;
  --font: "Lato", Arial, sans-serif;
  --font-display: "Fredericka the Great", Georgia, serif;
  --font-serif: "Gentium Basic", "Times New Roman", serif;
  /* Notch / home-indicator insets (0 unless viewport-fit=cover applies) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow-wrap: break-word;
}

main { flex: 1; }

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(20px, var(--safe-right)) 0 max(20px, var(--safe-left));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Header / navigation ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  z-index: 50;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.site-header.is-solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 4px var(--line);
}

.site-header .bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(16px, var(--safe-right)) 0 max(16px, var(--safe-left));
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  min-width: 0;
}
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

.nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav li { position: relative; }
.nav a {
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}
.nav a:hover { background: rgba(127, 127, 127, 0.15); }
.nav a[aria-current="page"] { font-weight: 700; }

.nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
  vertical-align: middle;
}

.nav .sub {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  display: none;
}
.nav .sub .sub {
  position: static;
  box-shadow: none;
  display: block;
  padding: 0 0 0 14px;
  min-width: 0;
}
.nav .has-sub:hover > .sub,
.nav .has-sub:focus-within > .sub { display: block; }
.nav .sub a { padding: 8px 16px; border-radius: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    color: var(--ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    padding: 8px var(--safe-right) calc(24px + var(--safe-bottom)) var(--safe-left);
  }
  .nav.is-open { display: block; }
  /* Page behind the open menu stays put */
  .nav-open,
  .nav-open body { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { font-size: 16px; padding: 12px 20px; border-radius: 0; white-space: normal; }
  .nav .has-sub > a::after { display: none; }
  .nav .sub,
  .nav .has-sub:hover > .sub {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
}

/* Narrow desktops: tighten the links so the full menu fits beside the brand */
@media (min-width: 901px) and (max-width: 960px) {
  .site-header .bar { gap: 8px; }
  .nav a { padding: 8px 6px; }
}

/* Small phones: shrink the brand so it fits beside the menu button */
@media (max-width: 380px) {
  .site-header .bar { gap: 8px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 32px; height: 32px; }
}

/* Pages without a hero banner keep the header solid */
.no-hero .site-header {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 4px var(--line);
}
.no-hero main { padding-top: calc(var(--header-h) + var(--safe-top) + 32px); }
.page-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 32px;
}

/* ---------- Hero banners ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  padding: calc(var(--header-h) + var(--safe-top) + 32px) max(20px, var(--safe-right)) 40px max(20px, var(--safe-left));
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.hero .tagline {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.hero--display h1 {
  font-family: var(--font-display);
  font-weight: 400;
}
.hero--bree h1 { font-family: "Bree Serif", Georgia, serif; font-weight: 400; }
.hero--dark-text { color: var(--ink); }
.hero--dark-text h1 { text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6); }
.hero--tall { min-height: 420px; }

/* Phones: shorter banners so content shows above the fold */
@media (max-width: 480px) {
  .hero { min-height: 240px; padding-bottom: 32px; }
  .hero--tall { min-height: 380px; }
}
/* Landscape phones: keep banners well under the screen height */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 200px; padding-top: calc(var(--header-h) + var(--safe-top) + 20px); padding-bottom: 28px; }
  .hero--tall { min-height: 260px; }
  .hero h1 { font-size: clamp(28px, 4.5vw, 40px); }
}

/* ---------- Sections ---------- */

.section { padding: 48px 0; }
@media (max-width: 760px) { .section { padding: 36px 0; } }

.band {
  position: relative;
  background-size: cover;
  background-position: center;
}
.band--dark { color: #fff; }
.band--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.7);
}
.band > * { position: relative; }

.mission {
  padding: 32px 0;
  text-align: center;
}
.mission p {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 20px);
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 24px);
  margin: 0 0 32px;
}

/* Home: "what sets CWC apart" */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}
.feature {
  text-align: center;
  padding: 8px 28px 24px;
}
.feature + .feature { border-left: 2px solid #b9c2e8; }
.feature svg { width: 52px; height: 52px; color: var(--icon); }
.feature h3 { font-size: 19px; margin: 16px 0 20px; }
.feature p { margin: 0; color: var(--ink); }

.bracket {
  width: 100%;
  max-width: 1000px;
  margin: 24px auto 0;
}

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 2px solid #b9c2e8; padding-top: 24px; }
  .bracket { display: none; }
}

/* Home: slideshow */
.slideshow {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.slides {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #ccc;
  cursor: pointer;
}
.dots button[aria-current="true"] { background: var(--teal); }

/* Touch screens: bigger tap area around each dot, same dot size */
@media (max-width: 900px) {
  .dots { gap: 0; margin-top: 4px; }
  .dots button {
    position: relative;
    width: 32px;
    height: 44px;
    border-radius: 0;
  }
  .dots button,
  .dots button[aria-current="true"] { background: none; }
  .dots button::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 11px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
  }
  .dots button[aria-current="true"]::before { background: var(--teal); }
}

/* Home: "where would you like to start?" audience tiles */
.home-aud { background: var(--paper-alt); }
.home-aud-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.home-aud-tile {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.home-aud-ico { width: 40px; height: 40px; color: var(--icon); }
.home-aud-who {
  margin: 12px 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.home-aud-tile h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.home-aud-tile p:not(.home-aud-who) { margin: 0 0 18px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.home-aud-tile .btn { margin: 0; max-width: none; }
.home-aud-more {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
}
.home-aud-contact { text-align: center; margin: 28px 0 0; }
.home-aud-contact a { overflow-wrap: anywhere; }
@media (max-width: 1060px) {
  .home-aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .home-aud-grid { grid-template-columns: 1fr; }
  .home-aud-tile { padding: 18px 16px; }
}

/* Calls to action */
.cta { text-align: center; }
.cta h2 {
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 320px;
}
.btn {
  display: block;
  width: 100%;
  max-width: 366px;
  margin: 0 auto 24px;
  padding: 8px 16px;
  background: var(--teal);
  color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
  transition: background-color 0.15s;
}
.btn:hover { background: var(--teal-dark); }
@media (max-width: 760px) {
  .btn { padding: 12px 16px; }
}

/* ---------- Program sessions / cards ---------- */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
}
.card {
  flex: 0 1 280px;
  text-align: center;
}
.card h2 {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 4px;
}
.card h2 a,
.card h2 { text-decoration: underline; text-underline-offset: 3px; }
.card .sub-title { font-size: 13px; margin: 0 0 12px; }
.card img {
  margin: 0 auto 12px;
  max-height: 340px;
  width: auto;
}
.card .view { font-size: 14px; }
@media (max-width: 760px) {
  .card .sub-title { font-size: 14px; }
  .card .view { display: inline-block; padding: 10px 8px; margin-top: -10px; }
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.cover-grid .card { flex: none; }
.cover-grid .card img { width: 100%; max-height: none; aspect-ratio: 502 / 720; object-fit: cover; }
/* Phones: two covers per row instead of one huge one */
@media (max-width: 560px) {
  .cover-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 28px 16px; }
  .cover-grid .card h2 { font-size: 17px; }
}

.note {
  text-align: center;
  font-size: 12px;
  margin: 16px 0 0;
  text-transform: uppercase;
}

/* Podcasts — alternating image / text rows */
.podcast {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  align-items: center;
  padding: 24px 0;
}
.podcast:nth-child(even) .podcast-art { order: 2; }
.podcast-art img { width: 100%; max-width: 320px; margin: 0 auto; }
.podcast h2 { font-size: 28px; margin: 0; }
.podcast h2 a { text-decoration: underline; text-underline-offset: 4px; }
.podcast .by { margin: 4px 0 12px; }
.podcast p { font-size: 14px; }
@media (max-width: 760px) {
  .podcast { grid-template-columns: 1fr; gap: 16px; }
  .podcast h2 { font-size: 24px; }
  .podcast:nth-child(even) .podcast-art { order: 0; }
}

/* Books */
.book-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 64px;
}
.book-format { text-align: center; flex: 0 1 300px; }
.book-format img { margin: 0 auto 12px; }
.book-format h2 { font-size: 20px; margin: 0; }
.book-format .price { margin: 4px 0 0; font-size: 18px; }
.callout {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 32px;
}
.prose {
  max-width: 820px;
  margin: 0 auto;
}
.prose p { margin: 0 0 1em; }

/* People (about + chapters) */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.people .bio { font-family: "Times New Roman", serif; font-size: 15px; }
.people img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* Tablets: bio beside its photo, zig-zag */
@media (max-width: 900px) {
  .people { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (max-width: 760px) {
  .people { align-items: start; }
  .people .bio { grid-column: 1 / -1; }
  .people .bio--second { order: 4; }
}

.founders {
  padding: 32px 0;
  text-align: center;
  font-family: "Times New Roman", serif;
  font-weight: 700;
}
.founders p { max-width: 1000px; margin: 0 auto; }

.coming-soon {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0;
}

/* Registration form */
.form-embed {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: block;
  border: 0;
  height: 2400px;
}
/* Phones: use the full screen width; the form runs longer when narrow */
@media (max-width: 480px) {
  .form-embed {
    width: calc(100% + 40px);
    max-width: none;
    margin: 0 -20px;
    height: 2500px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 24px 0 calc(24px + var(--safe-bottom));
  font-size: 13px;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.site-footer p { margin: 0; }
.site-footer .contact { display: grid; gap: 2px; }
.site-footer a { text-decoration: underline; }
@media (max-width: 760px) {
  .site-footer { font-size: 14px; }
  .site-footer .contact { gap: 0; }
  .site-footer .contact a { display: inline-block; padding: 11px 0; }
}

.full-bleed { width: 100%; margin-top: 48px; }

/* ---------- Become an Ambassador ---------- */

.amb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.amb-hero > * { position: relative; }

.amb-lead {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 20px);
}

.amb-role {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.amb-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 22px;
  min-width: 0;
}
.amb-ico { width: 40px; height: 40px; color: var(--icon); display: block; }
.amb-card h2 { font-size: 18px; margin: 10px 0 8px; }
.amb-card ul { margin: 0; padding-left: 20px; font-size: 15px; }
.amb-card li { margin-bottom: 6px; }
.amb-card li:last-child { margin-bottom: 0; }

.amb-alt { background: var(--paper-alt); }

.amb-steps {
  list-style: none;
  counter-reset: amb-step;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.amb-steps li {
  counter-increment: amb-step;
  text-align: center;
  min-width: 0;
}
.amb-steps li::before {
  content: counter(amb-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--teal);
  font-weight: 700;
  font-size: 18px;
}
.amb-steps h3 { font-size: 17px; margin: 0 0 6px; }
.amb-steps p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.amb-cta-text { margin: -8px auto 24px; max-width: 560px; }
.amb-btn-ghost { background: var(--paper); }
.amb-btn-ghost:hover { background: #e9f8f4; }

@media (max-width: 900px) {
  .amb-role,
  .amb-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .amb-role { grid-template-columns: 1fr; }
  .amb-steps { grid-template-columns: 1fr; gap: 20px; }
  .amb-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; }
  .amb-steps li::before { grid-row: 1 / span 2; margin: 0; }
}
.amb-cta-note { margin: 0 auto; max-width: 560px; font-size: 15px; color: var(--ink-soft); }
.amb-cta-note a { color: var(--ink); }

/* ---------- School Chapters ---------- */

.ch-title { margin-top: 48px; }
.ch-small { margin: 0; font-size: 14px; color: var(--ink-soft); }
.ch-small a { color: var(--ink); }

/* Hub: intro */
.ch-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.ch-intro p { margin: 0 0 1em; font-size: 17px; }
.ch-intro p:last-child { margin-bottom: 0; }

/* Hub: chapter cards */
.ch-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.ch-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}
.ch-card img,
.ch-card-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ch-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url('../img/shared/hero-library.jpg') center / cover;
}
.ch-card-art span {
  font-family: "Bree Serif", Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}
.ch-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.ch-card h3 { margin: 8px 0 6px; font-size: 20px; line-height: 1.3; }
.ch-card h3 a { text-decoration: none; }
.ch-card h3 a:hover { text-decoration: underline; }
.ch-card p { margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); }
.ch-card .btn { margin: auto 0 0; max-width: none; }

.ch-status {
  align-self: flex-start;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}
.ch-status--live { background: #e0f5f0; color: #1f6f60; }
.ch-status--soon { background: #fdeccf; color: #8a5a00; }

/* Hub: closing band and shared button rows */
.ch-band { background: var(--paper-alt); text-align: center; }
.ch-band .section-title { margin-bottom: 12px; }
.ch-band-text { max-width: 560px; margin: 0 auto 24px; }
.ch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}
.ch-actions .btn { flex: 1 1 220px; max-width: 300px; margin: 0; }
.ch-btn-ghost { background: var(--paper); }
.ch-btn-ghost:hover { background: #e9f8f4; }

/* Chapter page: photo + facts */
.ch-about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.ch-about-photo { margin: 0; }
.ch-about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.ch-about-body h2 { margin: 0 0 12px; font-family: "Bree Serif", Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 30px); }
.ch-about-body p { margin: 0 0 18px; font-size: 17px; }
.ch-about-facts { margin: 0 0 16px; border-top: 4px solid var(--teal); }
.ch-about-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.ch-about-facts dt { font-weight: 700; font-size: 14px; color: var(--ink-soft); padding-top: 1px; }
.ch-about-facts dd { margin: 0; font-size: 15px; }
.ch-about-body .ch-small { margin: 0; font-size: 14px; }
.ch-small a { overflow-wrap: anywhere; }
.ch-photo { margin: 48px auto 0; max-width: 760px; }
.ch-photo img { width: 100%; border-radius: 10px; }

/* Woodland: launching soon */
.ch-woodland { text-align: center; }
.ch-woodland .ch-status { margin-bottom: 12px; }
.ch-lead { max-width: 640px; margin: 16px auto 0; font-size: 18px; }
.ch-expect {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}
.ch-expect li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-size: 15px;
}
.ch-expect strong { display: block; font-size: 16px; margin-bottom: 4px; }
.ch-notify {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 28px 24px;
  background: var(--paper-alt);
  border-radius: 10px;
}
.ch-notify h2 { margin: 0 0 8px; font-family: "Bree Serif", Georgia, serif; font-weight: 400; font-size: clamp(22px, 3vw, 26px); }
.ch-notify p { margin: 0 0 20px; }

@media (max-width: 760px) {
  .ch-about { grid-template-columns: 1fr; gap: 20px; }
  .ch-title { margin-top: 36px; }
  .ch-intro p, .ch-about-body p { font-size: 16px; }
  .ch-photo { margin-top: 36px; }
}
@media (max-width: 640px) {
  .ch-cards, .ch-expect { grid-template-columns: 1fr; }
  .ch-actions .btn { flex-basis: 100%; max-width: none; }
  .ch-notify { padding: 24px 18px; }
}
/* ---------- /School Chapters ---------- */

/* ---------- For Schools ---------- */

.fs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.fs-hero > * { position: relative; }

.fs-alt { background: var(--paper-alt); }

.fs-h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  margin: 0 0 16px;
}
.fs-h3 {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.2vw, 22px);
  text-align: center;
  margin: 48px 0 8px;
}

.fs-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.fs-intro > * { min-width: 0; }

.fs-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.fs-btn-row .btn { margin: 0; width: auto; flex: 1 1 220px; }
.fs-btn-row--center { justify-content: center; max-width: 620px; margin: 0 auto; }
.fs-btn-ghost { background: var(--paper); }
.fs-btn-ghost:hover { background: #e9f8f4; }

.fs-glance {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 22px 24px;
}
.fs-glance h2 { font-size: 18px; margin: 0 0 12px; }
.fs-glance dl { margin: 0; }
.fs-glance dl > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.fs-glance dt { font-weight: 700; font-size: 14px; }
.fs-glance dd { margin: 0; font-size: 15px; }

.fs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fs-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 24px;
  min-width: 0;
}
.fs-card h3 { font-size: 19px; margin: 0 0 14px; }
.fs-check { list-style: none; margin: 0; padding: 0; }
.fs-check li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; }
.fs-check li:last-child { margin-bottom: 0; }
.fs-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fs-card .fs-why-title { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.fs-why { margin: 0; padding-left: 20px; font-size: 15px; }
.fs-why li { margin-bottom: 8px; }

.fs-lead { max-width: 760px; margin: -12px auto 28px; text-align: center; }

/* Session timeline */
.fs-tl {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  position: relative;
  counter-reset: fs-seg;
}
.fs-tl::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 32px;
  border-left: 3px solid var(--teal-soft);
}
.fs-tl li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding-bottom: 22px;
  counter-increment: fs-seg;
}
.fs-tl li:last-child { padding-bottom: 0; }
.fs-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--teal);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.fs-dot svg { width: 20px; height: 20px; color: #2b9c86; }
.fs-tl h3 { margin: 6px 0 4px; font-size: 17px; }
.fs-tl h3::before { content: counter(fs-seg) ". "; color: #2b9c86; }
.fs-tl p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.fs-weeks {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.fs-weeks li {
  position: relative;
  background: #e9f8f4;
  border: 1px solid var(--teal-soft);
  border-radius: 6px;
  padding: 14px 10px;
  text-align: center;
  min-width: 0;
}
.fs-weeks span { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.fs-weeks b { display: block; font-size: 17px; margin-top: 2px; }
.fs-note { text-align: center; margin: 20px auto 0; max-width: 640px; color: var(--ink-soft); font-size: 15px; }

/* Launch steps */
.fs-steps {
  list-style: none;
  counter-reset: fs-step;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.fs-steps li { counter-increment: fs-step; text-align: center; min-width: 0; }
.fs-steps li::before {
  content: counter(fs-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--teal);
  font-weight: 700;
  font-size: 18px;
}
.fs-steps h3 { font-size: 17px; margin: 0 0 6px; }
.fs-steps p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Track record + links */
.fs-facts {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fs-facts li { text-align: center; min-width: 0; }
.fs-facts b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.2;
  color: #2b9c86;
}
.fs-facts span { display: block; font-size: 15px; margin-top: 6px; }

.fs-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.fs-link-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}
.fs-link-card:hover { border-color: var(--teal-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
.fs-link-card h3 { margin: 0 0 6px; font-size: 18px; }
.fs-link-card p { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }
.fs-more { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* Request CTA */
.fs-cta { background: #e9f8f4; }
.fs-cta h2 { max-width: none; margin-bottom: 8px; }
.fs-cta-text { max-width: 600px; margin: 0 auto 24px; }
.fs-contact { margin: 16px 0 0; font-size: 15px; }
.fs-onepager-links { margin: 8px 0 0; font-size: 15px; }
.fs-cta + .site-footer { margin-top: 0; }

@media (max-width: 900px) {
  .fs-intro { grid-template-columns: 1fr; gap: 32px; }
  .fs-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .fs-split,
  .fs-links { grid-template-columns: 1fr; }
  .fs-facts { grid-template-columns: 1fr; gap: 20px; }
  .fs-weeks { grid-template-columns: 1fr; max-width: 360px; }
  .fs-weeks li { display: flex; align-items: baseline; gap: 12px; text-align: left; padding: 10px 14px; }
  .fs-weeks span { flex: 0 0 64px; }
  .fs-weeks b { margin: 0; }
  .fs-lead { text-align: left; }
  .fs-h3 { margin-top: 40px; }
}
@media (max-width: 600px) {
  .fs-steps { grid-template-columns: 1fr; gap: 20px; }
  .fs-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; }
  .fs-steps li::before { grid-row: 1 / span 2; margin: 0; }
  .fs-glance { padding: 18px; }
  .fs-glance dl > div { grid-template-columns: 1fr; gap: 0; }
  .fs-card { padding: 20px 18px; }
  .fs-btn-row .btn { flex-basis: 100%; }
}

/* For Schools one-pager (/for-schools/one-pager/): a US Letter sheet on screen, exactly one page in print */
.fs-op-page { background: #e7eaee; }
.fs-op-page .site-footer { background: var(--paper); }
.fs-op-tools {
  max-width: 8.5in;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.fs-op-tools p { margin: 0; font-size: 15px; }
.fs-op-tools .fs-btn-row { margin: 0; flex: 0 1 auto; }
.fs-op-tools .btn { flex: 0 1 auto; cursor: pointer; font: inherit; font-size: 14px; }

.fs-op {
  --op-navy: #1d4f91;
  width: 8.5in;
  height: 11in;
  margin: 0 auto;
  padding: 0.42in 0.55in 0.38in;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  font-size: 10pt;
  line-height: 1.4;
  overflow: hidden;
}
.fs-op h2, .fs-op h3, .fs-op p, .fs-op ul, .fs-op ol { margin: 0; }
.fs-op-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--teal);
}
.fs-op-head img { width: 82px; height: 82px; flex-shrink: 0; }
.fs-op-kicker { font-size: 9pt; letter-spacing: 0.14em; text-transform: uppercase; color: #2b9c86; font-weight: 700; }
.fs-op-head h1 { margin: 0; font-family: var(--font-serif); font-size: 23pt; line-height: 1.1; color: var(--op-navy); }
.fs-op-tag { font-family: var(--font-display); font-size: 14pt; margin-top: 4px; }
.fs-op-intro { margin-top: 11px; font-size: 10.5pt; }
.fs-op-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.fs-op-facts div { background: #e9f8f4; border-radius: 6px; padding: 7px 10px; }
.fs-op-facts b { display: block; font-size: 8pt; letter-spacing: 0.08em; text-transform: uppercase; color: #2b9c86; }
.fs-op-facts span { font-size: 10pt; font-weight: 700; line-height: 1.3; display: block; }
.fs-op h2 {
  font-family: var(--font-serif);
  font-size: 13pt;
  color: var(--op-navy);
  margin: 11px 0 5px;
}
.fs-op-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0 24px; }
.fs-op ul { padding-left: 16px; }
.fs-op li { margin-bottom: 2px; }
.fs-op li::marker { color: #2b9c86; }
.fs-op-box { border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 6px; padding: 2px 12px 10px; margin-top: 11px; }
.fs-op-box h2 { margin-top: 8px; }
.fs-op-flow { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; list-style: none; padding: 0 !important; }
.fs-op-flow li { margin: 0; background: #e9f8f4; border-radius: 4px; padding: 2px 8px; font-weight: 700; font-size: 9.5pt; }
.fs-op-flow li + li::before { content: "\2192"; color: #2b9c86; margin: 0 6px 0 -2px; font-weight: 400; }
.fs-op-flow--weeks li span { font-weight: 400; color: var(--ink-soft); margin-right: 4px; }
.fs-op-small { font-size: 9.5pt; color: var(--ink-soft); margin-top: 5px !important; }
.fs-op-steps { padding-left: 18px !important; }
.fs-op-impact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fs-op-impact div { border-left: 3px solid var(--teal); padding: 1px 0 1px 10px; font-size: 9.5pt; }
.fs-op-impact b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 17pt; line-height: 1.15; color: var(--op-navy); }
.fs-op-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 3px solid var(--teal);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 10pt;
}
.fs-op-foot strong { font-family: var(--font-serif); font-size: 13pt; color: var(--op-navy); display: block; }
.fs-op-foot a { text-decoration: none; }
.fs-op-contact { text-align: right; }

/* Screens narrower than the sheet: the sheet reflows into a card */
@media screen and (max-width: 880px) {
  .fs-op { width: auto; height: auto; padding: 24px 20px; font-size: 15px; }
  .fs-op-head img { width: 64px; height: 64px; }
  .fs-op-head h1 { font-size: 26px; }
  .fs-op-tag { font-size: 18px; }
  .fs-op-intro { font-size: 16px; }
  .fs-op-facts { grid-template-columns: 1fr 1fr; }
  .fs-op-facts span { font-size: 14px; }
  .fs-op h2 { font-size: 19px; }
  .fs-op-cols, .fs-op-impact { grid-template-columns: 1fr; gap: 12px; }
  .fs-op-flow li { font-size: 14px; }
  .fs-op-small, .fs-op-impact div { font-size: 14px; }
  .fs-op-foot { margin-top: 20px; flex-direction: column; align-items: flex-start; font-size: 15px; }
  .fs-op-contact { text-align: left; }
}
@media screen and (max-width: 420px) {
  .fs-op-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media print {
  @page { size: letter; margin: 0; }
  html, body { background: #fff !important; min-height: 0 !important; }
  .fs-op-page .site-header,
  .fs-op-page .site-footer,
  .fs-op-page .skip-link,
  .fs-op-tools { display: none !important; }
  .fs-op-page main { padding: 0 !important; }
  .fs-op { box-shadow: none; margin: 0; page-break-after: avoid; break-after: avoid; }
  .fs-op * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* ---------- /For Schools ---------- */
