/* Case study S1 hero. Figma 126:949 (1440 x 920): navy -> deep indigo, breadcrumb y72, eyebrow y124, H1 44/54 at
   y160 (720 wide), summary 18/30 at y458 (700 wide), cover card 420 x 520 radius 28 at (900,124) with a glass chip
   244 x 84 at (860,530), proof strip y720 (hairline, 3 columns 400 apart, values 36/44 at y752, labels y802). */
.ifpa-csph{--hm-pt:72px;--hm-pb:74px;--ifpa-hl-1:#FF8A8F;--ifpa-hl-2:#9AB0FF;background:#0C1030 linear-gradient(180deg,#0C1030 0%,#141842 100%)}
.ifpa-csph__bg{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.ifpa-csph__aur1{left:calc(50% - 120px);top:-200px;width:900px;height:700px;background:radial-gradient(closest-side,rgba(46,49,146,.62),rgba(46,49,146,0))}
.ifpa-csph__aur2{left:-200px;top:500px;width:500px;height:500px;background:radial-gradient(closest-side,rgba(237,28,36,.24),rgba(237,28,36,0))}
.ifpa-csph__circuit{position:absolute;right:0;bottom:120px;opacity:.6;transform:scaleX(-1)}
.ifpa-csph__circuit path{stroke:rgba(97,128,239,.32);stroke-width:1;stroke-dasharray:4 6;animation:ifpa-csph-flow 6s linear infinite}
.ifpa-csph__circuit circle{fill:#6180EF;opacity:.7}
@keyframes ifpa-csph-flow{to{stroke-dashoffset:-60}}

.ifpa-csph__crumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 34px;font-family:var(--ifpa-font-body);font-weight:600;font-size:14px;line-height:18px;color:#AEB2DE}
.ifpa-csph__crumb a{color:inherit;text-decoration:none!important;transition:color 300ms var(--hm-ease)}
.ifpa-csph__crumb a:hover,.ifpa-csph__crumb a:focus-visible{color:#fff}
.ifpa-csph__crumb>span{color:#6E73A8}
.ifpa .ifpa-csph__hub{font-weight:700;color:#fff}

.ifpa-csph__grid{display:grid;grid-template-columns:minmax(0,720px) 420px;justify-content:space-between;column-gap:40px;align-items:start}
.ifpa-hm .ifpa-csph__eyebrow{display:flex;width:max-content;max-width:100%;margin:0 0 20px}
.ifpa .ifpa-csph__h1{margin:0;font-family:var(--ifpa-font-head);font-weight:800;font-size:44px;line-height:54px;letter-spacing:-1.2px;text-transform:none;color:#fff}
.ifpa .ifpa-csph__sum{max-width:700px;margin:28px 0 0;font-family:var(--ifpa-font-body);font-weight:500;font-size:18px;line-height:30px;color:#C8CBF5}

/* Cover card: scales in, the photo settles from 1.08 (Ken Burns) and drifts slower than the page (desktop) */
.ifpa .ifpa-csph__cover{position:relative;margin:0;width:420px}
.ifpa-csph__frame{position:relative;height:520px;border-radius:28px;overflow:hidden;background:#1A1F55;box-shadow:0 30px 70px rgba(5,8,31,.5);transform:translateZ(0)}
.ifpa .ifpa-csph__img{position:absolute;left:-2.381%;top:-2.404%;width:104.762%;height:104.808%;max-width:none;object-fit:cover;object-position:var(--csph-pos,center);transform:translate3d(0,var(--csph-py,0px),0) scale(1.08);transition:transform 1600ms var(--hm-ease);will-change:transform}
.ifpa-csph.is-in .ifpa-csph__img{transform:translate3d(0,var(--csph-py,0px),0) scale(1)}
.ifpa-csph.is-moving .ifpa-csph__img{transition:none}
.ifpa-csph__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,15,46,0) 0%,rgba(11,15,46,.1) 60%,rgba(11,15,46,.8) 100%)}
/* The cover card scales and fades in from the first paint (CSS only, no wait for the scripts): it holds the page's
   largest image, so a script-gated reveal kept it invisible for ~2s on phones (PageSpeed: element render delay). */
@keyframes ifpa-csph-frame{from{opacity:.01;transform:scale(.96)}to{opacity:1;transform:none}}
.ifpa-js .ifpa-csph__frame{animation:ifpa-csph-frame 900ms var(--hm-ease) both}
.ifpa-csph__chip{position:absolute;left:-40px;top:406px;z-index:2;display:flex;align-items:center;gap:14px;box-sizing:border-box;width:244px;height:84px;padding:0 20px;border-radius:20px;border:1px solid rgba(255,255,255,.22);background:rgba(11,15,46,.6);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 16px 40px rgba(5,8,31,.4)}
.ifpa-js .ifpa-csph__chip{opacity:0;transform:translateY(16px);transition:opacity 600ms var(--hm-ease) 650ms,transform 700ms var(--hm-ease) 650ms}
.ifpa-js .ifpa-csph.is-in .ifpa-csph__chip{opacity:1;transform:none}
.ifpa-csph__cv{flex:0 0 auto;font-family:var(--ifpa-font-head);font-weight:800;font-size:34px;line-height:40px;letter-spacing:-1px;white-space:nowrap;background:linear-gradient(90deg,#FF8A8F,#9AB0FF);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.ifpa-csph__cv .ifpa-csp-num{background:inherit;-webkit-background-clip:text;background-clip:text}
.ifpa-csph__cl{font-family:var(--ifpa-font-head);font-weight:700;font-size:15px;line-height:19px;color:#fff}

/* Proof strip */
.ifpa .ifpa-csph__proof{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:76px 0 0;padding:32px 0 0;list-style:none!important}
.ifpa-csph__proof::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,.14) 70%,rgba(255,255,255,.04))}
.ifpa .ifpa-csph__pi{position:relative;display:flex;flex-direction:column;gap:6px;margin:0;padding:0}
.ifpa-csph__pi+.ifpa-csph__pi::before{content:"";position:absolute;left:-30px;top:4px;width:1px;height:76px;background:rgba(255,255,255,.14)}
.ifpa-csph__pv{font-family:var(--ifpa-font-head);font-weight:800;font-size:36px;line-height:44px;letter-spacing:-1px;color:#fff;white-space:nowrap}
.ifpa-csph__pl{max-width:330px;font-family:var(--ifpa-font-body);font-weight:600;font-size:15px;line-height:22px;color:#AEB2DE}

@media (max-width:1199px){
	.ifpa-csph__grid{grid-template-columns:minmax(0,1fr) 360px;column-gap:48px}
	.ifpa .ifpa-csph__cover{width:360px}
	.ifpa-csph__frame{height:460px}
	.ifpa-csph__chip{left:-28px;top:auto;bottom:36px}
	.ifpa .ifpa-csph__h1{font-size:40px;line-height:50px}
}
/* Tablets and phones: the cover sits above the H1 (notes), the chip rides its lower left corner */
@media (max-width:1023px){
	.ifpa-csph{--hm-pt:56px;--hm-pb:56px}
	.ifpa-csph__crumb{margin-bottom:24px}
	.ifpa-csph__grid{display:flex;flex-direction:column;align-items:stretch}
	.ifpa .ifpa-csph__cover{order:-1;width:100%;margin:0 0 40px!important}
	.ifpa-csph__frame{height:clamp(260px,56vw,460px);border-radius:24px}
	.ifpa-csph__chip{left:16px;bottom:16px;width:auto;height:72px;padding:0 18px}
	.ifpa-csph__cv{font-size:30px;line-height:36px}
	.ifpa .ifpa-csph__proof{margin-top:48px}
	.ifpa-csph__circuit{display:none}
}
@media (max-width:767px){
	.ifpa-csph{--hm-pt:28px;--hm-pb:48px}
	.ifpa-csph__crumb{margin-bottom:20px;font-size:13px}
	.ifpa .ifpa-csph__cover{margin-bottom:28px!important}
	.ifpa-csph__frame{height:clamp(240px,70vw,360px);border-radius:22px}
	.ifpa-csph__chip{left:12px;bottom:12px;height:64px;gap:12px;padding:0 16px;border-radius:16px}
	.ifpa-csph__cv{font-size:26px;line-height:32px}
	.ifpa-csph__cl{font-size:14px;line-height:18px}
	.ifpa-hm .ifpa-csph__eyebrow{width:auto;margin-bottom:14px;font-size:12px;letter-spacing:1.2px}
	.ifpa .ifpa-csph__h1{font-size:30px;line-height:38px;letter-spacing:-1px}
	.ifpa .ifpa-csph__sum{margin-top:16px;font-size:16px;line-height:26px}
	.ifpa .ifpa-csph__proof{grid-template-columns:1fr;margin-top:32px;padding-top:0}
	.ifpa .ifpa-csph__pi{flex-direction:row;align-items:center;gap:16px;padding:16px 0;border-top:1px solid rgba(255,255,255,.12)}
	.ifpa-csph__proof::before,.ifpa-csph__pi+.ifpa-csph__pi::before{display:none}
	.ifpa-csph__pv{flex:0 0 132px;font-size:26px;line-height:32px}
	.ifpa-csph__pl{font-size:14px;line-height:20px}
}
@media (prefers-reduced-motion:reduce){
	.ifpa-js .ifpa-csph__frame{animation:none}
	.ifpa .ifpa-csph__img{transform:none!important;transition:none}
	.ifpa-csph__circuit path{animation:none}
}
