.story-page h1,
.story-page h2 {
  font-family: "Cabinet Grotesk", Manrope, Arial, sans-serif;
}

.story-hero,
.story-values,
.story-community {
  width: min(86%, 1540px);
  margin-inline: auto;
}

.story-hero { padding-top: clamp(155px, 14vw, 205px); }

.story-hero-copy { margin-bottom: clamp(48px, 6vw, 90px); }

.story-hero h1 {
  max-width: 1160px;
  margin: 24px 0 32px;
  font-size: clamp(2rem, 7.4vw, 7.4rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.story-intro {
  max-width: 690px;
  margin: 0 0 0 auto;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.story-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  border: 1px solid var(--ink);
}

.story-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #536264;
}

.story-photo + .story-photo { border-left: 1px solid var(--ink); }

.story-photo img {
  display: block;
  width: 100%;
  height: clamp(300px, 32vw, 470px);
  object-fit: cover;
}

.story-photo-science img { object-position: 51% 48%; }
.story-photo-classroom img { object-position: center 58%; }

.story-photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-top: 1px solid var(--ink);
  background: var(--cream);
  font: 500 10px "DM Mono", monospace;
  letter-spacing: .025em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story-photo figcaption span { flex: 0 0 auto; }

.story-values { padding-block: clamp(105px, 12vw, 185px); }

.story-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  border: 1px solid var(--ink);
}

.story-value {
  min-width: 0;
  padding: clamp(28px, 3vw, 48px);
}

.story-value + .story-value { border-left: 1px solid var(--ink); }
.story-value-care { background: #f9bd9f; }
.story-value-play { background: #a7d1ed; }
.story-value-belonging { background: var(--lime); }

.story-value-letter {
  display: block;
  margin-bottom: clamp(45px, 5vw, 80px);
  font: 800 clamp(4.5rem, 8vw, 8rem)/.85 "Cabinet Grotesk", Manrope, sans-serif;
  letter-spacing: -.06em;
}

.story-value h2 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3.1vw, 3.3rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.story-value p {
  max-width: 32ch;
  margin: 0;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
}

.story-community { padding-bottom: clamp(110px, 13vw, 200px); }

.story-community-photo {
  height: clamp(420px, 50vw, 760px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #536264;
}

.story-community-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.story-community-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 25px;
  padding-top: 24px;
}

.story-community-caption p {
  margin: 0;
  font: 500 11px/1.6 "DM Mono", monospace;
  letter-spacing: .02em;
}

.story-cta { background: var(--blue); }
.story-cta h2 { max-width: 1040px; }

@media (max-width: 900px) {
  .story-value { padding: 28px; }
  .story-value h2 { font-size: 2rem; }
  .story-value-letter { font-size: 5.5rem; }
}

@media (max-width: 800px) {
  .story-hero,
  .story-values,
  .story-community { width: 88%; }
  .story-hero { padding-top: 150px; }
  .story-hero h1 { max-width: 100%; font-size: clamp(2rem, 8.4vw, 4.4rem); }
  .story-intro { max-width: 640px; margin-left: 0; }
  .story-values-grid { grid-template-columns: 1fr; }
  .story-value { padding: 38px; }
  .story-value + .story-value { border-left: 0; border-top: 1px solid var(--ink); }
  .story-value-letter { margin-bottom: 40px; font-size: 5.5rem; }
  .story-value h2 { max-width: 18ch; font-size: clamp(2rem, 5.5vw, 3rem); }
  .story-value p { max-width: 55ch; }
  .story-community-caption { align-items: flex-start; flex-direction: column; gap: 18px; }
}

@media (max-width: 650px) {
  .story-photo-strip { grid-template-columns: 1fr; }
  .story-photo + .story-photo { border-left: 0; border-top: 1px solid var(--ink); }
  .story-photo img { height: clamp(240px, 62vw, 390px); }
  .story-photo figcaption { padding: 16px 18px; }
  .story-community-photo { height: auto; aspect-ratio: 4 / 3; }
  .story-community-photo img { object-position: center; }
}

@media (max-width: 380px) {
  .story-hero h1 { font-size: 2rem; letter-spacing: -.06em; }
  .story-hero-copy { margin-bottom: 42px; }
  .story-value { padding: 30px 24px; }
  .story-value h2 { font-size: 2rem; }
  .story-photo figcaption { font-size: 9px; }
}
