/* Home S9 technology grid. Figma: lavender 1440 x 880, eyebrow y110, H2 y144, intro y216 (840 wide),
   grid at y340: 8 x 4 cells 140 x 96, radius 18, 1px #E4E7F7, 12 apart (1204 wide), logos 116 x 35. */
.ifpa-htc{--hm-pt:110px;--hm-pb:120px;overflow:hidden}
.ifpa-htc__blob{position:absolute;z-index:0;left:calc(50% + 280px);top:500px;width:600px;height:600px;border-radius:50%;background:radial-gradient(closest-side,rgba(237,28,36,.07),rgba(237,28,36,0));pointer-events:none}
.ifpa-htc .ifpa-head{margin-bottom:64px}
.ifpa-htc .ifpa-head__desc{max-width:840px}
.ifpa .ifpa-htc__grid{--htc-w:140px;--htc-h:96px;position:relative;display:grid;grid-template-columns:repeat(var(--htc-cols,8),minmax(0,var(--htc-w)));grid-auto-rows:var(--htc-h);gap:12px;justify-content:center;margin:0 -2px;padding:0;list-style:none!important}
.ifpa .ifpa-htc__cell{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:0;padding:12px;border-radius:18px;border:1px solid #E4E7F7;background:#fff;transition:transform 400ms var(--hm-ease),box-shadow 400ms var(--hm-ease),opacity 600ms var(--hm-ease) calc(var(--d) * 30ms),translate 600ms var(--hm-ease) calc(var(--d) * 30ms)}
.ifpa .ifpa-htc__cell img{display:block;width:auto;height:auto;max-width:min(116px,100%);max-height:44px;object-fit:contain}
.ifpa-htc__cell::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;background:linear-gradient(135deg,#ED1C24,#6180EF);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);opacity:0;transition:opacity 300ms var(--hm-ease);pointer-events:none}
@media (hover:hover) and (pointer:fine){
	.ifpa .ifpa-htc__cell:hover{transform:translateY(-4px);box-shadow:0 18px 32px -18px rgba(46,49,146,.45)}
	.ifpa-htc__cell:hover::after{opacity:1}
}
/* Touch: the cell nearest the middle of the screen plays the hover state, handing it on as the page scrolls */
.ifpa .ifpa-htc__cell.is-spot{transform:translateY(-3px);box-shadow:0 16px 28px -18px rgba(46,49,146,.45)}
.ifpa-htc__cell.is-spot::after{opacity:1}
.ifpa-js .ifpa-htc__grid:not(.is-in) .ifpa-htc__cell{opacity:0;translate:0 14px}
/* Cursor spotlight: a soft periwinkle light over the grid, desktop only (JS sets --mx/--my). */
.ifpa .ifpa-htc__spot{position:absolute;z-index:2;inset:-40px;margin:0;pointer-events:none;opacity:0;background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(97,128,239,.16),rgba(97,128,239,0) 70%);mix-blend-mode:multiply;transition:opacity 400ms var(--hm-ease)}
.ifpa-htc__grid.is-spot .ifpa-htc__spot{opacity:1}

@media (max-width:1199px){.ifpa .ifpa-htc__grid{--htc-w:1fr;margin:0}}
/* Tablet: all 8 columns stay (4 rows), cells get shorter so the grid does not run 8 rows deep */
@media (max-width:1023px){
	.ifpa-htc{--hm-pt:88px;--hm-pb:88px}
	.ifpa .ifpa-htc__grid{--htc-h:76px;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;margin:0}
	.ifpa .ifpa-htc__cell{padding:10px;border-radius:14px}
	.ifpa .ifpa-htc__cell img{max-height:32px}
	.ifpa-htc .ifpa-head{margin-bottom:36px}
}
/* M9: 4 columns of 82px cells, wave by row (40ms per row), no spotlight */
/* M9 (Figma 390, 884 tall): grid 28 below the intro, 4 columns of 82 x 56.2 cells (7.3 / 8 gaps), radius 10.5,
   logos up to 68 x 20.5. */
@media (max-width:767px){
	.ifpa-htc{--hm-pt:64px;--hm-pb:64px}
	.ifpa-htc .ifpa-head{margin-bottom:28px}
	.ifpa .ifpa-htc__grid{--htc-h:56.2px;grid-template-columns:repeat(4,minmax(0,82px));gap:8px 7.33px;justify-content:center}
	.ifpa .ifpa-htc__cell{padding:7px;border-width:.6px;border-radius:10.5px;transition-delay:0s,0s,calc(var(--r) * 40ms),calc(var(--r) * 40ms)}
	.ifpa .ifpa-htc__cell img{max-width:68px;max-height:20.5px}
	.ifpa-htc__spot{display:none}
}
@media (prefers-reduced-motion:reduce){
	.ifpa-js .ifpa-htc__grid:not(.is-in) .ifpa-htc__cell{opacity:1;translate:none}
	.ifpa .ifpa-htc__cell{transition-duration:200ms;transition-delay:0s}
	.ifpa-htc__spot{display:none}
}
