/* eventsAVP About page: milestones look from the About edits handoff (25 Nov 2026). Loaded last.
   Only the milestones; the Why icons and clients socket from that handoff are not applied. */
/* ---------- 01 · Milestones ---------- */
.ms{--yr:clamp(44px,3.1vw,60px);--tt:clamp(18px,1.25vw,24px)}
/* 7 milestones with taller rows: give the timeline more height on desktop so NOW and the trace's return run fit below the cards */
@media (min-width:1340px){.ms{height:780px}}
.ms__i .ms__y{font-size:var(--yr);line-height:1.05;white-space:nowrap}
/* titles: Nasalization, one line, centred on the milestone even when wider than the card */
.ms__i .tl__c h3{display:flex;justify-content:center;align-items:baseline;white-space:nowrap;
  font-family:var(--disp),Montserrat,sans-serif;font-weight:400;font-size:var(--tt);line-height:1.3;color:#fff;margin:16px 0 10px}
.ms__i .tl__c p{font-size:14px;line-height:1.6}

/* NOW: same rows and sizes as the other milestones, in red. The year uses the existing .hot red fill. */
.ms__i--now .tl__c h3{color:#FF8C75;text-shadow:0 0 16px rgba(238,92,75,.45)}
.ms__i--now .tl__c h3 .ai{display:inline-block;line-height:0;margin-left:.2em;font-size:1.6em;color:#FF5E49;
  text-shadow:0 0 14px rgba(255,94,73,.85),0 0 36px rgba(238,92,75,.55),0 0 70px rgba(238,92,75,.3);-webkit-text-stroke:.6px rgba(255,210,200,.6)}
.nw__sw{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;margin-bottom:4px;
  font:700 clamp(9.5px,.72vw,11.5px)/1.6 Montserrat,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.nw__sw b{flex:none;width:7px;height:7px;border-radius:50%;background:#EE5C4B;animation:nwPulse 1.6s infinite}
@keyframes nwPulse{0%{box-shadow:0 0 0 0 rgba(238,92,75,.7)}70%{box-shadow:0 0 0 9px rgba(238,92,75,0)}100%{box-shadow:0 0 0 0 rgba(238,92,75,0)}}
.ms__i--now .tl__c p{color:#D6DCEF}
.nw__cta{display:inline-flex;white-space:nowrap;gap:8px;margin-top:14px;padding:10px 18px;border:1px solid rgba(238,92,75,.75);border-radius:99px;
  font:700 11.5px Montserrat,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#FFD2C9;text-decoration:none;background:rgba(238,92,75,.10);transition:background .3s,color .3s}
.nw__cta:hover{background:#EE5C4B;color:#fff}
.ms__i--now .tn{border-color:#FFB4A6}
.ms__i--now .tn.is-lit{background:#EE5C4B;box-shadow:0 0 0 5px rgba(238,92,75,.25),0 0 18px rgba(238,92,75,.8)}

/* NEXT: dark until the trace reaches its node, then only its outlines light up. It never fills. */
.ms__i--nx .ms__y{letter-spacing:.06em;color:transparent!important;-webkit-text-fill-color:transparent!important;background:none!important;
  -webkit-text-stroke:1.2px rgba(150,170,255,.14)!important;transition:-webkit-text-stroke-color .9s,filter .9s}
.ms__i--nx .tl__c h3{color:transparent;-webkit-text-fill-color:transparent;-webkit-text-stroke:.8px rgba(170,185,255,.14);transition:-webkit-text-stroke-color .9s}
.ms__i--nx .cur{display:inline-block;width:2px;height:.85em;margin-left:5px;align-self:center;background:#8fa2ff;-webkit-text-stroke:0;opacity:0}
.ms__i--nx .nx__ln span{display:block;height:0;margin:16px auto 0;border-top:1.5px dashed rgba(150,170,255,.08);transition:border-color .9s}
.ms__i--nx .nx__ln span:nth-child(1){width:84%}.ms__i--nx .nx__ln span:nth-child(2){width:68%}.ms__i--nx .nx__ln span:nth-child(3){width:46%}
.ms__i--nx .tn.is-lit + .tl__c .ms__y{-webkit-text-stroke-color:rgba(170,190,255,.85)!important;filter:drop-shadow(0 0 10px rgba(111,137,255,.45))}
.ms__i--nx .tn.is-lit + .tl__c h3{-webkit-text-stroke-color:rgba(190,205,255,.85)}
.ms__i--nx .tn.is-lit + .tl__c .nx__ln span{border-color:rgba(150,170,255,.3)}
.ms__i--nx .tn.is-lit + .tl__c .cur{opacity:1;animation:nxBlink 1s steps(1) infinite;box-shadow:0 0 8px #8fa2ff}
@keyframes nxBlink{50%{opacity:0}}
.ms__i--nx .tn{background:#05070f;border-style:dashed}

/* the stretch of trace between NOW and NEXT reads as dashed red (laid over the trace by about-edits.js) */
.ms__fut{position:absolute;height:6px;margin-top:-3px;pointer-events:none;z-index:2;opacity:0;transition:opacity .4s;
  background:linear-gradient(90deg,rgba(238,92,75,.9) 0 6px,transparent 6px 13px) 0 50%/13px 2px repeat-x,linear-gradient(#05070f,#05070f) 0 50%/100% 6px no-repeat}
.ms__fut.is-on{opacity:1}


/* Arabic page: titles in the Arabic face, AI on the left of its line */
html[dir=rtl] .ms__i .tl__c h3{font-family:var(--ar),var(--disp),sans-serif;font-weight:700}
html[dir=rtl] .ms__i--now .tl__c h3 .ai{margin-left:0;margin-right:.2em;font-family:var(--disp)}
/* phones and tablets: the column layout from about-v3.css; titles may wrap there */
/* below 1340px seven milestones don't fit across, so they stack in the column layout the page already uses on phones */
@media (min-width:861px) and (max-width:1339px){
  .ms{height:auto;margin-inline-start:0;display:flex;flex-direction:column;gap:36px}
  .ms__ax,.ms__end{display:none}
  .ms__i{position:relative;top:auto;left:auto!important;width:auto;padding-inline-start:18px;border-inline-start:1px solid rgba(157,180,255,.3)}
  .ms__i:before{display:none}
  .ms__i .tl__c{position:static;width:auto;text-align:start}
}
@media (max-width:1339px){
  .ms__i .tl__c h3{display:block;white-space:normal}
  .ms__i .tl__c p,.ms__i .nw__body{min-height:0!important}
  .nw__sw{justify-content:flex-start;white-space:normal}
  .ms__i--now .ms__y{letter-spacing:.3em!important;margin-right:0!important}
  .ms__fut{display:none}
}
/* narrow desktops (about 1100-1300px): titles may take two lines so neighbours never touch */
.ms--tight .ms__i .tl__c h3{white-space:normal;flex-wrap:wrap}
