/* ==========================================================================
   Our Story page — Anabell's story in their own words, beside the family
   portrait, ending on a highlighted closing line.
   ========================================================================== */

.page-hero h1 { max-width: 15em; margin-inline: auto; text-wrap: balance; }

.story { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.story__grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
@media (min-width: 960px) {
  .story__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3.5rem, 6vw, 6rem); align-items: start; }
}

/* Portrait with a small "since" note */
.story__media { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
/* the portrait stays in view while the story is read (declared after the base rule so "sticky" wins) */
@media (min-width: 960px) {
  .story__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.story__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #F4F2EF;
  box-shadow: var(--shadow-md);
}
.story__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story__media::before { /* soft sun behind the photo */
  content: ""; position: absolute; z-index: -1;
  top: -6%; right: -8%;
  width: 46%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0.55;
}
.story__since {
  position: absolute; left: -14px; bottom: 9%;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.1rem 0.6rem 0.6rem;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: var(--shadow-md);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}
.story__since-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--pink-50);
  color: var(--pink);
}
.story__since-icon .icon { width: 17px; height: 17px; }
@media (max-width: 600px) { .story__since { left: -6px; } }

/* The story */
.story__body { max-width: 38rem; }
.story__body > p { margin-top: 1.15rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.75; }
.story__body > .story__lead {
  margin-top: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
}
.story__quote {
  margin: 2.25rem 0 0;
  padding: 1.75rem 1.75rem 1.5rem 2rem;
  border-left: 4px solid var(--sun);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: var(--sky-50);
}
.story__quote p {
  color: var(--navy);
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  font-weight: 800;
  line-height: 1.35;
}
.story__quote footer {
  margin-top: 0.85rem;
  color: var(--royal);
  font-family: var(--font-ui);
  font-weight: 600;
}
