/* About, from the "About · Desktop" / "· Phone" boards.
   Loads after home.css and clinical-studies.css (hero layout). */

/* ---------- Hero ---------- */

body .iva-hero h1 { font-size: 54px; line-height: 1.06; }
body .iva-hero .iva-lead { margin-top: 22px; font-size: 17px; line-height: 1.7; color: var(--iv-slate); }
body .iva-pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
body .iva-pt { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--iv-white); border: 1px solid var(--iv-line); }
body .iva-pt i { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--iv-tint); color: var(--iv-navy); display: flex; align-items: center; justify-content: center; }
body .iva-hero .iva-pt p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--iv-slate); }
body .iva-stage { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }
body .iva-halo { position: absolute; left: 50%; top: 46%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 999px; background: radial-gradient(circle, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%); animation: iva-halo 1.2s 1.4s ease both; }
body .iva-stage img { position: relative; width: 500px; max-width: 100%; height: auto; border-radius: 0; filter: drop-shadow(0 36px 36px rgba(0, 64, 110, .22)); animation: iva-float 7s ease-in-out infinite; }
@keyframes iva-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes iva-halo { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- Hero (after roomandpillar.com): light-blue stage, 3D base station turning in the
   middle, particle heading across it, the two key points left and right ---------- */
body .iva-rk {
	position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr auto auto 1fr; justify-items: center;
	min-height: min(100vh, 960px); padding: 120px 0 56px; border-radius: 32px;
	background: radial-gradient(70% 60% at 50% 48%, #A9D4F5 0%, #86BFEC 55%, #6AADE4 100%);
}
body .iva-rk-tiles { position: absolute; inset: 0; pointer-events: none; }
body .iva-rk-tiles i {
	position: absolute; width: 260px; height: 190px; border-radius: 28px; opacity: .55;
	background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1.4px); background-size: 6px 6px;
	-webkit-mask: radial-gradient(closest-side, #000 60%, transparent); mask: radial-gradient(closest-side, #000 60%, transparent);
}
body .iva-rk-tiles i:nth-child(1) { left: 14%; top: 14%; }
body .iva-rk-tiles i:nth-child(2) { left: 34%; top: 6%; width: 300px; }
body .iva-rk-tiles i:nth-child(3) { right: 10%; top: 12%; }
body .iva-rk-tiles i:nth-child(4) { left: 20%; bottom: 10%; width: 300px; }
body .iva-rk-tiles i:nth-child(5) { right: 18%; bottom: 6%; }
body .iva-rk-device { position: absolute; left: 50%; top: 52%; z-index: 1; width: min(720px, 58vw); height: min(820px, 88%); transform: translate(-50%, -50%); }
body .iva-rk-device canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
body .iva .iva-rk-device img, body .iva-rk-device img {
	position: absolute; left: 50%; top: 50%; width: 82%; height: auto; transform: translate(-50%, -50%); border-radius: 0;
	filter: drop-shadow(0 40px 40px rgba(0, 40, 90, .28)); transition: opacity .6s ease;
}
body .iva-rk-device.is-3d img { opacity: 0; }
body .iva-rk-title { grid-row: 2; position: relative; z-index: 2; width: 100%; padding: 0 40px; pointer-events: auto; }
body .iva-rk-title canvas { display: block; width: 100%; }
body .iva-hero .iva-rk-title h1 { margin: 0; text-align: center; font-size: clamp(46px, 8vw, 132px); line-height: .98; font-weight: 700; letter-spacing: -0.035em; color: #FFFFFF; text-shadow: 0 2px 30px rgba(0, 50, 110, .18); }
body .iva-rk-title.is-live h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
body .iva-rk-pts { grid-row: 3; position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 40px; width: 100%; max-width: 1360px; padding: 18px 56px 0; }
body .iva-hero .iva-rk-pts p { max-width: 330px; margin: 0; font-size: 13.5px; line-height: 1.5; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #FFFFFF; text-shadow: 0 1px 12px rgba(0, 50, 110, .35); }
body .iva-hero .iva-rk-pts p:last-child { text-align: right; }

/* The hero's intro paragraph, in its own band after the hero. */
body .iva-intro { position: relative; max-width: 1040px; margin: 0 auto; padding: 96px 24px 24px; text-align: center; }
body .iva .iva-intro-p { margin: 0; font-size: 22px; line-height: 1.7; color: var(--iv-slate); }

/* ---------- Galaxy background (galaxy-bg.js adds body.iv-galaxy-on once WebGL2 runs) ---------- */
body .iv-galaxy { position: fixed; inset: 0; z-index: 0; display: block; width: 100vw; height: 100vh; pointer-events: none; }
body.iv-galaxy-on { background: linear-gradient(180deg, #FFFFFF 0%, #F1F8FE 35%, #E8F3FC 70%, #F6FAFE 100%) fixed; }
body.iv-galaxy-on :is(main.iva, .iv-next, .iv-foot-wrap) { position: relative; z-index: 1; }
/* The header (and its floating nav) must stay above the page content. */
body.iv-galaxy-on .iv-top { position: relative; z-index: 20; }
body.iv-galaxy-on :is(.iv-top, .iva-white, .iva-adv-wrap, .iv-foot-wrap) { background: transparent; }
body.iv-galaxy-on .iva-adv { background: rgba(234, 243, 251, .72); }

/* ---------- Shared ---------- */

body .iva, body .iva * { box-sizing: border-box; }
body .iva-white { background: var(--iv-white); }
body .iva :is(h2, h3, p) { font-family: var(--iv-font); letter-spacing: normal; }
body .iva .iva-h2 { margin: 0; max-width: 820px; font-size: 40px; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; color: var(--iv-navy); }
body .iva-sec { max-width: 1240px; margin: 0 auto; padding: 104px 24px; }
body .iva-sec--top0 { padding-top: 0; }
body .iva .iva-int { margin: 16px 0 0; max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--iv-text); }
body .iva .iva-int--2 { margin-top: 8px; }

/* ---------- Why ---------- */

body .iva-why { max-width: 1240px; margin: 0 auto; padding: 112px 24px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
/* Device picture beside "Why Perimetrics Created…" (in place of the founder card). */
body .iva-why-device { position: sticky; top: 120px; margin: 0; padding: 28px; border-radius: 28px; background: radial-gradient(70% 60% at 50% 55%, #FFFFFF 0%, #EEF6FC 70%); border: 1px solid var(--iv-line); }
body .iva .iva-why-device img { display: block; width: 100%; height: auto; border-radius: 0; filter: drop-shadow(0 30px 30px rgba(0, 64, 110, .2)); }
body .iva-fc { position: sticky; top: 120px; padding: 32px; border-radius: 28px; background: linear-gradient(160deg, #EEF6FC, #FFFFFF 80%); border: 1px solid var(--iv-line); text-align: center; }
body .iva-fc img { width: 132px; height: 132px; border-radius: 999px; object-fit: cover; border: 6px solid var(--iv-white); box-shadow: 0 24px 44px -24px rgba(0, 64, 110, .55); }
body .iva-fc b { display: block; margin-top: 18px; font-size: 20px; color: var(--iv-navy); }
body .iva-fc span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--iv-text); }
body .iva .iva-q { position: relative; margin: 48px 0 0; padding: 28px 32px; border-radius: 24px; background: var(--iv-navy); color: var(--iv-white); font-size: 24px; line-height: 1.4; font-weight: 500; }
body .iva .iva-q::before { content: "\201C"; position: absolute; left: 24px; top: -34px; font-size: 110px; line-height: 1; color: var(--iv-accent); font-family: Georgia, serif; }
body .iva .iva-t { margin: 20px 0 0; font-size: 17px; line-height: 1.75; color: var(--iv-text); }

/* ---------- People ---------- */

body .iva-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
body .iva-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
body .iva-agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
body .iva-pc { display: flex; flex-direction: column; padding: 26px; border-radius: 24px; background: var(--iv-white); border: 1px solid var(--iv-line); transition: border-color .3s ease, box-shadow .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
body .iva-pc:hover { border-color: var(--iv-line-2); box-shadow: 0 28px 56px -36px rgba(0, 64, 110, .5); transform: translateY(-3px); }
body .iva-pc-top { display: flex; align-items: center; gap: 16px; }
body .iva-pc-top img, body .iva-mono { flex: none; width: 76px; height: 76px; border-radius: 999px; object-fit: cover; background: var(--iv-tint); border: 3px solid var(--iv-white); box-shadow: 0 0 0 1px var(--iv-line); }
body .iva-mono { display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: var(--iv-navy); background: linear-gradient(135deg, #EEF6FC, #CEE6F8); }
body .iva .iva-pc h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--iv-navy); }
body .iva .iva-pc-t { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--iv-text); }
body .iva .iva-pc-b { margin: 16px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--iv-text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
body .iva .iva-pc.is-open .iva-pc-b { -webkit-line-clamp: unset; display: block; }
body .iva .iva-more,
body .iva .iva-more:is(:hover, :focus) {
	margin-top: auto; padding: 14px 0 0; align-self: flex-start; border: 0; border-radius: 0; background: none;
	font: 600 14px var(--iv-font); color: var(--iv-navy); text-transform: none; letter-spacing: normal; cursor: pointer;
}
body .iva .iva-more:hover { text-decoration: underline; text-underline-offset: 3px; }
body .iva .iva-more:focus-visible { outline: 3px solid var(--iv-accent); outline-offset: 3px; }
body .iva .iva-more[hidden] { display: none; }
body .iva-pc--feat { padding: 32px; background: linear-gradient(150deg, #EEF6FC 0%, #FFFFFF 70%); }
body .iva-pc--feat .iva-pc-top img, body .iva-pc--feat .iva-mono { width: 104px; height: 104px; font-size: 32px; }
body .iva .iva-pc--feat h3 { font-size: 22px; }

/* Profile cards: React Bits "Profile Card" (tilt, glare, holographic foil through a tiled pattern,
   here the Perimetrics mark) with the brushed-metal frame and moving light band of its
   "Reflective Card". Pointer state comes from about.js as --pc-* custom properties. */
body .iva-pfgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 44px; }
body .iva-pf {
	--pc-light-x: 50%; --pc-light-y: 50%; --pc-pointer-x: 50%; --pc-pointer-y: 50%; --pc-band-x: 50%; --pc-band-y: 50%;
	--pc-reach: 0; --pc-rotate-x: 0deg; --pc-rotate-y: 0deg; --pc-shift-x: 0px; --pc-shift-y: 0px; --pc-tilt: 0; --pc-active: 0;
	--pc-radius: 18px; --pc-holo: .8; --pc-glare: .5;
	--pc-pattern: url("../img/about/perimetrics-pattern.png");
	position: relative; display: flex; flex: 0 1 calc((100% - 72px) / 4); min-width: 0; max-width: 300px; perspective: 1000px; touch-action: pan-y; -webkit-tap-highlight-color: transparent;
}
body .iva-pf-body {
	position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 10px; border-radius: calc(var(--pc-radius) + 10px);
	background:
		linear-gradient(105deg, transparent calc(var(--pc-band-x) - 30%), rgba(255, 255, 255, .9) var(--pc-band-x), transparent calc(var(--pc-band-x) + 30%)),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .22) 0 1px, rgba(120, 136, 156, .07) 1px 2px),
		linear-gradient(160deg, #F7F9FB 0%, #DCE3EA 38%, #F4F7FA 58%, #CBD4DE 100%);
	background-size: 260% 100%, auto, auto; background-position: var(--pc-band-x) 0, 0 0, 0 0;
	box-shadow: 0 22px 44px -22px rgba(0, 46, 92, .38), 0 6px 16px -10px rgba(0, 46, 92, .22);
	transform: rotateX(var(--pc-rotate-x)) rotateY(var(--pc-rotate-y)); will-change: transform;
}
body .iva-pf-tile {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 0; padding: 22px 18px; border-radius: var(--pc-radius); overflow: hidden; isolation: isolate; text-align: center;
	background: linear-gradient(165deg, #4F95DD 0%, #2C73C2 55%, #1F62AE 100%);
	box-shadow: 0 4px 10px -4px rgba(0, 30, 70, .6);
}
body .iva-pf :is(.iva-pf-mark, .iva-pf-sheen, .iva-pf-holo, .iva-pf-tile-rim, .iva-pf-glare, .iva-pf-shade, .iva-pf-rim) { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
body .iva-pf-mark {
	background: #FFFFFF; opacity: .1;
	-webkit-mask: var(--pc-pattern) calc(50% - var(--pc-shift-x)) calc(65% - var(--pc-shift-y)) / 112% auto repeat;
	mask: var(--pc-pattern) calc(50% - var(--pc-shift-x)) calc(65% - var(--pc-shift-y)) / 112% auto repeat;
}
body .iva-pf-sheen { background: radial-gradient(farthest-corner circle at calc(var(--pc-light-x) - 10px) calc(var(--pc-light-y) - 10px), rgba(255, 255, 255, .16) 0%, transparent 55%); opacity: calc(var(--pc-holo) * var(--pc-active)); }
body .iva-pf-holo {
	--pc-spectrum: repeating-linear-gradient(0deg, hsl(2, 100%, 73%) 5%, hsl(53, 100%, 69%) 10%, hsl(93, 100%, 69%) 15%, hsl(176, 100%, 76%) 20%, hsl(228, 100%, 74%) 25%, hsl(260, 100%, 76%) 30%, hsl(2, 100%, 73%) 35%);
	--pc-bars: repeating-linear-gradient(-45deg, #0e152e 0%, hsl(180, 10%, 60%) 3.8%, hsl(180, 29%, 66%) 4.5%, hsl(180, 10%, 60%) 5.2%, #0e152e 10%, #0e152e 12%);
	--pc-falloff: radial-gradient(farthest-corner circle at var(--pc-pointer-x) var(--pc-pointer-y), hsla(0, 0%, 0%, .1) 12%, hsla(0, 0%, 0%, .15) 20%, hsla(0, 0%, 0%, .25) 120%);
	background-image: var(--pc-spectrum), var(--pc-bars), var(--pc-falloff);
	background-position: 0 var(--pc-band-y), var(--pc-band-x) var(--pc-band-y), center;
	background-size: 500% 500%, 300% 300%, 200% 200%;
	background-blend-mode: color, hard-light; mix-blend-mode: color-dodge;
	filter: brightness(calc(.66 + .19 * var(--pc-active))) contrast(calc(1.33 + .17 * var(--pc-active))) saturate(calc(.33 + .17 * var(--pc-active)));
	opacity: calc(var(--pc-holo) * 1.25 * (.22 + .78 * var(--pc-active)));
	-webkit-mask: var(--pc-pattern) calc(50% - var(--pc-shift-x) * 1.5) calc(65% - var(--pc-shift-y) * 1.5) / 112% auto repeat;
	mask: var(--pc-pattern) calc(50% - var(--pc-shift-x) * 1.5) calc(65% - var(--pc-shift-y) * 1.5) / 112% auto repeat;
}
body .iva-pf-holo > span { position: absolute; inset: 0; opacity: var(--pc-active); }
body .iva-pf-holo-glow {
	background-image: linear-gradient(45deg, hsl(176, 100%, 76%), hsl(228, 100%, 74%), hsl(260, 100%, 76%), hsl(2, 100%, 73%), hsl(53, 100%, 69%), hsl(93, 100%, 69%)), radial-gradient(circle at var(--pc-pointer-x) var(--pc-pointer-y), hsl(0, 0%, 70%) 0%, hsla(0, 0%, 30%, .2) 90%);
	background-size: 250% 250%, 100% 100%; background-position: var(--pc-pointer-x) var(--pc-pointer-y), center;
	background-blend-mode: color-dodge; mix-blend-mode: luminosity;
	filter: brightness(calc(2 - var(--pc-reach))) contrast(calc(var(--pc-reach) + 2)) saturate(calc(.5 + var(--pc-reach)));
}
body .iva-pf-holo-shift {
	background-image: var(--pc-spectrum), var(--pc-bars), var(--pc-falloff);
	background-position: 0 var(--pc-band-y), calc(var(--pc-band-x) * .4) calc(var(--pc-band-y) * .5), center;
	background-size: 200% 300%, 700% 700%, 100% 100%;
	background-blend-mode: color, hard-light; mix-blend-mode: difference; filter: brightness(.8) contrast(1.5);
}
body .iva-pf-face { position: relative; z-index: 1; transform: translate3d(var(--pc-shift-x), var(--pc-shift-y), 0); }
body .iva .iva-pf-face img, body .iva-pf .iva-mono {
	display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 999px; object-fit: cover; object-position: 50% 20%;
	background: #EAF3FB; border: 5px solid rgba(255, 255, 255, .92); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 22px 36px -18px rgba(0, 12, 40, .8);
	font-size: 44px; font-weight: 700; color: var(--iv-navy); user-select: none; -webkit-user-select: none;
}
body .iva-pf-tile::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 0; background: linear-gradient(to top, rgba(8, 36, 76, .18) 0%, rgba(8, 36, 76, 0) 100%); pointer-events: none; }
body .iva .iva-pf h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--iv-navy); }
body .iva .iva-pf-t { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: #4A5D72; }
body .iva-pf-info { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(90, 108, 130, .18); }
body .iva-pf-foot > .iva-pf-info:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
body .iva-pf-tile-rim { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .22); }
body .iva-pf-foot { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 8px 12px 8px; }
body .iva .iva-pf-b { margin: 0; font-size: 14px; line-height: 1.6; color: #2B3B4E; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
body .iva .iva-pf.is-open .iva-pf-b { -webkit-line-clamp: unset; display: block; }
body .iva .iva-pf-more,
body .iva .iva-pf-more:is(:hover, :focus) {
	margin-top: auto; padding: 12px 0 0; align-self: flex-start; border: 0; border-radius: 0; background: none;
	font: 600 14px var(--iv-font); color: var(--iv-navy); text-transform: none; letter-spacing: normal; cursor: pointer;
}
body .iva .iva-pf-more:hover { text-decoration: underline; text-underline-offset: 3px; }
body .iva .iva-pf-more:focus-visible { outline: 3px solid var(--iv-accent); outline-offset: 3px; }
body .iva .iva-pf-more[hidden] { display: none; }
body .iva-pf-glare { z-index: 2; background: radial-gradient(farthest-corner circle at var(--pc-light-x) var(--pc-light-y), rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .36) 20%, rgba(255, 255, 255, 0) 60%); mix-blend-mode: overlay; opacity: calc(var(--pc-glare) * var(--pc-active)); }
body .iva-pf-shade { z-index: 2; background: radial-gradient(farthest-corner circle at var(--pc-light-x) var(--pc-light-y), transparent 30%, rgba(0, 30, 70, .16) 100%); opacity: calc(var(--pc-glare) * var(--pc-tilt)); }
body .iva-pf-rim { z-index: 2; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(90, 108, 130, .25); }
body .iva-pf--feat .iva-pf-tile { background: linear-gradient(165deg, #5A9EE3 0%, #2E78C8 55%, #1C5DA8 100%); }

body .iva-adv-wrap { padding: 0 16px; background: var(--iv-white); }
body .iva-adv { background: var(--iv-tint); border-radius: 32px; }

/* ---------- Innovation + values ---------- */

body .iva-inn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
body .iva-inn img { width: 100%; height: auto; border-radius: 0; filter: drop-shadow(0 34px 34px rgba(0, 64, 110, .2)); }
body .iva .iva-inn p { margin: 18px 0 0; font-size: 17px; line-height: 1.75; color: var(--iv-text); }
body .iva-vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
body .iva-vc { position: relative; overflow: hidden; padding: 32px; border-radius: 24px; background: var(--iv-white); border: 1px solid var(--iv-line); transition: border-color .3s ease, box-shadow .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
body .iva-vc:hover { border-color: var(--iv-line-2); box-shadow: 0 28px 56px -36px rgba(0, 64, 110, .5); transform: translateY(-3px); }
body .iva-vc i { width: 52px; height: 52px; border-radius: 16px; background: var(--iv-tint); color: var(--iv-navy); display: flex; align-items: center; justify-content: center; transition: background .3s ease, color .3s ease; }
body .iva-vc:hover i { background: var(--iv-navy); color: var(--iv-white); }
body .iva .iva-vc h3 { margin: 22px 0 0; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--iv-navy); }
body .iva .iva-vc p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--iv-text); }
body .iva-vc em { position: absolute; right: 20px; top: 14px; font-style: normal; font-size: 56px; font-weight: 700; line-height: 1; color: var(--iv-tint); }
body #values .iva-sec { padding-bottom: 112px; }

/* ---------- Breakpoints ---------- */

@media (max-width: 1100px) {
	body .iva-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body .iva-pf { flex-basis: calc((100% - 48px) / 3); }
	body .iva-why { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
	body .iva-why, body .iva-inn { grid-template-columns: 1fr; }
	body .iva-fc, body .iva-why-device { position: static; }
	body .iva-why-device { max-width: 420px; margin: 0 auto; }
	body .iva-agrid, body .iva-feat, body .iva-vals { grid-template-columns: 1fr; }
	body .iva-pf { flex-basis: calc((100% - 24px) / 2); }
	body .iva-stage { height: 360px; }
}
@media (max-width: 640px) {
	body .iva-hero h1 { font-size: 40px; }
	body .iva-grid, body .iva-pts { grid-template-columns: 1fr; }
	body .iva-pfgrid { gap: 20px; }
	body .iva-pf { flex-basis: 100%; max-width: 340px; }
	body .iva-pc, body .iva-pc--feat { padding: 22px; }
	body .iva .iva-h2 { font-size: 30px; }
	body .iva .iva-q { font-size: 19px; padding: 24px; }
	body .iva-sec, body .iva-why { padding: 64px 16px; }
	body .iva-sec--top0 { padding-top: 0; }
	body #values .iva-sec { padding-bottom: 64px; }
	body .iva-stage { height: 280px; }
	body .iva-stage img { width: 300px; }
	body .iva-rk { min-height: 0; padding: 100px 0 128px; border-radius: 26px; grid-template-rows: auto auto; }
	body .iva-rk-title { grid-row: 1; padding: 0 12px; }
	body .iva-rk-device { position: relative; grid-row: 2; left: auto; top: auto; transform: none; width: 100%; height: 320px; }
	body .iva-rk-pts { grid-row: 2; flex-direction: column; gap: 14px; padding: 28px 20px 0; }
	body .iva-hero .iva-rk-pts p, body .iva-hero .iva-rk-pts p:last-child { max-width: none; text-align: left; }
	body .iva-rk-tiles { display: none; }
	body .iva-intro { padding: 56px 16px 8px; }
	body .iva .iva-intro-p { font-size: 17px; }
	body .iva-halo { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
	body .iva-adv { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	body .iva-stage img, body .iva-halo { animation: none; }
	body .iva-pf-body { transform: none; }
}

/* Hero foot fades into the Galaxy page background instead of ending on a rounded edge. */
body .iv-frame:has(.iva-rk) { background: none; }
body .iva-rk { border-bottom-left-radius: 0; border-bottom-right-radius: 0; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 200px), transparent); }
@media (max-width: 640px) {
	body .iva-rk { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 120px), transparent); }
}
