/* iDEO Our Story page (Kazi, 2026-10-10): his own story told as a road, from one family's search
   for the right doctor to every doctor's practice. 1 the opening, a quiet hospital corridor drawn in
   thin lines with a warm light at its end; 2 the road, a crimson line that draws itself as the page
   scrolls, a cream ball at its tip, every stop lighting as the line reaches it; it stops at Today,
   and what comes next waits on a dashed line. Only opacity, transform and stroke-dashoffset move. */
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:hidden;overflow-x:clip}
html{background:var(--page)}
body.ideo-site{margin:0;background:var(--page);color:var(--t1);font-family:var(--serif);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body .ideo-story{display:block;color:var(--t1);--gap:clamp(72px,4.2vw + 52px,112px);--os-red:#F05A4B}
/* small crimson words use a lifted crimson (5.2:1 on the page; the brand crimson is 3.4:1, kept for large type and marks) */
@media (prefers-reduced-motion:no-preference){html:has(.ideo-story){scroll-behavior:smooth}}

/* ================= 1 the opening ================= */
body .ideo-story .os-open{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:clamp(600px,22vw + 420px,860px);padding:calc(var(--head-h) + clamp(40px,5vw,72px)) clamp(18px,4vw,56px) clamp(104px,8vw,132px);
  overflow:hidden;text-align:center}
body .ideo-story .os-hall{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none;
  -webkit-mask-image:radial-gradient(ellipse 72% 78% at 50% 38%,#000 34%,transparent 100%);mask-image:radial-gradient(ellipse 72% 78% at 50% 38%,#000 34%,transparent 100%)}
body .ideo-story .os-hall path{fill:none;stroke:rgba(248,243,237,.1);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
body .ideo-story .os-hall .os-lamp{fill:rgba(248,243,237,.07);stroke:rgba(248,243,237,.14);stroke-width:1}
body .ideo-story .os-open::after{content:"";position:absolute;left:0;right:0;bottom:0;z-index:-1;height:40%;background:linear-gradient(to bottom,rgba(18,27,29,0),var(--page));pointer-events:none}
body .ideo-story .os-open-in{display:flex;flex-direction:column;align-items:center;max-width:980px}
body .ideo-story .os-mark{display:flex;align-items:center;gap:14px;margin:0;font-size:11.5px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--t3)}
body .ideo-story .os-mark s{display:block;width:clamp(34px,6vw,76px);height:1px;background:var(--line-2)}
body .ideo-story h1{max-width:14em;margin:24px 0 0;font-size:clamp(40px,5.6vw,80px);font-weight:400;line-height:1.02;letter-spacing:-.03em;text-wrap:balance;text-shadow:var(--tshadow)}
body .ideo-story h1 em{font-style:italic;color:var(--crimson);text-shadow:0 0 28px rgba(211,42,31,.25)}
body .ideo-story .os-sub{max-width:52ch;margin:26px 0 0;font-size:clamp(17px,1.25vw,19px);line-height:1.62;color:var(--t2);text-wrap:pretty;
  text-align:justify;text-align-last:center;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto}
body .ideo-story .os-sign{display:flex;flex-direction:column;align-items:center;gap:4px;margin:28px 0 0}
body .ideo-story .os-sign b{font-weight:400;font-style:italic;font-size:22px;letter-spacing:.01em;color:var(--t1)}
body .ideo-story .os-sign span{font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--t3)}
body .ideo-story .os-cue{position:absolute;left:50%;bottom:0;display:flex;flex-direction:column;align-items:center;gap:14px;transform:translateX(-50%);
  font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--t3);text-decoration:none;transition:color .4s var(--ease)}
body .ideo-story .os-cue i{display:block;width:1.5px;height:clamp(56px,5vw,76px);background:linear-gradient(to bottom,rgba(211,42,31,0),var(--crimson))}
body .ideo-story .os-cue:hover,body .ideo-story .os-cue:focus-visible{color:var(--t1)}
body .ideo-story .os-cue:focus-visible{outline:2px solid var(--crimson);outline-offset:6px;border-radius:6px}

/* ================= 2 the road ================= */
body .ideo-story .os-road{max-width:1180px;margin:0 auto;padding:0 clamp(18px,4vw,56px) var(--gap);scroll-margin-top:calc(var(--head-h) - 8px)}
body .ideo-story .os-road-k{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
body .ideo-story .os-way{position:relative;padding-top:clamp(36px,3.4vw,52px)}
body .ideo-story .os-svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
body .ideo-story .os-svg path{fill:none;stroke-linecap:round}
body .ideo-story .os-guide{stroke:rgba(248,243,237,.09);stroke-width:1.5}
body .ideo-story .os-trace{stroke:var(--crimson);stroke-width:2.2}
body .ideo-story .os-ahead{stroke:rgba(248,243,237,.26);stroke-width:1.5;stroke-dasharray:2 8;transition:stroke .9s var(--ease)}
body .ideo-story .os-way.is-here .os-ahead{stroke:rgba(248,243,237,.55)}
body .ideo-story .os-ball circle{fill:#F8F3ED}
body .ideo-story .os-ball .os-halo{fill:rgba(211,42,31,.22)}
body .ideo-story .os-stops{position:relative;list-style:none;margin:0;padding:0}

/* each stop: a dot on the road and a few words beside it */
body .ideo-story .os-stop{position:relative;display:grid;grid-template-columns:minmax(0,1fr) clamp(96px,11vw,150px) minmax(0,1fr)}
body .ideo-story .os-stop + .os-stop{margin-top:-56px}
body .ideo-story .os-card{grid-column:1;padding:0 0 26px;text-align:right}
body .ideo-story .os-stop[data-side="r"] .os-card{grid-column:3;text-align:left}
body .ideo-story .os-dot{position:absolute;left:50%;top:20px;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;
  background:var(--page);box-shadow:inset 0 0 0 1.5px rgba(248,243,237,.3);transition:background .5s var(--ease),box-shadow .5s var(--ease),transform .6s var(--ease-out)}
body .ideo-story .os-dot::after{content:"";position:absolute;inset:-1px;border-radius:50%;border:1.5px solid var(--crimson);opacity:0}
body .ideo-story .os-stop.is-lit .os-dot{background:var(--crimson);box-shadow:0 0 0 4px rgba(211,42,31,.16),0 0 18px rgba(211,42,31,.45)}
body .ideo-story .os-when{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--os-red)}
body .ideo-story .os-stop[data-side="l"] .os-when{flex-direction:row-reverse}
/* each stop's mark sits in a small glass medallion: cream line work, one crimson accent; the ring warms when the line arrives */
body .ideo-story .os-ico{position:relative;flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;
  border:1px solid rgba(248,243,237,.16);background:radial-gradient(circle at 30% 24%,rgba(248,243,237,.11),rgba(248,243,237,.02) 64%);
  box-shadow:0 10px 24px rgba(0,0,0,.26),inset 0 1px 0 rgba(248,243,237,.06);transition:border-color .8s var(--ease),box-shadow .8s var(--ease),background .8s var(--ease)}
body .ideo-story .os-ico svg{display:block;width:22px;height:22px;overflow:visible}
body .ideo-story .os-ico .s{fill:none;stroke:var(--t1);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;opacity:.86}
body .ideo-story .os-ico .a{fill:var(--os-red);stroke:none}
body .ideo-story .os-ico .a-line{fill:none;stroke:var(--os-red);stroke-width:1.5;stroke-linecap:round}
body .ideo-story .os-ico .os-fill{fill:#161F21;stroke:none}
body .ideo-story .os-ico .os-back{opacity:.45}
body .ideo-story .os-ico .os-orb{fill:#F8F3ED}
body .ideo-story .os-stop.is-lit .os-ico{border-color:rgba(211,42,31,.5);background:radial-gradient(circle at 30% 24%,rgba(211,42,31,.2),rgba(211,42,31,.04) 66%);
  box-shadow:0 10px 26px rgba(211,42,31,.16),0 0 0 4px rgba(211,42,31,.06),inset 0 1px 0 rgba(248,243,237,.08)}
/* Today wears the homepage's orbit: the crimson oval with its cream ball going round */
body .ideo-story .os-card h3{max-width:17em;margin:12px 0 0;font-size:clamp(23px,2vw,29px);font-weight:400;line-height:1.16;letter-spacing:-.015em;text-wrap:balance}
body .ideo-story .os-stop[data-side="l"] .os-card h3,body .ideo-story .os-stop[data-side="l"] .os-text{margin-left:auto}
body .ideo-story .os-text{max-width:36ch;margin:10px 0 0;font-size:16.5px;line-height:1.6;color:var(--t2);text-wrap:pretty;
  text-align:justify;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto}
/* every paragraph is justified, as on the home page; its last line leans toward the road */
body .ideo-story .os-stop[data-side="l"] .os-text{text-align-last:right}
body .ideo-story .os-stop[data-side="r"] .os-text{text-align-last:left}

/* Today: the road ends here for now, so it glows */
body .ideo-story .os-stop.is-now .os-dot{width:20px;height:20px;margin:-10px 0 0 -10px;top:23px}
body .ideo-story .os-stop.is-now.is-lit .os-dot{background:radial-gradient(circle,#F8F3ED 0 3px,var(--crimson) 3.6px)}
body .ideo-story .os-stop.is-now .os-card{padding:22px 26px 26px;margin-top:-22px;border-radius:20px;border:1px solid rgba(211,42,31,.42);
  background:linear-gradient(160deg,rgba(211,42,31,.12),rgba(248,243,237,.03) 60%);box-shadow:0 24px 60px rgba(0,0,0,.28)}
body .ideo-story .os-stop.is-now .os-when{color:#FF6A55}
body .ideo-story .os-stop.is-now .os-when{gap:26px}
body .ideo-story .os-ico.os-ico-now{width:44px;height:44px;border:0;background:none;box-shadow:none;overflow:visible}
body .ideo-story .os-ico-now .os-date{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;
  border:1px solid rgba(211,42,31,.6);background:radial-gradient(circle at 30% 24%,#40201F,#151E20 72%);box-shadow:0 10px 26px rgba(211,42,31,.18),inset 0 1px 0 rgba(248,243,237,.08);
  font-family:var(--serif);letter-spacing:0;text-transform:none;color:var(--t1)}
body .ideo-story .os-ico-now .os-date small{font-size:8.5px;font-weight:700;letter-spacing:.16em;line-height:1;color:#FF6A55;margin:2px 0 2px .16em}
body .ideo-story .os-ico-now .os-date b{font-size:16px;font-weight:400;line-height:1;font-variant-numeric:lining-nums}
body .ideo-story .os-ico .os-ring{position:absolute;left:50%;top:50%;width:84px;height:52px;margin:-26px 0 0 -42px;overflow:visible;pointer-events:none}
body .ideo-story .os-ring path{fill:none;stroke:#D32A1F;stroke-width:1.05}
body .ideo-story .os-ring-back{z-index:0}
body .ideo-story .os-ring-back path{stroke:rgba(211,42,31,.55)}
body .ideo-story .os-ring-front{z-index:2}
body .ideo-story .os-stop.is-now + .os-stop{margin-top:22px}

/* what comes next: on a dashed line, quieter */
body .ideo-story .os-stop.is-next .os-dot{box-shadow:inset 0 0 0 1.5px rgba(248,243,237,.45);background:transparent}
body .ideo-story .os-stop.is-next .os-dot::before{content:"";position:absolute;inset:4px;border-radius:50%;background:rgba(248,243,237,.0);transition:background .8s var(--ease)}
body .ideo-story .os-way.is-here .os-stop.is-next .os-dot::before{background:rgba(248,243,237,.7)}
body .ideo-story .os-stop.is-next .os-when{color:var(--t3)}
body .ideo-story .os-stop.is-next .os-ico,body .ideo-story .os-stop.is-next.is-lit .os-ico{border-style:dashed;border-color:rgba(248,243,237,.24);background:rgba(248,243,237,.02);box-shadow:none}
body .ideo-story .os-stop.is-next .os-ico .s{opacity:.62}
body .ideo-story .os-way.is-here .os-stop.is-next .os-ico{border-color:rgba(248,243,237,.4)}
body .ideo-story .os-stop.is-next h3{color:var(--t2)}
body .ideo-story .os-stop.is-next .os-text{color:var(--t3)}

/* phones and small tablets: the road runs down the left, every stop on its right */
@media (max-width:759px){
  body .ideo-story .os-way{padding-top:96px}
  body .ideo-story .os-stop{grid-template-columns:44px minmax(0,1fr)}
  body .ideo-story .os-stop + .os-stop{margin-top:30px}
  body .ideo-story .os-stop.is-now + .os-stop{margin-top:40px}
  body .ideo-story .os-card,body .ideo-story .os-stop[data-side="r"] .os-card{grid-column:2;text-align:left;padding-bottom:0}
  body .ideo-story .os-stop[data-side="l"] .os-when{flex-direction:row}
  body .ideo-story .os-stop[data-side="l"] .os-card h3,body .ideo-story .os-stop[data-side="l"] .os-text{margin-left:0}
  body .ideo-story .os-dot{left:16px;top:18px}
  body .ideo-story .os-ico{width:36px;height:36px}
  body .ideo-story .os-ico svg{width:20px;height:20px}
  body .ideo-story .os-ico.os-ico-now{width:40px;height:40px}
  body .ideo-story .os-ico .os-ring{width:76px;height:47px;margin:-23.5px 0 0 -38px}
  body .ideo-story .os-stop.is-now .os-when{gap:24px}
  body .ideo-story .os-stop.is-now .os-ico-now{margin-left:16px}
  body .ideo-story .os-stop.is-now .os-dot{top:21px}
  body .ideo-story .os-stop.is-now .os-card{padding:18px 18px 20px;margin-top:-18px}
}
@media (max-width:560px){
  body .ideo-story .os-open{min-height:0;padding-top:calc(var(--head-h) + 56px);padding-bottom:104px}
  body .ideo-story .os-card h3{font-size:22px}
  body .ideo-story .os-text{font-size:16px}
}

/* ================= arrival ================= */
@media (prefers-reduced-motion:no-preference){
  /* one direction: the light at the far end, the corridor building toward you, the lamps far to near,
     then the words, then the line down into the road */
  html.ideo-js body .ideo-story .os-hall .os-end{animation:os-fade 1.8s var(--ease) 0s both}
  html.ideo-js body .ideo-story .os-hall path{stroke-dasharray:1;stroke-dashoffset:1;animation:os-draw 1.6s var(--ease-out) var(--t,.2s) both}
  html.ideo-js body .ideo-story .os-hall path.rev{stroke-dashoffset:-1}
  html.ideo-js body .ideo-story .os-hall path.mid{stroke-dasharray:none;stroke-dashoffset:0;transform-box:fill-box;transform-origin:center;animation-name:os-widen}
  html.ideo-js body .ideo-story .os-hall .os-lamp{stroke-dasharray:none;stroke-dashoffset:0;animation:os-fade 1.1s var(--ease) var(--t,1s) both}
  html.ideo-js body .ideo-story .os-mark{animation:os-come 1s var(--ease-out) .7s both}
  html.ideo-js body .ideo-story h1{animation:os-come 1.15s var(--ease-out) .84s both}
  html.ideo-js body .ideo-story .os-sub{animation:os-come 1.15s var(--ease-out) 1.02s both}
  html.ideo-js body .ideo-story .os-sign{animation:os-come 1.15s var(--ease-out) 1.18s both}
  html.ideo-js body .ideo-story .os-cue{animation:os-fade 1s var(--ease) 1.55s both}
  html.ideo-js body .ideo-story .os-cue i{transform-origin:50% 0;animation:os-drop 1.3s var(--ease-out) 1.7s both}
  /* v150 (Kazi 2026-10-19: "Our Story loads with a lag; open it calmly"): the opening holds its first frame until the
     page has set its first words (.os-open.is-run, set in the head; 1.6 s at the latest), so no stroke is drawn while the
     browser is still busy. The corridor sits on its own layer, so drawing it never repaints the words. */
  html.ideo-js body .ideo-story .os-hall *,html.ideo-js body .ideo-story .os-mark,html.ideo-js body .ideo-story h1,
  html.ideo-js body .ideo-story .os-sub,html.ideo-js body .ideo-story .os-sign,html.ideo-js body .ideo-story .os-cue,
  html.ideo-js body .ideo-story .os-cue i{animation-play-state:paused}
  html.ideo-js body .ideo-story .os-open.is-run *{animation-play-state:running}
  html.ideo-js body .ideo-story .os-hall{will-change:transform}
  /* coming from another page: the same order, played quickly, so the page is never empty while it fades in */
  html.os-quick.ideo-js body .ideo-story .os-hall .os-end{animation-duration:.9s}
  html.os-quick.ideo-js body .ideo-story .os-hall path{animation-duration:1s;animation-delay:calc(var(--t,.2s) * .35)}
  html.os-quick.ideo-js body .ideo-story .os-hall .os-lamp{animation-duration:.7s;animation-delay:calc(var(--t,1s) * .4)}
  html.os-quick.ideo-js body .ideo-story .os-mark{animation-duration:.8s;animation-delay:.04s}
  html.os-quick.ideo-js body .ideo-story h1{animation-duration:.85s;animation-delay:.08s}
  html.os-quick.ideo-js body .ideo-story .os-sub{animation-duration:.85s;animation-delay:.16s}
  html.os-quick.ideo-js body .ideo-story .os-sign{animation-duration:.85s;animation-delay:.24s}
  html.os-quick.ideo-js body .ideo-story .os-cue{animation-duration:.7s;animation-delay:.6s}
  html.os-quick.ideo-js body .ideo-story .os-cue i{animation-duration:.9s;animation-delay:.7s}
  /* the road: words wait for the line, then stay */
  html.ideo-js body .ideo-story .os-way.is-ready .os-card{opacity:0;transform:translate3d(0,18px,0);transition:opacity .9s var(--ease),transform 1.1s var(--ease-out)}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-card{opacity:1;transform:none}
  html.ideo-js body .ideo-story .os-stop.is-lit .os-dot{transform:scale(1.08)}
  html.ideo-js body .ideo-story .os-stop.is-now.is-lit .os-dot::after{animation:os-ping 2.8s var(--ease-out) infinite}
  /* the mark draws itself as its words arrive, then the crimson accent lands */
  html.ideo-js body .ideo-story .os-way.is-ready .os-ico .s{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.3s var(--ease-out) .25s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-ico .s:nth-child(2){transition-delay:.4s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-ico .s:nth-child(n+3){transition-delay:.55s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-ico .a{opacity:0;transform:scale(.4);transform-box:fill-box;transform-origin:center;transition:opacity .6s var(--ease) 1.05s,transform .8s var(--ease-out) 1.05s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-ico .s{stroke-dashoffset:0}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-ico .a{opacity:1;transform:none}
  html.ideo-js body .ideo-story .os-way.is-ready .os-ico .os-orb{opacity:0;transition:opacity .7s var(--ease) 1.4s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-ico .os-back{opacity:.45}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-ico .os-orb{opacity:1}
}
@keyframes os-draw{to{stroke-dashoffset:0}}
@keyframes os-widen{from{transform:scaleX(0)}}
@keyframes os-come{from{opacity:0;transform:translate3d(0,14px,0) scale(.985)}}
@keyframes os-fade{from{opacity:0}}
@keyframes os-rise{from{opacity:0;transform:translate3d(0,22px,0)}}
@keyframes os-drop{from{transform:scaleY(0)}}
@keyframes os-ping{0%{transform:scale(1);opacity:.9}70%,100%{transform:scale(2.6);opacity:0}}

/* Ma'am's stop wears her portrait, not an icon (a tight crop on the site's cream, tools/medal.py), set in a fine double ring that turns
   crimson when the line reaches her; her own words sit under her stop, quiet: a short hairline, the line in italic, a small attribution */
body .ideo-story .os-ico.os-ico-face{width:50px;height:50px;margin:-5px 3px;overflow:hidden;border:0;background:#CFE3F8;
  box-shadow:0 0 0 2px var(--page),0 0 0 3px rgba(248,243,237,.32),0 10px 24px rgba(0,0,0,.28)}
body .ideo-story .os-ico-face img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
body .ideo-story .os-stop.is-lit .os-ico-face{background:#CFE3F8;box-shadow:0 0 0 2px var(--page),0 0 0 3.2px rgba(211,42,31,.88),0 0 22px rgba(211,42,31,.14),0 10px 24px rgba(0,0,0,.28)}
body .ideo-story .os-said{max-width:36ch;margin:22px 0 0;font-size:16.5px;text-align:left}
body .ideo-story .os-said::before{content:"";display:block;width:28px;height:1px;margin:0 0 14px;background:rgba(211,42,31,.75)}
body .ideo-story .os-said span{display:block;text-indent:-.4em;font-size:clamp(19px,1.45vw,21px);font-style:italic;line-height:1.42;letter-spacing:.003em;color:rgba(248,243,237,.94);text-wrap:balance}
body .ideo-story .os-said small{display:block;margin-top:9px;font-size:14px;font-style:italic;letter-spacing:.02em;color:var(--t3)}
body .ideo-story .os-stop[data-side="l"] .os-said{margin-left:auto;text-align:right}
body .ideo-story .os-stop[data-side="l"] .os-said::before{margin-left:auto}
body .ideo-story .os-stop[data-side="l"] .os-said span{text-indent:0}
@media (max-width:759px){
  body .ideo-story .os-ico.os-ico-face{width:44px;height:44px;margin:-4px 3px}
  body .ideo-story .os-stop[data-side="l"] .os-said{margin-left:0;text-align:left}
  body .ideo-story .os-stop[data-side="l"] .os-said::before{margin-left:0}
  body .ideo-story .os-stop[data-side="l"] .os-said span{text-indent:-.4em}
}
@media (prefers-reduced-motion:no-preference){
  html.ideo-js body .ideo-story .os-way.is-ready .os-ico-face img{opacity:0;transform:scale(1.08);transition:opacity 1.1s var(--ease) .2s,transform 1.6s var(--ease-out) .2s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-ico-face img{opacity:1;transform:none}
  html.ideo-js body .ideo-story .os-way.is-ready .os-said{opacity:0;transform:translate3d(0,10px,0);transition:opacity .9s var(--ease) .5s,transform 1.1s var(--ease-out) .5s}
  html.ideo-js body .ideo-story .os-way.is-ready .os-stop.is-seen .os-said{opacity:1;transform:none}
}
/* phones (Kazi v89): the corridor's red light sat right behind the headline and its red words blurred into it; on a
   narrow screen the light is softer and the words get a dark halo instead of a red one. Every stop sits on the left
   rail here, so every paragraph's last line leans left too. */
@media (max-width:759px){
  body .ideo-story .os-hall .os-end{opacity:.4}
  body .ideo-story h1{text-shadow:0 2px 20px rgba(10,15,16,.9),0 0 2px rgba(10,15,16,.6)}
  body .ideo-story h1 em{color:#E63B2C;text-shadow:0 2px 20px rgba(10,15,16,.9),0 0 2px rgba(10,15,16,.6)}
  body .ideo-story .os-sub{text-shadow:0 1px 14px rgba(10,15,16,.85)}
  body .ideo-story .os-stop[data-side="l"] .os-text{text-align-last:left}
}
/* section rhythm (Kazi v91: "always keep section gaps right on every page"): the last stop sits the same distance
   above the footer as the home page's last section, about 130px on a laptop and 118px on a phone */
body .ideo-story #journey{padding-bottom:4px}
@media (max-width:759px){ body .ideo-story #journey{padding-bottom:20px} }
/* the light meets each stop softly (Kazi v92): the dot warms a moment before the light reaches it, so the light slides
   into a red dot instead of crossing a grey ring, and no ring bursts outside the line */
body .ideo-story .os-dot{transition:background .45s var(--ease),box-shadow .7s var(--ease),transform .5s var(--ease)}
body .ideo-story .os-ball .os-halo{transition:opacity .4s var(--ease)}
/* a little more room per line beside the road, so justified lines need less stretch */
@media (min-width:760px){ body .ideo-story .os-text{max-width:40ch} }

/* ================= What is iDEO (v101, Kazi: people ask what iDEO is) ================= */
body .ideo-story .os-what{display:flex;flex-direction:column;align-items:center;max-width:860px;margin:clamp(42px,3.4vw + 24px,73px) auto 0;padding:0 clamp(18px,4vw,56px) clamp(20px,1.8vw,26px);text-align:center}
body .ideo-story .os-what h2{max-width:17em;margin:22px 0 0;font-size:clamp(30px,3.6vw,50px);font-weight:400;line-height:1.08;letter-spacing:-.025em;text-wrap:balance}
body .ideo-story .os-what h2 em{font-style:italic;color:var(--crimson)}
body .ideo-story .os-what-p{max-width:56ch;margin:22px 0 0;font-size:clamp(17px,1.25vw,19px);line-height:1.62;color:var(--t2);text-align:justify;text-align-last:center;text-justify:inter-word;-webkit-hyphens:auto;hyphens:auto}
body .ideo-story .os-what-more{margin:22px 0 0;font-size:15.5px;color:var(--t3)}
body .ideo-story .os-what-more a{color:var(--os-red);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;white-space:nowrap}
body .ideo-story .os-what-more a:focus-visible{outline:2px solid var(--crimson);outline-offset:3px;border-radius:3px}
body .ideo-story .os-what[data-rise]>*{opacity:0;transform:translateY(14px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
body .ideo-story .os-what.is-up>*{opacity:1;transform:none}
body .ideo-story .os-what.is-up>:nth-child(2){transition-delay:.08s}
body .ideo-story .os-what.is-up>:nth-child(3){transition-delay:.16s}
body .ideo-story .os-what.is-up>:nth-child(4){transition-delay:.24s}
@media (prefers-reduced-motion:reduce){ body .ideo-story .os-what[data-rise]>*{opacity:1;transform:none;transition:none} }
/* v108 (Kazi): where the name comes from, BrandThink Digital (2022) to iDEO Global (2026) */
body .ideo-story .os-name{width:100%;max-width:660px;margin:34px 0 0}
body .ideo-story .os-name-k{margin:0;font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--t3)}
body .ideo-story .os-name ol{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 0;padding:0;list-style:none;text-align:left}
body .ideo-story .os-name li{display:flex;flex-direction:column;padding:18px 20px 19px;border:1px solid var(--line);border-radius:16px;background:rgba(248,243,237,.02)}
body .ideo-story .os-name li.is-now{border-color:rgba(211,42,31,.45);background:rgba(211,42,31,.08)}
body .ideo-story .os-name b{font-weight:400;font-style:italic;font-size:15px;line-height:1;color:var(--t3)}
body .ideo-story .os-name li.is-now b{color:#F05A4B}
body .ideo-story .os-name li>span{margin:10px 0 0;font-size:21px;line-height:1.2;color:var(--t1)}
body .ideo-story .os-name small{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:var(--t2)}
body .ideo-story .os-name ol::after{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border:1px solid var(--line-2);border-radius:50%;
  background:var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5h13M10 1l4 4-4 4' fill='none' stroke='%23F05A4B' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50% 50%/12px auto no-repeat}
body .ideo-story .os-what.is-up>:nth-child(5){transition-delay:.32s}
@media (max-width:599px){
  body .ideo-story .os-name ol{grid-template-columns:1fr;gap:12px}
  body .ideo-story .os-name ol::after{transform:rotate(90deg)}
}
/* v114 (Kazi: a word broken with a hyphen in the road looked wrong): the road's words stay whole */
body .ideo-story .os-stops .os-text{-webkit-hyphens:manual;hyphens:manual}
