/* Why it matters — four comparisons, followed by system coordination in the platform. */
.impact,.system-platform{
  --impact-ink:#173b39;
  --impact-muted:#5e6a66;
  --impact-green:#102f2e;
  --impact-mint:#a6e1ce;
  --impact-rule:rgba(23,59,57,.17);
}
.impact{
  padding-block:clamp(2.75rem,4.5vw,4rem) clamp(1.5rem,3vw,2.5rem);
  scroll-margin-top:90px;
}
.system-platform{padding-top:clamp(2.25rem,4vw,3.5rem);scroll-margin-top:90px}
.system-platform .mech{margin-top:clamp(.5rem,1.5vw,1.25rem)}
.system-platform .impact__closing{margin-top:clamp(1.6rem,3vw,2.5rem);justify-content:flex-end}

/* section opener — the System page: statement left, the standing argument right */
.impact__intro{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:clamp(1.3rem,4vw,4rem);align-items:start;margin-bottom:clamp(1.9rem,3.6vw,3rem)}
.impact__intro .eyebrow{margin-bottom:1.2rem}

/* section opener — the home page: the picture on the left, the argument beside it,
   the way the old site set this passage */
.impact__opening{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
  gap:clamp(1.6rem,4vw,4rem);align-items:stretch;margin-bottom:clamp(2.8rem,5.5vw,4.75rem)}
.impact__lead{align-self:center}
.paper-band :is(.impact,.system-platform) :is(.impact__lead,.impact__intro) h2{
  color:var(--impact-ink);font-size:clamp(2.1rem,3.7vw,3.2rem);line-height:1.04;letter-spacing:-.035em;max-width:17ch}
.paper-band :is(.impact,.system-platform) :is(.impact__lead,.impact__intro) h2 em{color:var(--teal)}
:is(.impact,.system-platform) .impact__standfirst{
  color:var(--impact-ink);font-size:clamp(1.02rem,1.35vw,1.18rem);line-height:1.45;margin:.95rem 0 0;font-weight:500}
.impact__intro .impact__standfirst{max-width:34ch}
.impact__lead .impact__premise{margin-top:clamp(1.1rem,2vw,1.6rem)}
/* a pixel up from 1.04rem (settled 2026-11-26) */
.impact__lead .impact__premise>p{font-size:calc(1.04rem + 1px);line-height:1.68}
.impact__premise{max-width:62ch}
.impact__premise>p{color:var(--impact-muted);font-size:.96rem;line-height:1.65;margin:0 0 .95rem}
.impact__premise>p:last-child{margin-bottom:0}
.impact__premise>p strong{color:var(--impact-ink);font-weight:600}
.impact__premise>.impact__premise-more{margin-top:1.15rem}
.impact__premise>.impact__premise-lead{color:var(--impact-ink);font-size:1.08rem;line-height:1.5;font-weight:500;margin-bottom:1.15rem}
.paper-band .impact__premise .card__more{padding-top:0;font-size:.86rem}

/* the mission line — set on the About page's stacked tiles (site.css, "ABOUT — the problem"),
   brought onto the paper: a deep indigo block with violet and green tiles stepping out behind it
   and the coral chip on its edge; the line in light serif, one colour throughout. The About block
   is near-square; this one is wide and short, so the tiles behind are sized by height too, or they
   would climb over the heading. As the line comes into view (site.js adds .is-lit) "safe", then
   "precise", then "efficient" turn a touch bolder and brighter: a hairline faux bold (a thin shadow
   either side of each stroke), not a heavier weight, so the letters keep their widths and nothing
   rewraps. Settled 2026-11-26 ("Tiles + Underline", with the Line switch on "Bold in turn";
   then the Entrance switch on "Assemble", below). */
.impact__mission{
  --to:clamp(10px,1.2vw,17px);--tw:clamp(26px,2.8vw,40px);
  position:relative;isolation:isolate;max-width:36ch;
  margin:clamp(1.6rem,2.8vw,2.2rem) calc(var(--tw) / 2 + 6px) calc(var(--to) + .4rem) var(--to);
  padding:clamp(1.15rem,2vw,1.6rem) clamp(1.3rem,2.4vw,2rem) clamp(1.2rem,2.1vw,1.7rem);
  font-family:var(--f-serif);font-weight:300;font-size:clamp(1.32rem,1.85vw,1.68rem);
  line-height:1.32;letter-spacing:-.012em;color:#E6EAF4;text-wrap:pretty}
/* (the paper band's own p and em colours, site.css, would otherwise win over the block's) */
.impact__lead .impact__mission{color:#E6EAF4}
.impact__mission .tiles{z-index:-1}
.impact__mission .tiles i{border-radius:10px}
.impact__mission .tiles__back{aspect-ratio:auto;width:42%;height:74%}
.impact__mission .tiles__back2{aspect-ratio:auto;width:28%;height:66%}
.impact__mission .tiles i.tiles__chip{border-radius:6px;bottom:22%}
/* "Our mission", so it's plain what the line is */
.impact__mission-label{display:block;margin:0 0 .55rem;font:500 .68rem/1.5 var(--f-mono);letter-spacing:.16em;
  text-transform:uppercase;font-style:normal;color:#4FE3EB}
.impact__lead .impact__qualities em{font-style:normal;font-weight:inherit;color:inherit;transition:text-shadow .6s cubic-bezier(.3,0,.2,1),color .6s ease}
.impact__mission.is-lit .impact__qualities em{color:#fff;text-shadow:.013em 0 0 currentColor,-.013em 0 0 currentColor}
.impact__mission.is-lit .impact__qualities em{transition-delay:1.15s}
.impact__mission.is-lit .impact__qualities em:nth-of-type(2){transition-delay:1.55s}
.impact__mission.is-lit .impact__qualities em:nth-of-type(3){transition-delay:1.95s}
/* Assemble (settled 2026-11-26): the navy block and its words are there from the start; as the
   line scrolls into view the violet and green tiles fly in from opposite corners and the coral
   chip snaps onto the block's edge with a small overshoot, then the qualities bold in turn (the
   delays above). site.js adds .is-armed (only when it will animate: not with reduced motion or
   without IntersectionObserver) and .is-built when the line is in view, so without script the
   tiles are simply there. */
.impact__mission{--snap:cubic-bezier(.2,.9,.25,1.12);--click:cubic-bezier(.34,1.7,.5,1)}
.impact__mission.is-armed .tiles i:not(.tiles__main){transition:transform .75s var(--snap),opacity .45s ease}
.impact__mission.is-armed:not(.is-built) .tiles__back{opacity:0;transform:translate(-70px,46px) rotate(-9deg) scale(.85)}
.impact__mission.is-armed:not(.is-built) .tiles__back2{opacity:0;transform:translate(64px,-52px) rotate(8deg) scale(.85)}
.impact__mission.is-armed:not(.is-built) .tiles i.tiles__chip{opacity:0;transform:translate(46px,10px) rotate(50deg) scale(.4)}
.impact__mission.is-armed.is-built .tiles__back2{transition-delay:.14s}
.impact__mission.is-armed.is-built .tiles i.tiles__chip{transition:transform .5s var(--click) .5s,opacity .2s ease .5s}
.impact__mission + .impact__premise{margin-top:clamp(1.6rem,2.8vw,2.2rem)}

/* the picture fills the full height of the argument beside it, so the extra lines get room
   without the image shrinking to a band */
.impact__portrait{margin:0;display:flex;min-height:clamp(22rem,36vw,32rem)}
.impact__portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;border-radius:12px;
  filter:saturate(.9);box-shadow:0 26px 52px -34px rgba(15,43,38,.7)}

/* the rule that separates the opener from the comparison below */
.impact__rule{border:0;border-top:1px solid var(--impact-rule);margin:0 0 clamp(2.2rem,4.5vw,3.75rem)}

/* ---------- the comparison: four challenges, each answered on the green panel ---------- */
.impact__comparison{position:relative;isolation:isolate;--split:43%}
/* the panel, with a faint dot field */
.impact__comparison::before{
  content:"";position:absolute;inset:0 0 0 var(--split);z-index:-2;border-radius:16px;
  background:
    radial-gradient(circle,rgba(166,225,206,.07) 1px,transparent 1.4px) 0 0/22px 22px,
    radial-gradient(ellipse at 100% 0,rgba(67,138,116,.24),transparent 60%),
    var(--impact-green);
  box-shadow:0 34px 60px -38px rgba(15,43,38,.75),0 0 0 1px rgba(166,225,206,.06) inset;
}
/* a slow drifting light across the panel */
.impact__comparison::after{
  content:"";position:absolute;inset:0 0 0 var(--split);z-index:-1;border-radius:16px;pointer-events:none;
  background:radial-gradient(closest-side,rgba(166,225,206,.11),transparent) no-repeat;
  background-size:70% 45%;background-position:110% -10%;
  animation:impact-drift 22s ease-in-out infinite alternate;
}
@keyframes impact-drift{
  0%{background-position:110% -10%}
  50%{background-position:-10% 45%}
  100%{background-position:95% 110%}
}

.impact__columns,.impact__row{display:grid;grid-template-columns:var(--split) calc(100% - var(--split))}

/* column headings */
.impact__columns>span{
  display:flex;align-items:center;gap:.9rem;padding:1.25rem 2.4rem 1.15rem;
  font:300 clamp(1.45rem,2vw,1.85rem)/1.1 var(--f-serif);letter-spacing:-.025em;
}
.impact__columns>span:first-child{padding-left:0;color:var(--impact-ink);border-bottom:1px solid var(--impact-rule)}
.impact__columns>span:first-child em{color:#a5552f}
.impact__columns>span:last-child{color:#f1f5ed;border-bottom:1px solid rgba(166,225,206,.18)}
.impact__columns>span:last-child em{color:var(--impact-mint)}
.impact__link svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.3;flex:none}

.impact__row{min-height:196px;scroll-margin-top:100px}

/* challenge side */
.impact__challenge{
  display:flex;align-items:center;
  padding:1.45rem 3rem 1.45rem 0;border-bottom:1px solid var(--impact-rule);position:relative;
}
.impact__challenge::after{  /* accent that runs along the rule on hover */
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#a5552f,rgba(165,85,47,0));
  transform:scaleX(0);transform-origin:left;transition:transform .7s var(--ease);
}
.impact__row:hover .impact__challenge::after{transform:scaleX(1)}
.impact .impact__category{
  font:500 .68rem/1.5 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:#826751;margin:0 0 .5rem;
}
.impact .impact__challenge h3{
  font:500 clamp(1.25rem,1.6vw,1.45rem)/1.25 var(--f-sans);letter-spacing:-.026em;color:var(--impact-ink);max-width:32ch;margin:0 0 .55rem}
.impact__challenge-copy>p:last-child{font-size:1.03rem;line-height:1.55;color:var(--impact-muted);margin:0;max-width:46ch}

/* solution side */
.impact__solution{
  display:grid;grid-template-columns:minmax(0,1fr) 138px;gap:1.6rem;align-items:center;
  padding:1.45rem 2.4rem;border-bottom:1px solid rgba(166,225,206,.13);position:relative;
}
.impact__solution::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(166,225,206,.07),rgba(166,225,206,.015) 70%);
  opacity:0;transition:opacity .5s ease;
}
.impact__row:hover .impact__solution::before{opacity:1}
.impact__row:last-child .impact__solution{border-bottom:0}
.impact__row:last-child .impact__solution::before{border-radius:0 0 16px 16px}
.impact__solution h4{font:300 clamp(1.75rem,2.4vw,2.15rem)/1.1 var(--f-serif);letter-spacing:-.028em;color:#f1f5ed;margin:0 0 .6rem}
.impact .impact__solution h4 em{color:var(--impact-mint)}
.impact__solution p{font-size:1.03rem;line-height:1.55;color:#c3d5cd;margin:0;max-width:46ch}
.impact__mobile-label{display:none}


/* schematics */
.impact__figure{margin:0;align-self:center}
.impact__drawing{width:100%;height:auto;display:block;overflow:visible;stroke-linecap:round;stroke-linejoin:round;transition:scale .7s var(--ease)}
.impact__row:hover .impact__drawing{scale:1.05}
.impact__figure figcaption{font:400 .62rem/1.5 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:#a9c8bc;text-align:center;margin:.45rem -1rem 0}
.impact__guide{stroke:#a6e1ce;stroke-width:.6;opacity:.12;stroke-dasharray:2 5}
.impact__strand{stroke:#a6e1ce;stroke-width:1.8}
.impact__strand--dim{stroke:#679f91}
.impact__rungs{stroke:#93c3b3;stroke-width:1;opacity:.5}
.impact__orbit{stroke:#84b6a6;stroke-width:1;opacity:.6}
.impact__accent{stroke:#c6b4e7;stroke-width:1.7}
.impact__node{fill:#d4f2df;stroke:#102f2e;stroke-width:1.5}
.impact__cargo{fill:#c6b4e7;fill-opacity:.09;stroke:#c6b4e7;stroke-width:1}
.impact__measure{stroke:#a6e1ce;stroke-width:1;opacity:.7}
.impact__envelope{fill:#a6e1ce;fill-opacity:.035;stroke:#87b8a7;stroke-width:1}
/* ambient pieces: hidden until the row has been drawn, so the static picture is unchanged */
.impact__spin{stroke:#a6e1ce;stroke-width:.8;stroke-dasharray:1.5 7;opacity:0}
.impact__ping{stroke:#d4f2df;stroke-width:1;opacity:0}
.impact__scan{fill:#a6e1ce;opacity:0}
.impact__halo{stroke:#a6e1ce;stroke-width:1;opacity:0}
.impact__write{stroke-width:2.4}
:is(.impact__spin,.impact__ping,.impact__lock,.impact__halo,.impact__ring,.impact__part){transform-box:fill-box;transform-origin:center}

/* ---------- motion (site.js marks rows .is-observed, then .is-visible once in view) ---------- */
/* row entrance: the challenge settles from the left, the answer follows from the right */
.impact__row.is-observed :is(.impact__challenge-copy,.impact__solution-copy,.impact__figure){
  transition:opacity .9s var(--ease),translate 1s var(--ease)}
.impact__row.is-observed:not(.is-visible)  .impact__challenge-copy{opacity:0;translate:-22px 0}
.impact__row.is-observed:not(.is-visible) :is(.impact__solution-copy,.impact__figure){opacity:0;translate:22px 0}
.impact__row.is-observed .impact__challenge-copy{transition-delay:.06s}
.impact__row.is-observed .impact__solution-copy{transition-delay:.2s}
.impact__row.is-observed .impact__figure{transition-delay:.32s}

/* line drawing */
.impact__row.is-observed .impact__draw{stroke-dasharray:600;stroke-dashoffset:600;transition:stroke-dashoffset 1.7s var(--ease) .3s}
.impact__row.is-observed.is-visible .impact__draw{stroke-dashoffset:0}
.impact__row.is-observed .impact__accent.impact__draw{transition-delay:.5s}

/* 01 — the lock-on: a slow dashed orbit, breathing corner brackets, a ping at the target */
.impact__row.is-visible .impact__spin{animation:impact-fade-in 1s 1.6s forwards,impact-spin 36s linear infinite}
.impact__row.is-visible .impact__lock{animation:impact-breathe 3.4s 2s ease-in-out infinite}
.impact__row.is-visible .impact__ping{animation:impact-ping 2.8s 1.9s ease-out infinite}
/* 02 — a read-head sweeps across the cargo */
.impact__row.is-visible .impact__scan{animation:impact-scan 3.6s 2s ease-in-out infinite}
/* 03 — the shield sends out a soft pulse */
.impact__row.is-visible .impact__halo{animation:impact-halo 3.6s 2s ease-out infinite}
/* 04 — three separate parts close in and lock into one ring, which then turns as a single machine */
.impact__part{transition:translate 1.5s var(--ease) .45s,rotate 1.5s var(--ease) .45s,opacity 1s ease .45s}
.impact__row.is-observed:not(.is-visible) .impact__part{opacity:.4}
.impact__row.is-observed:not(.is-visible) .impact__part--a{translate:0 -20px;rotate:-16deg}
.impact__row.is-observed:not(.is-visible) .impact__part--b{translate:22px 14px;rotate:18deg}
.impact__row.is-observed:not(.is-visible) .impact__part--c{translate:-22px 14px;rotate:-18deg}
.impact__row.is-observed .impact__write{stroke-dasharray:36;stroke-dashoffset:36;transition:stroke-dashoffset 1.2s var(--ease) 1.9s}
.impact__row.is-observed.is-visible .impact__write{stroke-dashoffset:0}
.impact__row--system.is-visible .impact__ring{animation:impact-spin 40s 2.2s linear infinite}
.impact__row--system.is-visible .impact__ping--wide{animation:impact-ping-wide 4.2s 1.85s ease-out infinite}

@keyframes impact-fade-in{to{opacity:.45}}
@keyframes impact-spin{to{rotate:360deg}}
@keyframes impact-breathe{0%,100%{scale:1}50%{scale:.92}}
@keyframes impact-ping{0%{scale:1;opacity:.85}80%,100%{scale:4.2;opacity:0}}
@keyframes impact-ping-wide{0%{scale:1;opacity:.55}55%,100%{scale:1.4;opacity:0}}
@keyframes impact-scan{0%{translate:0 0;opacity:0}15%{opacity:.22}85%{opacity:.22}100%{translate:92px 0;opacity:0}}
@keyframes impact-halo{0%{scale:1;opacity:.5}70%,100%{scale:1.22;opacity:0}}

.impact__closing{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-top:1.6rem}
.impact__closing p{font-size:.84rem;color:var(--impact-ink);margin:0}
.impact__closing p span{color:var(--impact-muted)}
.impact__link{display:inline-flex;align-items:center;gap:1.2rem;font-size:.95rem;font-weight:500;color:var(--impact-ink);padding:.5rem 0;white-space:nowrap}
.impact__link svg{transition:transform .3s var(--ease)}
.impact__link:hover svg{transform:translateX(4px)}
.impact__link:focus-visible{outline:2px solid #287266;outline-offset:6px;border-radius:2px}

@media(min-width:1200px){
  .impact__solution{padding-right:2.6rem;gap:2rem}
}
@media(max-width:1050px){
  .impact__challenge{padding-right:2rem}
  .impact__solution{grid-template-columns:minmax(0,1fr) 112px;gap:1.1rem;padding-inline:1.6rem 1.5rem}
  .impact__columns>span:last-child{padding-inline:1.6rem 1.5rem}
  .impact__figure figcaption{font-size:.58rem;letter-spacing:.02em}
}
@media(max-width:900px){
  .impact__intro,.impact__opening{grid-template-columns:1fr;gap:1.4rem}
  .impact__portrait{min-height:0}
  .impact__portrait img{height:auto;aspect-ratio:16/10}
  :is(.impact,.system-platform) .impact__standfirst{margin-top:.9rem}
}
@media(max-width:780px){
  .impact__intro{margin-bottom:1.5rem}
  .impact__opening{margin-bottom:2.4rem}
  .impact__mission{font-size:1.3rem}
  :is(.impact,.system-platform) .impact__standfirst{font-size:1.05rem}
  .impact__comparison::before,.impact__comparison::after,.impact__columns{display:none}
  .impact__row{grid-template-columns:1fr;min-height:0;border-top:1px solid var(--impact-rule);margin-top:1.4rem}
  .impact__challenge{padding:1.2rem 0 1.1rem;border-bottom:0}
  .impact__challenge::after{display:none}
  .impact .impact__challenge h3{max-width:34ch}
  .impact__challenge-copy>p:last-child{max-width:60ch}
  .impact__solution{
    grid-template-columns:minmax(0,1fr) 115px;padding:1.35rem;gap:1.25rem;
    background:
      radial-gradient(circle,rgba(166,225,206,.07) 1px,transparent 1.4px) 0 0/22px 22px,
      radial-gradient(ellipse at 100% 0,rgba(67,138,116,.24),transparent 60%),var(--impact-green);
    border:0;border-radius:12px;
  }
  .impact__row:last-child .impact__solution::before{border-radius:12px}
  .impact__solution p{max-width:55ch}
  .impact__solution h4{font-size:1.8rem}
  .impact__mobile-label{display:block;font:500 .7rem/1.5 var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--impact-mint);margin-bottom:.85rem}
  .impact__closing{align-items:flex-start;gap:.75rem;flex-direction:column;padding-top:1.1rem}
  .impact__closing p{max-width:39ch;line-height:1.6}
}
@media(max-width:480px){
  .impact__solution{grid-template-columns:minmax(0,1fr) 82px;gap:.65rem;padding:1.2rem 1.25rem}
  .impact__solution-copy{display:contents}
  .impact__mobile-label{grid-column:1/-1;margin-bottom:0}
  .impact__solution h4{grid-column:1;grid-row:2;font-size:1.65rem;margin:.5rem 0}
  .impact__solution p{grid-column:1/-1;grid-row:3;font-size:.96rem}
  .impact__figure{grid-column:2;grid-row:2}
  .impact__figure figcaption{display:none}
  .impact .impact__challenge h3{font-size:1.18rem}
  .impact__challenge-copy>p:last-child{font-size:.96rem}
}
@media(max-width:360px){
  .impact__solution{grid-template-columns:minmax(0,1fr) 60px;gap:.7rem}
  .impact__solution h4{grid-column:1/-1;grid-row:2}
  .impact__mobile-label{grid-column:1;grid-row:1}
  .impact__figure{grid-column:2;grid-row:1}
}
@media(prefers-reduced-motion:reduce){
  .impact__comparison::after{animation:none}
  .impact__row.is-observed .impact__draw{stroke-dasharray:none;stroke-dashoffset:0;transition:none}
}
