.about-page main { overflow-x: clip; }
.about-container { max-width: 1200px; margin: 0 auto; }
.about-page section:not(.footer-cta-section) { box-sizing: border-box; }
.about-hero, .about-story, .about-mission, .about-community { padding: 6rem 2rem; }
.about-hero { padding-top: 10rem; text-align: center; background: radial-gradient(ellipse at 20% 20%, #87618c26, transparent 65%), #0b0d17; color: #fff; }
.about-page .about-hero h1 { max-width: 900px; margin: 0 auto 1.5rem; font: 400 clamp(2.75rem, 5vw, 4.5rem)/1.08 'Newsreader', serif; }
.about-eyebrow { margin: 0 0 .875rem; color: #645384; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.about-hero .about-eyebrow, .about-mission .about-eyebrow { color: #d3c3e7; }
.about-page h2 { font: 400 clamp(2rem, 3.4vw, 3rem)/1.12 'Newsreader', serif; margin: 0 0 1.5rem; }
.about-page main p:not(.about-eyebrow) { line-height: 1.7; margin-bottom: 1.25rem; }
.about-lead { max-width: 720px; margin: 0 auto; font-size: 1.1875rem; color: #e0dde5; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-story { background: #f8f9fc; color: #374151; }
.about-story h2, .about-card h2 { color: #101522; }
.about-story img { width: 100%; border-radius: 1.5rem; box-shadow: 0 16px 40px #2733471a; }
.about-story-link { color: #574176; font-weight: 600; text-decoration: none; }
.about-story-link:hover { text-decoration: underline; }
.about-mission { text-align: center; color: #fff; background: radial-gradient(ellipse at 80% 50%, #94738926, transparent 60%), #16151e; }
.about-community { background: radial-gradient(ellipse at 10% 40%, #dce8ff99, transparent 60%), #f2f0f8; }
.about-community .about-grid { align-items: stretch; gap: 2rem; }
.about-card { padding: 2.5rem; background: linear-gradient(135deg, #fffffff2, #ffffffb3); border: 1px solid #fff; border-radius: 1.5rem; box-shadow: inset 0 1px 0 #fff, 0 12px 32px #45517314; color: #374151; }
@media (max-width: 767px) {
  .about-hero, .about-story, .about-mission, .about-community { padding: 3.5rem 1.5rem; text-align: left; }
  .about-hero { padding-top: 8rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-card { padding: 1.5rem; }
}

/* Paper-cut trails carry the mission outward, leaving quiet space for the words. */
.about-mission {
  position: relative;
  isolation: isolate;
  overflow: visible;
  clip-path: inset(-220px 0 0);
  min-height: 680px;
  display: flex;
  align-items: center;
  text-align: left;
  background: radial-gradient(ellipse at 88% 28%, #b99a5633, transparent 48%), radial-gradient(ellipse at 65% 75%, #8060be55, transparent 65%), radial-gradient(ellipse at 15% 10%, #6c458a24, transparent 55%), #16151e;
}
.about-mission > .about-container { position: relative; z-index: 1; width: 100%; }
.about-mission h2 { max-width: 620px; }
.about-mission .about-lead { max-width: 540px; margin-left: 0; }
.about-mission-art {
  position: absolute;
  z-index: 0;
  width: min(72vw, 1050px);
  max-width: none;
  height: auto;
  right: -10%;
  bottom: -70px;
  pointer-events: none;
  transform-origin: bottom right;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .about-mission h2, .about-mission .about-lead { max-width: 52%; }
  .about-mission-art { right: -18%; width: 80vw; }
}
@media (prefers-reduced-motion: no-preference) {
  .about-mission-art { animation: mission-paper-drift 12s ease-in-out infinite; }
}
@keyframes mission-paper-drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(-.5deg); }
}
@media (max-width: 767px) {
  .about-mission { display: flex; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .about-mission h2, .about-mission .about-lead { max-width: none; }
  .about-mission-art { position: relative; order: 2; align-self: flex-end; width: 125%; right: -1.5rem; bottom: auto; margin-top: -2rem; margin-bottom: -1rem; }
}

.about-mission-art { aspect-ratio: 5 / 4; }
.about-mission-trail { display: block; width: 100%; height: auto; }
.about-mission-rocket { position: absolute; width: 35%; height: auto; left: 18%; top: 5%; transform: scaleX(-1); filter: drop-shadow(0 8px 14px #150e3344); }
.about-mission-stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.about-mission-stars span { position: absolute; color: #e6d8ff; font-size: 13px; opacity: .45; }
.about-mission-stars span:nth-child(1) { left: 5%; top: 9%; font-size: 15px; animation-delay: -0.7s; }
.about-mission-stars span:nth-child(2) { left: 18%; top: 18%; font-size: 20px; animation-delay: -1.4s; }
.about-mission-stars span:nth-child(3) { left: 38%; top: 8%; font-size: 10px; animation-delay: -2.0999999999999996s; }
.about-mission-stars span:nth-child(4) { left: 55%; top: 15%; font-size: 15px; animation-delay: -2.8s; }
.about-mission-stars span:nth-child(5) { left: 69%; top: 8%; font-size: 20px; animation-delay: -3.5s; }
.about-mission-stars span:nth-child(6) { left: 85%; top: 20%; font-size: 10px; animation-delay: -4.199999999999999s; }
.about-mission-stars span:nth-child(7) { left: 95%; top: 40%; font-size: 15px; animation-delay: -4.8999999999999995s; }
.about-mission-stars span:nth-child(8) { left: 62%; top: 48%; font-size: 20px; animation-delay: -5.6s; }
.about-mission-stars span:nth-child(9) { left: 80%; top: 65%; font-size: 10px; animation-delay: -6.3s; }
.about-mission-stars span:nth-child(10) { left: 92%; top: 85%; font-size: 15px; animation-delay: -7.0s; }
.about-mission-stars span:nth-child(11) { left: 48%; top: 90%; font-size: 20px; animation-delay: -7.699999999999999s; }
.about-mission-stars span:nth-child(12) { left: 28%; top: 94%; font-size: 10px; animation-delay: -8.399999999999999s; }
.about-mission-stars span:nth-child(13) { left: 8%; top: 84%; font-size: 15px; animation-delay: -9.1s; }
.about-mission-stars span:nth-child(14) { left: 73%; top: 91%; font-size: 20px; animation-delay: -9.799999999999999s; }
@media (prefers-reduced-motion: no-preference) {
  .about-mission-stars span { animation: mission-star-glimmer 7s ease-in-out infinite; }
}
@keyframes mission-star-glimmer {
  0%, 100% { opacity: .2; transform: translateY(0) scale(.8); }
  50% { opacity: .65; transform: translateY(-6px) scale(1.1); }
}

@media (min-width: 768px) {
  .about-mission-art { top: -120px; bottom: auto; height: calc(100% + 190px); }
  .about-mission-trail { height: 100%; transform: translateY(-80px) scaleY(1.25); transform-origin: 50% 32.5%; }
  .about-mission-rocket { top: 0; }
}
.about-mission-stars span:nth-child(3n) { color: #ffe5a8; }

/* Use the supplied frame as a landscape surround; crop only the photo. */
.about-story-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: url("./story-frame.26202247df02.png") 50% 50% / 206% 204% no-repeat;
  filter: drop-shadow(0 16px 18px #27334724);
}
.about-story .about-story-photo {
  position: absolute;
  left: 18%;
  top: 17.5%;
  width: 64%;
  height: 65%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: inset 0 2px 6px #0003;
}

@font-face {
  font-family: 'About Handwriting';
  src: url("../../fonts/fonts/BadScript-Regular.06679814340b.ttf") format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.about-story-prints {
  position: relative;
  isolation: isolate;
  width: 86%;
  margin: 3rem auto;
  padding: 1rem 1rem .75rem;
  background: linear-gradient(130deg, #fff, #f5f4f1);
  border: 1px solid #e8e6e2;
  transform: rotate(-15deg);
  box-shadow: 0 12px 24px #24203024, 0 2px 4px #24203018;
}
.about-story-prints::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(#a5adb0, #d3d0c8);
  border: 1rem solid #faf9f7;
  border-bottom-width: 4.5rem;
  transform: rotate(15deg);
  box-shadow: 0 8px 20px #2420301a;
}
.about-story .about-story-prints .about-story-photo {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.about-story-prints figcaption {
  padding: 1.35rem .25rem 1rem;
  text-align: center;
  font: 400 clamp(1.5rem, 2.5vw, 2rem)/1.5 'About Handwriting', cursive;
  color: #38313f;
}
@media (max-width: 767px) {
  .about-story-prints { width: 85%; padding: .75rem .75rem .5rem; }
}
.about-story-prints::before { z-index: -2; }
.about-story-prints::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(130deg, #fff, #f5f4f1);
  box-shadow: 0 2px 5px #24203020;
}

.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 10% 95%, #86476055, transparent 58%), radial-gradient(ellipse at 90% 85%, #77578e55, transparent 58%), linear-gradient(135deg, #231924, #191722 55%, #211d30);
}
.about-hero > .about-container { position: relative; z-index: 1; }
.about-hero-hearts { position: absolute; z-index: 0; pointer-events: none; width: 100%; min-width: 1000px; height: 100%; object-fit: cover; object-position: center bottom; left: 50%; bottom: 0; transform: translateX(-50%); }
@media (max-width: 767px) {
  .about-hero-hearts { opacity: .55; }
}
.about-page .about-hero h1 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
