/* ==========================================================================
   Our Story  (page header, header override, leaf + CTA come from about.css)
   ========================================================================== */

/* ------------------------------------------------------------- INTRO */
.s-intro { position: relative; z-index: 1; padding-top: 15px; }
.s-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 644px) minmax(0, 631px);
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md) 37px;
}
.s-intro__copy { display: flex; flex-direction: column; gap: 8px; }
.s-intro .page-lead-title { max-width: 557px; }
.s-intro__img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 631 / 477; }
.s-intro__img img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- EVOLUTION */
.evo { position: relative; padding-top: clamp(40px, 1.6rem + 2.6vw, 74px); }
.page-leaf--story { right: calc(-0.09 * 100vw / var(--page-zoom, 1)); top: calc(clamp(40px, 1.6rem + 2.6vw, 74px) - 15px); }
.evo .container { position: relative; z-index: 1; }
.evo__card {
  background: var(--tb-700);
  color: var(--white);
  border-radius: clamp(16px, 0.8rem + 0.9vw, 25px);
  padding: clamp(40px, 1.4rem + 4.8vw, 106px) clamp(20px, 0.4rem + 4.6vw, 75px);
}
.evo__head { max-width: 656px; }
.evo__list { margin-top: clamp(28px, 1.2rem + 1.8vw, 48px); display: grid; gap: 8px; }
.phase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  align-items: center;
  gap: 8px clamp(32px, -1rem + 11vw, 170px);
  padding-block: 21px 22px;
}
/* divider that draws across each row as it enters (our-story.js animates --line) */
.phase::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: rgba(172, 204, 255, 0.5);
  transform: scaleX(var(--line, 1)); transform-origin: left;
}
.phase__when { display: grid; grid-template-columns: 115px auto; align-items: center; }
.phase__label { font-weight: 500; font-size: var(--fs-14); line-height: 1.2; text-transform: uppercase; }
.phase__years {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-24);
  line-height: 1.2;
  white-space: nowrap;
  transition: color .4s, translate .5s var(--ease-out);
}
.phase__text { font-size: var(--fs-14); line-height: 1.2; transition: color .4s; }
.phase:hover .phase__years { color: var(--tb-200); translate: 6px 0; }
.phase:hover .phase__text { color: var(--tb-100); }
.phase.is-current .phase__label { display: inline-flex; align-items: center; gap: 8px; }
.phase.is-current .phase__label::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(69, 191, 85, .6);
  animation: story-pulse 2.2s infinite;
}
@keyframes story-pulse {
  70% { box-shadow: 0 0 0 8px rgba(69, 191, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 191, 85, 0); }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .phase.is-current .phase__label::after { animation: none; } }

/* ------------------------------------------------------------- CTA spacing */
.page-cta--story { padding-top: clamp(56px, 1rem + 13vw, 236px); padding-bottom: clamp(40px, 2rem + 2.4vw, 85px); }

/* ------------------------------------------------------------- RESPONSIVE */
@media (max-width: 900px) {
  .s-intro__inner { grid-template-columns: minmax(0, 1fr); }
  .s-intro__img { max-width: 631px; width: 100%; }
}
@media (max-width: 760px) {
  .phase { grid-template-columns: minmax(0, 1fr); }
  .phase__when { grid-template-columns: 84px auto; }
  .phase__text { padding-left: 84px; font-size: var(--fs-14); line-height: 1.5; }
}
@media (max-width: 420px) {
  .phase__when { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .phase__text { padding-left: 0; }
}
.evo__head .title-44 { color: var(--white); }
