@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter.woff2) format('woff2'); }
/* 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%; }
/* Pages that keep the top strip have a taller header */
html:has(.nav.keep-util) { scroll-padding-top: 124px; }
@media (max-width: 1100px) { html:has(.nav.keep-util) { scroll-padding-top: 96px; } }
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%; height: auto; }
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); }
.nav .util :focus-visible { outline-color: var(--navy); } /* the utility strip is pale: gold would be about 1.4:1 */
.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; text-wrap: balance; }
.title em { font-style: normal; color: var(--blue); }
.dark .title em { color: var(--gold); }
.lead { text-wrap: pretty; max-width: 680px; font-size: 18px; line-height: 30px; color: var(--muted); }
.dark .lead { color: var(--on-dark-muted); }
.big-text { text-wrap: pretty; 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; }
@media (hover: hover) { .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-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.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); }
/* Home, About and Why Kayreach keep the top strip, so About and Why stay marked while the page scrolls */
.nav.keep-util.scrolled { transform: none; }
.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; margin: 0; flex: none; filter: drop-shadow(0 0 6px rgba(255, 215, 0, .45)); animation: markGlow 8s 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; }
.has-mega:hover .mega { transition-delay: .12s; }
.has-mega:focus-within .mega { transition-delay: 0s; }
.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:not([hidden]) { animation: searchIn .28s var(--ease); }
.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: 92px; }
.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(6px); transform: translateX(-10px); animation: chIn .6s var(--ease) forwards; animation-delay: calc(var(--c) * 22ms + 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, 0s); }
@keyframes fadeIn { to { opacity: 1; transform: none; } }
/* For things that are swapped in (a panel, a dialog): they start hidden and rise a little. fadeIn alone has no start state. */
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.hero-lead { max-width: 560px; font-size: 18px; line-height: 30px; color: var(--on-dark-muted); }
.hero-art { position: relative; width: 100%; aspect-ratio: 760 / 576; transform: translateY(calc(var(--sy, 0) * 1px)); }

/* Home illustration: one floor, four rooms (src/pillar-floor.js) */
.floor-art { display: block; width: 100%; height: 100%; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-composite: intersect; }
.floor-hint { position: absolute; top: 0; right: 0; max-width: 100%; padding: 3px 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(8, 18, 56, .6); color: var(--on-dark-muted); font: 500 12px/18px var(--font); pointer-events: none; transition: opacity .4s; }
.floor-hint.off { opacity: 0; }
.floor-label { position: absolute; padding: 3px 11px; border: 1px solid rgba(255, 215, 0, .6); border-radius: 999px; background: rgba(8, 18, 56, .88); color: #fff; font: 600 13px/19px var(--font); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .18s; }
.floor-label.on { opacity: 1; }
.floor-label[data-side="left"] { transform: translate(-14px, calc(-100% - 38px)); }
.floor-label[data-side="right"] { transform: translate(calc(-100% + 14px), calc(-100% - 38px)); }
.floor-label[data-side="top"] { transform: translate(calc(-100% - 22px), -50%); }
.floor-label[data-side="bottom"] { transform: translate(22px, -50%); }

/* 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; }

/* 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; }
/* Only cards that are links or buttons rise and show the gold line; plain cards keep the soft glow */
@media (hover: hover) { :where(a, button).lift:hover { transform: perspective(900px) translateY(-5px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: var(--shadow-up); } }
:where(a, button).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; text-wrap: balance; }
.card p, .card li { font-size: 15px; line-height: 24px; color: var(--muted); text-wrap: pretty; }
.mark { display: block; margin-bottom: 10px; font: 800 26px/1 var(--font); background-image: linear-gradient(180deg, #a87e00 0%, #8a6500 100%); -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; }
@media (min-width: 861px) { .reasons + .glass.note { margin-top: 24px; margin-left: auto; width: calc((100% - 20px) * 7 / 12); } }

/* 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 18.5px/26px var(--font); letter-spacing: -.012em; text-wrap: balance; }
.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 calc(var(--n, 25) * 2.8s) linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; }
.marquee:hover .mq-track, .marquee:focus-within .mq-track, .marquee.hold .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; max-width: calc((100% - 72px) / 7 * var(--cols, 7) + (var(--cols, 7) - 1) * 12px); margin-inline: auto; } /* tiles keep the seven-column width; --cols only sets how many sit in a row */
.logos .logo { flex: 0 1 calc((100% - (var(--cols, 7) - 1) * 12px) / var(--cols, 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); }
@media (hover: hover) { .digest a:hover .digest-photo img { transform: scale(1.04); } }
.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(34px, 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); line-height: 1.02; letter-spacing: -.03em; }
.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: 134px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.why-title { font: 800 clamp(34px, 5.4vw, 66px)/1.02 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 120s 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 .n { font: 700 13px/28px var(--font); letter-spacing: .04em; }
.reason-btn[aria-selected="true"] .n { color: #8a6300; }
.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 { display: grid; padding: 22px 28px; }
.reason-panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 18px; animation: panelIn .45s var(--ease); }
.reason-stage .reason-panel[role="tabpanel"][hidden] { display: grid; visibility: hidden; animation: 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: panelIn .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; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.seg { position: relative; display: inline-flex; gap: 2px; min-width: 0; max-width: 100%; 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 2.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: var(--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 12.5px/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: 13px; line-height: 18px; 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 13px/18px 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 .45s var(--ease); }
@media (hover: hover) { .project:hover .project-media img { transform: scale(1.04); } }
.project-media.is-logo { display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.project-media.is-logo img { width: 52%; height: 52%; object-fit: contain; }
.project-name { text-wrap: balance; 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); }
a.project { color: inherit; text-decoration: none; }
.project-scope { padding: 4px 10px 0; font-size: 13.5px; line-height: 20px; font-weight: 600; color: var(--navy); }
.dark .mark { background-image: var(--gold-text); }
.form-privacy { margin: 0; font-size: 13px; line-height: 20px; color: var(--muted); text-wrap: balance; }
.form-privacy a { font-weight: 600; }
.field input, .field textarea, .field select { transition: border-color .2s, box-shadow .2s; }
.field-err:not(:empty) { animation: panelIn .2s var(--ease); }
/* Project references on a solution page: on phones and small tablets one row to swipe, the next card peeking in */
@media (min-width: 621px) and (max-width: 860px) {
  .project-grid.is-ref:not(:has(> .project:only-child)) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .project-grid.is-ref:not(:has(> .project:only-child))::-webkit-scrollbar { display: none; }
  .project-grid.is-ref:not(:has(> .project:only-child)) .project { flex: 0 0 44%; scroll-snap-align: center; }
}
/* Projects grid with two or three columns: each card spans four shared rows, so photo, name, meta and scope line up across a row */
@media (min-width: 621px) {
  .project-grid:not(.is-ref) { row-gap: 0; margin-bottom: -20px; } /* the cards' bottom margin is the row gap; the last row's margin is taken back */
  .project-grid:not(.is-ref) > .project:not([hidden]) { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: 20px; }
}
/* Four reference projects (Installation): two by two on small laptops, four across on wide screens */
@media (min-width: 861px) { .project-grid.is-ref.is-four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1101px) { .project-grid.is-ref.is-four { grid-template-columns: repeat(4, 1fr); } }
/* A solution with one reference project shows it as one horizontal feature card */
@media (min-width: 621px) {
  .project-grid.is-ref > .project:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 28px; align-items: start; }
  .project-grid.is-ref > .project:only-child .project-media { grid-row: 1 / -1; margin-bottom: 0; }
  .project-grid.is-ref > .project:only-child > :not(.project-media) { grid-column: 2; }
  .project-grid.is-ref > .project:only-child .project-name { grid-row: 2; font-size: 20px; line-height: 28px; }
  .project-grid.is-ref > .project:only-child .project-meta { grid-row: 3; }
  .project-grid.is-ref > .project:only-child .project-scope { grid-row: 4; padding-top: 4px; }
}
@media (max-width: 620px) {
  .project-grid.is-ref { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .project-grid.is-ref::-webkit-scrollbar { display: none; }
  .project-grid.is-ref .project { flex: 0 0 82%; scroll-snap-align: center; }
  .project-grid:not(.is-ref) .project-media { aspect-ratio: 16 / 9; }
}
.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: panelIn .28s var(--ease) both; }
.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: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(190px, 1fr); gap: 6px; padding: 6px; background: var(--navy-3); }
.modal-gallery.single { grid-template-columns: minmax(0, 1fr); }
.modal.no-photos { width: min(560px, calc(100vw - 32px)); }
.modal.no-photos .modal-box { grid-template-columns: minmax(0, 1fr); }
.modal.no-photos .modal-gallery { display: none; }
.shot { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: 12px; background: var(--navy-2); }
.shot:first-child:nth-last-child(odd) { grid-column: 1 / -1; grid-row: span 2; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot.whole::before { content: ""; position: absolute; inset: -16px; background: var(--photo) center / cover; filter: blur(14px) brightness(.55); }
.shot.whole img { object-fit: contain; }
.modal-body { position: sticky; top: 0; align-self: start; 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; white-space: nowrap; }
.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; }
/* Side by side: the message box keeps its height when error lines make the left column taller */
@media (min-width: 861px) { .form-msg { align-self: start; } .form-msg textarea { flex: none; height: 232px; } }
.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; }
.form-check:empty { display: none; }

/* Thank-you dialog after the Contact form */
.thanks { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(8, 18, 56, .8); }
.thanks[open] { animation: thanksIn .55s var(--ease) both; }
.thanks::backdrop { background: rgba(8, 18, 56, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.thanks-box { position: relative; max-height: calc(100dvh - 32px); overflow: auto; }
.thanks-close { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1); color: #fff; }
.thanks-close:focus-visible { outline-color: var(--gold); }
.thanks-top { position: relative; display: flex; align-items: center; justify-content: center; height: 176px; overflow: hidden; background: radial-gradient(70% 110% at 50% 30%, #1d3a97, var(--navy-3) 78%); }
.thanks-ring { position: absolute; right: -74px; bottom: -92px; width: 250px; height: 250px; opacity: .3; animation: spin 120s linear infinite; }
.thanks-pulse { position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: thanksPulse 1.5s .75s var(--ease) both; }
.thanks-mark { position: relative; width: 96px; height: 96px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.thanks-disc { fill: rgba(255, 255, 255, .08); }
.thanks-arc { stroke: var(--gold); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; animation: thanksDraw .7s .2s var(--ease) forwards; }
.thanks-tick { stroke: #fff; stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: thanksDraw .4s .75s var(--ease) forwards; }
.thanks-body { padding: 26px 30px 30px; }
.thanks-body > * { animation: thanksRise .55s var(--ease) both; }
.thanks-body > :nth-child(2) { animation-delay: .1s; }
.thanks-body > :nth-child(3) { animation-delay: .16s; }
.thanks-body > :nth-child(4) { animation-delay: .22s; }
.thanks-body > :nth-child(5) { animation-delay: .28s; }
.thanks-body > :nth-child(6) { animation-delay: .4s; }
.thanks-body h2 { font: 800 28px/34px var(--font); letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.thanks-lead { margin-top: 4px; color: var(--muted); }
.thanks-chip { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(31, 85, 224, .09); color: var(--navy-2); font-size: 14px; font-weight: 600; line-height: 22px; }
.thanks-chip[hidden] { display: none; }
.thanks-body h3 { margin-top: 22px; font: 600 14px/20px var(--font); color: var(--muted); }
.thanks-steps { margin-top: 10px; counter-reset: step; }
.thanks-steps li { position: relative; padding: 0 0 14px 40px; counter-increment: step; font-size: 15px; line-height: 26px; }
.thanks-steps li:last-child { padding-bottom: 0; }
.thanks-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #eef2fc; color: var(--navy); font-size: 13px; font-weight: 700; line-height: 26px; text-align: center; }
.thanks-steps li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 2px; width: 2px; background: var(--line); }
.thanks-steps .is-done::before { content: "\2713"; background: var(--gold); color: var(--on-gold); }
.thanks-steps b { font-weight: 600; overflow-wrap: anywhere; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.thanks-actions .btn { flex: 1 1 200px; padding-inline: 14px; white-space: nowrap; }
.thanks-chat { color: var(--navy); border-color: rgba(13, 29, 79, .2); background: #fff; }
@keyframes thanksIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes thanksRise { from { opacity: 0; transform: translateY(12px); } }
@keyframes thanksDraw { to { stroke-dashoffset: 0; } }
@keyframes thanksPulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@media (max-width: 560px) { .thanks-top { height: 148px; } .thanks-body { padding: 22px; } .thanks-body h2 { font-size: 24px; line-height: 30px; } }
@media (max-height: 680px) { .thanks-top { height: 104px; } .thanks-mark, .thanks-pulse { width: 68px; height: 68px; } }
@media (prefers-reduced-motion: reduce) {
  .thanks[open], .thanks-body > *, .thanks-ring { animation: none; }
  .thanks-pulse { display: none; }
  .thanks-arc, .thanks-tick { animation: none; stroke-dashoffset: 0; }
}

/* 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; }
@media (hover: hover) { .js [data-reveal].lift.in:where(a, button):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; }
  .nav-links { display: none; }
  .nav-cta { min-height: 38px; padding: 6px 14px; font-size: 13.5px; }
  .why-hero-in { padding-top: 104px; }
  .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 { padding-top: 112px; }
  .page-hero { padding-top: 104px; }
  .certs-box { grid-template-columns: 1fr; }
  .brand-side { position: static; }
  .cert-panel { min-height: 0; }
  .sol-card, .sol-card:nth-child(-n+3) { grid-column: span 6; }
  .sol-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 24px; }
  .sol-card:last-child:nth-child(odd) .sol-art { grid-column: 1; grid-row: 1 / -1; align-self: center; margin: 0; }
  .sol-card:last-child:nth-child(odd) > :not(.sol-art) { grid-column: 2; } /* text centred beside the picture, rows sized to the text */
  .sol-card:last-child:nth-child(odd) h3 { grid-row: 2; }
  .sol-card:last-child:nth-child(odd) p { grid-row: 3; }
  .sol-card:last-child:nth-child(odd) .more { grid-row: 4; }
  .dash > .c5, .dash > .c7 { grid-column: 1 / -1; }
  .split > .big-text { max-width: 36em; }
}
@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; }
  .hero-in { grid-template-columns: 1fr; gap: 8px; padding-bottom: 132px; }
  .hero-title { font-size: min(8.2vw, 56px); } /* one column: continues the phone size instead of dropping to 34 px */
  .hero-art { max-width: 560px; margin-inline: auto; }
  .dash > .c4 { grid-column: 1 / -1; }
  .reasons { grid-template-columns: 1fr; }
  .sol-hero .tilt { width: 100%; max-width: 520px; margin-inline: auto; }
  .stat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid-4 > :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; }
  .modal-gallery { grid-auto-rows: minmax(140px, auto); }
  .modal-body { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@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; min-height: 44px; border-radius: 11px; font-size: 13.5px; }
  .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, .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; } }

/* Four pillars panel */
.demo { display: contents; }
.demo-panel { grid-column: 1 / -1; position: relative; z-index: 2; overflow: hidden; display: grid; gap: 12px; padding: 16px 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-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.demo-k { font: 600 12.5px/18px var(--font); color: var(--gold); }
.demo-title { font: 700 20px/26px var(--font); letter-spacing: -.015em; }
.demo-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.demo-tabs button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--on-dark-muted); text-align: left; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .25s var(--ease); }
.demo-tabs span { font: 700 12px/16px var(--font); color: var(--gold); transition: color .2s; }
.demo-tabs b { font: 600 13.5px/18px var(--font); }
.demo-tabs i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.demo-tabs button:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.demo-tabs button[aria-pressed="true"] { border-color: #fff; background: #fff; color: var(--navy); transform: translateY(-2px); }
.demo-tabs button[aria-pressed="true"] span { color: var(--blue); }
.demo-tabs button[aria-pressed="true"] i { animation: pipRun 12s linear forwards; }
.demo.paused .demo-tabs button[aria-pressed="true"] i { animation: none; transform: none; }
@keyframes pipRun { to { transform: scaleX(1); } }
.demo-bodies { display: grid; }
.demo-body { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 32px; visibility: hidden; opacity: 0; }
.demo-body.on { visibility: visible; opacity: 1; }
.demo-body.on .demo-copy { animation: pillarIn .5s var(--ease) both; }
.demo-body.on .demo-links p, .demo-body.on .demo-links li { animation: pillarIn .5s var(--ease) .12s both; }
.demo-body.on .demo-links li + li { animation-delay: .2s; }
@keyframes pillarIn { from { opacity: 0; transform: translateY(10px); } }
.demo-h { margin-bottom: 2px; font: 700 17px/24px var(--font); letter-spacing: -.01em; }
.demo-p { font-size: 14px; line-height: 21px; color: var(--on-dark-muted); }
.demo-links { display: flex; align-items: center; gap: 12px; }
.demo-links p { font: 500 12.5px/18px var(--font); color: var(--on-dark-muted); }
.demo-links ul { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(255, 215, 0, .45); border-radius: 999px; color: var(--gold); font: 600 13px/18px var(--font); text-decoration: none; transition: color .2s, background .2s; }
.demo-links svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.demo-links a:hover { background: var(--gold); color: var(--on-gold); }
.demo-links a:hover svg { transform: translateX(3px); }

@media (max-width: 1100px) { .demo-body { grid-template-columns: minmax(0, 1fr); align-content: start; } }
@media (min-width: 621px) and (max-width: 760px) { .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* long English pillar names do not fit four across */
@media (max-width: 620px) { .demo-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .demo-tabs button { min-height: 62px; padding: 8px 10px; gap: 8px; } .demo-tabs b { font-size: 12.5px; line-height: 16px; } .demo-links { display: block; } .demo-links p { display: none; } .demo-links ul { flex-direction: column; align-items: flex-start; gap: 6px; } .demo-links a { min-height: 40px; padding: 8px 14px; font-size: 13px; line-height: 18px; } .demo-p { font-size: 13.5px; line-height: 20px; } }
/* 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: panelIn .4s var(--ease); }
.jr-panel:not(:has(.jr-photo)) { grid-template-columns: minmax(0, 1fr); }
.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; }
  /* the row scrolls: soft fades show which side has more years */
  .jr-scroll { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
  .jr-scroll.at-start { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .jr-scroll.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
  .jr-scroll.at-start.at-end { -webkit-mask-image: none; mask-image: none; }
  .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: minmax(180px, 42%) minmax(0, 1fr); }
  .jr-photo { aspect-ratio: auto; min-height: 176px; }
  .jr-text { padding: 2px 8px 8px; }
}
@media (max-width: 620px) {
  .jr-panel { grid-template-columns: 1fr; }
  .jr-photo { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .jr-comet { display: none; } }


@media (max-width: 860px) {
  .seg-bar { flex-direction: column; align-items: stretch; }
  .seg { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .seg.at-end { -webkit-mask-image: none; mask-image: 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 3.2s ease-in-out 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 3.2s linear infinite; }
.iso .pk.b { animation-delay: -.8s; }
.iso .pk.c { animation-delay: -1.6s; }
.iso .pk.d { animation-delay: -2.4s; }
@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 2.8s linear infinite; }
.iso .wave.b { animation-delay: -1.4s; }
.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); }
/* Off-screen scenes rest; app.js adds iso-gate only when it is watching them */
.iso-gate .iso:not(.live) * { animation-play-state: paused; }
@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 (min-width: 861px) and (max-width: 1100px) { .contact-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 28px; } .quick { gap: 10px; padding: 10px 12px; } .quick-ic { width: 34px; height: 34px; } }
@media (max-width: 620px) { .quick-list { grid-template-columns: 1fr; } }
/* Contact on phones: the form comes first, the contact tiles follow it, and LinkedIn stays in the footer only */
.quick-after { display: none; margin-top: 20px; }
@media (max-width: 620px) { .contact-top .quick-list { display: none; } .quick-after { display: grid; } .quick-after .quick-li { display: none; } }

@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 18.5px/26px var(--font); letter-spacing: -.012em; text-wrap: balance; }
.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 { max-width: none; }
  .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 .2s, background-color .2s; }
.legal-nav a:hover, .legal-nav a[aria-current] { background: rgba(31, 85, 224, .07); color: var(--navy); }
.legal-nav a[aria-current] { font-weight: 600; }
.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: 620px) {
  .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; }
}
@media (max-width: 860px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); } /* minmax(0, ...): the one-line list of parts must not push the column wider than the screen */
  .legal-nav { position: static; padding: 8px; }
  .legal-nav p { display: none; }
  .legal-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .legal-nav a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .legal-nav ul { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .legal-nav ul.at-end { -webkit-mask-image: none; mask-image: none; }
  .why-hero .ring { right: -34%; opacity: .3; }
  .flow-short .flow-step { align-items: center; }
  .flow-short .flow-node { grid-row: auto; }
  .flow-short .flow-list { gap: 12px; }
}

/* Page not found */
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-bottom: 40px; }
@media (max-width: 620px) { .nf-links .btn { flex: 1 1 calc(50% - 5px); padding-inline: 12px; } }

/* Company Profile button and the layer that opens from it */

/* Phones: fewer full-width stacks, so long pages stay short */
@media (max-width: 620px) {
  .g-compact, .split + .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g-compact .card, .split + .g3 .card { padding: 14px 14px 16px; }
  .g-compact .card h3, .split + .g3 .card h3 { margin-bottom: 4px; font-size: 15.5px; line-height: 21px; }
  .g-compact .card p, .split + .g3 .card p { font-size: 13.5px; line-height: 20px; }
  .split + .g3 .mark { margin-bottom: 6px; font-size: 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:last-child:nth-child(odd) { grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: none; column-gap: 14px; } /* the tablet rule for the 7th card must not reach phones */
  .sol-card:last-child:nth-child(odd) .sol-art { grid-row: 1 / 4; }
  .sol-card:last-child:nth-child(odd) > :not(.sol-art) { grid-row: auto; }
  .sol-card .iso { max-height: 84px; }
  .sol-card h3 { margin-bottom: 3px; font-size: 16px; line-height: 21px; }
  .sol-card p { font-size: 13.5px; line-height: 19px; } /* in full: no clamp, some descriptions run to 6 or 7 lines */
  .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: 11.5px; line-height: 15px; }
}

/* Review fixes, 2026-11-07 (Tahap 1) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Contact on phones and tablets: in the header from 621 px, as a hero button below that */
.hero-contact { display: none !important; }
@media (max-width: 620px) {
  .nav-cta { display: none; }
  .hero-contact { display: inline-flex !important; }
}
@media (min-width: 621px) { .hero-contact-row { display: none; } }
.hero-contact-row { margin-top: 20px; }
.nav-cta[aria-current] { box-shadow: inset 0 0 0 2px rgba(13, 29, 79, .45); }

/* Phone menu: the icon turns into a cross, the page behind is dimmed and does not scroll */
.nav-toggle svg + svg { display: none; }
.nav.open .nav-toggle svg:first-child { display: none; }
.nav.open .nav-toggle svg + svg { display: block; }
html.sheet-open body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(8, 18, 56, .55); }
html { scrollbar-gutter: stable; }
html.sheet-open, html:has(dialog[open]) { overflow: hidden; }
.nav-sheet, .modal-box, .thanks-box, .search { overscroll-behavior: contain; }
@media (min-width: 1101px) { .nav-sheet { display: none !important; } html.sheet-open body::after { display: none; } }
.sheet-sub > summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-weight: 600; font-size: 17px; color: #dbe5ff; list-style: none; cursor: pointer; }
.sheet-sub > summary::-webkit-details-marker { display: none; }
.sheet-sub > summary::after { content: ""; width: 8px; height: 8px; margin: -4px 6px 0 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.sheet-sub[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.sheet-sub > summary.is-current { color: var(--gold); }
.sheet-sub-list { display: flex; flex-direction: column; margin: 0 0 8px 2px; padding-left: 2px; border-left: 1px solid rgba(255, 255, 255, .16); }
.sheet-sub-list a { padding: 8px 0 8px 14px; font-weight: 500; font-size: 15px; line-height: 21px; color: #c6d2f2; text-decoration: none; }
.sheet-sub-list a[aria-current] { color: var(--gold); }
.mega-list a[aria-current] { background: rgba(255, 255, 255, .08); }
.mega-list a[aria-current] b { color: var(--gold); }

/* Dialog close buttons sit on the dialog, so they stay in view while its content scrolls */
.modal > .modal-close, .thanks > .thanks-close { position: absolute; top: 12px; right: 12px; z-index: 3; }
.modal-cta { margin-top: 24px; }

/* Projects: a filter with no result says so and offers a reset */
.project-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 4px; padding: 20px 24px; }
.project-empty[hidden] { display: none; }
.project-empty p { margin: 0; font-weight: 600; }
.logo.found { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 215, 0, .55), 0 14px 30px -14px rgba(201, 150, 0, .75); transition: box-shadow .3s, border-color .3s; }

/* Search: a group with more than six results can be opened in full */
.search-more { display: block; margin: 2px 0 6px 10px; padding: 4px 0; border: 0; background: none; color: var(--gold); font: 600 13.5px/20px var(--font); cursor: pointer; }
.search-more:hover, .search-more:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Contact form: clear borders, one error line per field, a select that looks like the other fields */
.field input, .field textarea, .field select { border-color: #8a93ad; }
.field select { -webkit-appearance: none; appearance: none; min-height: 48px; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1d4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px; }
.field .bad { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.field-err { font-weight: 500; font-size: 13.5px; line-height: 19px; color: #b42318; }
.field-err:empty { display: none; }
.form-req { margin: 0; font-weight: 500; font-size: 13px; color: var(--muted); }
.form-noscript { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: #fff4e5; font-size: 14px; }
.form-note a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn:disabled { opacity: .72; cursor: progress; transform: none; }

/* Solution pages: breadcrumb, facts under the hero, and the other solutions before the closing */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 14px; font-size: 13.5px; line-height: 20px; color: var(--muted); }
.crumbs a { font-weight: 600; color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { font-weight: 600; color: var(--text-2); }
.proof-wrap { padding-top: 8px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding: 18px 24px; }
.proof-item { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.proof-item b { font: 800 24px/1 var(--font); letter-spacing: -.02em; color: var(--ink); }
.proof-item span { font-size: 14px; line-height: 20px; color: var(--text-2); }
.proof-badge { align-items: center; }
.proof-badge img { width: 42px; height: 42px; object-fit: contain; }
.proof .more { margin-left: auto; }
@media (max-width: 860px) { .proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 12px 22px; } .proof-item:not(.proof-badge) { flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; } .proof-badge, .proof .more { grid-column: 1 / -1; margin-left: 0; } }
@media (max-width: 620px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 18px; } }
@media (min-width: 621px) and (max-width: 860px) { .split + .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 861px) and (max-width: 1100px) { .reason-stage { padding: 18px 20px; } }
.other-sols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.other-sols a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px 18px; color: var(--ink); text-decoration: none; }
.other-sols span { font-weight: 700; font-size: 12px; color: var(--blue); }
.other-sols b { flex: 1; font-weight: 700; font-size: 15.5px; line-height: 21px; }
.other-sols svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .other-sols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .other-sols { grid-template-columns: 1fr; } }


/* Tap areas on phones: about 44 px where it costs no page height (padding plus an equal negative margin), 40 px where rows stack */
@media (max-width: 620px) {
  .crumbs a { padding-block: 12px; margin-block: -12px; }
  .more, .place-links a { padding-block: 9px; margin-block: -9px; }
  .form-privacy a, .foot-social, .foot-grid p a, .foot-legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .foot-grid p a, .foot-legal a { padding-block: 11px; margin-block: -11px; }
  .sol-card .more { margin-top: -3px; }
  .place-links a::before { top: 16px; }
  .foot-social { margin-top: 0; }
  .foot-links li { padding: 0; }
  .foot-links a { display: block; padding: 7px 0; } /* 36 px pitch: the footer lists are long, 44 would add about 150 px */
  .brand-btn { min-height: 40px; }
  .brand-cat summary { min-height: 44px; }
}
@media (max-width: 860px) {
  .seg { padding: 2px; }
  .seg-btn { padding: 12px 14px; }
}
@media (max-width: 1100px) {
  .sheet-end .lang { gap: 6px; }
  .sheet-end .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; font-size: 14px; border-radius: 10px; }
  .sheet-sub-list a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
}
.thanks > .thanks-close { top: 8px; right: 8px; width: 44px; height: 44px; }

/* Printing shows every section, without the header, the closing band or the moving parts */
@media print {
  .nav, .progress, .skip, .search, .closing, .ring-corner, .sweep, .pointer-glow, .hero-contact, .modal, .thanks { display: none !important; }
  .js [data-reveal], .fade-in, .ch, .js .tilt .frame { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  body::before { display: none; }
  body { background: #fff; }
  .page-hero { padding-top: 24px; }
  .dark, .hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
