/* PRISM supplement — loaded AFTER site.css.
   Keeps two things dark/animated: the prism banner (.herohome) and the
   spidergram draw-in (.radar). Everything else inherits the bright site.css register. */

/* ============ animated banner (dark, prism artwork) ============ */
.hero.herohome{padding:0;background:radial-gradient(1100px 650px at 72% 45%,#0A0A5C 0%,#050533 62%);isolation:isolate;color:rgba(255,255,255,.82)}
.hero.herohome::before{display:none}
.hero.herohome::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(5,5,51,.92) 22%,rgba(5,5,51,.55) 40%,rgba(5,5,51,0) 58%)}
/* B1 (Lucy, 10 Aug): the beam was sitting over the hero copy on index but not on
   catalogue, despite identical markup and CSS. Cause: height is pinned by top/bottom,
   so aspect-ratio derives the width. Index carries a longer sub-paragraph, which makes
   the hero taller, which makes the art wider, which walks its left edge into the text.
   Capped at 56%, just inside where the scrim has already faded out at 58%, so the art
   can no longer reach the copy at any height. object-fit keeps it from squashing. */
.hero-art{position:absolute;top:0;bottom:0;right:-40px;aspect-ratio:1492/1178;max-width:56%;z-index:-2}
.hero-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.herohome .wrap{position:relative;z-index:1;max-width:1180px;padding-top:clamp(88px,11vh,150px);padding-bottom:clamp(92px,12vh,160px)}
.herohome h1{max-width:12em;color:#fff}
.herohome p.sub{max-width:34em;color:rgba(255,255,255,.72);font-size:1rem;line-height:1.6}
.herohome p.sub-2{margin-top:-14px;font-size:.95rem}
.herohome .btn-o{border-color:rgba(255,255,255,.55);color:#fff}
/* prism.css loads after site.css and restates .btn-o colour at equal specificity,
   so the shared hover in site.css was being cancelled here. Restated on the dark
   banner as a white fill, matching the nav treatment (Callum, 25 August). */
.herohome .btn-o:hover{background:#fff;border-color:#fff;color:var(--oxford);box-shadow:0 10px 26px rgba(0,0,0,.38)}
/* trust chip on the dark banner */
.trustline{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:26px;padding:9px 18px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(5,5,51,.55);font-size:.85rem;color:rgba(255,255,255,.7)}
.trustline b{color:#fff}
/* banner motion */
@keyframes beamin{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 66% 0 0)}}
.hero-art .beam{animation:beamin .8s cubic-bezier(.4,0,.6,1) .1s both}
@keyframes ignite{from{opacity:0;filter:brightness(2.4)}to{opacity:1;filter:brightness(1)}}
.hero-art .base{animation:ignite .45s ease-out .82s both}
@keyframes fadeup{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.herohome .kick{animation:fadeup .45s ease-out 1.2s both}
.herohome h1{animation:fadeup .45s ease-out 1.3s both}
.herohome p.sub{animation:fadeup .45s ease-out 1.4s both}
.herohome .btn{animation:fadeup .45s ease-out 1.5s both}
.herohome .trustline{animation:fadeup .45s ease-out 1.8s both}
@media(max-width:1150px){
 .hero-art{opacity:.55;right:-18%}
 .herohome::after{background:linear-gradient(90deg,rgba(5,5,51,.94) 30%,rgba(5,5,51,.6) 55%,rgba(5,5,51,.15) 78%)}
}
@media(max-width:900px){
 .hero-art{right:-30%;opacity:.4}
 .herohome::after{background:rgba(5,5,51,.4)}
 .herohome .wrap{padding-top:104px;padding-bottom:110px}
}

/* ============ animated spidergram (radar draw-in) ============ */
@keyframes dropin{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}
@keyframes drawpoly{from{stroke-dashoffset:1;fill-opacity:0}to{stroke-dashoffset:0;fill-opacity:1}}
.js .rlabel,.js .rdot{opacity:0}
.js .rpoly{stroke-dasharray:1;stroke-dashoffset:1;fill-opacity:0}
.js .radar.inview .rlabel{animation:dropin .35s ease-out both}
.js .radar.inview .rdot{animation:dropin .35s ease-out both}
.js .radar.inview .rpoly{animation:drawpoly .7s ease-out .8s both}
#portraitradar .rlabel,#portraitradar .rdot{animation:none;opacity:1}
#portraitradar .pdot{opacity:0}
#portraitradar .rpoly{animation:none;fill-opacity:1;stroke-dashoffset:0}
@media(prefers-reduced-motion:reduce){
 .hero-art .beam,.hero-art .base,.herohome .kick,.herohome h1,.herohome p.sub,.herohome .btn,.herohome .trustline{animation:none!important}
 .js .rlabel,.js .rdot{opacity:1!important;animation:none!important}
 .js .rpoly{stroke-dashoffset:0!important;fill-opacity:1!important;animation:none!important}
}

/* compact variant of the numbered claims, for long sequences such as a curriculum.
   Tighter rows, and one consistent numeral treatment: the alternating nth-child gradients
   read as a pattern that breaks after the third item once a list runs past three
   (Callum, 25 August). */
.claims.compact .claim{grid-template-columns:78px 1fr;gap:24px;padding:15px 0;align-items:start}
.claims.compact .claim .num{font-size:2.1rem;background:var(--warm);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.claims.compact .claim:nth-child(2) .num,.claims.compact .claim:nth-child(3) .num{background:var(--warm);-webkit-background-clip:text;background-clip:text}
.claims.compact .claim h3{font-size:1.02rem;margin:0 0 3px}
.claims.compact .claim .body{font-size:.88rem;line-height:1.5;max-width:58em}
@media(max-width:700px){.claims.compact .claim{grid-template-columns:52px 1fr;gap:16px}
 .claims.compact .claim .num{font-size:1.6rem}}

/* ============ PRISM-only components in the light register ============ */
/* family strip (Portrait / Mini / Spectrum pills) */
.famstrip{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px}
.famstrip a{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--body);text-decoration:none;padding:7px 16px;border:1px solid var(--line);border-radius:999px;transition:color .2s ease,border-color .2s ease}
.famstrip a.cur{color:var(--oxford);border-color:var(--purple);background:rgba(181,82,255,.08)}
.famstrip a:hover{color:var(--oxford);border-color:var(--purple)}

/* numbered claim rows */
.claims{display:grid;margin-top:44px;border-top:1px solid var(--line)}
.claim{display:grid;grid-template-columns:110px 1fr auto;gap:34px;align-items:baseline;padding:30px 0;border-bottom:1px solid var(--line)}
.claim .num{font-size:clamp(2.4rem,4.8vw,3.6rem);font-weight:800;line-height:1;letter-spacing:-.02em;-webkit-text-stroke:0;color:transparent;background:var(--warm);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.claim:nth-child(2) .num{background:linear-gradient(120deg,#B552FF,#4F7CFF);-webkit-background-clip:text;background-clip:text}
.claim:nth-child(3) .num{background:linear-gradient(120deg,#FF6A3D,#FCCC54);-webkit-background-clip:text;background-clip:text}
.claim h3{color:var(--ink);font-size:clamp(1.15rem,2vw,1.5rem);margin:0 0 6px}
.claim .body{color:var(--body);max-width:30em}
.claim .role{color:var(--folly);font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:1.17rem;line-height:1.15;white-space:nowrap}

/* stepped progression */
.steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:44px}
.steps .step{padding:34px 30px;border:1px solid var(--line);border-right:0;background:linear-gradient(180deg,#fff,#faf8fe)}
.steps .step:first-child{border-radius:18px 0 0 18px}
.steps .step:last-child{border-right:1px solid var(--line);border-radius:0 18px 18px 0}
.steps .step .tier{display:flex;align-items:center;gap:10px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:.74rem;margin-bottom:16px}
.steps .step .dot{width:9px;height:9px;border-radius:50%}
.steps .step h3{color:var(--ink);font-size:1.15rem;margin:0 0 10px}
.steps .step p{color:var(--body);font-size:.95rem}
.steps .step .rez{height:6px;border-radius:3px;margin-top:20px;background:var(--spectrum)}
.steps .step:nth-child(1) .rez{width:34%}
.steps .step:nth-child(2) .rez{width:62%}
.steps .step:nth-child(3) .rez{width:100%}
.steps .step a{font-weight:700;font-size:.9rem;text-decoration:none;display:inline-block;margin-top:16px;color:var(--oxford)}

/* featured client voice → light */
.quote-feature{position:relative;overflow:hidden;padding:80px 0;background:var(--mist)}
.quote-feature .wrap{display:grid;grid-template-columns:auto 1fr;gap:36px;align-items:start;position:relative}
.quote-feature .mark{position:absolute;left:-14px;top:-58px;font-size:13rem;line-height:1;font-weight:700;color:var(--purple);opacity:.12;font-family:Georgia,serif;pointer-events:none}
.quote-feature blockquote{font-size:clamp(1.4rem,3vw,2.3rem);line-height:1.3;color:var(--ink);font-weight:500;max-width:22em;grid-column:2}
.quote-feature .who{display:flex;align-items:center;gap:22px;margin-top:28px;flex-wrap:wrap}
.quote-feature .who img{height:38px;width:auto;max-width:150px;object-fit:contain;background:#fff;border-radius:8px;padding:5px 10px;border:1px solid var(--line)}
.quote-feature .who .attr{color:var(--body);font-size:.95rem}
.quote-feature .who .attr strong{color:var(--ink);font-weight:700;display:block}
.quote-feature .proofbar{display:flex;gap:30px;flex-wrap:wrap;margin-top:32px;padding-top:24px;border-top:1px solid var(--line);color:var(--body);font-size:.88rem}
.quote-feature .proofbar b{color:var(--ink)}
.quote-feature .proofbar a{color:var(--oxford);font-weight:700;text-decoration:none}

/* light CTA variant (mini / spectrum use .cta.lt) */
.cta.lt{background:var(--mist);color:var(--ink)}
.cta.lt h2{color:var(--ink)}
.cta.lt p{color:var(--body)!important}

/* radar labels: ensure legible on the light register even if markup carries a light fill */
.radar text.rlabel[fill="#fff"]{fill:#17173a}

@media(max-width:900px){
 .quote-feature .wrap{grid-template-columns:1fr}
 .quote-feature blockquote{grid-column:1}
 .claim{grid-template-columns:64px 1fr;grid-template-rows:auto auto}
 .claim .role{grid-column:2;justify-self:start}
 .steps{grid-template-columns:1fr}
 .steps .step{border-right:1px solid var(--line);border-bottom:0}
 .steps .step:first-child{border-radius:18px 18px 0 0}
 .steps .step:last-child{border-bottom:1px solid var(--line);border-radius:0 0 18px 18px}
}

/* ============ Three lenses as a concentric target ============ */
.lensgrid{align-items:center;gap:56px}
.lenstarget{margin:0;display:flex;justify-content:center}
.lenstarget svg{width:100%;max-width:360px;height:auto;overflow:visible}
.lenstarget .lt-lbl{font-family:Poppins,-apple-system,sans-serif;font-size:12.5px;font-weight:700;letter-spacing:.13em}
.lensring{transition:none}
.lenslist{display:flex;flex-direction:column;gap:24px}
.lensrow{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start}
.lensrow .lensdot{width:14px;height:14px;border-radius:50%;margin-top:7px;flex:none}
.lensrow .lbl{margin-bottom:2px}
.lensrow h3{color:var(--ink);font-size:1.1rem;margin:0 0 6px}
.lensrow p{color:var(--body);font-size:.96rem}
/* draw-in when scrolled into view (JS adds .inview; no JS = static target) */
.js .lenstarget .lensring{opacity:0;transform:scale(.82);transform-origin:center;transform-box:fill-box}
.js .lenstarget .lt-lbl{opacity:0}
@keyframes lenspop{from{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}
@keyframes lensfade{from{opacity:0}to{opacity:1}}
.js .lenstarget.inview .lensring{animation:lenspop .55s cubic-bezier(.34,1.4,.5,1) both}
.js .lenstarget.inview .lensring:nth-of-type(2){animation-delay:.12s}
.js .lenstarget.inview .lensring:nth-of-type(3){animation-delay:.24s}
.js .lenstarget.inview .lt-lbl{animation:lensfade .4s ease-out .5s both}
@media(prefers-reduced-motion:reduce){
 .js .lenstarget .lensring,.js .lenstarget .lt-lbl{opacity:1!important;transform:none!important;animation:none!important}
}
@media(max-width:900px){.lenstarget svg{max-width:300px}}

/* dark banner: keep the kick bright pink (AA on navy, would fail on white) */
.herohome .kick{color:#FF2E7A}
