/* Kayreach: DER look (light glass, gold, navy) with a dark, animated hero and scroll storytelling */
:root {
  --gold: #ffd700; --gold-text: linear-gradient(180deg, #f7cb00 0%, #c99600 100%); --on-gold: #0b0b0b;
  --navy: #0d1d4f; --navy-2: #16286a; --navy-3: #081238; --blue: #1f55e0; --blue-bright: #4f7cf0; --blue-mist: #9db8ff;
  --ink: #0d1d4f; --text-2: #334155; --muted: #475569; --line: rgba(13, 29, 79, .09);
  --on-dark: #f5f7ff; --on-dark-muted: #c6d2f2; --line-dark: rgba(255, 255, 255, .16);
  --font: Inter, system-ui, -apple-system, sans-serif;
  --r-sm: 10px; --r: 20px; --r-lg: 28px;
  --shadow: inset 0 1px 0 #fff, 0 26px 60px -34px rgba(13, 29, 79, .45);
  --shadow-up: inset 0 1px 0 #fff, 0 34px 70px -30px rgba(13, 29, 79, .55);
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: #f3f6fd; font: 400 16px/26px var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 620px at 92% 8%, rgba(255, 215, 0, .2), transparent 62%), radial-gradient(1000px 760px at 4% 86%, rgba(31, 85, 224, .2), transparent 64%), linear-gradient(160deg, #fbfcff, #eef2fc); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.dark :focus-visible, .nav :focus-visible, .foot :focus-visible { outline-color: var(--gold); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--on-gold); border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
main { overflow-x: clip; }
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* Sections */
.sec { position: relative; padding: clamp(44px, 4.6vw, 64px) 0; }
.sec:not(.dark) + .sec:not(.dark) { padding-top: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 26px; }
.head-row .head { margin-bottom: 0; }
.dark { position: relative; overflow: clip; background: var(--navy-3); color: var(--on-dark); }
.dark > .wrap { position: relative; z-index: 1; }
.sweep { position: absolute; z-index: 0; pointer-events: none; }
.sweep-blue { left: -18%; bottom: -60%; width: 90%; aspect-ratio: 1.4; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 124, 240, .95), rgba(31, 85, 224, .55) 45%, transparent); filter: blur(30px); animation: drift 14s ease-in-out infinite alternate; }
.sweep-gold { right: -12%; top: -45%; width: 56%; aspect-ratio: 1.2; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 215, 0, .26), transparent); filter: blur(24px); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(8%, -7%) scale(1.08); } }
.dots { position: absolute; z-index: 0; pointer-events: none; width: 520px; aspect-ratio: 1; background: radial-gradient(circle, rgba(247, 203, 0, .5) 36%, transparent 38%) 0 0 / 15px 15px; -webkit-mask: radial-gradient(closest-side, transparent 34%, #000 58%, transparent 100%); mask: radial-gradient(closest-side, transparent 34%, #000 58%, transparent 100%); }

/* Type */
.head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/18px var(--font); letter-spacing: .02em; color: var(--blue); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 215, 0, .24); }
.dark .eyebrow { color: var(--gold); }
.title { font: 800 clamp(30px, 3.8vw, 46px)/1.08 var(--font); letter-spacing: -.025em; text-transform: uppercase; }
.title em { font-style: normal; color: var(--blue); }
.dark .title em { color: var(--gold); }
.lead { max-width: 680px; font-size: 18px; line-height: 30px; color: var(--muted); }
.dark .lead { color: var(--on-dark-muted); }
.big-text { font: 600 clamp(19px, 1.9vw, 23px)/1.5 var(--font); letter-spacing: -.01em; color: var(--text-2); }
.card .big-text { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.45; color: var(--ink); }
.card .lead { font-size: 17px; line-height: 28px; }
.mt { margin-top: 18px; }
.mt-lg { margin-top: 48px; }

/* Buttons */
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue); text-decoration: none; }
.dark .more { color: var(--gold); }
.more svg, .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
a:hover > svg, .more:hover svg { transform: translateX(4px); }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 24px; border-radius: 13px; border: 1px solid transparent; font: 700 15px/24px var(--font); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--on-gold); background: linear-gradient(180deg, #ffe866, var(--gold)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 26px -12px rgba(201, 150, 0, .8); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-navy { color: #fff; background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: 0 12px 26px -14px rgba(13, 29, 79, .8); }
.btn-line { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: 14px; border-radius: 11px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav: full width, two levels */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .35s var(--ease); }
.nav.scrolled { transform: translateY(-34px); }
.nav { background-color: var(--navy); background-image: radial-gradient(40rem 14rem at 92% -40%, rgba(255, 215, 0, .2), transparent 70%), radial-gradient(44rem 16rem at 0% 160%, rgba(79, 124, 240, .42), transparent 70%); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px -22px rgba(13, 29, 79, .7); }
.util { position: relative; height: 34px; color: var(--navy); background-color: #fff; background-image: radial-gradient(34rem 7rem at 92% -60%, rgba(255, 215, 0, .55), transparent 72%), radial-gradient(38rem 8rem at 4% 190%, rgba(79, 124, 240, .5), transparent 72%); }
.util::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(79, 124, 240, .7), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 62%, rgba(255, 215, 0, .9)); }
.util-in, .nav-in { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.util-in { height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.util a { font: 500 12.5px/18px var(--font); text-decoration: none; }
.util-in > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.util-in > a[aria-current] { color: var(--blue); font-weight: 600; }
.lang { display: flex; gap: 2px; padding-left: 16px; border-left: 1px solid rgba(13, 29, 79, .16); }
.lang a { padding: 1px 7px; border-radius: 6px; font-weight: 700; font-size: 12px; text-decoration: none; }
.lang a[aria-current] { background: var(--navy); color: #fff; }
.nav-bar { position: relative; color: var(--on-dark); }
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 0 6px rgba(255, 215, 0, .45)); animation: markGlow 3.6s ease-in-out infinite; }
@keyframes markGlow { 50% { filter: drop-shadow(0 0 12px rgba(255, 215, 0, .8)); } }
.brand .word { display: block; width: auto; height: 25px; flex: none; }
.nav-links { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-links a[aria-current] { color: var(--gold); }
.nav-links a { position: relative; z-index: 1; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; color: #dbe5ff; transition: color .2s; }
.nav-links > a, .has-mega > a { display: flex; align-items: center; height: 38px; padding: 0 14px; }
.nav-links a:hover { color: #fff; }
.nav-links a.on-pill, .nav-links a.on-pill:hover { color: var(--navy); }
.nav-ind { position: absolute; top: 0; left: 0; width: var(--w, 0); height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(5, 10, 40, .3); opacity: var(--o, 0); transform: translateX(var(--x, 0)); transition: transform .3s var(--ease), width .3s var(--ease), opacity .2s; pointer-events: none; }
.has-mega > a::after { content: ""; width: 7px; height: 7px; margin: -3px 0 0 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.has-mega:hover > a::after { transform: rotate(225deg) translate(-2px, -2px); }
.mega { position: fixed; left: 0; right: 0; top: 106px; background-color: var(--navy); background-image: radial-gradient(40rem 18rem at 92% -10%, rgba(255, 215, 0, .16), transparent 70%), radial-gradient(44rem 20rem at 0% 120%, rgba(79, 124, 240, .4), transparent 70%); border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 34px 60px -26px rgba(8, 18, 56, .9); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s, transform .28s var(--ease), visibility .22s; }
.nav.scrolled .mega { top: 106px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { max-width: 1360px; margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: 3.4fr 8.6fr; gap: 48px; }
.mega .eyebrow { color: var(--gold); }
.mega-lead { margin: 12px 0 16px; font-size: 16px; line-height: 25px; color: var(--on-dark-muted); }
.mega .more { color: var(--gold); }
.mega-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 28px; }
.mega-list a { display: flex; align-items: baseline; gap: 12px; padding: 11px 12px; border-radius: 10px; transition: background-color .15s, transform .2s var(--ease); }
.mega-list a:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); color: #fff; }
.mega-list span { font-size: 12px; font-weight: 700; color: var(--gold); }
.mega-list b { font-weight: 600; font-size: 15px; color: var(--on-dark); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-sheet { display: flex; flex-direction: column; gap: 2px; max-height: calc(100dvh - 72px); overflow: auto; padding: 4px var(--gutter) 18px; }
.nav-sheet[hidden] { display: none; }
.nav-sheet > a:not(.btn) { padding: 10px 0; font-weight: 600; font-size: 17px; text-decoration: none; color: #dbe5ff; }
.nav-sheet > a[aria-current] { color: var(--gold); }
.nav-sheet .btn { margin-top: 8px; }
.sheet-end { padding: 10px 0; }
.sheet-end .lang { padding: 0; border: 0; }
.sheet-end .lang a { color: #dbe5ff; }
.sheet-end .lang a[aria-current] { background: var(--gold); color: var(--on-gold); }

/* Home hero */
.hero { min-height: min(100svh, 820px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 300px), rgba(0, 0, 0, .86) calc(100% - 170px), rgba(0, 0, 0, .34) calc(100% - 70px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 300px), rgba(0, 0, 0, .86) calc(100% - 170px), rgba(0, 0, 0, .34) calc(100% - 70px), transparent); }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 16px 48px; padding-top: 128px; padding-bottom: 128px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-title { font: 800 clamp(34px, 3.9vw, 56px)/1.06 var(--font); letter-spacing: -.035em; text-transform: uppercase; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .gold .ch { background-image: linear-gradient(180deg, #ffe45c, #d6a400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch { display: inline-block; opacity: 0; filter: blur(10px); transform: translateX(-10px); animation: chIn .7s var(--ease) forwards; animation-delay: calc(var(--c) * 34ms + 120ms); }
@keyframes chIn { to { opacity: 1; filter: none; transform: none; } }
.fade-in { opacity: 0; transform: translateY(14px); animation: fadeIn .8s var(--ease) forwards; animation-delay: var(--d, .9s); }
@keyframes fadeIn { to { opacity: 1; transform: none; } }
.hero-lead { max-width: 560px; font-size: 18px; line-height: 30px; color: var(--on-dark-muted); }
.hero-art { width: 100%; transform: translateY(calc(var(--sy, 0) * 1px)); }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Isometric stack */
.stack-floor { stroke: rgba(157, 184, 255, .22); stroke-width: 1; fill: none; }
.plate { opacity: 0; animation: plateIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * .24s + .5s); }
.stack-all { animation: bob 5s ease-in-out infinite alternate; }
@keyframes plateIn { from { opacity: 0; translate: 0 -46px; } to { opacity: 1; translate: 0 0; } }
@keyframes bob { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.plate .t { fill: url(#plateTop); stroke: rgba(201, 214, 255, .75); stroke-width: 1; }
.plate .l { fill: url(#plateLeft); stroke: rgba(157, 184, 255, .4); stroke-width: 1; }
.plate .r { fill: url(#plateRight); stroke: rgba(157, 184, 255, .4); stroke-width: 1; }
.plate .inner { fill: none; stroke: rgba(255, 255, 255, .34); stroke-width: 1; }
.plate.top .t { fill: url(#plateGold); stroke: #ffe866; filter: drop-shadow(0 0 18px rgba(255, 215, 0, .5)); }
.plate .leader { stroke: rgba(198, 210, 242, .42); stroke-width: 1; fill: none; }
.plate .dot { fill: var(--gold); }
.plate text { fill: var(--on-dark); font: 600 14.5px/1 var(--font); }
.plate text.k { fill: var(--on-dark-muted); font: 500 12px/1 var(--font); }
.stack-v { stroke: rgba(157, 184, 255, .4); stroke-width: 1; stroke-dasharray: 2 5; }

/* Pointer effects */
.pointer-glow { position: absolute; z-index: 0; left: 0; top: 0; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 124, 240, .5), rgba(255, 215, 0, .08) 60%, transparent); transform: translate(var(--gx, 70vw), var(--gy, 30vh)); opacity: var(--go, 0); transition: opacity .4s; pointer-events: none; }
.hero-art { perspective: 1100px; }
.hero-art svg { max-height: min(48vh, 440px); margin: 0 auto; transform: rotateX(calc(var(--ty, 0) * -7deg)) rotateY(calc(var(--tx, 0) * 9deg)); transition: transform .25s ease-out; }
.plate-in { transition: transform .45s var(--ease), opacity .3s; transform: translateY(calc(var(--ex, 0) * (var(--i) - 1.5) * -1px)); }
.hero-art.hot { --ex: 18; }
.hero-art.hot .plate:not(:hover) .plate-in { opacity: .72; }
.hero-art .plate:hover .plate-in { opacity: 1; transform: translateY(calc((var(--ex, 0) * (var(--i) - 1.5) + 12) * -1px)); }
.plate:hover text { fill: var(--gold); }

/* Stats */
.stats-wrap { position: relative; z-index: 3; margin-top: -124px; }
.stats-wrap + .sec { padding-top: 44px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 26px; }
.stat b { display: block; margin-bottom: 4px; font: 800 clamp(34px, 3.8vw, 48px)/1.1 var(--font); letter-spacing: -.03em; background-image: linear-gradient(180deg, var(--blue), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; font-size: 14.5px; line-height: 22px; color: var(--muted); }

/* Glass */
.glass { position: relative; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .76)); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.lift { transition: transform .3s var(--ease), box-shadow .3s; transform-style: preserve-3d; }
.lift::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 85, 224, .1), rgba(255, 215, 0, .08) 45%, transparent 70%); transition: opacity .3s; }
.lift:hover::after { opacity: 1; }
.lift::before { content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity .3s, left .3s, right .3s; }
.lift:hover { transform: perspective(900px) translateY(-5px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: var(--shadow-up); }
.lift:hover::before { opacity: 1; left: 8%; right: 8%; }
.dark .glass { background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border-color: var(--line-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 54px -32px #000; }
.dark .glass p, .dark .glass li { color: var(--on-dark-muted); }
.card { padding: 22px 24px; }
.card h3 { margin-bottom: 8px; font: 700 18.5px/26px var(--font); letter-spacing: -.012em; }
.card p, .card li { font-size: 15px; line-height: 24px; color: var(--muted); }
.mark { display: block; margin-bottom: 10px; font: 800 26px/1 var(--font); background-image: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag-line { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--blue) !important; }
.dark .tag-line { color: var(--gold) !important; }
.bullets li { position: relative; padding-left: 16px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px rgba(201, 150, 0, .5); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 32px 56px; align-items: start; }
.split > .head { position: sticky; top: 100px; margin-bottom: 0; }
.note { margin-top: 16px; padding: 16px 22px; font-weight: 600; font-size: 15px; }

/* Solution cards */
.sol-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.sol-card { grid-column: span 3; display: flex; flex-direction: column; padding: 18px 22px 22px; text-decoration: none; }
.sol-card:nth-child(-n+3) { grid-column: span 4; }
.sol-art { display: block; margin: -6px -10px 12px; padding: 10px 8px 2px; border-radius: 14px; background: radial-gradient(70% 90% at 82% 12%, rgba(255, 215, 0, .16), transparent 70%), radial-gradient(80% 100% at 12% 100%, rgba(79, 124, 240, .16), transparent 72%), linear-gradient(180deg, #f6f9ff, #eef3ff); }
.sol-art .iso { display: block; width: 100%; height: auto; max-height: 176px; margin: 0 auto; overflow: visible; }
.sol-card h3 { margin-bottom: 6px; font: 700 18px/25px var(--font); letter-spacing: -.012em; }
.sol-card p { flex: 1; font-size: 14.5px; line-height: 23px; color: var(--muted); }
.sol-card .more { margin-top: 12px; font-size: 14px; }
/* Logos */
.marquee { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 14px; width: max-content; padding: 4px 0; animation: slide 70s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }
.logo { flex: none; display: flex; align-items: center; justify-content: center; width: 158px; height: 80px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logos .logo { flex: 0 1 calc((100% - 72px) / 7); width: auto; min-width: 0; }

/* Who */
.zoom { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: center; padding: 22px; }
.zoom-frame { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 16px; background: radial-gradient(70% 80% at 22% 14%, rgba(255, 215, 0, .42), transparent 68%), radial-gradient(80% 90% at 86% 80%, rgba(31, 85, 224, .4), transparent 70%), radial-gradient(ellipse at 50% 62%, #e3ecff, #f2f3f5 70%); }
.zoom-frame img { position: absolute; left: 50%; top: 5%; width: 84%; max-width: none; transform: translateX(-50%); }
.zoom-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 38%; background: linear-gradient(180deg, rgba(247, 249, 254, 0), rgba(247, 249, 254, .85) 55%, #f7f9fe 88%); }
.zoom-photo { position: relative; }
.zoom-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 12px; text-align: center; font-size: 13px; line-height: 18px; color: var(--muted); }
.zoom-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 14px; }
.zoom-title { font: 800 clamp(26px, 3vw, 36px)/1.1 var(--font); letter-spacing: -.02em; text-transform: uppercase; }
.zoom-title em { font-style: normal; color: var(--blue); }
.zoom-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.zoom-badges img { width: 72px; height: 72px; object-fit: contain; }
.zoom-copy li { padding: 2px 0 2px 16px; font-size: 15px; line-height: 24px; font-weight: 500; color: var(--text-2); }
.zoom-copy li::before { top: 11px; }

/* Dashboard */
.dash { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.dash > .c4 { grid-column: span 4; }
.dash > .c5 { grid-column: span 5; }
.dash > .c7 { grid-column: span 7; }
.panel { padding: 24px 26px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font: 600 14px/20px var(--font); color: var(--on-dark-muted); }
.hl b { display: block; margin-bottom: 6px; font: 800 clamp(38px, 4.4vw, 56px)/1 var(--font); letter-spacing: -.03em; background-image: linear-gradient(180deg, #ffe45c, #d6a400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl p { font-size: 14.5px; line-height: 23px; }
.ind-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ind-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06); color: var(--on-dark); font-weight: 600; font-size: 14px; line-height: 20px; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
.ind-links a:hover { border-color: var(--gold); background: rgba(255, 255, 255, .12); color: var(--gold); }
.ind-links svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.ind-links a:hover svg { transform: translateX(3px); }
.place-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.place-links a { position: relative; padding-left: 14px; color: var(--on-dark); font-weight: 600; font-size: 14px; text-decoration: none; }
.place-links a::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.place-links a:hover { color: var(--gold); }
.digest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.digest a { display: block; color: inherit; text-decoration: none; }
.digest-photo { display: block; overflow: hidden; margin-bottom: 10px; aspect-ratio: 16 / 10; border-radius: 12px; background: var(--navy-2); }
.digest-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.digest a:hover .digest-photo img { transform: scale(1.05); }
.digest b { display: block; font-weight: 600; font-size: 15px; color: var(--on-dark); }
.digest-text { display: block; margin-top: 2px; font-size: 13.5px; line-height: 20px; color: var(--on-dark-muted); }

/* Page heads */
.page-hero { position: relative; padding: 134px 0 22px; }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero + .sec { padding-top: 14px; }
.page-hero:has(+ .sec.dark) { padding-bottom: 44px; }
.ring-corner { position: absolute; z-index: 0; right: -90px; top: 40px; width: 460px; opacity: .3; animation: spin 120s linear infinite; pointer-events: none; }
.page-hero .head { margin-bottom: 16px; }
.page-hero .title { font-size: clamp(29px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.03em; }
.sol-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; align-items: center; }
.sol-hero .title { font-size: clamp(34px, 4.4vw, 56px); }
.sol-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chip { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 600; color: var(--text-2); }
.frame { padding: 8px; border-radius: var(--r-lg); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.tilt { perspective: 1200px; }
.js .tilt .frame { opacity: 0; transform: rotateY(-12deg) rotateX(4deg) translateY(24px); animation: tiltIn 1.1s var(--ease) .25s forwards; }
@keyframes tiltIn { to { opacity: 1; transform: none; } }
.ux { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; align-items: center; }
.ux-list { margin-top: 22px; display: grid; gap: 10px; }
.ux-list li { padding: 14px 18px; font-weight: 500; font-size: 15px; line-height: 23px; }
.dark .ux-list li { color: var(--on-dark); }
.ux .frame img { aspect-ratio: 16 / 9; }

/* Why Kayreach */
.why-hero { display: flex; align-items: center; }
.why-hero-in { padding-top: 142px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.why-title { font: 800 clamp(46px, 6.1vw, 88px)/1 var(--font); letter-spacing: -.035em; text-transform: uppercase; }
.why-title em { font-style: normal; color: var(--gold); }
.ring { position: absolute; z-index: 0; right: -6%; top: 50%; width: min(620px, 62vw); margin-top: -300px; opacity: .55; animation: spin 80s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.reasons { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: stretch; }
.reason-list { display: flex; flex-direction: column; }
.reason-btn { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 18px 8px 18px 4px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--muted); font-family: inherit; text-align: left; cursor: pointer; transition: color .2s, padding-left .25s var(--ease); }
.reason-btn:last-child { border-bottom: 1px solid var(--line); }
.reason-btn b { font-weight: 700; font-size: clamp(17px, 1.8vw, 21px); line-height: 28px; letter-spacing: -.015em; }
.reason-btn:hover, .reason-btn[aria-selected="true"] { color: var(--ink); }
.reason-btn[aria-selected="true"] { padding-left: 14px; }
.reason-btn[aria-selected="true"] .n { color: #c99600; }
.reason-bar { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; }
.reason-btn[aria-selected="true"] .reason-bar { animation: reasonRun var(--run, 6s) linear forwards; }
[data-reasons].hold .reason-bar { animation-play-state: paused; }
@keyframes reasonRun { to { transform: scaleX(1); } }
.reason-stage { padding: 22px 28px; }
.reason-panel { display: grid; gap: 18px; animation: fadeIn .5s var(--ease); }
.reason-panel[hidden] { display: none; }
.reason-panel .sol-art { margin: 0; }
.reason-panel .iso { max-height: 210px; }
.reason-stage:hover .iso .lay { transform: translateY(calc(var(--l) * -4px)); }
.reason-panel h3 { font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--font); letter-spacing: -.02em; text-transform: uppercase; }
.reason-panel p { margin-top: 6px; color: var(--muted); }
.reason-proof { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.reason-proof b { font: 800 36px/1 var(--font); letter-spacing: -.03em; background-image: linear-gradient(180deg, var(--blue), var(--navy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason-proof span { font-size: 14px; line-height: 21px; color: var(--muted); }

/* Process */

/* Certificates */
.certs-box { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 16px; }
.brand-side { position: sticky; top: 92px; padding: 8px; }
.brand-cat summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 12px; font: 700 14.5px/20px var(--font); color: var(--ink); list-style: none; cursor: pointer; transition: background-color .15s; }
.brand-cat summary::-webkit-details-marker { display: none; }
.brand-cat summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: -3px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.brand-cat[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.brand-cat summary:hover { background: rgba(31, 85, 224, .06); }
.brand-cat + .brand-cat { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.brand-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 2px; padding: 2px 0 8px; }
.brand-btn { position: relative; padding: 7px 8px 7px 20px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: 500 13.5px/20px var(--font); text-align: left; cursor: pointer; transition: color .15s, background-color .15s; }
.brand-btn::before { content: ""; position: absolute; left: 9px; top: 50%; width: 3px; height: 0; margin-top: 0; border-radius: 3px; background: var(--gold); transform: translateY(-50%); transition: height .2s var(--ease); }
.brand-btn:hover { color: var(--blue); }
.brand-btn[aria-selected="true"] { background: rgba(31, 85, 224, .08); color: var(--navy); font-weight: 700; }
.brand-btn[aria-selected="true"]::before { height: 16px; }
.cert-panel { display: flex; flex-direction: column; padding: 20px 24px; min-height: 384px; }
.cert-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; margin-bottom: 14px; }
.cert-head span { font-size: 13px; line-height: 20px; color: var(--muted); }
.cert-panel h3 { font: 800 22px/28px var(--font); letter-spacing: -.02em; text-transform: uppercase; }
.cert-panel[hidden] { display: none; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-block: auto; }
.cert { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; padding: 8px; animation: fadeIn .45s var(--ease) both; animation-delay: calc(var(--i) * 22ms); }
.cert img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-other { flex-direction: column; gap: 4px; min-width: 0; padding: 6px; border: 0; border-radius: 12px; background: none; font: inherit; cursor: pointer; transition: background-color .15s; }
.cert-other img { flex: 1; width: 100%; min-height: 0; max-height: calc(100% - 22px); opacity: .55; filter: saturate(.6); transition: opacity .15s, filter .15s; }
.cert-other small { max-width: 100%; overflow: hidden; font: 500 12px/18px var(--font); color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.cert-other:hover { background: rgba(31, 85, 224, .06); }
.certs:has(.cert-other) .cert:not(.cert-other) { border-radius: 12px; background: rgba(31, 85, 224, .07); box-shadow: inset 0 0 0 1.5px rgba(31, 85, 224, .28); }
.cert-other:hover img, .cert-other:focus-visible img { opacity: 1; filter: none; }

/* Filters and tabs: one quiet bar */
.seg-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.seg { position: relative; display: inline-flex; gap: 2px; min-width: 0; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 1px 0 #fff; }
.seg-btn { flex: none; padding: 7px 14px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 14px/20px var(--font); white-space: nowrap; cursor: pointer; transition: color .15s, background-color .15s; }
.seg-btn:hover { color: var(--blue); }
.seg-btn[aria-pressed="true"], .seg-btn[aria-selected="true"] { background: var(--navy); color: #fff; }
[role="tabpanel"][hidden] { display: none; }

/* Offices */
.office-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.map-card { display: flex; align-items: center; padding: 6px; }
.map-stage { position: relative; width: 100%; border-radius: 15px; background: radial-gradient(circle, rgba(31, 85, 224, .1) 1px, transparent 1.4px) 0 0 / 16px 16px, radial-gradient(70% 90% at 85% 10%, rgba(255, 215, 0, .12), transparent 70%), linear-gradient(160deg, #f6f9ff, #e9f0ff); }
.map-stage > img { display: block; width: 100%; height: 100%; border-radius: 15px; }
.map-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.link { fill: none; stroke: rgba(255, 215, 0, .55); stroke-width: 1.4; stroke-dasharray: 3 3; transition: stroke .2s, stroke-width .2s, opacity .2s; }
.map-stage.has-hot .link { opacity: .15; }
.map-stage .link.on { opacity: 1; stroke: var(--gold); stroke-width: 2.6; stroke-dasharray: 8 6; animation: linkFlow 1.4s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 215, 0, .8)); }
@keyframes linkFlow { to { stroke-dashoffset: -28; } }
.pin { position: absolute; z-index: 1; width: 0; height: 0; }
.pin:hover, .pin:focus-within, .pin.hot { z-index: 3; }
.pin-dot { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; }
.pin-dot i { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--gold); border: 2px solid #fff; box-shadow: 0 1px 5px rgba(13, 29, 79, .5); transition: transform .2s var(--ease); }
.pin-dot i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: rgba(255, 215, 0, .55); animation: pinPulse 2.4s ease-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes pinPulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.pin-label { position: absolute; right: 12px; top: 0; transform: translateY(-50%); padding: 2px 8px; border-radius: 7px; background: var(--navy); color: #fff; font: 600 11.5px/17px var(--font); white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(13, 29, 79, .6); pointer-events: none; }
.pin-r .pin-label { right: auto; left: 12px; }
.pin:hover .pin-dot i, .pin.hot .pin-dot i { transform: scale(1.35); }
.pin.hot .pin-label, .pin:hover .pin-label { background: var(--gold); color: var(--on-gold); }
.pin-pop { position: absolute; left: 14px; top: 14px; width: 280px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-up); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .2s var(--ease), visibility .18s; }
.pin-pop::before { content: ""; position: absolute; left: -14px; right: 0; top: -14px; height: 14px; }
.pin-up .pin-pop { top: auto; bottom: 14px; }
.pin-up .pin-pop::before { top: auto; bottom: -14px; }
.pin:hover .pin-pop, .pin:focus-within .pin-pop { opacity: 1; visibility: visible; transform: none; }
.pin-pop b { display: block; font-weight: 700; font-size: 15px; line-height: 20px; color: var(--ink); }
.pin-pop p { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--muted); }
.pin-acts { display: flex; gap: 6px; margin-top: 10px; }
.pin-acts a { flex: 1; white-space: nowrap; padding: 6px 8px; border-radius: 9px; border: 1px solid var(--line); color: var(--navy); font: 600 12.5px/17px var(--font); text-align: center; text-decoration: none; transition: background-color .15s, color .15s; }
.pin-acts a:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.pin-acts a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.office-list { display: grid; gap: 8px; grid-template-rows: 1.9fr 1fr 1fr; }
.office-card { display: flex; flex-direction: column; justify-content: space-evenly; padding: 8px 12px; }
.office-card .office-country { margin-bottom: 1px; font: 700 12.5px/17px var(--font); }
.office-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -6px; padding: 4px 6px; border-radius: 10px; transition: background-color .15s; }
.office-row + .office-row { margin-top: 2px; }
.office-row:hover, .office-row.hot { background: rgba(255, 215, 0, .14); }
.office-main { min-width: 0; text-decoration: none; color: var(--ink); }
.office-country { display: block; font: 600 12px/16px var(--font); color: var(--blue); }
.office-main b { display: block; font-weight: 700; font-size: 14px; line-height: 19px; }
.office-main:hover b { color: var(--blue); }
.office-main p { font-size: 12.5px; line-height: 17px; color: var(--muted); }
.office-dir { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 600 12.5px/17px var(--font); text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.office-dir:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.office-dir svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { display: flex; flex-direction: column; padding: 8px 8px 16px; color: var(--ink); text-align: left; font-family: inherit; cursor: pointer; -webkit-backdrop-filter: none; backdrop-filter: none; }
.project[hidden] { display: none; }
.project-media { display: block; aspect-ratio: 3 / 2; margin-bottom: 12px; overflow: hidden; border-radius: 14px; background: var(--line); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project-media img { transform: scale(1.05); }
.project-name { padding: 0 10px; font: 700 17.5px/24px var(--font); letter-spacing: -.012em; }
.project-meta { padding: 2px 10px 0; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 32px; }
.more-row .btn[hidden] { display: none; }
.modal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: #fff; color: var(--ink); overflow: hidden; }
.modal[open] { animation: fadeIn .35s var(--ease); }
.modal::backdrop { background: rgba(8, 18, 56, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-box { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; max-height: calc(100dvh - 32px); overflow: auto; }
.modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; background: var(--navy-3); }
.modal-gallery.single { grid-template-columns: 1fr; }
.modal-gallery img { width: 100%; height: auto; }
.modal-body { padding: 30px; }
.modal-body h2 { padding-right: 40px; font: 800 28px/32px var(--font); letter-spacing: -.02em; text-transform: uppercase; }
.modal-body h3 { margin: 22px 0 6px; font: 600 14px/20px var(--font); color: var(--muted); }
.modal-body li { position: relative; padding: 2px 0 2px 16px; font-size: 15px; line-height: 23px; }
.modal-body li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px rgba(201, 150, 0, .5); }
.modal-logo { max-width: 130px; max-height: 52px; object-fit: contain; margin-bottom: 14px; }
.modal-logo[hidden], [data-sec][hidden] { display: none; }
.modal-meta { display: flex; gap: 32px; margin-top: 12px; }
.modal-meta span { display: block; font-size: 13px; color: var(--muted); }
.modal-meta b { font-weight: 600; }
.tags { font-size: 15px; line-height: 23px; }
.tag:not(:last-child)::after { content: " · "; color: var(--muted); }

/* Contact */
.contact-hero { padding-bottom: 14px; }
.contact-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: center; }
.contact-top .lead { max-width: 520px; }
.quick-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--ink); }
.quick-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: var(--gold); }
.quick-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quick small { display: block; font-size: 12.5px; line-height: 17px; color: var(--muted); }
.quick b { display: block; font-weight: 700; font-size: 15px; line-height: 21px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 20px; padding: 20px 22px; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-msg { display: flex; }
.form-msg .field { flex: 1; }
.form-msg textarea { flex: 1; min-height: 150px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.wide { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border: 1px solid rgba(13, 29, 79, .22); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 400 16px/24px var(--font); resize: vertical; }
.form-end { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-end .btn { flex: none; min-width: 170px; }
.form-end:has(.form-note:not(:empty)) .form-promise { display: none; }
.form-promise { font-size: 14px; color: var(--muted); }
.form-note { font-size: 14px; color: var(--muted); }
.form-note.ok { color: #0f7a3d; font-weight: 600; }
.form-note.err { color: #b42318; font-weight: 600; }
.field .bad { border-color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal */
.legal { padding: 34px; }
.legal h2 { margin: 26px 0 8px; font: 700 20px/28px var(--font); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal p + p { margin-top: 12px; }

/* Closing, footer */
.closing::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(180deg, rgba(8, 18, 56, 0), rgba(8, 18, 56, .72) 58%, var(--navy-3)); pointer-events: none; }
.closing-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; padding-top: 48px; padding-bottom: 48px; }
.closing-title { max-width: 720px; font: 800 clamp(30px, 4vw, 50px)/1.06 var(--font); letter-spacing: -.025em; text-transform: uppercase; }
.closing-title em { font-style: normal; color: var(--gold); }
.closing-lead { margin-top: 10px; font-size: 18px; color: var(--on-dark-muted); }
.foot { position: relative; overflow-x: clip; padding: 0 0 24px; background: var(--navy-3); color: var(--on-dark); font-size: 14px; line-height: 22px; }
/* Light line between the closing band and the footer, with a slow spark running along it */
main:has(> .closing) + .foot::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(79, 124, 240, .7) 16%, var(--gold) 50%, rgba(79, 124, 240, .7) 84%, transparent); box-shadow: 0 0 22px 1px rgba(255, 215, 0, .28); }
main:has(> .closing) + .foot::after { content: ""; position: absolute; z-index: 2; left: 0; top: -1px; width: 240px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, #fff3a8, #fff, #fff3a8, transparent); filter: blur(1px); opacity: .9; animation: footSpark 8s linear infinite; pointer-events: none; }
@keyframes footSpark { from { transform: translateX(-260px); } to { transform: translateX(100vw); } }
@media (prefers-reduced-motion: reduce) { main:has(> .closing) + .foot::after { display: none; } }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 32px 48px; padding-top: 36px; }
.foot h3 { margin-bottom: 10px; font: 600 14px/20px var(--font); color: var(--gold); }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-brand img { width: 140px; height: auto; margin-bottom: 14px; }
.foot-brand p, .foot-k { color: var(--on-dark-muted); }
.foot-brand p { max-width: 340px; }
.foot-social { display: inline-block; margin-top: 12px; text-decoration: underline !important; }
.foot-links li { padding: 2px 0; }
.foot-k { margin-top: 8px; font-size: 13px; }
.foot-k:first-of-type { margin-top: 0; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; color: var(--on-dark-muted); font-size: 13px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease), box-shadow .3s; transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.js [data-reveal].lift.in { transition: opacity .8s var(--ease), transform .3s var(--ease), filter .8s var(--ease), box-shadow .3s; transition-delay: 0s; }
.js [data-reveal].lift.in:hover { transform: perspective(900px) translateY(-5px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

@media (max-width: 1100px) {
  .util { display: none; }
  .nav.scrolled { transform: none; }
  .reasons { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .why-hero-in { padding-top: 130px; }
  .nav-toggle { display: inline-flex; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .split, .certs-box { grid-template-columns: 1fr; }
  .split > .head { position: static; margin-bottom: 8px; }
  .hero-in { grid-template-columns: 1fr; gap: 8px; padding-top: 112px; padding-bottom: 132px; }
  .page-hero { padding-top: 104px; }
  .certs-box { grid-template-columns: 1fr; }
  .brand-side { position: static; }
  .cert-panel { min-height: 0; }
  .hero-art { max-width: 560px; }
  .sol-card, .sol-card:nth-child(-n+3) { grid-column: span 6; }
  .dash > .c4, .dash > .c5, .dash > .c7 { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .g3, .office-map, .zoom, .ux, .sol-hero { grid-template-columns: 1fr; }
  .ring-corner { width: 280px; right: -130px; top: 76px; opacity: .2; }
  .stat-grid, .stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline > li { grid-template-columns: 76px 1fr; }
  .timeline ul { grid-column: 2; }
  .modal-box { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .plate text { display: none; }
  .plate .leader { display: none; }
}
@media (max-width: 620px) {
  .g2, .g4, .project-grid, .form { grid-template-columns: 1fr; }
  .sol-card, .sol-card:nth-child(-n+3) { grid-column: 1 / -1; }
  .hero-title { font-size: 8.2vw; }
  .pin-label { display: none; font-size: 11px; padding: 2px 6px; }
  .pin.hot .pin-label { display: block; }
  .office-row { flex-direction: column; align-items: stretch; }
  .office-dir { justify-content: center; }
  .logo { width: 130px; height: 70px; }
  .btns .btn { flex: 1 1 100%; }
  .modal-body, .legal, .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ch, .fade-in, .plate, .js [data-reveal], .js .tilt .frame { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reason-bar { display: none; }
    .marquee { overflow-x: auto; }
}

@media (max-width: 620px) { .ring { opacity: .22; right: -30%; } }

/* Numbers on dark sections */
.dark .stat b { background-image: linear-gradient(180deg, #ffe45c, #d6a400); }
.dark .stat span { color: var(--on-dark-muted); }

/* Search */
.search-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, .12)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55); color: #e6ecff; font: 500 14px/20px var(--font); cursor: pointer; transition: border-color .15s, color .15s; }
.search-btn:hover { color: var(--gold); }
.search-btn svg, .search-bar svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search { position: fixed; inset: 0 0 auto; width: 100%; max-width: none; max-height: 86dvh; margin: 0; padding: 0; border: 0; background: var(--navy-3); color: var(--on-dark); box-shadow: 0 30px 70px -20px rgba(8, 18, 56, .9); overflow: auto; }
.search[open] { animation: searchIn .28s var(--ease); }
@keyframes searchIn { from { opacity: 0; transform: translateY(-16px); } }
.search::backdrop { background: rgba(8, 18, 56, .6); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.search-in { max-width: 920px; margin: 0 auto; padding: 20px var(--gutter) 28px; }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 16px; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, .07); color: var(--gold); }
.search-bar:focus-within { border-color: var(--gold); }
.search-bar input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: 0; background: none; color: #fff; font: 500 18px/26px var(--font); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-bar input::placeholder { color: var(--on-dark-muted); }
.search-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; }
.search-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; margin-top: 14px; }
.search-results h3 { margin: 10px 0 4px 10px; font: 600 12.5px/18px var(--font); color: var(--gold); }
.search-results a { display: block; padding: 7px 10px; border-radius: 9px; text-decoration: none; transition: background-color .12s; }
.search-results a:hover, .search-results a:focus { background: rgba(255, 255, 255, .09); outline: 0; }
.search-results b { display: block; font-weight: 600; font-size: 15px; line-height: 21px; color: #fff; }
.search-results span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 19px; color: var(--on-dark-muted); }
.search-none { grid-column: 1 / -1; padding: 12px 10px; color: var(--on-dark-muted); }
@media (max-width: 1100px) { .search-btn span { display: none; } .search-btn { padding: 0; width: 40px; justify-content: center; } }
@media (max-width: 620px) { .search-results { grid-template-columns: 1fr; } .search-bar input { font-size: 16px; } }

/* One Call, Four Layers demo */
.demo { display: contents; }
.plate { cursor: pointer; }
.demo-panel { grid-column: 1 / -1; position: relative; z-index: 2; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 32px; padding: 14px 22px 18px; border-radius: var(--r); border: 1px solid var(--line-dark); background: linear-gradient(120deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 24px 54px -32px #000; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.demo-tabs { grid-column: 1; justify-self: start; display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, .07); }
.demo-body { grid-column: 1; }
.demo-right { grid-column: 2; grid-row: 1 / 3; }
.demo-tabs button, .demo-pres { padding: 5px 14px; border: 0; border-radius: 9px; white-space: nowrap; background: none; color: var(--on-dark-muted); font: 600 12.5px/18px var(--font); cursor: pointer; transition: color .15s, background-color .15s; }
.demo-tabs button:hover, .demo-pres:hover { color: #fff; }
.demo-tabs button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.demo-pres { font-weight: 500; }
.demo-pres[hidden] { display: none; }
.demo-body { min-height: 74px; display: flex; flex-direction: column; justify-content: center; }
.demo-k { font: 600 12.5px/18px var(--font); color: var(--gold); }
.demo-h { margin: 1px 0 2px; font: 700 20px/26px var(--font); letter-spacing: -.015em; }
.demo-p { font-size: 14px; line-height: 21px; color: var(--on-dark-muted); }
.demo-link { font-size: 13.5px; line-height: 20px; color: var(--on-dark-muted); }
.demo-link a { color: var(--gold); font-weight: 600; text-decoration: none; }
.demo-link a:hover { text-decoration: underline; }
.demo-right { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-width: 150px; }
[data-step="0"] .demo-go { animation: goPulse 2.4s ease-in-out infinite; }
@keyframes goPulse { 50% { box-shadow: 0 0 0 7px rgba(255, 215, 0, .16), 0 12px 26px -12px rgba(201, 150, 0, .8); } }
.demo-pips { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.demo-pips button { height: 12px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: flex-end; }
.demo-pips i { display: block; width: 100%; height: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; position: relative; }
.demo-pips i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.demo-pips .done i::after { transform: none; }
.demo-pips .on i::after { animation: pipRun var(--run, 2.8s) linear forwards; }
.demo.paused .demo-pips .on i::after { animation: none; transform: none; }
@keyframes pipRun { to { transform: scaleX(1); } }

/* Layers react to the demo */
.demo.running .hero-art, .demo.running .hero-art.hot { --ex: 0; }
.demo.running .plate-in { opacity: .42; }
.demo.running .plate.done .plate-in { opacity: .92; }
.demo.running .plate.on .plate-in { opacity: 1; transform: translateY(-13px); }
.plate.on .t { stroke: #ffe866; stroke-width: 2; filter: drop-shadow(0 0 16px rgba(255, 215, 0, .55)); }
.plate.on text { fill: var(--gold); }
.fx { opacity: 0; transition: opacity .35s; pointer-events: none; }
.plate.on .fx, .plate.done .fx { opacity: 1; }
.screen { fill: #dbe7ff; stroke: #fff; stroke-width: 1; }
.plate.on .screen { animation: screenOn .9s ease-out both; }
.plate.on .screen.b { animation-delay: .3s; }
@keyframes screenOn { from { fill: #0d1d4f; } 60% { fill: #ffe866; } }
.packet { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 91; }
.packet.b { stroke-dashoffset: 50; }
.plate.on .packet { animation: packetRun 1.8s linear infinite; }
.plate.on .packet.b { animation-delay: -.9s; }
@keyframes packetRun { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.core { fill: var(--gold); }
.threat { fill: #ff5a5f; opacity: 0; filter: drop-shadow(0 0 8px rgba(255, 90, 95, .9)); }
.plate.on .threat { animation: threatIn 1.5s var(--ease) .35s both; }
@keyframes threatIn { 0% { opacity: 0; transform: none; } 20% { opacity: 1; } 70% { opacity: 1; transform: translate(var(--dx), var(--dy)); } 100% { opacity: 0; transform: translate(calc(var(--dx) * .7), calc(var(--dy) * .7)); } }
.shield { fill: rgba(127, 163, 255, .16); stroke: #fff; stroke-width: 2; opacity: 0; }
.plate.on .shield { animation: shieldHit .9s ease-out 1.25s both; }
.plate.done .shield { opacity: .7; }
@keyframes shieldHit { 0% { opacity: 0; } 30% { opacity: 1; stroke: var(--gold); } 100% { opacity: .7; } }
.tile { fill: rgba(255, 255, 255, .28); stroke: rgba(255, 255, 255, .5); stroke-width: .6; }
.plate.done .tile { fill: rgba(255, 255, 255, .72); }
.plate.on .tile { animation: tileOn .6s ease-out both; animation-delay: var(--t); }
@keyframes tileOn { 0% { fill: rgba(255, 255, 255, .1); } 55% { fill: #ffe866; } 100% { fill: rgba(255, 255, 255, .78); } }
.pulse-ring { fill: none; stroke: var(--navy); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.plate.on .pulse-ring { animation: ringOut 1.6s ease-out infinite; }
@keyframes ringOut { from { opacity: .9; transform: scale(.55); } to { opacity: 0; transform: scale(1.5); } }
.check { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.plate.on .check, .plate.done .check { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease) .3s; }
.wave { fill: rgba(255, 215, 0, .1); stroke: var(--gold); stroke-width: 2; opacity: 0; filter: drop-shadow(0 0 10px rgba(255, 215, 0, .9)); pointer-events: none; }
[data-step="2"] .wave[data-wave="0"], [data-step="3"] .wave[data-wave="1"], [data-step="4"] .wave[data-wave="2"] { animation: waveUp .75s var(--ease) both; }
@keyframes waveUp { 0% { opacity: 0; transform: none; } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--dy)); } }

/* Presenter mode */
.demo-shell { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--navy-3); }
.demo-shell::backdrop { background: var(--navy-3); }
.demo-full { width: 100%; height: 100%; background: var(--navy-3); }
.demo.presenting { height: 100%; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; padding: 48px 64px; background: radial-gradient(900px 620px at 12% 92%, rgba(31, 85, 224, .55), transparent 66%), radial-gradient(700px 500px at 92% 6%, rgba(255, 215, 0, .14), transparent 62%), var(--navy-3); color: var(--on-dark); }
.presenting .hero-art svg { max-height: 82vh; }
.presenting .demo-panel { grid-column: auto; grid-template-columns: 1fr; padding: 26px 28px; }
.presenting .demo-tabs { display: grid; grid-template-columns: repeat(2, 1fr); justify-self: stretch; }
.presenting .demo-right { grid-column: 1; grid-row: auto; }
.presenting .demo-right { flex-direction: row; align-items: center; justify-content: space-between; }
.presenting .demo-body { min-height: 230px; }
.presenting .demo-h { font-size: 38px; line-height: 44px; font-weight: 800; }
.presenting .demo-p { font-size: 20px; line-height: 31px; }
.presenting .demo-k, .presenting .demo-link { font-size: 16px; line-height: 24px; }

@media (max-width: 1100px) { .demo-pres { display: none; } .demo-panel { grid-template-columns: 1fr; gap: 10px; } .demo-body { min-height: 118px; justify-content: flex-start; } .demo-right { min-width: 0; } .hero-art svg { max-height: 420px; } }
@media (max-width: 620px) { .demo-h { font-size: 19px; line-height: 25px; } .demo-body { min-height: 140px; } }
@media (prefers-reduced-motion: reduce) { .check { stroke-dashoffset: 0; } .shield { opacity: .7; } }
/* Milestone journey */
.jr { position: relative; }
.jr-scroll { margin-bottom: -56px; }
.jr-stage { position: relative; aspect-ratio: 2.45 / 1; }
.jr-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jr-area { fill: url(#jrArea); stroke: none; }
.jr-fill { -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 100%); mask-image: linear-gradient(90deg, #000 62%, transparent 100%); }
.jr-base { fill: none; stroke: rgba(198, 210, 242, .28); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.jr-gold { clip-path: inset(-20px calc(100% - var(--x, 0%)) -20px -20px); transition: clip-path .6s var(--ease); }
.jr-line { fill: none; stroke: url(#jrLine); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(255, 215, 0, .55)); }
.jr-comet { position: absolute; z-index: 1; left: var(--cx, 5%); top: var(--cy, 80%); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 215, 0, .55), transparent); transition: left .6s var(--ease), top .6s var(--ease); pointer-events: none; animation: cometPulse 2s ease-in-out infinite; }
@keyframes cometPulse { 50% { transform: scale(1.35); opacity: .7; } }
.jr-node { position: absolute; z-index: 2; width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 0; border: 0; background: none; color: var(--on-dark-muted); cursor: pointer; }
.jr-node i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--navy-3); border: 2px solid var(--blue-mist); transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.jr-node span { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); white-space: nowrap; font: 700 15px/20px var(--font); transition: color .2s, transform .25s var(--ease); }
.jr-node.done i { background: var(--gold); border-color: var(--gold); }
.jr-node:hover i, .jr-node[aria-pressed="true"] i { transform: scale(1.5); background: var(--gold); border-color: #fff; box-shadow: 0 0 0 7px rgba(255, 215, 0, .2), 0 0 22px rgba(255, 215, 0, .8); }
.jr-node:hover span, .jr-node[aria-pressed="true"] span { color: var(--gold); transform: translateX(-50%) scale(1.25); }
.jr-node.future i { border-style: dashed; }
.jr-detail { position: absolute; left: 0; top: 0; width: min(600px, 45%); min-height: 240px; padding: 10px; }
.jr-panel { display: grid; grid-template-columns: 46% minmax(0, 1fr); gap: 16px; animation: fadeIn .4s var(--ease); }
.jr-photo { position: relative; display: block; min-height: 176px; overflow: hidden; border-radius: 12px; background: radial-gradient(70% 80% at 22% 14%, rgba(255, 215, 0, .4), transparent 68%), radial-gradient(80% 90% at 86% 80%, rgba(79, 124, 240, .5), transparent 70%), #e3ecff; }
.jr-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-photo.top img { object-position: top; }
.jr-text { min-width: 0; padding: 6px 8px 6px 0; }
.jr-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.jr-badges span { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 3px; border-radius: 9px; background: #fff; }
.jr-badges img { max-width: 100%; max-height: 100%; object-fit: contain; }
.jr-panel[hidden] { display: none; }
.tl-year { display: inline-block; font: 800 28px/32px var(--font); letter-spacing: -.03em; background-image: linear-gradient(180deg, #ffe45c, #d6a400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jr-panel h3 { margin: 2px 0 6px; font: 700 19px/25px var(--font); letter-spacing: -.015em; color: var(--on-dark); }
.jr-panel li { position: relative; padding-left: 14px; font-size: 14px; line-height: 22px; color: var(--on-dark-muted); }
.jr-panel li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (max-width: 1240px) {
  .jr-detail { position: static; width: auto; min-height: 0; margin-top: 12px; }
}
@media (max-width: 960px) {
  .jr-scroll { overflow-x: auto; margin-bottom: -44px; padding-top: 34px; -webkit-overflow-scrolling: touch; }
  .jr-stage { width: 860px; aspect-ratio: 860 / 300; }
  .jr-detail { position: static; width: auto; min-height: 0; margin-top: 12px; }
  .jr-panel { grid-template-columns: 1fr; }
  .jr-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .jr-text { padding: 2px 8px 8px; }
}
@media (prefers-reduced-motion: reduce) { .jr-comet { display: none; } }

@media (max-width: 1100px) { .demo-right { grid-column: 1; grid-row: auto; } }
@media (max-width: 620px) { .demo-tabs { display: grid; grid-template-columns: repeat(2, 1fr); justify-self: stretch; } }

@media (max-width: 860px) {
  .seg-bar { flex-direction: column; align-items: stretch; }
  .seg { display: flex; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
}

@keyframes waDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Solution illustrations */
.iso .fl, .iso .fr, .iso .ft { stroke: var(--blue); stroke-width: .9; stroke-linejoin: round; }
.iso .ft { fill: #fbfcff; }
.iso .fl { fill: #dfe8ff; }
.iso .fr { fill: #c5d4fb; }
.iso .base .ft { fill: #edf2ff; }
.iso .base .fl { fill: #b9caf8; }
.iso .base .fr { fill: #a6bcf5; }
.iso .plan .ft { fill: #dfe9ff; }
.iso .plan .fl { fill: #b9caf8; }
.iso .plan .fr { fill: #a6bcf5; }
.iso .gold .ft { fill: #ffe45c; stroke: #c99600; }
.iso .gold .fl { fill: #f2c500; stroke: #c99600; }
.iso .gold .fr { fill: #dcae00; stroke: #c99600; }
.iso .scr { fill: var(--navy); stroke: var(--blue); stroke-width: .9; }
.iso .gold-s { fill: #ffd700; stroke: #c99600; }
.iso .ln { fill: var(--blue-mist); animation: isoBlink 2.4s ease-in-out infinite; }
.iso .ln.b { animation-delay: .5s; fill: var(--gold); }
.iso .ln.c { animation-delay: 1s; }
.iso .tile { fill: var(--navy); stroke: var(--blue); stroke-width: .7; animation: isoTile 2.6s ease-in-out infinite; animation-delay: var(--t, 0s); }
@keyframes isoTile { 0%, 100% { fill: var(--navy); } 45% { fill: var(--blue-bright); } 60% { fill: #ffe45c; } }
@keyframes isoBlink { 50% { opacity: .35; } }
.iso .led { fill: var(--gold); animation: isoBlink 1.6s steps(2) infinite; animation-delay: var(--d, 0s); }
.iso .wire { fill: none; stroke: var(--blue); stroke-width: 1.4; }
.iso .pk { fill: none; stroke: #e0a800; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 16 84; animation: isoFlow 1.8s linear infinite; }
.iso .pk.b { animation-delay: -.45s; }
.iso .pk.c { animation-delay: -.9s; }
.iso .pk.d { animation-delay: -1.35s; }
@keyframes isoFlow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.iso .wave { fill: none; stroke: var(--blue-bright); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 30 70; animation: isoFlow 1.4s linear infinite; }
.iso .wave.b { animation-delay: -.7s; }
.iso .net-shield { fill: rgba(255, 228, 92, .3); stroke: #c99600; stroke-width: 1.4; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; animation: isoShield 2.6s ease-in-out infinite; }
@keyframes isoShield { 50% { transform: translateY(-3px); fill: rgba(255, 228, 92, .6); } }
.iso .tick { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: waDraw 1s var(--ease) both; animation-delay: .9s; }
.iso .grid { fill: none; stroke: rgba(31, 85, 224, .3); stroke-width: .6; }
.iso .plan-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 100; animation: isoPlan 5s ease-in-out infinite; }
@keyframes isoPlan { 0% { stroke-dashoffset: 100; } 55%, 100% { stroke-dashoffset: 0; } }
.iso .dim { fill: none; stroke: #e0a800; stroke-width: 1.2; stroke-dasharray: 4 3; }
.iso .orbit { fill: none; stroke: rgba(31, 85, 224, .45); stroke-width: 1; stroke-dasharray: 4 4; }
.iso .sat { fill: var(--gold); stroke: #c99600; offset-rotate: 0deg; animation: isoSat 5s linear infinite; }
@keyframes isoSat { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.iso .cup { fill: #ffd700; stroke: #c99600; stroke-width: 1.2; stroke-linejoin: round; }
.iso .cup-h { fill: none; stroke: #c99600; stroke-width: 2.4; stroke-linecap: round; }
.iso .cup-s { fill: #fff; }
.iso .head { fill: var(--gold); stroke: #c99600; stroke-width: 1.2; }
.iso .trend { fill: none; stroke: #e0a800; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: isoPlan 4s ease-in-out infinite; }
.iso .spark { fill: var(--gold); stroke: #c99600; stroke-width: .8; transform-box: fill-box; transform-origin: center; animation: isoTwinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes isoTwinkle { 0%, 100% { opacity: .3; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.1); } }
.iso .badge { fill: var(--gold); stroke: #c99600; stroke-width: 1.2; }
.iso .lay { transition: transform .45s var(--ease); }
.sol-card:hover .iso .lay { transform: translateY(calc(var(--l) * -3.5px)); }

/* Solution scene on detail pages */
.sol-scene .sol-art { margin: 0; padding: 18px 16px 8px; border-radius: 22px; }
.sol-scene .iso { max-height: 380px; }
.sol-scene:hover .iso .lay { transform: translateY(calc(var(--l) * -6px)); }

@media (max-width: 860px) { .pin-pop { display: none; } }

@media (max-width: 860px) { .office-list { grid-template-rows: none; } }

@media (max-width: 860px) { .contact-top, .form { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .form-fields { grid-template-columns: 1fr; } }

@media (max-width: 620px) { .quick-list { grid-template-columns: 1fr; } }

@media (max-width: 620px) { .form-end { flex-direction: column; align-items: stretch; text-align: center; } }

/* Heading and text in one card, Kayreach ring in the corner */
.story { position: relative; overflow: hidden; display: grid; grid-template-columns: 4fr 8fr; gap: 20px 56px; align-items: center; padding: 34px 38px; }
.story > .head, .story-body { position: relative; z-index: 1; }
.story > .head { margin-bottom: 0; }
.story-ring { position: absolute; right: -96px; bottom: -120px; width: 240px; opacity: .24; animation: spin 120s linear infinite; pointer-events: none; }

/* Six short values in one row */
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.g6 .card { padding: 18px 16px; }
.g6 .card h3 { margin-bottom: 4px; font-size: 16px; line-height: 22px; }
.g6 .card p { font-size: 14px; line-height: 20px; }

/* Work process: one line running through five steps */
.flow { position: relative; padding-top: 4px; }
.flow::before, .flow-line { content: ""; position: absolute; left: 10%; right: 10%; top: 25px; height: 3px; border-radius: 3px; }
.flow::before { background: rgba(31, 85, 224, .14); }
.flow-line { background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(var(--tl, 1)); transform-origin: left; }
.flow-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.flow-step { text-align: center; }
.flow-node { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px #f3f6fd, 0 12px 22px -10px rgba(13, 29, 79, .7); color: var(--gold); font: 800 15px/1 var(--font); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.flow-step:hover .flow-node { transform: scale(1.12); background: var(--gold); color: var(--navy); }
.flow-step h3 { margin-bottom: 6px; font: 700 17.5px/24px var(--font); letter-spacing: -.012em; }
.flow-step p { font-size: 14.5px; line-height: 22px; color: var(--muted); }

@media (max-width: 1100px) {
  .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos .logo { flex-basis: calc((100% - 48px) / 5); }
}
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; padding: 22px 20px; }
  .story-ring { display: none; }
  .flow::before, .flow-line { left: 21px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; }
  .flow-line { background: linear-gradient(180deg, var(--blue), var(--gold)); transform: scaleY(var(--tl, 1)); transform-origin: top; }
  .flow-list { grid-template-columns: 1fr; gap: 16px; }
  .flow-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; text-align: left; }
  .flow-node { grid-row: 1 / 3; margin: 0; }
  .flow-step h3 { margin-bottom: 2px; }
}

/* Short repeats: full versions live on Why Kayreach */
.zoom-strip { display: grid; grid-template-columns: 230px minmax(0, 1fr) auto auto; align-items: center; gap: 12px 32px; padding: 14px 30px 14px 14px; }
.zoom-strip-photo { aspect-ratio: 5 / 4; }
.zoom-strip .zoom-badges img { width: 60px; height: 60px; }
.zoom-strip .eyebrow { margin-bottom: 8px; }
.zoom-strip .zoom-title em { display: block; }
.zoom-strip .zoom-badges { flex-wrap: nowrap; }
@media (max-width: 1320px) {
  .zoom-strip { grid-template-columns: 210px minmax(0, 1fr) auto; }
  .zoom-strip-photo { grid-row: 1 / 3; }
  .zoom-strip > .more { grid-column: 2 / -1; align-self: start; }
}
.flow-short .flow-node { margin-bottom: 10px; }
.flow-short .flow-step h3 { margin-bottom: 0; }
.dark .flow::before { background: rgba(255, 255, 255, .18); }
.dark .flow-node { background: var(--gold); box-shadow: 0 0 0 6px rgba(13, 29, 79, .9), 0 0 24px rgba(255, 215, 0, .35); color: var(--navy); }
.dark .flow-step:hover .flow-node { background: #fff; }
.dark .flow-step h3 { color: var(--on-dark); }

/* Legal pages: side list plus text */
.legal-wrap { max-width: 1120px; }
.legal-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; }
.legal-nav { position: sticky; top: 124px; padding: 18px 14px 14px; }
.legal-nav p { padding: 0 10px; margin-bottom: 8px; font: 600 13px/18px var(--font); color: var(--blue); }
.legal-nav a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--muted); font: 500 14px/20px var(--font); text-decoration: none; transition: color .15s, background-color .15s; }
.legal-nav a:hover { background: rgba(31, 85, 224, .07); color: var(--navy); }
.legal h2 { scroll-margin-top: 124px; }

/* Why hero: the ring stays clear of the heading */
.why-hero .ring { right: -16%; opacity: .45; }

@media (max-width: 1100px) {
  .zoom-strip { grid-template-columns: 190px minmax(0, 1fr); }
  .zoom-strip .zoom-badges { grid-column: 2; }
  .zoom-strip > .more { grid-column: 2; }
  .zoom-strip-photo { grid-row: 1 / 4; }
}
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
  .why-hero .ring { right: -34%; opacity: .3; }
  .zoom-strip { grid-template-columns: 1fr; padding: 14px 14px 18px; }
  .zoom-strip-photo { grid-row: auto; aspect-ratio: 16 / 10; }
  .zoom-strip .zoom-badges, .zoom-strip > .more { grid-column: 1; }
  .zoom-strip .zoom-badges { flex-wrap: wrap; }
  .flow-short .flow-step { align-items: center; }
  .flow-short .flow-node { grid-row: auto; }
  .flow-short .flow-list { gap: 12px; }
}

/* Company Profile button and the layer that opens from it */
.demo-cp { display: inline-flex; gap: 8px; border: 1px solid rgba(255, 255, 255, .3); background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06) 50%, rgba(255, 255, 255, .12)); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5); color: #fff; white-space: nowrap; }
.demo-cp[hidden] { display: none; }
.demo-cp img { width: 20px; height: 20px; transition: transform .6s var(--ease); }
.demo-cp:hover { border-color: var(--gold); color: var(--gold); }
.demo-cp:hover img { transform: rotate(120deg); }
.presenting [data-presenter-exit] { display: inline-block; margin-left: auto; }
.presenting .demo-right { gap: 10px; }
.presenting .demo-go { white-space: nowrap; }
@media (max-width: 1320px) {
  .presenting .demo-right { display: grid; grid-template-columns: auto 1fr; }
  .presenting .demo-cp { grid-row: 2; grid-column: 1 / -1; justify-content: center; }
  .presenting [data-presenter-exit] { justify-self: end; margin-left: 0; }
}
.deck-layer { position: fixed; inset: 0; z-index: 10; background: var(--navy-3); }
.deck-layer[hidden] { display: none; }
.deck-layer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--navy-3); }
.deck-splash { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: radial-gradient(60% 70% at 50% 50%, #17307f, var(--navy-3) 74%); pointer-events: none; }
.deck-splash[hidden] { display: none; }
.deck-splash img { width: min(30vmin, 260px); height: auto; animation: spin 18s linear infinite; }
.deck-splash span { font: 800 clamp(26px, 3.4vw, 46px)/1.1 var(--font); letter-spacing: -.02em; text-transform: uppercase; color: #fff; }

/* Phones: fewer full-width stacks, so long pages stay short */
@media (max-width: 620px) {
  .g-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g-compact .card { padding: 14px 14px 16px; }
  .g-compact .card h3 { margin-bottom: 4px; font-size: 15.5px; line-height: 21px; }
  .g-compact .card p { font-size: 13.5px; line-height: 20px; }
  .stat-grid:not(.stat-grid-4) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat-grid:not(.stat-grid-4) > :last-child:nth-child(odd) { grid-column: auto; }
  .stat-grid:not(.stat-grid-4) .stat { padding: 14px 12px; }
  .stat-grid:not(.stat-grid-4) .stat b { font-size: 26px; }
  .stat-grid:not(.stat-grid-4) .stat span { font-size: 12.5px; line-height: 17px; }
  .zoom-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .zoom-badges img { width: 100%; height: auto; }
  .sol-card, .sol-card:nth-child(-n+3) { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-content: center; column-gap: 14px; padding: 12px; }
  .sol-card .sol-art { grid-row: 1 / 4; align-self: center; margin: 0; padding: 6px 4px; }
  .sol-card .iso { max-height: 84px; }
  .sol-card h3 { margin-bottom: 3px; font-size: 16px; line-height: 21px; }
  .sol-card p { display: -webkit-box; overflow: hidden; font-size: 13.5px; line-height: 19px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .sol-card .more { margin-top: 6px; font-size: 13px; }
  .digest { grid-template-columns: 1fr; gap: 12px; }
  .digest a { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .digest-photo { grid-row: 1 / 3; margin-bottom: 0; }
  .digest-text { margin-top: 0; }
  .cert-panel { padding: 14px; }
  .logos .logo { flex-basis: calc(50% - 6px); }
  .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cert-other small { font-size: 10.5px; line-height: 14px; }
}
