/* Seattle Futures School: shared styles */

:root {
  --ink: #13203b;
  --ink-soft: #3b4763;
  --paper: #fbfaf6;
  --white: #ffffff;
  --coral: #ff5a3c;
  --coral-dark: #e0432a;
  --sun: #ffc83d;
  --teal: #10a5a0;
  --sky: #dff1f7;
  --blush: #ffe6df;
  --butter: #fff3cf;
  --mint: #dcf3ef;
  --line: #e6e2d8;
  --radius: 18px;
  --max: 1160px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 44rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }

/* Opening banner */
.banner {
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  text-align: center;
  padding: 9px 16px;
}
.banner a { color: var(--sun); font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo svg { width: 40px; height: 40px; flex: none; }
.logo small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--coral); }
.nav .btn { padding: 10px 20px; border: none; white-space: nowrap; }
.nav .btn:hover { border: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero { padding: 90px 0 70px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 .accent { color: var(--coral); }
.hero .lead { margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  aspect-ratio: 1 / 1;
}
.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.tile {
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}
.tile .tile-time { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; margin-bottom: 4px; }
.tile-1 { background: var(--coral); color: var(--white); }
.tile-2 { background: var(--sun); color: var(--ink); }
.tile-3 { background: var(--teal); color: var(--white); }
.tile-4 { background: #745fdd; color: var(--white); }
.tile svg { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; opacity: 0.9; }

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 56px; }
.page-hero h1 { max-width: 15ch; }
.subject-hero h1, .page-hero h1.wide { max-width: none; }
.page-hero.tint-blush { background: var(--blush); }
.page-hero.tint-sky { background: var(--sky); }
.page-hero.tint-butter { background: var(--butter); }
.page-hero.tint-mint { background: var(--mint); }
/* Academics hero: the heading runs two lines on desktop, so the text beside the tiles is no taller than they are */
.academics-hero h1 { max-width: none; font-size: clamp(2.6rem, 4.6vw, 3.5rem); text-wrap: balance; }
/* the homepage repeats the Academics hero as a section, with a section's padding and a smaller heading that runs two lines on desktop */
.page-hero.model-hero { padding: 88px 0; }
.model-hero h2 { max-width: none; text-wrap: balance; }
.model-more { margin: 18px 0 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 34rem; }
.model-more a { color: var(--ink); font-weight: 600; white-space: nowrap; text-decoration-color: var(--coral); text-underline-offset: 3px; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 46rem; margin-bottom: 48px; }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .lead, .bg-ink p { color: rgba(255, 255, 255, 0.82); }
.bg-ink .eyebrow { color: var(--sun); }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  border-top: 3px solid var(--coral);
  padding-top: 18px;
}
.stat:nth-child(2) { border-color: var(--sun); }
.stat:nth-child(3) { border-color: var(--teal); }
.stat:nth-child(4) { border-color: var(--ink); }
.bg-ink .stat:nth-child(4) { border-color: var(--white); }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: 0.98rem; }
.hero-stats { margin-top: 56px; max-width: 980px; }
.hero-stats .stat:nth-child(4) { border-color: #745fdd; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr 1fr; gap: 28px 18px; } .hero-stats .stat strong { font-size: 2rem; } }

/* Cards */
.cards { display: grid; gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-4 .card { padding: 28px; }
#imagine .section-head, #founding-class .section-head { max-width: none; }
#imagine .section-head .lead { max-width: 50rem; }
#imagine .icon { background: rgba(255, 255, 255, 0.2); color: var(--white); }
#imagine .card.sun .icon { background: rgba(255, 255, 255, 0.45); color: var(--ink); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
}
.card.big { padding: 44px; }
.card.coral { background: var(--coral); color: var(--white); border: none; }
.card.sun { background: var(--sun); border: none; }
.card.teal { background: var(--teal); color: var(--white); border: none; }
.card.ink { background: var(--ink); color: var(--white); border: none; }
.card.violet { background: #745fdd; color: var(--white); border: none; }
.card.pastel-blush { background: var(--blush); border: none; }
.card.pastel-mint { background: var(--mint); border: none; }
.card.pastel-butter { background: var(--butter); border: none; }
.card.pastel-sky { background: var(--sky); border: none; }
.card .price { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; margin: 6px 0 10px; }
.card.pastel-blush .eyebrow, .card.pastel-blush .link { color: var(--coral-dark); }
.card.pastel-mint .eyebrow, .card.pastel-mint .link { color: #0b7b77; }
.card.coral p, .card.teal p, .card.ink p, .card.violet p { color: rgba(255, 255, 255, 0.9); }
.course-topics { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.course-topics li { position: relative; padding-left: 18px; font-size: 0.95rem; }
.course-topics li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.course-advanced { margin-top: 22px; }
.course-advanced h3 { margin-bottom: 8px; }
.card .link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; }

.i-coral { background: var(--blush); color: var(--coral-dark); }
.i-sun { background: var(--butter); color: #a87500; }
.i-teal { background: var(--mint); color: #0b7b77; }
.i-ink { background: var(--sky); color: var(--ink); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.top { align-items: start; }

/* Schedule */
.schedule { display: grid; gap: 12px; }
.slot {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}
.slot time { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.slot strong { font-family: var(--font-head); font-size: 1.08rem; display: block; }
.slot span { font-size: 0.94rem; color: var(--ink-soft); }
.slot.core { border-left: 6px solid var(--coral); }
.slot.project { border-left: 6px solid var(--teal); }
.slot.break { background: transparent; border-style: dashed; }
.note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 14px; }

/* Topic chips */
.topic-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topic-group { border-radius: var(--radius); padding: 28px; }
.topic-group.ss { background: var(--blush); }
.topic-group.sci { background: var(--mint); }
.topic-group.art { background: var(--butter); }
.topic-group h3 { margin-bottom: 4px; }
.topic-sub {
  margin: 18px 0 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
  background: var(--white);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Systems diagram */
.systems-art svg { width: 100%; height: auto; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { font-family: var(--font-head); font-weight: 600; color: var(--coral); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Placeholder */
.placeholder {
  border: 2px dashed #cfc8b8;
  border-radius: var(--radius);
  padding: 32px;
  background: transparent;
}
.placeholder .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.founder .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.card.founder .avatar { background: var(--coral); color: var(--white); }
.founder-solo { max-width: 920px; display: grid; gap: 24px; }
.founder.has-photo { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: start; }
.founder-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; display: block; }
/* Jared's bio: a booking button under his photo */
.founder-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.founder-talk { padding: 10px 14px; font-size: 0.88rem; white-space: nowrap; }
@media (max-width: 640px) { .founder-side { align-items: flex-start; } }
@media (max-width: 640px) { .founder.has-photo { grid-template-columns: 1fr; gap: 24px; } .founder-photo { width: 140px; height: 140px; } }
.founder h3 { margin-bottom: 4px; }
.founder .role {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--butter);
  color: #8a6200;
}

/* Big Ideas */
.ideas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.idea-card {
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 6px solid var(--coral);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.idea-2 { border-top-color: var(--sun); }
.idea-3 { border-top-color: var(--teal); }
.idea-4 { border-top-color: #745fdd; }
.idea-5 { border-top-color: var(--ink); }
.idea-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.idea-card .lead { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.idea-card p:last-child { margin-bottom: 0; }
.idea-wide { grid-column: 1 / -1; }
.idea-wide .idea-text { max-width: 46rem; }

/* CTA band */
.cta-band {
  background: var(--coral);
  color: var(--white);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); margin: 0; }
.cta-band .actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  min-width: 0;
  min-height: 52px;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 42px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2313203b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
}
.field select:invalid { color: var(--ink-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 0.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background-color: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-card .btn { margin-top: 24px; }
@media (max-width: 640px) { .form-card .btn { width: 100%; justify-content: center; } }
.hidden { display: none; }

/* FAQ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--ink-soft); max-width: 46rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 36px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer .logo small { color: rgba(255, 255, 255, 0.6); }
.site-footer h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Admissions founding class: the four benefit cards in a 2x2 grid, with a larger light gray "Who thrives here" card on the right */
.founding-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.founding-perks .card { padding: 28px; }
.card.thrive { display: flex; flex-direction: column; padding: 36px 40px; background: #f1efea; border: none; }
.card.thrive h3 { margin: 0 0 12px; }
.card.thrive .checklist { gap: 10px; margin: 18px 0 20px; }
.card.thrive .checklist li::before { background-color: #3aa655; }
.card.thrive .thrive-close { margin-top: auto; color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .founding-grid { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .hero-art, .hero-illustration { max-width: 460px; }
  .ideas-grid { grid-template-columns: 1fr; }
  .cards-3, .cards-4, .topic-groups { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .cta-band { padding: 48px 36px; }
  .cta-band .actions { justify-content: flex-start; }
  .split { gap: 40px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.1rem; }
  .nav .btn { margin-top: 10px; }
  .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); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section, .page-hero.model-hero { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .page-hero { padding: 56px 0 40px; }
  .cards-2, .cards-3, .cards-4, .topic-groups, .form-grid { grid-template-columns: 1fr; }
  .idea-card { padding: 28px; }
  .card, .card.big, .form-card { padding: 26px; }
  .cta-band { padding: 36px 24px; border-radius: 22px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .slot { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.35rem; gap: 10px; }
  .logo small { font-size: 0.64rem; margin-top: 3px; }
}

/* Information sessions */
section[id] { scroll-margin-top: 76px; }
.sessions-band { background: var(--butter); }
.sessions-band .section-head { max-width: none; }
.sessions-band .section-head .lead { max-width: 46rem; }
.sessions-alt { margin: 28px 0 0; color: var(--ink-soft); }
.sessions-alt a, .section-head .lead a, .session-topics a, .faq p a { color: inherit; font-weight: 600; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.session-topics { margin: 0 0 40px; }
.session-topics h3 { margin: 0 0 18px; }
.session-topics .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; max-width: 900px; }
.session-topics .checklist li::before { background-color: var(--coral); }
.session-note { margin: 24px 0 0; font-weight: 600; }
@media (max-width: 640px) { .session-topics .checklist { grid-template-columns: 1fr; } }
.card.session { display: flex; gap: 22px; align-items: flex-start; }
.session h3 { margin-bottom: 4px; }
.session-date {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 96px;
  height: 72px;
  padding: 0 12px;
  white-space: nowrap;
  border-radius: 14px;
  background: var(--coral);
  color: var(--white);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
/* the weekday small on top, the month and day below in big type; one width for every tile, wide enough for "Jan 10" */
.session-date span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.session:nth-child(2) .session-date { background: var(--sun); color: var(--ink); }
.session:nth-child(3) .session-date { background: var(--teal); }
.session-time { color: var(--ink-soft); margin-bottom: 18px; }
.session-link { padding: 10px 20px; font-size: 0.95rem; }
/* above phone width every session card stacks its tile above the text, so the longer Schedule a time to talk button fits */
@media (min-width: 641px) {
  .card.session { flex-direction: column; gap: 16px; }
}
/* Phones: compact one-row session cards, with the date, the day and time, and Add to Calendar side by side; the time stays on one line */
@media (max-width: 640px) {
  .cards:has(> .card.session) { gap: 12px; }
  .card.session { align-items: center; gap: 12px; padding: 14px 16px; }
  .session-date { min-width: 74px; height: 56px; padding: 0 8px; gap: 3px; border-radius: 12px; font-size: 1.15rem; }
  .session-date span { font-size: 0.6rem; }
  .card.session > div:last-child { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; }
  .session h3 { grid-column: 1; margin: 0 0 2px; font-size: 1.1rem; }
  .session-time { grid-column: 1; margin: 0; font-size: 0.88rem; white-space: nowrap; }
  .session-link { grid-column: 2; grid-row: 1 / span 2; padding: 8px 11px; font-size: 0.82rem; white-space: nowrap; }
}
/* the narrowest phones let the time wrap so the button keeps its one line */
@media (max-width: 370px) { .session-time { white-space: normal; } }
/* the Talk to our founder card: the founder's photo in a circle in place of a date, laid out like the session cards; its longer button stays on one line */
.talk-photo { flex: none; display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.talk-photo-link { flex: none; display: block; width: max-content; border-radius: 50%; }
.talk-photo-link:hover .talk-photo { box-shadow: 0 0 0 3px var(--coral); }
.session.talk .session-link { white-space: nowrap; }
/* the same card on the Contact page, alone under the intro: photo beside the text at every width */
.card.session.contact-talk { margin-top: 28px; max-width: 440px; flex-direction: row; gap: 22px; }
@media (max-width: 640px) { .card.session.contact-talk { gap: 12px; } }
/* on phones its text and button sit side by side with the photo, the button below the text */
@media (max-width: 640px) {
  .card.session.talk { align-items: flex-start; }
  .talk-photo { width: 54px; height: 54px; }
  .card.session.talk > div:last-child { display: block; }
  .session.talk .session-time { margin: 0 0 10px; white-space: normal; }
  .session.talk .session-link { display: inline-block; }
}

/* Home page: 10 reasons. Two columns of five, read down each column; one column on phones */
#topics { scroll-margin-top: 92px; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; gap: 34px 56px; }
.reasons li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.reason-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.reasons li:nth-child(4n+2) .reason-num { background: var(--sun); color: var(--ink); }
.reasons li:nth-child(4n+3) .reason-num { background: var(--teal); }
.reasons li:nth-child(4n+4) .reason-num { background: #745fdd; }
.reasons h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.reasons p { margin: 0; color: var(--ink-soft); }
.reasons p a { color: inherit; font-weight: 600; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.reasons-more { margin: 18px auto 0; text-align: center; color: var(--ink-soft); font-size: 1rem; }
.reasons-more a { color: inherit; font-weight: 600; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.reasons-close { margin: 56px auto 0; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; max-width: 44rem; }
@media (max-width: 640px) {
  .reasons { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 28px; }
  .reasons li { grid-template-columns: 40px 1fr; gap: 14px; }
  .reason-num { width: 40px; height: 40px; font-size: 1rem; }
  .reasons h3 { margin-top: 6px; }
  .reasons-close { margin-top: 44px; font-size: 1.2rem; }
}

/* Home page: is Seattle Futures right for your child? Five colored boxes in a row, 3 + 2 on tablets, stacked on phones; all text centered */
#right-fit { background: #f1efea; text-align: center; }
#right-fit .section-head { max-width: none; margin: 0 0 22px; }
#right-fit .section-head .lead { margin: 0 auto; max-width: 52rem; text-wrap: balance; }
/* the lead breaks after "ideas," on desktop; narrower screens wrap it evenly */
@media (max-width: 860px) { #right-fit .br-wide { display: none; } }
.fit-intro { margin: 0 0 18px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.fit-traits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.fit-traits li { padding: 28px 20px 30px; border-radius: var(--radius); background: var(--coral); color: var(--white); font-size: 1rem; line-height: 1.5; }
.fit-traits strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.01em; }
.fit-traits li:nth-child(2), .fit-traits li:nth-child(5) { background: var(--sun); color: var(--ink); }
.fit-traits li:nth-child(3) { background: var(--teal); }
.fit-traits li:nth-child(4) { background: #745fdd; }
.fit-note { margin: 36px auto 0; max-width: 46rem; font-size: 1.15rem; line-height: 1.5; color: var(--ink-soft); text-wrap: balance; }
.fit-note a { color: var(--ink); font-weight: 600; text-decoration-color: var(--coral); text-underline-offset: 3px; }
@media (max-width: 1080px) {
  .fit-traits { display: flex; flex-wrap: wrap; justify-content: center; }
  .fit-traits li { flex: 0 1 calc((100% - 36px) / 3); }
}
@media (max-width: 640px) {
  .fit-traits { flex-direction: column; gap: 14px; }
  .fit-traits li { flex: none; padding: 22px 20px 24px; }
  .fit-traits strong { font-size: 1.45rem; margin-bottom: 2px; }
  .fit-intro { font-size: 1.08rem; }
}
