/* =============================================================================
   About story scan — AI photo + glass morphism + decorative lines
   Numbers removed; icon badges + photography carry the beats
   ============================================================================= */

.about-story-copy{
  position:relative!important;
}

.about-story-copy > .retention-kicker{
  margin-bottom:18px!important;
}

.about-story-copy > h2,
.about-story-copy #about-story-title{
  margin:0 0 26px!important;
  max-width:18ch!important;
  color:#07111f!important;
  font-family:var(--title)!important;
  font-weight:780!important;
  line-height:1.08!important;
  letter-spacing:-.042em!important;
  text-wrap:balance!important;
}

.about-story-scan{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 22px!important;
}

.about-story-punch{
  position:relative!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:16px!important;
  margin:0 0 26px!important;
  max-width:28ch!important;
  color:#07111f!important;
  font-family:var(--title)!important;
  font-size:clamp(1.4rem,2.35vw,1.95rem)!important;
  font-weight:700!important;
  line-height:1.2!important;
  letter-spacing:-.032em!important;
  text-wrap:balance!important;
}

.about-story-punch-mark{
  flex:0 0 auto!important;
  width:3px!important;
  min-height:2.6em!important;
  margin-top:.18em!important;
  border-radius:2px!important;
  background:linear-gradient(180deg,var(--red,#ed0000),#c70010 70%,transparent)!important;
}

/* Beat cards — icon + copy only; photography lives in the right-side overlay */
.about-story-beats{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}

.about-story-beat-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:14px!important;
  margin:0!important;
  min-height:0!important;
  padding:16px 18px!important;
  overflow:hidden!important;
  border-radius:18px!important;
  border:1px solid rgba(16,24,40,.08)!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(7,17,31,.06)!important;
  isolation:isolate!important;
}

.about-story-beat-card:not(:last-child)::after{
  display:none!important;
  content:none!important;
}

.about-story-beat-media{display:none!important;}

.about-story-beat-icon{
  position:static!important;
  left:auto!important;
  bottom:auto!important;
  z-index:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  background:rgba(237,0,0,.08)!important;
  border:1px solid rgba(237,0,0,.16)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  color:var(--red,#ed0000)!important;
  box-shadow:none!important;
}

.about-story-beat-icon svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

.about-story-beat-glass{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:6px!important;
  min-width:0!important;
  padding:0!important;
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  border:0!important;
}

.about-story-beat-glass::before{
  display:none!important;
  content:none!important;
}

.about-story-beat-label{
  display:block!important;
  color:var(--red,#ed0000)!important;
  font-family:var(--title)!important;
  font-size:.7rem!important;
  font-weight:820!important;
  letter-spacing:.11em!important;
  line-height:1.2!important;
  text-transform:uppercase!important;
}

.about-story-beat-text{
  display:block!important;
  color:#1f2937!important;
  font-family:var(--body)!important;
  font-size:clamp(15px,1.05vw,16.5px)!important;
  font-weight:500!important;
  line-height:1.45!important;
  letter-spacing:-.01em!important;
}

.about-story-route-line{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px 3px!important;
  color:#101828!important;
  font-weight:600!important;
}

.about-story-route-line > span{
  display:inline-block!important;
  color:#101828!important;
  font-size:clamp(13.5px,.95vw,15px)!important;
  font-weight:650!important;
  line-height:1.35!important;
}

.about-story-route-line > i{
  display:inline-flex!important;
  color:var(--red,#ed0000)!important;
  font-style:normal!important;
  font-weight:700!important;
  font-size:.85em!important;
  opacity:.9!important;
  padding:0 1px!important;
}

/* Flow cadence */
.about-story-copy .about-story-flow{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:6px!important;
  padding-top:22px!important;
  border-top:1px solid rgba(7,17,31,.12)!important;
}

.about-story-copy .about-story-flow > span{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:14px 14px 14px 12px!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.55)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  box-shadow:0 10px 28px rgba(7,17,31,.05)!important;
  transition:transform .22s ease, border-color .22s ease!important;
}

.about-story-copy .about-story-flow > span:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(237,0,0,.22)!important;
}

.about-story-copy .about-story-flow .about-flow-icon{
  flex:0 0 auto!important;
  width:42px!important;
  height:42px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#fff1f2,#fff)!important;
  border:1px solid rgba(237,0,0,.16)!important;
  color:var(--red,#ed0000)!important;
}

.about-story-copy .about-story-flow strong{
  color:#07111f!important;
  font-family:var(--title)!important;
  font-size:14.5px!important;
  font-weight:740!important;
  line-height:1.2!important;
}

.about-story-lede,
.about-story-beat-index{display:none!important;}

/* Keep story photos always visible — do not leave cards at opacity:0 */
.about-story-beat-card,
.about-story-beat-media,
.about-story-beat-media img{
  opacity:1!important;
  visibility:visible!important;
}

@media (prefers-reduced-motion:no-preference){
  .about-story-punch,
  .about-story-copy .about-story-flow > span{
    animation:about-story-rise .7s cubic-bezier(.2,.8,.2,1) both!important;
  }
  /* Cards animate transform only — opacity stays 1 so photos never disappear */
  .about-story-beat-card{
    animation:about-story-rise-safe .7s cubic-bezier(.2,.8,.2,1) both!important;
  }
  .about-story-punch{animation-delay:.04s!important;}
  .about-story-beat-card:nth-child(1){animation-delay:.12s!important;}
  .about-story-beat-card:nth-child(2){animation-delay:.2s!important;}
  .about-story-beat-card:nth-child(3){animation-delay:.28s!important;}
  .about-story-copy .about-story-flow > span:nth-child(1){animation-delay:.36s!important;}
  .about-story-copy .about-story-flow > span:nth-child(2){animation-delay:.42s!important;}
  .about-story-copy .about-story-flow > span:nth-child(3){animation-delay:.48s!important;}
}

@keyframes about-story-rise{
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:none;}
}
@keyframes about-story-rise-safe{
  from{transform:translateY(14px);}
  to{transform:none;}
}

@media (max-width:980px){
  .about-story-copy > h2,
  .about-story-copy #about-story-title{
    max-width:100%!important;
  }
  .about-story-scan{max-width:100%!important;}
  .about-story-punch{
    max-width:100%!important;
    font-size:clamp(1.28rem,5vw,1.6rem)!important;
  }
  .about-story-beat-card{
    grid-template-columns:42px minmax(0,1fr)!important;
    padding:14px 16px!important;
  }
  .about-story-copy .about-story-flow{
    grid-template-columns:1fr!important;
  }
}
