:root {
  --cream: #fff8df;
  --cream-light: #fffdf5;
  --lime: #b7ef38;
  --green: #1fd17f;
  --green-dark: #087a59;
  --sky: #5ddfff;
  --blue: #2268ff;
  --teal: #00b9c8;
  --coral: #ff6f61;
  --orange: #ffb000;
  --pink: #ff6fae;
  --ink: #102b3f;
  --muted: #4d6673;
  --line: rgba(23, 48, 71, 0.14);
  --shadow: 0 28px 74px rgba(25, 118, 210, 0.2);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  width: min(860px, calc(100% - 36px));
  min-height: 62px;
  padding: 10px 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.9);
  box-shadow: 0 14px 44px rgba(34, 104, 255, 0.12);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
}

.home-link {
  width: 46px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-link svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-button-join {
  margin-right: 0.25em;
}

.site-nav a:not(.nav-button) {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:not(.nav-button):hover,
.site-nav a:not(.nav-button).is-active {
  background: rgba(93, 223, 255, 0.24);
  color: var(--blue);
}

.nav-button,
.primary-button,
.email-form button,
.submit-final {
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: 800 0.92rem/1 "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nav-button {
  min-height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 2px solid rgba(25, 118, 210, 0.16);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.1);
}

.primary-button,
.email-form button,
.submit-final {
  min-height: 54px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button,
.email-form button {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(16, 43, 63, 0.18);
}

.nav-button:hover,
.primary-button:hover,
.email-form button:hover,
.submit-final:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(29, 52, 52, 0.16);
}

.nav-button.is-active {
  border-color: rgba(34, 104, 255, 0.36);
  background: rgba(93, 223, 255, 0.2);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(34, 104, 255, 0.12);
}

.hero {
  min-height: 100vh;
  padding: 118px max(24px, calc((100vw - 1220px) / 2)) 108px;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1.28fr);
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
  background: linear-gradient(180deg, #d9f8ff 0%, #edfced 48%, var(--cream) 92%);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero,
.discovery-story {
  scroll-margin-top: 96px;
}

.highlights {
  scroll-margin-top: 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(34px);
  opacity: 0.42;
}

.hero::before {
  width: min(520px, 44vw);
  height: 300px;
  left: -120px;
  top: 24%;
  border-radius: 38% 62% 48% 52%;
  background: rgba(93, 223, 255, 0.42);
  transform: rotate(-12deg);
}

.hero::after {
  width: min(640px, 50vw);
  height: 320px;
  right: -180px;
  bottom: 5%;
  border-radius: 58% 42% 40% 60%;
  background: rgba(183, 239, 56, 0.36);
  transform: rotate(8deg);
}

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

h1,
h2,
blockquote {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 5.6vw, 5.9rem);
  color: var(--ink);
  max-width: 620px;
}

.hero-copy p {
  max-width: 500px;
  margin: 22px 0 32px;
  color: #244961;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  font-weight: 700;
  line-height: 1.35;
}

.hero-art {
  min-width: 0;
  position: relative;
  z-index: 1;
  margin-right: 0;
}

.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9.4;
  border: 0;
  border-radius: 64px 0 0 140px;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 28px 60px rgba(16, 43, 63, 0.14),
    0 0 0 8px rgba(255, 253, 245, 0.4);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -26px 34px 28px -30px;
  z-index: -1;
  border-radius: 92px 0 0 160px;
  background: linear-gradient(135deg, rgba(93, 223, 255, 0.3), rgba(183, 239, 56, 0.22));
  transform: rotate(-3deg);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  text-decoration: none;
}

.scroll-cue span {
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  opacity: 0.4;
  transform: translateY(-3px) rotate(45deg);
  animation: cueFloat 1.7s ease-in-out infinite;
  transition: opacity 180ms ease;
}

.scroll-cue:hover span {
  opacity: 0.7;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 24;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.9);
  box-shadow: 0 16px 34px rgba(16, 43, 63, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
  backdrop-filter: blur(14px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: #ffffff;
  transform: translateY(-2px) scale(1);
}

.back-to-top span {
  width: 14px;
  height: 14px;
  border-left: 3px solid var(--ink);
  border-top: 3px solid var(--ink);
  transform: translateY(4px) rotate(45deg);
}

body.modal-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}

@keyframes cueFloat {
  0%,
  100% {
    transform: translateY(-5px) rotate(45deg);
  }

  50% {
    transform: translateY(2px) rotate(45deg);
  }
}

.section {
  padding: clamp(72px, 10vw, 124px) 24px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(780px, 100%);
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.discovery-story {
  min-height: 86vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 16%, rgba(183, 239, 56, 0.14), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(93, 223, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #fffdf5 0%, #efffee 100%);
}

.highlights {
  min-height: auto;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 176, 0, 0.14), transparent 30%),
    radial-gradient(circle at 84% 82%, rgba(93, 223, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #fff0bd 0%, rgba(255, 248, 223, 0.98) 38%, rgba(255, 253, 245, 1) 100%);
  padding-top: clamp(118px, 12vw, 154px);
  padding-bottom: clamp(58px, 7vw, 88px);
}

.highlights-screen {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  min-height: auto;
  display: grid;
  align-items: center;
  padding: clamp(8px, 1.4vw, 16px);
}

.story-screen {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(440px, 1.08fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.story-variant {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.body-large {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.14rem, 1.75vw, 1.38rem);
  font-weight: 500;
}

blockquote {
  margin: 0;
  max-width: 720px;
  color: var(--green-dark);
  font-size: clamp(3rem, 4.75vw, 5.4rem);
}

blockquote span {
  display: block;
}

.story-idea {
  position: relative;
}

.story-idea::after {
  content: "";
  display: block;
  width: min(260px, 60%);
  height: 10px;
  margin-top: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--green));
  opacity: 0.58;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-cards article {
  position: relative;
  min-height: 178px;
  padding: 24px 26px 26px;
  border: 1px solid rgba(16, 43, 63, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 253, 245, 0.6));
  box-shadow: 0 18px 42px rgba(16, 43, 63, 0.055);
  overflow: hidden;
}

.story-cards article::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 92px;
  height: 92px;
  border-radius: 999px 46% 999px 54%;
  background: currentColor;
  opacity: 0.08;
  transform: rotate(-18deg);
  pointer-events: none;
}

.story-cards article::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 62px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: 0.18;
}

.story-cards article:nth-child(1),
.story-cards article:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 150px;
}

.story-cards article:nth-child(1) {
  padding-right: clamp(80px, 14vw, 150px);
}

.story-cards article:nth-child(4) {
  padding-right: clamp(72px, 12vw, 132px);
}

.story-cards span {
  display: inline-flex;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.card-icon {
  position: absolute;
  z-index: 1;
  right: 18px;
  top: 16px;
  width: 68px;
  height: 68px;
  color: currentColor;
  opacity: 1;
  pointer-events: none;
}

.card-icon .icon-shape {
  fill: currentColor;
  opacity: 0.11;
  stroke: none;
}

.card-icon .icon-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.34;
}

.story-cards .card-icon {
  display: none;
}

.story-cards article:nth-child(1) span {
  color: var(--coral);
}

.story-cards article:nth-child(1) {
  color: var(--coral);
}

.story-cards article:nth-child(2) {
  color: var(--teal);
}

.story-cards article:nth-child(3) {
  color: var(--blue);
}

.story-cards article:nth-child(4) {
  color: var(--green-dark);
}

.story-cards article:nth-child(2)::before {
  right: 26px;
  top: 28px;
  transform: rotate(16deg) scale(1.08);
}

.story-cards article:nth-child(3)::before {
  right: -6px;
  top: 34px;
  width: 112px;
  height: 112px;
  transform: rotate(-34deg);
}

.story-cards article:nth-child(4)::before {
  right: 24px;
  top: 18px;
  width: 104px;
  height: 104px;
  transform: rotate(24deg);
}

.story-cards article:nth-child(3) span {
  color: var(--blue);
}

.story-cards article:nth-child(4) span {
  color: var(--green-dark);
}

.story-cards p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.22vw, 1.16rem);
  font-weight: 700;
  line-height: 1.48;
}

.story-screen-stepper {
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.92fr);
}

.story-step-cards {
  grid-template-columns: 1fr;
  gap: 14px;
}

.story-step-cards article,
.story-step-cards article:nth-child(1),
.story-step-cards article:nth-child(4) {
  grid-column: auto;
  min-height: auto;
  padding: 22px 28px 24px 92px;
}

.story-step-cards article::before {
  right: 20px;
  top: 14px;
  width: 78px;
  height: 78px;
  opacity: 0.07;
}

.story-step-cards article::after {
  left: 92px;
  right: 28px;
  top: 58px;
}

.story-step-cards span {
  position: absolute;
  left: 28px;
  top: 24px;
  margin: 0;
}

.story-step-cards p {
  max-width: 34rem;
}

.story-step-cards .stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-grid-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-grid-cards article,
.story-grid-cards article:nth-child(1),
.story-grid-cards article:nth-child(4) {
  grid-column: auto;
  min-height: 224px;
  padding: 24px 26px 28px;
}

.story-grid-cards article::after {
  left: 26px;
  right: 26px;
  top: 62px;
}

.story-grid-cards p {
  max-width: 23rem;
}

.story-grid-cards .stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: clamp(18px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.stats li {
  position: relative;
  min-height: clamp(180px, 28vh, 260px);
  padding: clamp(68px, 5.7vw, 80px) clamp(24px, 3vw, 38px) clamp(24px, 3vw, 38px);
  border: 1px solid rgba(16, 43, 63, 0.1);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 253, 245, 0.38));
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
  box-shadow: 0 18px 46px rgba(16, 43, 63, 0.055);
  transform-origin: center;
  overflow: hidden;
}

.stats .stat-label {
  display: block;
  position: relative;
  z-index: 2;
  max-width: 15ch;
}

.stat-label-number {
  display: block;
}

.stat-label-number strong {
  display: inline;
  color: var(--coral);
  font-size: 1.58em;
  line-height: 0;
  letter-spacing: 0;
}

.stats li::before {
  content: "";
  position: absolute;
  left: clamp(24px, 3vw, 38px);
  top: clamp(24px, 3vw, 38px);
  width: 62px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.4;
}

.stats li::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 24px;
  width: 86px;
  height: 86px;
  border-radius: 999px 46% 999px 54%;
  background: currentColor;
  opacity: 0.08;
  transform: rotate(-18deg);
}

.stats li:nth-child(1) {
  color: var(--coral);
  padding-top: clamp(82px, 6.4vw, 94px);
}

.stats li:nth-child(2) {
  color: var(--teal);
}

.stats li:nth-child(3) {
  color: var(--green-dark);
}

.stats li:nth-child(3)::before {
  width: 62px;
}

.stats li:nth-child(1) .stat-label {
  max-width: 13ch;
}

.stats li:nth-child(3) .stat-label {
  max-width: 18ch;
}

.stats li:nth-child(2) .stat-label,
.stats li:nth-child(3) .stat-label {
  color: var(--ink);
}

.stats li:nth-child(1) .stat-label {
  color: var(--ink);
}

.fit {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #fff8df 0%, #eaffd8 100%);
  padding-top: clamp(58px, 7vw, 86px);
}

.scroll-image-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 50vh;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: #e8f7df;
  background-image: url("images/scroll-lab-watercolor.png");
  background-size: auto 250%;
  background-position: center 50%;
  background-repeat: no-repeat;
  opacity: 1;
}

.scroll-image-section::before { content: none; }

.scroll-image-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 43, 63, 0.08), rgba(16, 43, 63, 0.34));
  pointer-events: none;
}

.scroll-image-section.is-visible {
  opacity: 1;
}

.scroll-image-frame {
  display: none;
}

.scroll-image-frame::after {
  content: none;
}

.scroll-image-frame img {
  display: none;
}

.family-image-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 50vh;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: #eaffd8;
  background-image: url("images/family-science-girl-tablet.png");
  background-size: auto 250%;
  background-position: center 50%;
  background-repeat: no-repeat;
  opacity: 1;
}

.family-image-section::before { content: none; }

.family-image-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(234, 255, 216, 0.08), rgba(255, 253, 245, 0.08) 48%, rgba(230, 251, 255, 0.22)),
    linear-gradient(180deg, rgba(234, 255, 216, 0.42) 0%, rgba(16, 43, 63, 0.1) 42%, rgba(230, 251, 255, 0.54) 100%);
  pointer-events: none;
}

.family-image-section.is-visible {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .scroll-image-section {
    view-timeline-name: --scrollImg;
    view-timeline-axis: block;
    animation: bg-pan linear both;
    animation-timeline: --scrollImg;
    animation-range: cover 0% cover 100%;
  }

  .family-image-section {
    view-timeline-name: --familyImg;
    view-timeline-axis: block;
    animation: bg-pan-girl linear both;
    animation-timeline: --familyImg;
    animation-range: cover 0% cover 100%;
  }

  @keyframes bg-pan {
    from { background-position: center 0%; }
    to { background-position: center 100%; }
  }

  @keyframes bg-pan-girl {
    from { background-position: center 18%; }
    to { background-position: center 100%; }
  }
}

.curriculum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(93, 223, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(251, 112, 99, 0.16), transparent 30%),
    linear-gradient(180deg, #e9fbff 0%, #fff8df 100%);
}

.curriculum::before {
  content: "";
  position: absolute;
  inset: 9% auto auto -6%;
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border: 2px solid rgba(34, 104, 255, 0.14);
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-18deg);
}

.curriculum::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 6%;
  width: min(30vw, 320px);
  aspect-ratio: 1.15;
  border-radius: 999px 46% 999px 54%;
  background: rgba(166, 235, 125, 0.18);
  transform: rotate(12deg);
}

.curriculum .section-inner {
  position: relative;
  z-index: 1;
}

.curriculum-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.curriculum h2 {
  max-width: 920px;
  margin: 0 auto;
}

.curriculum-intro {
  width: min(760px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.7vw, 1.36rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.ngss-phrase {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ngss-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: super;
  transform: translateY(-0.36em);
}

.ngss-trigger {
  width: 20px;
  height: 20px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 104, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
  box-shadow: 0 6px 16px rgba(34, 104, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.64em;
  font-weight: 800;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ngss-trigger span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ngss-trigger:hover,
.ngss-trigger[aria-expanded="true"] {
  border-color: rgba(34, 104, 255, 0.32);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(34, 104, 255, 0.12);
  transform: translateY(-0.5px);
}

.ngss-trigger:focus-visible {
  outline: 3px solid rgba(34, 104, 255, 0.24);
  outline-offset: 4px;
}

.ngss-tooltip {
  position: relative;
  width: min(560px, 100%);
  margin: 16px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(16, 43, 63, 0.12);
  border-radius: 22px;
  background: rgba(255, 253, 245, 0.76);
  box-shadow: 0 16px 38px rgba(16, 43, 63, 0.08);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-transform: none;
  transform: translateY(-4px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease, max-height 220ms ease, margin 220ms ease, padding 220ms ease;
}

.ngss-tooltip[hidden] {
  display: block;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  overflow: hidden;
}

.ngss-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 253, 245, 0.94);
  border-left: 1px solid rgba(16, 43, 63, 0.1);
  border-top: 1px solid rgba(16, 43, 63, 0.1);
  transform: translateX(-50%) rotate(45deg);
}

.ngss-tooltip.is-open {
  max-height: 220px;
  transform: translateY(0);
  opacity: 1;
}

.topic-cloud {
  width: min(980px, 100%);
  margin: clamp(34px, 5vw, 54px) auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.topic-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  border: 2px solid rgba(16, 43, 63, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.66);
  color: var(--ink);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(16, 43, 63, 0.055);
}

.topic-cloud span:nth-child(3n + 1) {
  border-color: rgba(251, 112, 99, 0.24);
}

.topic-cloud span:nth-child(3n + 2) {
  border-color: rgba(93, 223, 255, 0.3);
}

.topic-cloud span:nth-child(3n + 3) {
  border-color: rgba(102, 191, 86, 0.26);
}

.topic-cloud .topic-more {
  background: var(--ink);
  color: #ffffff;
}

.curriculum-grid {
  width: min(1080px, 100%);
  margin: clamp(34px, 5vw, 54px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.curriculum-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(16, 43, 63, 0.1);
  border-radius: 30px;
  background: rgba(255, 253, 245, 0.72);
  box-shadow: 0 18px 46px rgba(16, 43, 63, 0.055);
  overflow: hidden;
}

.curriculum-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 7px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.38;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 560ms cubic-bezier(0.18, 0.9, 0.28, 1.15);
}

.curriculum-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 118px;
  height: 118px;
  border-radius: 999px 46% 999px 54%;
  background: currentColor;
  opacity: 0.075;
  transform: rotate(-18deg);
  pointer-events: none;
}

.curriculum-card .card-icon {
  display: none;
}

.curriculum-card:nth-child(1) {
  color: var(--green-dark);
}

.curriculum-card:nth-child(2) {
  color: var(--blue);
}

.curriculum-card:nth-child(3) {
  color: var(--coral);
}

.curriculum-card:nth-child(4) {
  color: var(--teal);
}

.curriculum-card:nth-child(2)::after {
  right: -8px;
  top: 42px;
  transform: rotate(18deg) scale(1.05);
}

.curriculum-card:nth-child(3)::after {
  right: 24px;
  top: 28px;
  transform: rotate(-28deg) scale(0.96);
}

.curriculum-card:nth-child(4)::after {
  right: -4px;
  top: 22px;
  transform: rotate(26deg) scale(1.1);
}

.curriculum-card h3 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-height: 2.2em;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.08;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 640ms cubic-bezier(0.18, 0.9, 0.28, 1.12);
}

.curriculum-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.48;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 640ms cubic-bezier(0.18, 0.9, 0.28, 1.12);
}

.curriculum-grid .curriculum-card.stagger-item {
  opacity: 0;
  transform: translateY(28px) scale(0.975);
  transition:
    opacity 620ms ease,
    transform 780ms cubic-bezier(0.18, 0.9, 0.28, 1.12),
    box-shadow 220ms ease;
}

.curriculum-grid.is-visible .curriculum-card.stagger-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.curriculum-grid.is-visible .curriculum-card::before {
  transform: scaleX(1);
}

.curriculum-grid.is-visible .curriculum-card .card-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.curriculum-grid.is-visible .curriculum-card h3,
.curriculum-grid.is-visible .curriculum-card p {
  opacity: 1;
  transform: translateY(0);
}

.curriculum-grid.is-visible .curriculum-card:nth-child(1) {
  transition-delay: 80ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(1)::before {
  transition-delay: 220ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(1) .card-icon,
.curriculum-grid.is-visible .curriculum-card:nth-child(1) h3 {
  transition-delay: 340ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(1) p {
  transition-delay: 430ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(2) {
  transition-delay: 190ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(2)::before {
  transition-delay: 330ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(2) .card-icon,
.curriculum-grid.is-visible .curriculum-card:nth-child(2) h3 {
  transition-delay: 450ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(2) p {
  transition-delay: 540ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(3) {
  transition-delay: 300ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(3)::before {
  transition-delay: 440ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(3) .card-icon,
.curriculum-grid.is-visible .curriculum-card:nth-child(3) h3 {
  transition-delay: 560ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(3) p {
  transition-delay: 650ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(4) {
  transition-delay: 410ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(4)::before {
  transition-delay: 550ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(4) .card-icon,
.curriculum-grid.is-visible .curriculum-card:nth-child(4) h3 {
  transition-delay: 670ms;
}

.curriculum-grid.is-visible .curriculum-card:nth-child(4) p {
  transition-delay: 760ms;
}

.question-path {
  width: min(980px, 100%);
  margin: clamp(34px, 5vw, 54px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.question-path li {
  position: relative;
  list-style: none;
  min-height: 118px;
  padding: 28px 28px 28px 78px;
  border: 1px solid rgba(16, 43, 63, 0.1);
  border-radius: 28px;
  background: rgba(255, 253, 245, 0.72);
  color: var(--ink);
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 16px 38px rgba(16, 43, 63, 0.05);
}

.question-path li::before {
  content: "?";
  position: absolute;
  left: 28px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--sky), var(--lime));
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  transform: rotate(-8deg);
}

.curriculum-note {
  width: min(760px, 100%);
  margin: 28px auto 0;
  color: var(--green-dark);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  text-align: center;
}

.fit-list {
  width: min(880px, 100%);
  margin: 42px auto 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.fit-list li {
  position: relative;
  padding: 4px 0 4px 54px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  font-weight: 700;
  transform-origin: left center;
}

.fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(31, 209, 127, 0.92), rgba(183, 239, 56, 0.88));
  opacity: 0;
  transform: scale(0.45) rotate(-10deg);
  box-shadow: 0 8px 18px rgba(25, 184, 120, 0.24);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.18, 1.35, 0.3, 1);
}

.fit-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.38em;
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: radial-gradient(circle at 82% 24%, #ffffff 0 3px, transparent 3.5px);
  opacity: 0;
  transform: scale(0.2) rotate(-18deg);
  transition:
    opacity 260ms ease,
    transform 460ms cubic-bezier(0.18, 1.35, 0.3, 1);
}

.fit-list.is-visible li::before {
  opacity: 1;
  transform: scale(1) rotate(-7deg);
}

.fit-list.is-visible li::after {
  opacity: 1;
  transform: scale(1) rotate(-18deg);
}

.fit-list.is-visible li:nth-child(1)::before,
.fit-list.is-visible li:nth-child(1)::after {
  transition-delay: 160ms;
}

.fit-list.is-visible li:nth-child(2)::before,
.fit-list.is-visible li:nth-child(2)::after {
  transition-delay: 270ms;
}

.fit-list.is-visible li:nth-child(3)::before,
.fit-list.is-visible li:nth-child(3)::after {
  transition-delay: 380ms;
}

.fit-list.is-visible li:nth-child(4)::before,
.fit-list.is-visible li:nth-child(4)::after {
  transition-delay: 490ms;
}

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(93, 223, 255, 0.22), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(183, 239, 56, 0.16), transparent 32%),
    linear-gradient(180deg, #e6fbff 0%, #efffe1 58%, #fff7cf 100%);
  padding-bottom: clamp(92px, 11vw, 150px);
}

.about .section-inner,
.waitlist .section-inner {
  position: relative;
  z-index: 1;
}

.about::before {
  content: "";
  position: absolute;
  left: max(-120px, -7vw);
  bottom: clamp(64px, 8vw, 116px);
  z-index: -1;
  width: clamp(210px, 28vw, 420px);
  aspect-ratio: 1;
  border: 3px solid rgba(74, 137, 255, 0.1);
  border-radius: 999px;
}

.about .section-inner::before,
.about .section-inner::after,
.waitlist .section-inner::before,
.waitlist .section-inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.about .section-inner::before {
  right: min(-56px, -4vw);
  top: -46px;
  width: clamp(120px, 15vw, 210px);
  aspect-ratio: 1.4 / 1;
  border-radius: 999px 48% 999px 52%;
  background: rgba(93, 223, 255, 0.16);
  transform: rotate(-14deg);
}

.about .section-inner::after {
  left: min(-44px, -3vw);
  bottom: -54px;
  width: clamp(120px, 16vw, 230px);
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--orange), var(--green));
  opacity: 0.5;
}

.about::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  z-index: -1;
  height: clamp(120px, 16vw, 220px);
  background:
    radial-gradient(ellipse at 74% 70%, rgba(183, 239, 56, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(255, 247, 207, 0), #fff7cf 82%);
}

.about .body-large {
  width: min(840px, 100%);
  margin: 32px auto 0;
  text-align: center;
}

.waitlist {
  position: relative;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(255, 176, 0, 0.12), transparent 34%),
    linear-gradient(180deg, #fff7cf 0%, #fff2bf 42%, #ffedb0 100%);
  padding-top: clamp(86px, 11vw, 138px);
}

.waitlist::before {
  content: "";
  position: absolute;
  left: max(-130px, -8vw);
  top: clamp(64px, 8vw, 120px);
  width: clamp(220px, 27vw, 390px);
  aspect-ratio: 1;
  border: 3px solid rgba(93, 223, 255, 0.13);
  border-radius: 999px;
}

.waitlist::after {
  content: "";
  position: absolute;
  right: max(-100px, -5vw);
  bottom: clamp(40px, 7vw, 110px);
  width: clamp(170px, 22vw, 320px);
  aspect-ratio: 1.7 / 1;
  border-radius: 999px 44% 999px 56%;
  background: rgba(31, 209, 127, 0.12);
  transform: rotate(-10deg);
}

.waitlist .section-inner::before {
  left: 50%;
  top: -34px;
  width: 78px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.48);
  transform: translateX(-50%);
}

.waitlist .section-inner::after {
  right: 2%;
  top: 12%;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid rgba(93, 223, 255, 0.16);
}

.waitlist .body-large {
  margin-top: 24px;
}

.email-form {
  width: min(560px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.email-form input {
  width: 100%;
  min-height: 54px;
  border: 2px solid rgba(25, 118, 210, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: 700 1rem/1 "DM Sans", system-ui, sans-serif;
  padding: 0 22px;
  outline: none;
}

.email-form input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(100, 216, 255, 0.28);
}

.privacy-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-note a {
  color: var(--blue);
  font-weight: 800;
}

.form-error {
  min-height: 24px;
  margin: 12px 0 0;
  color: #b94d28;
  font-weight: 800;
}

.success-message {
  margin: 18px 0 0;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.08rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(14px, 4vh, 38px) 20px 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 48, 71, 0.52);
}

.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  background: var(--cream-light);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.modal-intro {
  margin: 0 48px 28px 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 800;
}

.survey-progress {
  margin: 0 0 26px;
}

.survey-progress-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.survey-progress-track {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(93, 223, 255, 0.18);
}

.survey-progress-fill {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f36f61, #ffd46f 48%, #87e5a6);
  transition: width 240ms ease;
}

fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.survey-step {
  display: none;
}

.survey-step.is-active {
  display: block;
}

legend {
  margin-bottom: 18px;
  padding: 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.16rem, 1.65vw, 1.48rem);
  line-height: 1.16;
}

.hint {
  margin: 8px 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.option-grid,
.option-stack {
  display: grid;
  gap: 10px;
}

.option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-grid label,
.option-stack label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 2px solid rgba(23, 48, 71, 0.1);
  border-radius: 18px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.option-grid label:has(input:checked),
.option-stack label:has(input:checked) {
  border-color: rgba(34, 104, 255, 0.35);
  background: rgba(93, 223, 255, 0.12);
  color: var(--ink);
}

.option-grid label:has(input:disabled),
.option-stack label:has(input:disabled) {
  opacity: 0.42;
  cursor: not-allowed;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.survey-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.survey-back {
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid rgba(16, 43, 63, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.survey-back[hidden],
.submit-final[hidden] {
  display: none;
}

.submit-final {
  min-height: 52px;
  flex: 1;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(16, 43, 63, 0.18);
}

.submit-final:hover {
  color: var(--blue);
  background: #ffffff;
}

.survey-thanks {
  margin: 8px 48px 8px 0;
}

.survey-thanks p {
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.22;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.stagger-item {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 620ms ease,
    transform 720ms cubic-bezier(0.18, 0.9, 0.28, 1.15),
    box-shadow 220ms ease;
}

.reveal-list.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-list.is-visible .stagger-item:nth-child(1) {
  transition-delay: 80ms;
}

.reveal-list.is-visible .stagger-item:nth-child(2) {
  transition-delay: 190ms;
}

.reveal-list.is-visible .stagger-item:nth-child(3) {
  transition-delay: 300ms;
}

.reveal-list.is-visible .stagger-item:nth-child(4) {
  transition-delay: 410ms;
}

.fit-list .stagger-item:hover {
  color: var(--ink);
  transform: translateX(6px) scale(1.01);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .stagger-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .site-header::-webkit-scrollbar {
    display: none;
  }

  .site-nav {
    width: max-content;
    min-width: 100%;
    justify-content: center;
    gap: clamp(8px, 2.4vw, 16px);
    font-size: clamp(0.72rem, 2.5vw, 0.86rem);
  }

  .site-nav a:not(.nav-button) {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 116px;
    padding-bottom: 102px;
    text-align: center;
    gap: 34px;
  }

  .hero-copy {
    margin: 0 auto;
    max-width: 680px;
  }

  .hero-art {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .hero-art img {
    aspect-ratio: 16 / 9;
    border-radius: 34px 34px 86px 34px;
  }

  .hero-art::before {
    inset: -12px 18px 20px -14px;
    border-radius: 62px 32px 92px 36px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .highlights {
    min-height: auto;
  }

  .highlights-screen {
    min-height: auto;
    width: min(680px, 100%);
    margin: 0 auto;
    border-radius: 42px;
    padding: 46px 32px;
  }

  .discovery-story {
    min-height: auto;
  }

  .story-screen {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-variant + .story-variant {
    margin-top: 74px;
  }

  .story-cards {
    grid-template-columns: 1fr;
  }

  .story-cards article,
  .story-cards article:nth-child(2),
  .story-cards article:nth-child(4),
  .story-cards.is-visible article:nth-child(2),
  .story-cards.is-visible article:nth-child(4) {
    min-height: auto;
    transform: translateY(0) scale(1);
  }

  .story-step-cards article,
  .story-step-cards article:nth-child(1),
  .story-step-cards article:nth-child(4) {
    padding: 22px 24px 24px;
  }

  .story-step-cards span {
    position: relative;
    left: auto;
    top: auto;
    margin-bottom: 28px;
  }

  .story-step-cards article::after {
    left: 24px;
    right: 24px;
  }

  .story-grid-cards {
    grid-template-columns: 1fr;
  }

  .story-grid-cards article,
  .story-grid-cards article:nth-child(1),
  .story-grid-cards article:nth-child(4) {
    min-height: auto;
    padding: 22px 24px 24px;
  }

  .story-grid-cards p {
    max-width: none;
  }

  blockquote {
    font-size: clamp(2.65rem, 11vw, 4.6rem);
  }

  .curriculum-card h3 {
    min-height: 0;
  }

  .stats {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 34px;
  }

  .stats li {
    grid-row: auto;
    min-height: 180px;
    font-size: clamp(1.7rem, 7vw, 2.85rem);
  }

  .stats li:nth-child(3) .stat-label {
    max-width: 16ch;
  }

  .scroll-image-section {
    height: 48vh;
    min-height: 270px;
  }

  .family-image-section {
    height: 42vh;
    min-height: 260px;
  }

  .family-image-section::before {
    background-attachment: scroll;
    background-position: center center;
  }

  .scroll-image-frame {
    inset: 0;
  }

  .scroll-image-frame img {
    height: 134%;
  }

  .curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-path {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 58px;
    padding-inline: 10px;
  }

  .site-nav {
    gap: 6px;
    font-size: 0.7rem;
  }

  .site-nav a:not(.nav-button) {
    padding-inline: 8px;
    min-height: 42px;
  }

  .nav-button {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.7rem;
  }

  .nav-button-join {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-inline: 18px;
    padding-bottom: 92px;
  }

  .scroll-cue {
    width: 48px;
    height: 48px;
    bottom: 22px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .hero-art img {
    aspect-ratio: 4 / 3;
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 4.7rem);
  }

  .section {
    padding-inline: 18px;
  }

  .curriculum h2 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .ngss-tooltip {
    width: min(100%, 288px);
    font-size: 0.86rem;
  }

  .topic-cloud {
    justify-content: flex-start;
    gap: 10px;
  }

  .topic-cloud span {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-card {
    min-height: auto;
    padding: 24px;
  }

  .question-path li {
    min-height: auto;
    padding: 24px 22px 24px 68px;
  }

  .question-path li::before {
    left: 22px;
    top: 22px;
  }

  .email-form {
    grid-template-columns: 1fr;
  }

  .email-form button {
    width: 100%;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 12px;
  }

  .modal-card {
    border-radius: 22px;
    padding: 24px 18px;
  }
}
