/* About / Story: chapters laid out like the other About pages. Copy on the right, the supplied photographs on the left,
   plain tinted backgrounds. Only the capabilities section carries a pattern (rings around its core). */
.sd-sec{position:relative;isolation:isolate;overflow:hidden}
.sd-sec__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;gap:40px}
.sd-sec__copy .st-head{margin:0;text-align:start}
.sd-sec__copy .st-head .st-lead{margin-inline:0}
.sd-sec__copy .st-chip{margin-inline:0}
.sd-built{margin:18px 0 0;color:var(--st-muted);font-size:14px;line-height:1.8;font-weight:700}
.sd-built b{color:var(--st-blue);font-weight:800}
.sd-bg-a{background:#eef2f7}
.sd-bg-b{background:#fff}
.sd-bg-c{background:linear-gradient(180deg,#e6eef8 0%,#f1f6fc 100%)}
.sd-sec svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* photographs */
.sd-frame{position:relative;margin:0;width:100%;max-width:640px;aspect-ratio:16/10;margin-inline:auto;border-radius:18px;overflow:hidden;background:#dfe6ee;box-shadow:0 14px 34px rgba(15,32,52,.16)}
.sd-frame>img{display:block;width:100%;height:100%;object-fit:cover}
.sd-pins{position:absolute;left:14px;bottom:14px;display:grid;gap:8px;margin:0;padding:0;list-style:none}
.sd-pins li{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 16px;border-radius:999px;background:rgba(255,255,255,.93);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--st-ink);font-size:13px;font-weight:800;box-shadow:0 8px 18px rgba(14,27,43,.2)}
.sd-pins i{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:50%;background:#eaf0f7;color:#34506f}
.sd-pins svg{width:16px;height:16px}

.sd-shot{margin:0;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 10px 24px rgba(15,32,52,.13)}
.sd-shot img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.sd-shot figcaption{display:grid;gap:2px;padding:10px 12px 12px;text-align:center}
.sd-shot b{color:var(--st-ink);font-size:14px;font-weight:820;line-height:1.5}
.sd-shot small{color:var(--st-muted);font-size:12px;font-weight:600}
.sd-shot__duo{display:flex;align-items:center;justify-content:center;gap:10px;aspect-ratio:4/3;padding:10px;background:linear-gradient(135deg,#f6f9fc,#e3eaf3)}
.sd-shot__duo img{width:auto;height:auto;max-width:56%;max-height:100%;aspect-ratio:auto;object-fit:contain}
.sd-shot__duo img+img{max-width:30%}
.sd-flow{max-width:640px;margin-inline:auto}
.sd-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%;max-width:600px;margin:0 auto}
/* photos are shown whole on the same white as the card, not cropped to 4:3 */
.sd-mosaic .sd-shot__media{overflow:hidden;aspect-ratio:4/3;background:#fff}
.sd-mosaic .sd-shot__media img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.sd-mosaic .sd-shot__duo{background:#fff;overflow:hidden}
/* hover: tinted card + zoom; the zoom is clipped by the media box so the picture never leaves its frame */
.sd-mosaic .sd-shot{transition:background-color .2s ease,box-shadow .2s ease}
.sd-mosaic .sd-shot img{transition:transform .3s ease}
.sd-mosaic .sd-shot:hover{background:#eaf5ff;box-shadow:0 14px 30px rgba(8,58,119,.18)}
.sd-mosaic .sd-shot:hover img{transform:scale(1.08)}

/* entrance */
@media(prefers-reduced-motion:no-preference){
  .sd-in{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease;transition-delay:calc(var(--i, 0) * .22s + .12s)}
  .is-revealed .sd-in{opacity:1;transform:none}
  .sd-pins li.sd-in{transform:translateX(-16px)}
  .is-revealed .sd-pins li.sd-in{transform:none}
}

@media(max-width:1040px){.sd-sec__grid{grid-template-columns:1fr;gap:34px}}
@media(max-width:620px){
  .sd-pins{left:8px;bottom:8px;gap:6px}
  .sd-pins li{padding:6px 11px 6px 12px;font-size:11px;gap:7px}
  .sd-pins i{width:22px;height:22px}
  .sd-shot figcaption{padding:8px 8px 10px}
  .sd-shot b{font-size:12.5px}
  .sd-shot small{font-size:11px}
}
/* the HTML height attribute on photographs would otherwise win over aspect-ratio */
.sd-shot img{height:auto}
@media(max-width:860px){
  .sd-flow .sd-shot{display:grid;grid-template-columns:44% 1fr;align-items:center}
  .sd-flow .sd-shot figcaption{text-align:right;padding:10px 14px}
}

/* capabilities stacked over a time axis */
.sd-time{display:flex;align-items:stretch;gap:18px;width:100%;max-width:600px;margin:0 auto}
.sd-time__axis{position:relative;flex:none;width:34px;display:grid;justify-items:center;align-content:start}
.sd-time__axis b{color:#34506f;font-size:13px;font-weight:850}
.sd-time__axis::before{content:"";position:absolute;left:50%;top:26px;bottom:0;width:3px;margin-left:-1.5px;border-radius:2px;background:linear-gradient(0deg,#34506f,#8fb2d6)}
.sd-time__axis::after{content:"";position:absolute;left:50%;top:18px;margin-left:-7px;border-inline:7px solid transparent;border-bottom:10px solid #8fb2d6}
.sd-time__stack{flex:1;display:grid;gap:10px}
.sd-time__cap{display:flex;align-items:center;justify-content:center;gap:10px;width:70%;margin:0 auto;padding:12px 20px;border-radius:14px;background:#2f9e6b;color:#fff;font-size:16px;font-weight:850;box-shadow:0 12px 24px rgba(47,158,107,.3)}
.sd-time__cap i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#2f9e6b}
.sd-time__cap svg{width:14px;height:14px;stroke-width:3}
.sd-time__stack ol{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.sd-time__stack ol li{display:flex;align-items:center;gap:14px;width:var(--w);margin-inline:auto;padding:11px 18px;border-radius:14px;background:#34506f;color:#fff;box-shadow:0 10px 20px rgba(52,80,111,.22)}
.sd-time__stack ol li:nth-child(1){background:#6b92b5}
.sd-time__stack ol li:nth-child(2){background:#5885ad}
.sd-time__stack ol li:nth-child(3){background:#4f7ea6}
.sd-time__stack ol li:nth-child(4){background:#3d6089}
.sd-time__stack ol li i{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.18)}
.sd-time__stack ol li svg{width:22px;height:22px}
.sd-time__stack ol b{display:block;font-size:14.5px;font-weight:820}
.sd-time__stack ol small{display:block;margin-top:1px;color:rgba(255,255,255,.82);font-size:12px;font-weight:600}
@media(prefers-reduced-motion:no-preference){
  .sd-time__axis::before{transform:scaleY(0);transform-origin:bottom;transition:transform 1.2s cubic-bezier(.4,0,.2,1) .2s}
  .sd-time__axis::after,.sd-time__axis b{opacity:0;transition:opacity .4s ease 1.3s}
  .is-revealed .sd-time__axis::before{transform:none}
  .is-revealed .sd-time__axis::after,.is-revealed .sd-time__axis b{opacity:1}
}
@media(max-width:620px){
  .sd-time{gap:10px}
  .sd-time__stack ol li{padding:9px 12px;gap:10px}
  .sd-time__stack ol li i{width:30px;height:30px}
  .sd-time__stack ol b{font-size:12.5px}
  .sd-time__stack ol small{font-size:11px}
}

/* releases on a plain timeline: year above the line, the product below it */
.sd-tl{width:100%;max-width:640px;margin:0 auto}
.sd-tl ol{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none}
.sd-tl__line{position:absolute;top:36px;left:8.33%;right:8.33%;height:4px;border-radius:2px;background:linear-gradient(270deg,#34506f,#4f7ea6)}
.sd-tl li{position:relative;z-index:1;display:grid;justify-items:center;align-content:start;gap:3px;text-align:center}
.sd-tl__year{height:24px;color:#34506f;font-size:16px;font-weight:850}
.sd-tl__dot{width:20px;height:20px;margin:2px 0 14px;border-radius:50%;background:#fff;border:4px solid #34506f}
.sd-tl li img{display:block;width:100%;max-width:92px;height:74px;margin-bottom:6px;object-fit:contain;filter:drop-shadow(0 8px 10px rgba(15,32,52,.2))}
.sd-tl li b{color:var(--st-ink);font-size:14px;font-weight:830}
.sd-tl li small{color:var(--st-muted);font-size:11.5px;font-weight:700}
.sd-tl li.is-next .sd-tl__dot{border-style:dashed;border-color:#4f7ea6;border-width:3px}
.sd-tl li.is-next img{opacity:.85}
@media(prefers-reduced-motion:no-preference){
  .sd-tl__line{transform:scaleX(0);transform-origin:right;transition:transform 1.4s cubic-bezier(.4,0,.2,1) .2s}
  .is-revealed .sd-tl__line{transform:none}
}
@media(max-width:620px){
  .sd-tl ol{grid-template-columns:1fr;gap:14px}
  .sd-tl__line{top:12px;bottom:12px;left:auto;right:9px;width:4px;height:auto;background:linear-gradient(180deg,#34506f,#4f7ea6)}
  .sd-tl li{grid-template-columns:22px 1fr 56px;grid-template-rows:auto auto;align-items:center;justify-items:start;column-gap:14px;text-align:right}
  .sd-tl__dot{grid-column:1;grid-row:1/3;margin:0}
  .sd-tl li img{grid-column:3;grid-row:1/3;justify-self:end;width:56px;height:46px;margin:0}
  .sd-tl__year{grid-column:2;grid-row:1;height:auto;align-self:end}
  .sd-tl li b{grid-column:2;grid-row:2;align-self:start}
  .sd-tl li.is-next .sd-tl__year{display:none}
  .sd-tl li.is-next b{grid-row:1/2;align-self:end}
  .sd-tl li.is-next small{grid-column:2;grid-row:2;align-self:start}
}
/* centre the content of each stacked block */
.sd-time__stack ol li{justify-content:center;text-align:center}

/* Story hero: photo-led, same treatment as the other About pages. The photo is as tall as the section and dissolves
   horizontally into an ambient background made from its own tones; the figure is offset back to the viewport's left edge. */
.sty-page .st-hero::before{background-image:url("../img/hero/story-hero-new.webp")}
@media(min-width:1041px){
  .sty-page .st-hero{background:linear-gradient(90deg,#d6dde6 0%,#e6ebf1 38%,#f0f3f7 68%,#f8f9fb 100%)}
  .sty-page .st-hero::before{inset:-40px;background-size:cover;background-position:left center;filter:blur(38px) saturate(.7);opacity:.6;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 38%,transparent 84%);mask-image:linear-gradient(90deg,#000 0%,#000 38%,transparent 84%)}
  .sty-page .st-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(60% 90% at 62% 55%,rgba(255,255,255,.4) 0%,rgba(255,255,255,0) 70%)}
  .sty-page .st-hero__media{top:0;bottom:0;left:calc((100% - 100vw) / 2 + 95px);width:min(72vw,1060px);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 14%,#000 62%,transparent 90%);mask-image:linear-gradient(90deg,transparent 0%,#000 14%,#000 62%,transparent 90%);-webkit-mask-composite:source-over;mask-composite:add}
  .sty-page .st-hero__media img{height:100%;aspect-ratio:auto;object-fit:cover;object-position:40% center}
}
@media(min-width:1041px) and (max-width:1320px){.sty-page .st-hero__media{left:calc((100% - 100vw) / 2 + 40px)}}
