/* ==========================================================
   Clanizon v3 — "Connected factory" theme
   ========================================================== */
:root {
  --bg: #f6f4ef;          /* warm ivory base — no pure white */
  --bg-soft: #eceff6;     /* mist */
  --paper: #fbfaf6;       /* card surface */
  --lav: #eeecf8;
  --sand: #f1eadc;
  --mint: #e6f1ec;
  --sky: #e6edfa;
  --ink: #1f2226;
  --ink-2: #33415f;
  --muted: #66748f;
  --line: rgba(31, 34, 38, 0.1);
  --line-2: rgba(31, 34, 38, 0.18);
  --blue: #2b2e33;
  --blue-ink: #1f2226;
  --blue-soft: rgba(31, 34, 38, 0.08);
  --yellow: #ffd23f;
  --navy: #1f2226;
  --navy-2: #2b2e33;
  --green: #12b76a;
  --radius: 18px;
  --maxw: 1240px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --shadow: 0 1px 2px rgba(31,34,38,.05), 0 12px 32px -16px rgba(31,34,38,.18);
  --shadow-lg: 0 2px 6px rgba(31,34,38,.05), 0 30px 60px -24px rgba(31,34,38,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 128px; position: relative; }
.soft { background: var(--bg-soft); }
.bg-lav { background: var(--lav); }
.bg-sand { background: var(--sand); }
.bg-mint { background: var(--mint); }
.bg-sky { background: var(--sky); }
/* sections that slide over the previous one with rounded tops */
.sheet { border-radius: 48px 48px 0 0; margin-top: -48px; position: relative; z-index: 1; box-shadow: 0 -20px 50px -30px rgba(31,34,38,.25); }
.label { font-family: var(--mono); font-size: 13px; color: var(--blue-ink); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
.label b { font-weight: 500; color: var(--muted); }
.h2 { font-size: clamp(34px, 4.8vw, 60px); margin-top: 18px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 560px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 64px; }
.head > div { max-width: 720px; }
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--yellow); z-index: -1; border-radius: 4px; transform-origin: 0 50%; }
.mark { z-index: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -12px rgba(31,34,38,.65); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(31,34,38,.75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { transform: translateY(-2px); }

/* ---------- Loader ---------- */
.loader { display: none; }
/* smooth page opening: hero stays hidden until the intro animation takes over */
.js:not(.ready) .hero-copy, .js:not(.ready) .hero-art, .js:not(.ready) .nav { opacity: 0; animation: openFailsafe .6s 2.5s forwards; }
@keyframes openFailsafe { to { opacity: 1; } }
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-gear { width: 56px; height: 56px; color: var(--blue); }
.loader-gear svg { width: 100%; height: 100%; animation: spin 2.4s linear infinite; }
.loader-word { font-weight: 800; font-size: 22px; letter-spacing: .28em; padding-left: .28em; }
.loader-bar { width: 180px; height: 3px; background: rgba(31,34,38,.1); border-radius: 3px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), #6b8cff); transform-origin: 0 50%; transform: scaleX(0); }
.loader.done { pointer-events: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); transition: transform .45s var(--ease), background .35s, box-shadow .35s; }
/* solid bar (no backdrop blur): blur on a fixed bar repaints every scroll frame */
.nav.scrolled { background: #f6f4ef; box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(31,34,38,.25); }
.nav.hide { transform: translateY(-100%); }
.nav-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-gear { width: 30px; height: 30px; color: var(--blue); }
.brand-gear svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.brand:hover .brand-gear svg { transform: rotate(120deg); }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s; }
.menu a:hover { background: var(--bg-soft); color: var(--ink); }
.menu a.active { color: var(--blue-ink); }
.nav-cta { padding: 12px 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.nav.open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: 72px; position: relative; overflow: hidden; background: linear-gradient(180deg, #e4ebf9 0%, #ebeef6 45%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(31,34,38,.09) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.kicker i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; }
.kicker i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
.hero-title { font-size: clamp(44px, 5.2vw, 76px); margin-top: 24px; }
.hero-title .line > span { white-space: nowrap; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin-top: 26px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero-points svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 6% -4% 0 4%; border-radius: 40px; background: radial-gradient(60% 60% at 70% 30%, rgba(31,34,38,.14), transparent 70%), radial-gradient(50% 50% at 20% 80%, rgba(255,210,63,.28), transparent 70%); filter: blur(10px); }
.factory { position: relative; width: 100%; height: auto; overflow: visible; }
.scene3d { display: none; }
.has-3d .scene3d { display: block; position: relative; width: 112%; margin-left: -6%; aspect-ratio: 1.12; }
.has-3d .scene3d canvas { width: 100%; height: 100%; display: block; }
.has-3d .factory { display: none; }
.has-3d::before { display: none; }
.has-3d .chip-1 { top: 4%; left: 0; }
.has-3d .chip-2 { bottom: 8%; right: 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 700; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.chip small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); }
.chip .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .ic svg { width: 18px; height: 18px; }
.chip-1 { left: -2%; top: 8%; }
.chip-1 .ic { background: rgba(18,183,106,.12); color: var(--green); }
.chip-2 { right: 0; bottom: 4%; animation-delay: -2.5s; }
.chip-2 .ic { background: rgba(255,210,63,.3); color: #9a6b00; }

/* Factory scene animation */
.flow { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; opacity: .55; animation: dash 1s linear infinite; }
.spin { animation: spin 1.1s linear infinite; }
.spin-slow { animation: spin 3s linear infinite; }
.box { animation: move 8s linear infinite; animation-delay: var(--d); }
.box-body { animation: paint 8s linear infinite; animation-delay: var(--d); fill: #c9d1e2; }
.box-lid { fill: rgba(31,34,38,.12); }
.box-tick { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: tick 8s linear infinite; animation-delay: var(--d); }
.beam { fill: var(--yellow); animation: beam 1.6s ease-in-out infinite; }
.scanline { stroke: #f2b600; stroke-width: 2; animation: scan 1.6s ease-in-out infinite; }
.blink { animation: blink 1.4s steps(1) infinite; }
.ping-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.2s ease-out infinite; }
.arm-low { transform-box: view-box; transform-origin: 530px 352px; animation: armLow 4s var(--ease) infinite alternate; }
.arm-up { transform-box: view-box; transform-origin: 530px 276px; animation: armUp 4s var(--ease) infinite alternate; }
.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 2.6s ease-in-out infinite alternate; }

/* ---------- Full-screen photo hero ---------- */
.hero-x { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; background: #1f2226; overflow: hidden; isolation: isolate; }
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 0s 1.6s; }
.slide.on img { transform: scale(1.02); transition: transform 9s cubic-bezier(.2,.6,.3,1); }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,15,38,.92) 0%, rgba(7,15,38,.72) 38%, rgba(7,15,38,.25) 72%, rgba(7,15,38,.35) 100%),
    linear-gradient(0deg, rgba(7,15,38,.85) 0%, rgba(7,15,38,0) 38%),
    linear-gradient(180deg, rgba(7,15,38,.55) 0%, rgba(7,15,38,0) 22%); }
.hero-x-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding-top: 120px; padding-bottom: 130px; }
.hero-x .hero-copy { max-width: 760px; }
.hero-x .hero-title { color: #fff; font-size: clamp(44px, 5.6vw, 84px); }
.hero-x .hero-title em { color: #ffc629; }
.hero-x .hero-sub { color: rgba(255,255,255,.78); max-width: 580px; }
.hero-x .hero-points li { color: rgba(255,255,255,.85); }
.hero-x .hero-points svg { color: var(--yellow); }
.kicker-glass { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kicker-glass i { background: rgba(255,255,255,.12); }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px #fff; }

/* glass live-data card */
.live { width: 320px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 30px 60px -30px rgba(0,0,0,.6); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); animation: bob 6s ease-in-out infinite; }
.live-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.live-on { display: inline-flex; align-items: center; gap: 6px; color: #5ee6a0; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; animation: ping 2s infinite; }
.live-oee { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.live-oee b { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.live-oee small { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.65); }
.live-rows { display: grid; gap: 10px; margin-top: 18px; }
.live-row { display: grid; grid-template-columns: 72px 1fr 40px; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.85); }
.live-row em { font-style: normal; color: #5ee6a0; text-align: right; }
.live-row em.idle { color: var(--yellow); }
.lbar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.lbar i { display: block; height: 100%; border-radius: 6px; background: #3ddc84; transition: width 1.4s var(--ease), background .4s; }
.lbar i.idle { background: var(--yellow); }
.lbar i.blue { background: #ffc629; }
.live-row em.blue { color: #a9b9ff; }
.live-alert { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 12px; border-radius: 14px; background: rgba(255,210,63,.14); font-size: 13.5px; font-weight: 700; }
.live-alert .ic { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 800; }
.live-alert small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: rgba(255,255,255,.7); }

/* slide captions / progress */
.slide-nav { position: absolute; left: 0; right: 0; bottom: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.slide-tab { text-align: left; background: none; border: 0; padding: 0 0 14px; cursor: pointer; color: rgba(255,255,255,.55); position: relative; transition: color .3s; }
.slide-tab:hover, .slide-tab.on { color: #fff; }
.st-n { font-family: var(--mono); font-size: 12px; margin-right: 10px; color: var(--yellow); }
.st-t { font-weight: 600; font-size: 14.5px; }
.st-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; }
.st-bar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.slide-tab.on .st-bar i { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero-x.paused .slide-tab.on .st-bar i { animation-play-state: paused; }

/* nav sits on the dark photo until scrolled */
.nav:not(.scrolled):not(.open) .brand, .nav:not(.scrolled):not(.open) .brand-gear { color: #fff; }
.nav:not(.scrolled):not(.open) .menu a { color: rgba(255,255,255,.85); }
.nav:not(.scrolled):not(.open) .menu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav:not(.scrolled):not(.open) .nav-cta { background: #fff; color: var(--ink); }
.nav:not(.scrolled):not(.open) .burger { background: #fff; }
.nav:not(.scrolled):not(.open) .burger span { background: var(--ink); }

@media (max-width: 1080px) {
  .hero-x-inner { grid-template-columns: 1fr; }
  .live { display: none; }
  .slide-nav { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
}
@media (max-width: 640px) {
  .hero-x-inner { padding-top: 120px; padding-bottom: 170px; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,15,38,.6) 0%, rgba(7,15,38,.78) 50%, rgba(7,15,38,.92) 100%); }
  .st-t { font-size: 12.5px; }
  .slide-nav { bottom: 22px; gap: 10px 14px; }
}

/* ---------- Logos strip ---------- */
.trust { padding-block: 40px 24px; }
.trust p { text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track { will-change: transform; }
.logos-track img { height: 64px; width: auto; margin-right: 22px; padding: 8px 16px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(31,34,38,.06); filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s; }
.logos-track img:hover { filter: none; opacity: 1; }

/* ---------- Solutions ---------- */
.sol { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }
.sol-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sol-tab { position: relative; width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 16px; background: transparent; border: 0; cursor: pointer; transition: background .3s; overflow: hidden; }
.sol-tab:hover { background: rgba(31,34,38,.04); }
.sol-tab .n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.sol-tab .t { font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); transition: color .3s; }
.sol-tab .tag { font-family: var(--mono); font-size: 11px; color: var(--blue-ink); background: var(--blue-soft); padding: 4px 9px; border-radius: 999px; }
.sol-tab .prog { position: absolute; left: 22px; right: 22px; bottom: 8px; height: 2px; background: var(--line); border-radius: 2px; opacity: 0; transition: opacity .3s; }
.sol-tab .prog i { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.sol-tab[aria-selected="true"] { background: var(--paper); box-shadow: var(--shadow); }
.sol-tab[aria-selected="true"] .t { color: var(--ink); }
.sol-tab[aria-selected="true"] .n { color: var(--blue-ink); }
.sol-tab[aria-selected="true"] .prog { opacity: 1; }
.sol-tab[aria-selected="true"] .prog i { animation: fill var(--cycle, 6s) linear forwards; }
.sol.paused .sol-tab .prog i { animation-play-state: paused; }
.sol-stage { position: relative; border-radius: 26px; background: var(--navy); color: #fff; overflow: hidden; min-height: 460px; }
.sol-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(80% 80% at 80% 10%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 80% at 80% 10%, #000, transparent 75%); }
.sol-pane { position: absolute; inset: 0; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s; }
.sol-pane.on { opacity: 1; visibility: visible; transform: none; }
.sol-pane .big-ic { position: absolute; top: 44px; right: 44px; width: 150px; height: 150px; border-radius: 36px; display: grid; place-items: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--yellow); }
.sol-pane .big-ic svg { width: 70px; height: 70px; }
.sol-pane.on .big-ic svg { animation: pop .8s var(--ease) both; }
.sol-pane .k { font-family: var(--mono); font-size: 13px; color: var(--yellow); }
.sol-pane h3 { font-size: clamp(28px, 3vw, 40px); margin-top: 12px; max-width: 440px; }
.sol-pane p { color: rgba(255,255,255,.72); margin-top: 14px; font-size: 17px; max-width: 440px; }
.sol-pane .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Stats band ---------- */
.band { background: var(--navy); color: #fff; padding-block: 88px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(31,34,38,.5), transparent 65%); }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-left: 1px solid rgba(255,255,255,.15); padding-left: 24px; }
.stat b { display: block; font-size: clamp(44px, 5vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--yellow); }
.stat span { display: block; margin-top: 12px; color: rgba(255,255,255,.7); font-size: 15px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.process-side { position: sticky; top: 130px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .6s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step.active { opacity: 1; }
.step .num { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .6s, -webkit-text-stroke-color .6s; }
.step.active .num { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.step h3 { font-size: 28px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.step .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.step .pills span { font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }

/* ---------- Product pills strip ---------- */
.pills { padding-block: 34px 18px; }
.pills-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.pills-label { width: 100%; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgba(31,34,38,.05); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s; }
.pill b { font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); transition: background .3s, color .3s; }
.pill:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue), 0 12px 24px -14px rgba(31,34,38,.5); color: var(--ink); }
.pill:hover b { background: var(--blue); color: #fff; }

/* ---------- Word-by-word heading reveal & highlighter ---------- */
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.h2 .w > span { display: inline-block; will-change: transform; }
.js .mark::after { transform: scaleX(0); transition: transform 1s var(--ease) .35s; }
.js .mark.in::after { transform: scaleX(1); }

/* ---------- Process progress track ---------- */
.steps { position: relative; }
.steps-track { position: absolute; left: -34px; top: 40px; bottom: 40px; width: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; list-style: none; }
.steps-track i { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--blue), var(--yellow)); transform-origin: 50% 0; transform: scaleY(0); }
@media (max-width: 1080px) { .steps-track { display: none; } }

/* ---------- Products: tabs + screen preview ---------- */
.prod { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center; }
.prod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.prod-tab { position: relative; width: 100%; text-align: left; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: start; padding: 16px 18px; border: 0; border-radius: 16px; background: transparent; cursor: pointer; transition: background .35s, box-shadow .35s; }
.prod-tab:hover { background: rgba(31,34,38,.04); }
.prod-tab::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--blue); transform: scaleY(0); transition: transform .45s var(--ease); }
.prod-tab.on { background: var(--paper); box-shadow: var(--shadow); }
.prod-tab.on::before { transform: scaleY(1); }
.pt-n { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 3px; }
.prod-tab.on .pt-n { color: var(--blue-ink); }
.pt-main { display: grid; }
.pt-k { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }
.pt-name { font-weight: 700; font-size: 18px; color: var(--ink-2); line-height: 1.3; transition: color .3s; }
.prod-tab.on .pt-name { color: var(--ink); }
.pt-desc { font-size: 14.5px; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.prod-tab.on .pt-desc { max-height: 90px; opacity: 1; margin-top: 6px; }
.pt-cat { font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 4px 9px; border-radius: 999px; background: rgba(31,34,38,.05); }

.prod-stage { position: relative; min-height: 520px; display: grid; }
.screen { grid-area: 1 / 1; align-self: center; border-radius: 20px; background: var(--paper); box-shadow: 0 2px 6px rgba(31,34,38,.06), 0 40px 70px -36px rgba(31,34,38,.4), inset 0 0 0 1px var(--line); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease), visibility .55s; }
.screen.on { opacity: 1; visibility: visible; transform: none; }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--navy); color: rgba(255,255,255,.85); font-family: var(--mono); font-size: 12px; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.screen-bar i:nth-child(1) { background: #ff6159; } .screen-bar i:nth-child(2) { background: #ffbd2e; } .screen-bar i:nth-child(3) { background: #28c940; }
.screen-bar span { margin-left: 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-bar em { font-style: normal; color: #5ee6a0; display: inline-flex; align-items: center; gap: 6px; }
.screen-bar em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.screen-body { padding: 20px; display: grid; gap: 14px; }
/* parts of the sample screens animate in when a screen turns on */
.screen-body > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.screen.on .screen-body > * { opacity: 1; transform: none; }
.screen.on .screen-body > *:nth-child(2) { transition-delay: .12s; }
.screen.on .screen-body > *:nth-child(3) { transition-delay: .24s; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpis.three { grid-template-columns: repeat(3, 1fr); }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.kpi small, .mini-card > small, .sheet-head small, .part-head small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .03em; }
.kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.kpi.ok b { color: #0f9f5c; } .kpi.warn b { color: #c27c00; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.mini-card.grow { min-height: 180px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 6px; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--blue), #6b8cff); position: relative; transform-origin: 50% 100%; transform: scaleY(.15); transition: transform .9s var(--ease); }
.bars span:nth-child(odd) { background: linear-gradient(180deg, #1f2226, var(--blue)); }
.screen.on .bars span { transform: scaleY(1); }
.screen.on .bars span:nth-child(2) { transition-delay: .06s; } .screen.on .bars span:nth-child(3) { transition-delay: .12s; } .screen.on .bars span:nth-child(4) { transition-delay: .18s; } .screen.on .bars span:nth-child(5) { transition-delay: .24s; } .screen.on .bars span:nth-child(6) { transition-delay: .3s; }
.bars em { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.rowx { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 6px 0; border-top: 1px solid var(--line); }
.rowx:first-of-type { border-top: 0; }
.rowx b { font-weight: 700; color: var(--ink); }
.tag { font-family: var(--mono); font-size: 10.5px !important; font-weight: 500 !important; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag.ok { background: rgba(18,183,106,.12); color: #0f8a50 !important; }
.tag.warn { background: rgba(245,159,0,.16); color: #9a6200 !important; }
.tag.bad { background: rgba(240,68,56,.12); color: #c0322a !important; }
.tag.blue { background: var(--blue-soft); color: var(--blue-ink) !important; }
.phases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.ph { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 11.5px; color: var(--muted); position: relative; }
.ph b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); font-size: 15px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ph.done b { background: var(--blue); color: #fff; box-shadow: none; }
.ph.now b { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 6px rgba(255,210,63,.3); }
.ph.done span, .ph.now span { color: var(--ink); font-weight: 600; }
.check { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); padding: 7px 0; border-top: 1px solid var(--line); }
.check i { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.check.done i { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: none; }
.check.now i { background: var(--yellow); box-shadow: none; }
.check em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.check.done em { color: #0f8a50; } .check.now em { color: #9a6200; }
.sheet-head, .part-head { display: flex; gap: 24px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.part-head { justify-content: space-between; }
.sheet-head b, .part-head b { font-size: 15px; }
.tbl { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr .6fr; gap: 10px; align-items: center; padding: 10px 14px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
.tr.th { border-top: 0; background: var(--bg-soft); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tr .tag { justify-self: start; }
.person { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.person i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); }
.person span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.person em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); }
.gantt { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 12px 14px; display: grid; gap: 10px; }
.g-head, .g-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; }
.g-head { grid-template-columns: 96px repeat(5, 1fr); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.g-row > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.g-track { position: relative; height: 30px; border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), var(--line) calc(20% - 1px) 20%); }
.g-track i { position: absolute; top: 3px; bottom: 3px; left: calc(var(--s) * 20% + 2px); width: calc(var(--w) * 20% - 4px); border-radius: 7px; display: flex; align-items: center; padding-left: 10px; font-style: normal; font-family: var(--mono); font-size: 11px; color: #fff; transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s var(--ease) .2s; }
.screen.on .g-track i { transform: scaleX(1); }
.g-track i.ok { background: #12b76a; } .g-track i.blue { background: var(--blue); } .g-track i.warn { background: #f59f00; }
.prod-cta { position: absolute; right: 18px; bottom: -26px; z-index: 2; }


/* ---------- Works bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); isolation: isolate; }
.tile.xl { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,34,38,0) 35%, rgba(31,34,38,.88)); transition: opacity .5s; z-index: 1; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 2; }
.tile .cat { font-family: var(--mono); font-size: 11.5px; color: var(--yellow); letter-spacing: .04em; }
.tile h3 { font-size: 22px; margin-top: 6px; }
.tile.xl h3 { font-size: 32px; }
.tile p { font-size: 14.5px; color: rgba(255,255,255,.82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.tile .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; color: #fff; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.tile .go svg { width: 16px; height: 16px; }
.tile:hover img, .tile:focus-within img { transform: scale(1.07); }
.tile:hover p, .tile:focus-within p { max-height: 120px; opacity: 1; margin-top: 8px; }
.tile:hover .go, .tile:focus-within .go { max-height: 30px; opacity: 1; margin-top: 12px; }
.tile.xl p { max-height: 120px; opacity: 1; margin-top: 10px; }
.tile.xl .go { max-height: 30px; opacity: 1; margin-top: 14px; }
@media (hover: none) { .tile p { max-height: 120px; opacity: 1; margin-top: 8px; } .tile .go { max-height: 30px; opacity: 1; margin-top: 12px; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 5.2; }
.about-img img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; }
.about-badge { position: absolute; left: 22px; bottom: 22px; background: var(--paper); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-weight: 700; z-index: 1; }
.about-badge .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.about-badge .ic svg { width: 20px; height: 20px; }
.about-badge small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.office { padding: 22px; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.office small { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }
.office p { color: var(--ink-2); margin-top: 8px; font-size: 14.5px; }
.team { margin-top: 110px; }
.team-photo { border-radius: 28px; overflow: hidden; margin-top: 40px; }
.team-photo img { width: 100%; transform-origin: 50% 50%; }

/* ---------- Careers ---------- */
.jobs { border-top: 1px solid var(--line-2); }
.job { display: grid; grid-template-columns: 160px 1fr 1.2fr 56px; gap: 32px; align-items: center; padding: 34px 8px; border-bottom: 1px solid var(--line-2); position: relative; transition: padding .45s var(--ease); }
.job::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .45s var(--ease); z-index: -1; border-radius: 12px; }
.jobs { position: relative; z-index: 0; }
.job:hover { padding-inline: 24px; }
.job:hover::before { transform: scaleY(1); }
.job .type { font-family: var(--mono); font-size: 12.5px; color: var(--blue-ink); }
.job h3 { font-size: 24px; }
.job p { color: var(--muted); font-size: 15px; }
.job .arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .35s, color .35s, transform .45s var(--ease), box-shadow .35s; }
.job .arrow svg { width: 20px; height: 20px; }
.job:hover .arrow { background: var(--blue); color: #fff; transform: rotate(-45deg); box-shadow: none; }
.resume { margin-top: 28px; color: var(--muted); }
.resume a { color: var(--blue-ink); font-weight: 700; border-bottom: 2px solid var(--yellow); }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; border-radius: 32px; padding: 72px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(31,34,38,.55), transparent 65%); }
.contact > * { position: relative; }
.contact .label { color: var(--yellow); }
.contact .h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,.7); }
.c-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.c-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.c-list .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--yellow); }
.c-list .ic svg { width: 20px; height: 20px; }
.c-list small { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.55); display: block; }
.c-list p, .c-list a { color: #fff; font-size: 15px; }
.c-list a:hover { color: var(--yellow); }
.form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 36px; }
.form h3 { font-size: 24px; margin-bottom: 24px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: block; margin-bottom: 14px; }
.f span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.f input, .f textarea { width: 100%; border: 1.5px solid var(--line-2); background: var(--bg); border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.f input:focus, .f textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--sand); padding-top: 96px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.f-top p { color: var(--muted); margin-top: 16px; max-width: 320px; }
.f-top h5 { margin: 0 0 16px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--muted); }
.f-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-top ul a { font-weight: 600; color: var(--ink-2); transition: color .25s; }
.f-top ul a:hover { color: var(--blue-ink); }
.wordmark { display: flex; justify-content: space-between; margin-top: 80px; font-weight: 800; font-size: clamp(56px, 16.5vw, 240px); line-height: .8; letter-spacing: -.05em; color: var(--ink); overflow: hidden; padding-bottom: .04em; user-select: none; }
.wordmark span { display: inline-block; }
.wordmark span:nth-child(odd) { color: var(--blue); }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.f-bottom a { color: var(--ink-2); font-weight: 600; }

/* ---------- Back to top ---------- */
.top-btn { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); color: #fff; display: grid; place-items: center; z-index: 90; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .45s var(--ease), background .3s; }
.top-btn.show { opacity: 1; transform: none; pointer-events: auto; }
.top-btn:hover { background: var(--blue); }
.top-btn svg { width: 20px; height: 20px; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes move { 0% { transform: translateX(0); opacity: 0; } 5% { opacity: 1; } 93% { opacity: 1; } 100% { transform: translateX(430px); opacity: 0; } }
@keyframes paint { 0%, 51% { fill: #c9d1e2; } 53%, 100% { fill: #2b2e33; } }
@keyframes tick { 0%, 53% { opacity: 0; } 56%, 100% { opacity: 1; } }
@keyframes beam { 0%, 100% { opacity: .18; } 50% { opacity: .42; } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(64px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes armLow { from { transform: rotate(-8deg); } to { transform: rotate(10deg); } }
@keyframes armUp { from { transform: rotate(-6deg); } to { transform: rotate(16deg); } }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18,183,106,.5); } 70% { box-shadow: 0 0 0 8px rgba(18,183,106,0); } 100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes pop { from { transform: scale(.6) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 640px; margin-inline: auto; width: 100%; }
  .sol { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 32px; }
  .process-side { position: static; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .contact { grid-template-columns: 1fr; padding: 56px 40px; gap: 40px; }
  .prod { grid-template-columns: 1fr; gap: 28px; }
  .prod-stage { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .job { grid-template-columns: 1fr 56px; gap: 10px 20px; }
  .job .type { grid-column: 1 / -1; }
  .job p { grid-column: 1; }
  .job .arrow { grid-row: 2 / span 2; grid-column: 2; }
  .f-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav-cta { display: none; }
  .menu { position: fixed; inset: 0; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 100px 28px 40px; background: var(--navy); clip-path: circle(0 at calc(100% - 46px) 40px); transition: clip-path .7s var(--ease); }
  .nav.open .menu { clip-path: circle(150% at calc(100% - 46px) 40px); }
  .menu a { color: #fff; font-size: clamp(30px, 8vw, 44px); font-weight: 800; padding: 6px 0; letter-spacing: -.03em; }
  .menu a:hover { background: none; color: var(--yellow); }
  .nav.open .burger { background: var(--yellow); }
  .nav.open .burger span { background: var(--ink); }
}
@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding-block: 88px; }
  .hero { padding-top: 120px; }
  .chip { font-size: 12px; padding: 8px 10px; }
  .chip .ic { width: 26px; height: 26px; }
  .chip-1 { left: 0; top: 0; }
  .sol-tab { padding: 16px; grid-template-columns: 34px 1fr; }
  .sol-tab .tag { display: none; }
  .sol-stage { min-height: 420px; }
  .sol-pane { padding: 28px; }
  .sol-pane .big-ic { width: 96px; height: 96px; top: 28px; right: 28px; border-radius: 26px; }
  .sol-pane .big-ic svg { width: 46px; height: 46px; }
  .prod-list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .prod-tab { grid-template-columns: auto; padding: 10px 14px; }
  .prod-tab .pt-n, .prod-tab .pt-cat, .prod-tab .pt-desc, .prod-tab::before { display: none; }
  .pt-name { font-size: 14px; white-space: nowrap; }
  .screen-body { padding: 14px; gap: 10px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .card-row { grid-template-columns: 1fr; }
  .tr { grid-template-columns: 1.2fr 1fr .7fr .6fr; font-size: 11.5px; padding: 9px 10px; }
  .tr > span:nth-child(2) { white-space: nowrap; }
  .g-head, .g-row { grid-template-columns: 74px 1fr; }
  .g-head { grid-template-columns: 74px repeat(5, 1fr); }
  .phases span { font-size: 9.5px; }
  .prod-cta { position: static; justify-self: start; margin-top: 18px; }
  .pills-label { width: 100%; text-align: center; margin: 0 0 4px; }
  .screen { align-self: start; }
  .sheet-head { gap: 14px; }
  .sheet-head b, .part-head b { font-size: 13px; }
  .sheet { border-radius: 28px 28px 0 0; margin-top: -28px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .stat { padding-left: 16px; }
  .step { grid-template-columns: 64px 1fr; gap: 16px; padding: 30px 0; }
  .step .num { font-size: 44px; }
  .offices { grid-template-columns: 1fr; }
  .contact { padding: 40px 22px; border-radius: 24px; }
  .form { padding: 24px 20px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .f-top { grid-template-columns: 1fr; }
  .logos-track img { height: 44px; margin-right: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .loader { display: none; }
  .step { opacity: 1; }
}

/* ==========================================================
   Portfolio content (from the Clanizon portfolio documents)
   ========================================================== */
/* real logo */
.brand-logo { width: 36px; height: 36px; border-radius: 10px; background: #fff; object-fit: contain; padding: 2px; box-shadow: 0 0 0 1px var(--line); }
.nav:not(.scrolled):not(.open) .brand-logo { box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.motto { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, var(--yellow) 62%); }

/* client names strip */
.logos-track .wm { display: inline-flex; align-items: center; height: 64px; margin-right: 18px; padding: 0 30px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(31,34,38,.05); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; transition: color .3s, box-shadow .3s; }
.logos-track .wm:hover { color: var(--blue-ink); box-shadow: 0 0 0 1px var(--blue), 0 10px 22px -14px rgba(31,34,38,.5); }

/* portfolio panes: list of applications */
.sol-stage { min-height: 660px; }
.sol-pane.port { justify-content: flex-start; padding: 40px; overflow-y: auto; }
.port-head { display: flex; align-items: center; gap: 16px; }
.mini-ic { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--yellow); }
.mini-ic svg { width: 28px; height: 28px; }
.sol-pane.port h3 { margin-top: 4px; font-size: clamp(24px, 2.4vw, 32px); max-width: none; }
.sol-pane.port > p { margin-top: 14px; font-size: 16px; max-width: 560px; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.app { padding: 13px 15px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease); opacity: 0; transform: translateY(10px); }
.sol-pane.on .app { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), background .3s; }
.sol-pane.on .app:nth-child(2) { transition-delay: .05s; } .sol-pane.on .app:nth-child(3) { transition-delay: .1s; } .sol-pane.on .app:nth-child(4) { transition-delay: .15s; }
.sol-pane.on .app:nth-child(5) { transition-delay: .2s; } .sol-pane.on .app:nth-child(6) { transition-delay: .25s; } .sol-pane.on .app:nth-child(7) { transition-delay: .3s; } .sol-pane.on .app:nth-child(8) { transition-delay: .35s; }
.app:hover { background: rgba(255,255,255,.11); }
.app b { display: block; font-size: 15px; color: #fff; }
.app span { display: block; font-size: 13px; color: rgba(255,255,255,.66); margin-top: 3px; line-height: 1.45; }

/* clients */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client { display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 12px 30px -22px rgba(31,34,38,.35); transition: transform .45s var(--ease), box-shadow .45s; }
.client:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(31,34,38,.3), 0 26px 50px -28px rgba(31,34,38,.45); }
.client-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.client h3 { font-size: 22px; }
.client .count { font-family: var(--mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; white-space: nowrap; }
.client p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.client small, .domains small { display: block; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--blue-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chips span { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }

/* why clanizon */
.why { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; padding: 40px; border-radius: 26px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(31,34,38,.55), transparent 65%); }
.why > * { position: relative; z-index: 1; }
.why .label { color: var(--yellow); }
.why h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 12px; }
.why h4 { margin: 0 0 14px; font-size: 13px; font-family: var(--mono); font-weight: 500; color: var(--yellow); letter-spacing: .06em; text-transform: uppercase; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: rgba(255,255,255,.86); }
.why li svg { width: 20px; height: 20px; color: var(--yellow); margin-top: 2px; }

/* about extras + leaders */
.about-p { color: var(--muted); font-size: 16px; margin-top: 14px; }
.domains .chips span { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.leaders { margin-top: 30px; }
.leader { display: flex; align-items: center; gap: 14px; padding: 14px; }
.leader img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; object-position: center 22%; flex: none; }
.leader b { display: block; font-size: 17px; }
.leader span { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--blue-ink); margin-top: 2px; }
.leader small { display: block; font-family: var(--font); color: var(--muted); font-size: 13px; margin-top: 2px; }

@media (max-width: 1080px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .why-title { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .apps { grid-template-columns: 1fr; }
  .sol-pane.port { padding: 24px; position: relative; inset: auto; display: none; }
  .sol-pane.port.on { display: flex; }
  .sol-stage { min-height: 0; }
  .clients-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; padding: 28px 22px; }
  .leaders { grid-template-columns: 1fr; }
  .logos-track .wm { height: 52px; padding: 0 20px; font-size: 18px; }
}

/* ---------- Hero: Clanizon Suite mini app window ---------- */
.suite { position: relative; width: 372px; }
.suite-win { background: var(--paper); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 40px 80px -30px rgba(0,0,0,.65); transform: rotate(-1.2deg); transition: transform .6s var(--ease); }
.suite:hover .suite-win { transform: none; }
.suite-top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.suite-top img { width: 26px; height: 26px; border-radius: 7px; background: #fff; object-fit: contain; }
.suite-top b { font-size: 14.5px; flex: 1; }
.suite-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: #0f8a50; background: rgba(18,183,106,.12); padding: 4px 9px; border-radius: 999px; }
.suite-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
.suite-tabs { display: flex; gap: 4px; padding: 10px 12px 0; }
.suite-tabs span { position: relative; font-size: 12px; font-weight: 700; color: var(--muted); padding: 7px 9px 10px; transition: color .3s; }
.suite-tabs span::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .45s var(--ease); }
.suite-tabs span.on { color: var(--ink); }
.suite-tabs span.on::after { transform: scaleX(1); }
.suite-views { position: relative; display: grid; border-top: 1px solid var(--line); }
.sv { grid-area: 1 / 1; padding: 16px 18px 18px; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s; }
.sv.on { opacity: 1; visibility: visible; transform: none; }
.sv-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.sv-head em { font-style: normal; padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.sv-big { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.sv-big b { font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.sv-big small { font-size: 13px; color: var(--muted); }
/* plan vs actual bars */
.pva { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 14px; }
.pva span { flex: 1; height: var(--p); border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(31,34,38,.28); position: relative; overflow: hidden; }
.pva span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); background: linear-gradient(180deg, #4f6bff, var(--blue)); border-radius: 6px; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .9s var(--ease); }
.pva span.low::after { background: linear-gradient(180deg, #ffd23f, #f59f00); }
.sv.on .pva span::after { transform: scaleY(1); }
.sv.on .pva span:nth-child(2)::after { transition-delay: .05s; } .sv.on .pva span:nth-child(3)::after { transition-delay: .1s; } .sv.on .pva span:nth-child(4)::after { transition-delay: .15s; } .sv.on .pva span:nth-child(5)::after { transition-delay: .2s; } .sv.on .pva span:nth-child(6)::after { transition-delay: .25s; } .sv.on .pva span:nth-child(7)::after { transition-delay: .3s; }
.sv-foot { display: flex; gap: 14px; margin-top: 12px; font-size: 12px; color: var(--muted); align-items: center; }
.sv-foot i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.k-plan { box-shadow: inset 0 0 0 1.5px rgba(31,34,38,.4); }
.k-act { background: var(--blue); }
.sv-foot .ok { margin-left: auto; color: #0f8a50; font-weight: 700; }
/* apqp */
.apqp { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; margin-top: 12px; }
.ring { position: relative; width: 96px; height: 96px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .rt { stroke: var(--bg-soft); }
.ring .rv { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.3s var(--ease) .15s; }
.sv.on .ring .rv { stroke-dashoffset: 56; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 800; }
.gates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gates li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.gates i { width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.gates li.done { color: var(--ink-2); }
.gates li.done i { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; box-shadow: none; }
.gates li.now { color: var(--ink); font-weight: 700; }
.gates li.now i { background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,63,.3); }
/* hrms */
.hr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hr-tiles div { padding: 12px; border-radius: 12px; background: var(--bg-soft); }
.hr-tiles b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.hr-tiles small { font-size: 11.5px; color: var(--muted); }
.avatars { display: flex; align-items: center; margin-top: 14px; }
.avatars i { width: 32px; height: 32px; margin-right: -8px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--c); box-shadow: 0 0 0 2.5px var(--paper); }
.avatars span { margin-left: 18px; font-size: 12.5px; color: var(--muted); }
/* part number */
.pn { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); }
.pn small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.pn b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pn-tag { font-family: var(--mono); font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(18,183,106,.14); color: #0f8a50; }
.pn-rows { margin-top: 8px; }
.pn-rows div { display: flex; justify-content: space-between; padding: 8px 2px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pn-rows div:first-child { border-top: 0; }
.pn-rows b { color: var(--ink); }
/* notification toast */
.toast { position: absolute; left: -44px; bottom: -62px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 24px 40px -20px rgba(0,0,0,.7); min-width: 240px; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.toast.out { opacity: 0; transform: translateY(12px) scale(.96); }
.t-ic { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; }
.toast small { display: block; font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,.6); }
.toast b { font-size: 13.5px; }
@media (max-width: 1080px) { .suite { display: none; } }

/* ==========================================================
   Top bar v2: floating capsule + sliding highlight + mega menu
   ========================================================== */
.nav { padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 0; background: none !important; box-shadow: none !important; pointer-events: none; }
.nav-cap { pointer-events: auto; position: relative; max-width: 1240px; height: 64px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 0 10px 0 12px; border-radius: 999px; background: rgba(9,18,44,.74); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px -20px rgba(0,0,0,.6); transition: background .45s, box-shadow .45s, max-width .6s var(--ease), height .45s var(--ease); }
.nav.scrolled .nav-cap { max-width: 1140px; height: 58px; background: rgba(251,250,246,.97); box-shadow: inset 0 0 0 1px var(--line), 0 16px 36px -22px rgba(31,34,38,.45); }
.nav .brand { font-size: 19px; padding-right: 6px; }
.nav .brand-logo { width: 38px; height: 38px; border-radius: 50%; }
.nav .menu { position: relative; margin: 0 auto; gap: 2px; }
.nav .menu > li { position: relative; z-index: 1; }
.nav .menu > li.has-mega { position: static; }
.nav .menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 600; background: none !important; transition: color .3s; }
.nav:not(.scrolled):not(.open) .menu > li > a.active { color: #fff; }
.nav.scrolled .menu > li > a { color: var(--ink-2); }
.nav.scrolled .menu > li > a:hover, .nav.scrolled .menu > li > a.active { color: var(--ink); }
.m-only { display: none; }
/* sliding highlight pill */
.menu-hl { position: absolute !important; z-index: 0 !important; left: 0; top: 50%; height: 38px; width: var(--w, 0px); transform: translate(var(--x, 0px), -50%); border-radius: 999px; background: rgba(255,255,255,.14); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s, background .3s; }
.menu-hl.show { opacity: 1; }
.nav.scrolled .menu-hl { background: rgba(31,34,38,.1); }
.chev { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }
/* mega menu */
.mega { position: absolute; top: calc(100% + 16px); left: 50%; width: min(900px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 22px; padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 34px 70px -26px rgba(31,34,38,.5); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-col { display: grid; gap: 1px; align-content: start; }
.nav .menu .mega a, .nav:not(.scrolled):not(.open) .menu .mega a { display: block; padding: 6px 9px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: none; transition: background .25s, color .25s; }
.nav .menu .mega a:hover, .nav:not(.scrolled):not(.open) .menu .mega a:hover { background: var(--bg-soft); color: var(--blue-ink); }
.nav .menu .mega .mega-h, .nav:not(.scrolled):not(.open) .menu .mega .mega-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); padding-bottom: 10px; margin-bottom: 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
.mega-h span { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.nav .menu .mega .mega-foot, .nav:not(.scrolled):not(.open) .menu .mega .mega-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 13px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.nav .menu .mega .mega-foot:hover { background: var(--blue); color: #fff; }
.mega-foot svg { width: 18px; height: 18px; }
/* call to action inside the capsule */
.nav:not(.open) .nav-cap .nav-cta { padding: 11px 20px; background: var(--yellow); color: var(--ink); font-weight: 800; box-shadow: none; }
.nav.scrolled:not(.open) .nav-cap .nav-cta { background: var(--blue); color: #fff; }
.nav-cta svg { width: 16px; height: 16px; }
.nav.scrolled .brand { color: var(--ink); }

@media (max-width: 1180px) {
  .nav .menu > li > a { padding: 9px 11px; font-size: 14px; }
}
@media (max-width: 900px) {
  .nav-cap { height: 58px; padding: 0 8px 0 10px; }
  .nav .menu { position: fixed; margin: 0; gap: 6px; }
  .nav .menu > li > a, .nav.scrolled .menu > li > a, .nav.open .menu > li > a { color: #fff; font-size: clamp(30px, 8vw, 44px); font-weight: 800; padding: 6px 0; letter-spacing: -.03em; }
  .nav.open .menu > li > a:hover { color: var(--yellow); }
  .menu-hl, .chev, .mega { display: none !important; }
  .m-only { display: block; }
  .nav .menu > li.has-mega { position: relative; }
  .nav.open .nav-cap { background: transparent; box-shadow: none; }
  .nav .burger { margin-left: auto; }
}

.leader-link { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--blue-ink); border-bottom: 2px solid var(--yellow); }
.leader-link:hover { color: var(--ink); }

/* ---------- Hero: typographic stats column (replaces the suite card) ---------- */
.hero-x-inner { align-items: end; }
.hero-stats { align-self: end; width: clamp(280px, 24vw, 380px); margin-bottom: 6px; }
.hs { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.22); }
.hs:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.hs b { font-size: clamp(42px, 3.6vw, 68px); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: #fff; }
.hs:first-child b { color: var(--yellow); }
.hs span { font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.75); }

/* ---------- Large screens: use the space ---------- */
@media (min-width: 1600px) {
  :root { --maxw: 1480px; }
  .nav-cap { max-width: 1480px; }
  .nav.scrolled .nav-cap { max-width: 1360px; }
  .hero-x .hero-copy { max-width: 940px; }
  .hero-x .hero-title { font-size: clamp(84px, 5.4vw, 112px); }
  .hero-x .hero-sub { font-size: 21px; max-width: 680px; }
  .section { padding-block: 150px; }
}
@media (min-width: 2000px) {
  :root { --maxw: 1720px; }
  .nav-cap { max-width: 1720px; }
  .nav.scrolled .nav-cap { max-width: 1560px; }
  html { font-size: 112.5%; }
  body { font-size: 18px; }
}

@media (max-width: 1080px) {
  .hero-x-inner { align-items: start; }
  .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; width: 100%; margin-top: 8px; }
  .hs { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .hs b { font-size: 36px; }
  .hs span { font-size: 13px; }
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hs b { font-size: 32px; }
}
.hs { grid-template-columns: clamp(104px, 7.4vw, 150px) 1fr; }
@media (max-width: 1080px) { .hs { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .hero-x .hero-title { font-size: clamp(32px, 10.2vw, 44px); } }

/* ---------- Hero: "Delivered for" featured deliveries ---------- */
.hero-deliv { position: relative; align-self: end; width: clamp(300px, 27vw, 430px); margin-bottom: 6px; isolation: isolate; }
/* soft dark glow (not a card) so text stays readable on bright parts of the photo */
.hero-deliv::before { content: ""; position: absolute; inset: -60px -70px -50px -90px; z-index: -1; background: radial-gradient(closest-side, rgba(7,15,38,.78), rgba(7,15,38,.45) 60%, transparent); pointer-events: none; }
.hd-label { display: block; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.hd { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.22); color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); transition: padding .45s var(--ease); }
.hd:last-of-type { border-bottom: 1px solid rgba(255,255,255,.22); }
.hd b { grid-column: 1; font-size: clamp(24px, 2vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hd span { grid-column: 1; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.78); }
.hd svg { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; color: var(--yellow); opacity: 0; transform: translateX(-8px); transition: opacity .35s, transform .45s var(--ease); }
.hd:hover { padding-left: 10px; }
.hd:hover svg { opacity: 1; transform: none; }
.hd:hover b { color: var(--yellow); }
.hd-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hd-more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.hd-more:hover { color: var(--yellow); }
.hd-more:hover svg { transform: translateX(4px); }

@media (max-width: 1080px) {
  .hero-deliv { width: 100%; margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .hero-deliv::before { inset: -20px -30px; }
  .hd-label, .hd-more { grid-column: 1 / -1; }
  .hd:last-of-type { border-bottom: 0; }
  .hd b { font-size: 22px; }
  .hd span { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .hd { padding: 12px 0; }
  .hd b { font-size: 19px; }
}

/* ---------- Client names: single static row, each lights up in its own colour ---------- */
.wm-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wm-row .wm { display: inline-flex; align-items: center; height: 60px; padding: 0 26px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(31,34,38,.05); font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; cursor: default; transition: color .3s, background .3s, box-shadow .35s, transform .4s var(--ease); }
.wm-row .wm:hover { color: var(--c); background: color-mix(in srgb, var(--c) 9%, var(--paper)); box-shadow: 0 0 0 1.5px var(--c), 0 14px 28px -16px color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-3px); }
@media (max-width: 640px) { .wm-row { gap: 8px; } .wm-row .wm { height: 48px; padding: 0 16px; font-size: 16px; } }

/* ---------- Customer logo wall: grey until hover, then full colour ---------- */
.trust { padding-block: 56px 20px; }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lg { flex: 0 0 calc((100% - 6 * 14px) / 7); height: 92px; display: grid; place-items: center; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(31,34,38,.05); transition: transform .4s var(--ease), box-shadow .4s; }
.lg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .62; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.lg:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(31,34,38,.25), 0 18px 34px -20px rgba(31,34,38,.4); }
.lg:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (hover: none) { .lg img { filter: none; opacity: 1; } }
.pills { padding-block: 40px 18px; }
@media (max-width: 1080px) { .lg { flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 640px) { .logo-wall { gap: 10px; } .lg { flex-basis: calc((100% - 2 * 10px) / 3); height: 68px; padding: 10px 12px; border-radius: 12px; } }
.lg { overflow: hidden; }
.lg img { max-height: 58px; mix-blend-mode: multiply; filter: grayscale(1); }
.lg:hover img { filter: none; }
@media (max-width: 640px) { .lg img { max-height: 40px; } }

/* ---------- Clients: logo-led rows ---------- */
.crows { border-top: 1px solid var(--line-2); }
.crow { display: grid; grid-template-columns: 220px 1fr 1.25fr; gap: 40px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line-2); transition: background .4s; }
.crow-logo { height: 110px; display: grid; place-items: center; padding: 18px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.crow-logo img { max-width: 100%; max-height: 66px; object-fit: contain; mix-blend-mode: multiply; }
.crow:hover .crow-logo { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 0 0 1px rgba(31,34,38,.25), 0 20px 36px -22px rgba(31,34,38,.45); }
.crow-ind { font-family: var(--mono); font-size: 12px; color: var(--blue-ink); }
.crow-info h3 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 6px; }
.crow-info p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 420px; }
.crow-count { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.crow-count b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.crow-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.crow-apps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: baseline; padding: 10px 0; border-top: 1px dashed var(--line-2); font-size: 14.5px; }
.crow-apps li:nth-child(-n+2) { border-top: 0; }
.crow-apps .an { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.crow-apps b { font-weight: 700; color: var(--ink); }
.crow-apps em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--blue-ink); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.why { margin-top: 72px; }
@media (max-width: 1080px) { .crow { grid-template-columns: 180px 1fr; } .crow-apps { grid-column: 1 / -1; } }
@media (max-width: 640px) { .crow { grid-template-columns: 1fr; gap: 18px; } .crow-logo { height: 90px; max-width: 240px; } .crow-apps { grid-template-columns: 1fr; } .crow-apps li:nth-child(2) { border-top: 1px dashed var(--line-2); } }

/* ---------- Footer v2: dark, CTA strip + contact column ---------- */
.footer.fx { background: var(--navy); color: rgba(255,255,255,.72); padding-top: 72px; position: relative; overflow: hidden; }
.footer.fx::before { content: ""; position: absolute; width: 640px; height: 640px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(31,34,38,.45), transparent 65%); pointer-events: none; }
.fx .container { position: relative; }
.fx-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: 24px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.fx-k { font-family: var(--mono); font-size: 12.5px; color: var(--yellow); }
.fx-cta h3 { color: #fff; font-size: clamp(24px, 2.6vw, 36px); margin-top: 6px; }
.fx-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.fx-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.fx-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.fx-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 60px 50px; }
.fx .brand { color: #fff; }
.fx-brand p { margin-top: 16px; max-width: 320px; font-size: 15px; }
.fx-motto { display: inline-block; margin-top: 18px; font-weight: 800; color: var(--ink); background: var(--yellow); padding: 6px 12px; border-radius: 8px; }
.fx h5 { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.fx ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fx ul a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 15px; transition: color .25s, padding .3s var(--ease); }
.fx ul a:hover { color: var(--yellow); padding-left: 4px; }
.fx-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; }
.fx-contact svg { width: 18px; height: 18px; color: var(--yellow); margin-top: 2px; }
.fx-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.fx-links { display: flex; align-items: center; gap: 18px; }
.fx-links a { color: rgba(255,255,255,.8); }
.fx-links a:hover { color: var(--yellow); }
.fx-in { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s, color .3s; }
.fx-in:hover { background: var(--yellow); color: var(--ink) !important; }
.fx-in svg { width: 16px; height: 16px; }
@media (max-width: 1080px) { .fx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .fx-grid { grid-template-columns: 1fr; gap: 30px; } .fx-cta { padding: 24px 20px; } }

/* ---------- Clients: logo selector + single detail panel ---------- */
.cl-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cl-tab { position: relative; height: 96px; display: grid; place-items: center; padding: 16px 20px; border: 0; border-radius: 18px; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .35s; }
.cl-tab img { max-width: 100%; max-height: 54px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .6; transition: filter .35s, opacity .35s; }
.cl-tab:hover img, .cl-tab.on img { filter: none; opacity: 1; }
.cl-tab:hover { transform: translateY(-3px); }
.cl-tab.on { box-shadow: 0 0 0 2px var(--blue), 0 18px 34px -20px rgba(31,34,38,.6); }
.cl-tab.on::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; background: #fff; transform: translateX(-50%) rotate(45deg); box-shadow: 2px 2px 0 0 var(--blue); }
.cl-n { position: absolute; top: 8px; right: 10px; font-family: var(--mono); font-size: 11px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.cl-tab.on .cl-n { background: var(--blue); color: #fff; }
.cl-stage { display: grid; margin-top: 22px; border-radius: 24px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -34px rgba(31,34,38,.45); }
.cl-pane { grid-area: 1 / 1; display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; padding: 34px 36px; align-items: start; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s; }
.cl-pane.on { opacity: 1; visibility: visible; transform: none; }
.cl-info h3 { font-size: clamp(26px, 2.4vw, 34px); margin-top: 6px; }
.cl-info p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.cl-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.cl-apps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.cl-pane.on .cl-apps li { opacity: 1; transform: none; }
.cl-apps li b { font-weight: 700; color: var(--ink); }
.cl-apps li em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--blue-ink); background: var(--blue-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 1080px) { .cl-tabs { grid-template-columns: repeat(3, 1fr); } .cl-tab.on::after { display: none; } .cl-pane { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 640px) { .cl-tabs { gap: 8px; } .cl-tab { height: 70px; padding: 10px 12px; border-radius: 14px; } .cl-tab img { max-height: 38px; } .cl-pane { padding: 24px 20px; } }
@media (max-width: 1080px) { .cl-pane:not(.on) { display: none; } }
@media (max-width: 640px) { .cl-n { display: none; } }

/* ---------- Footer v3: light, contact tiles ---------- */
.footer.ft { background: #ebe5d8; color: var(--ink-2); padding-top: 64px; border-radius: 40px 40px 0 0; }
.ft-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ft-tile { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 20px; border-radius: 20px; background: var(--paper); box-shadow: 0 0 0 1px rgba(31,34,38,.08); transition: background .35s, transform .45s var(--ease), box-shadow .35s; }
.ft-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); transition: background .35s, color .35s; }
.ft-ic svg { width: 22px; height: 22px; }
.ft-t small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.ft-t b { display: block; margin-top: 2px; font-size: 15.5px; color: var(--ink); overflow-wrap: anywhere; }
.ft-go { position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.ft-go svg { width: 18px; height: 18px; }
.ft-tile:hover { background: var(--yellow); transform: translateY(-4px); box-shadow: 0 18px 34px -20px rgba(31,34,38,.4); }
.ft-tile:hover .ft-ic { background: var(--ink); }
.ft-tile:hover .ft-go { color: var(--ink); transform: translate(3px, -3px); }
.ft-tile:hover .ft-t small { color: var(--ink-2); }
.ft-mid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding-block: 56px 46px; align-items: start; }
.ft-brand p { margin-top: 14px; max-width: 360px; color: var(--muted); font-size: 15px; }
.ft-demo { margin-top: 22px; padding: 12px 22px; }
.ft-links { display: grid; gap: 26px; }
.ft-links h5 { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ft-links p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ft-links a { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(31,34,38,.1); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s, box-shadow .3s; }
.ft-links a:hover { background: var(--navy); color: #fff; box-shadow: none; }
.ft-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(31,34,38,.12); font-size: 14px; color: var(--muted); }
.ft-motto { font-weight: 800; color: var(--ink); background: linear-gradient(transparent 58%, var(--yellow) 58%); padding: 0 2px; }
.ft-legal { justify-self: end; display: flex; align-items: center; gap: 16px; }
.ft-legal a { color: var(--ink-2); font-weight: 600; }
.ft-in { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: #fff !important; transition: background .3s; }
.ft-in:hover { background: var(--blue); }
.ft-in svg { width: 16px; height: 16px; }
@media (max-width: 1080px) { .ft-tiles { grid-template-columns: 1fr 1fr; } .ft-mid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .footer.ft { border-radius: 28px 28px 0 0; padding-top: 40px; } .ft-tiles { grid-template-columns: 1fr; } .ft-bottom { grid-template-columns: 1fr; justify-items: start; } .ft-legal { justify-self: start; } }

/* ===== Footer v4: floating card ===== */
.footer.fo { background:var(--bg); color:var(--ink-2); padding:24px 0 0; }
.fo-card { background:var(--paper); border:1px solid rgba(31,34,38,.08); border-radius:28px; overflow:hidden; box-shadow:0 20px 50px -30px rgba(31,34,38,.25); }
.fo-cta { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding:22px 36px; background:var(--yellow); }
.fo-cta-t { display:flex; align-items:center; gap:14px; flex-wrap:wrap; color:var(--navy); }
.fo-cta-t b { font-size:clamp(17px,1.4vw,21px); font-weight:700; letter-spacing:-.01em; }
.fo-cta-t span:not(.fo-dot) { font-size:14px; opacity:.75; }
.fo-dot { width:10px; height:10px; border-radius:50%; background:var(--navy); box-shadow:0 0 0 0 rgba(31,34,38,.4); animation:foPulse 2s infinite; }
@keyframes foPulse { 70%{box-shadow:0 0 0 10px rgba(31,34,38,0)} 100%{box-shadow:0 0 0 0 rgba(31,34,38,0)} }
.fo-cta-b { display:flex; gap:10px; align-items:center; }
.fo-wa { padding:12px 20px; border-radius:999px; border:1.5px solid var(--navy); color:var(--navy); font-weight:600; font-size:14px; transition:background .25s,color .25s; }
.fo-wa:hover { background:var(--navy); color:#fff; }
.fo-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding:48px 36px 44px; }
.fo-brand p { margin:16px 0 22px; max-width:34ch; line-height:1.65; font-size:14.5px; color:var(--ink-3,#5b6478); }
.fo-in { display:inline-flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:var(--navy); }
.fo-in svg { width:34px; height:34px; padding:9px; border-radius:10px; background:var(--navy); color:#fff; transition:background .25s,color .25s; }
.fo-in:hover svg { background:var(--blue); }
.fo-col h5 { font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--blue); margin:6px 0 18px; font-weight:600; }
.fo-col ul { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.fo-col ul a { display:inline-flex; align-items:center; font-size:15px; color:var(--ink); font-weight:500; transition:color .25s; }
.fo-arr { width:0; height:16px; opacity:0; margin-right:0; transition:width .3s,opacity .3s,margin .3s; color:var(--blue); }
.fo-col ul a:hover { color:var(--blue); }
.fo-col ul a:hover .fo-arr { width:16px; opacity:1; margin-right:8px; }
.fo-contact { display:grid; gap:16px; align-content:start; }
.fo-contact h5 { margin-bottom:2px; }
.fo-contact a { display:grid; gap:3px; font-size:15px; font-weight:600; color:var(--ink); transition:color .25s; }
.fo-contact a small { font-size:12px; font-weight:500; color:var(--ink-3,#5b6478); }
.fo-contact a:hover { color:var(--blue); }
.fo-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding:22px 6px 26px; font-size:13.5px; color:var(--ink-3,#5b6478); }
.fo-bottom a:hover { color:var(--blue); }
.fo-motto { font-weight:700; color:var(--navy); }
@media (max-width:1080px){ .fo-grid{grid-template-columns:1fr 1fr; gap:36px} .fo-brand{grid-column:1/-1} }
@media (max-width:640px){
  .fo-cta{padding:20px} .fo-cta-b{width:100%} .fo-cta-b > *{flex:1; text-align:center}
  .fo-grid{grid-template-columns:1fr; padding:32px 20px} .fo-bottom{flex-direction:column; text-align:center; gap:8px}
}
@media (max-width:640px){ .fo-grid{grid-template-columns:1fr 1fr; gap:30px 16px} .fo-brand,.fo-contact{grid-column:1/-1} .fo-col ul a{font-size:14px} }

/* ===== Footer v5: navy + dotted world map ===== */
.footer.fd { position:relative; overflow:hidden; background:radial-gradient(120% 90% at 70% 40%, #12275a 0%, #1f2226 45%, #060f26 100%); color:rgba(255,255,255,.72); padding:88px 0 0; border-radius:40px 40px 0 0; isolation:isolate; }
.fd-map { position:absolute; z-index:-1; left:50%; top:50%; width:max(1200px,110%); aspect-ratio:147/70; transform:translate(-50%,-50%); pointer-events:none; }
.fd-map img { width:100%; height:100%; opacity:.09; display:block; max-width:none; }
.fd-pin { position:absolute; left:72.45%; top:51.96%; width:0; height:0; }
.fd-pin i { position:absolute; left:-6px; top:-6px; width:12px; height:12px; border-radius:50%; background:var(--yellow); box-shadow:0 0 18px 4px rgba(255,210,63,.55); }
.fd-pin i::before, .fd-pin i::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid var(--yellow); animation:fdRing 2.6s ease-out infinite; }
.fd-pin i::after { animation-delay:1.3s; }
@keyframes fdRing { from{transform:scale(1);opacity:.9} to{transform:scale(5);opacity:0} }
.fd-pin em { position:absolute; left:14px; top:-11px; white-space:nowrap; font-style:normal; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.08em; color:var(--yellow); padding:3px 8px; border-radius:6px; background:rgba(255,210,63,.1); border:1px solid rgba(255,210,63,.3); }
.fd-in { position:relative; }
.fd-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:48px; padding-bottom:64px; }
.fd-logo { display:inline-flex; align-items:center; gap:12px; font-size:30px; font-weight:800; letter-spacing:-.02em; color:#fff; }
.fd-logo img { width:40px; height:40px; border-radius:11px; background:#fff; padding:3px; }
.fd-brand p { margin:20px 0 28px; max-width:36ch; font-size:15.5px; line-height:1.7; }
.fd-demo { display:inline-flex; align-items:center; gap:10px; padding:13px 22px; border-radius:999px; background:var(--yellow); color:var(--navy); font-weight:700; font-size:15px; transition:transform .3s, box-shadow .3s; }
.fd-demo svg { width:18px; height:18px; transition:transform .3s; }
.fd-demo:hover { transform:translateY(-2px); box-shadow:0 12px 30px -8px rgba(255,210,63,.55); }
.fd-demo:hover svg { transform:translateX(4px); }
.fd-col h5 { color:#fff; font-size:19px; font-weight:700; letter-spacing:-.01em; margin:4px 0 24px; }
.fd-col ul { list-style:none; margin:0; padding:0; display:grid; gap:15px; }
.fd-col ul a { position:relative; font-size:15px; color:rgba(255,255,255,.72); transition:color .25s; }
.fd-col ul a::after { content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1.5px; background:var(--yellow); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.fd-col ul a:hover { color:#fff; }
.fd-col ul a:hover::after { transform:scaleX(1); }
.fd-contact ul a { display:inline-flex; align-items:center; gap:12px; }
.fd-contact ul a::after { left:30px; width:calc(100% - 30px); }
.fd-contact ul svg { width:18px; height:18px; flex:none; color:var(--yellow); }
.fd-social { display:flex; gap:12px; margin-top:28px; }
.fd-social a { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); color:#fff; transition:background .25s, color .25s, transform .25s; }
.fd-social svg { width:18px; height:18px; }
.fd-social a:hover { background:var(--yellow); color:var(--navy); transform:translateY(-3px); border-color:var(--yellow); }
.fd-glow { height:1px; background:linear-gradient(90deg, transparent, rgba(255,255,255,.55) 50%, transparent); position:relative; }
.fd-glow::after { content:""; position:absolute; left:20%; right:20%; top:-6px; height:12px; background:radial-gradient(50% 50% at 50% 50%, rgba(120,150,255,.35), transparent); filter:blur(4px); }
.fd-bottom { display:flex; justify-content:center; align-items:center; gap:16px; flex-wrap:wrap; padding:30px 0 36px; font-size:14px; }
.fd-bottom i { width:5px; height:5px; border-radius:50%; background:var(--yellow); }
.fd-motto { color:#fff; font-weight:600; }
@media (max-width:1080px){ .fd-grid{grid-template-columns:1fr 1fr; gap:44px 32px} .fd-brand{grid-column:1/-1} .fd-pin em{display:none} }
@media (max-width:640px){
  .footer.fd{padding-top:60px; border-radius:28px 28px 0 0} .fd-grid{gap:36px 16px; padding-bottom:44px}
  .fd-contact{grid-column:1/-1} .fd-col h5{font-size:17px; margin-bottom:18px} .fd-col ul a{font-size:14px}
  .fd-bottom{flex-direction:column; gap:8px} .fd-bottom i{display:none}
}
.fd-map { top:auto; bottom:0; transform:translate(-50%, calc(48% - 52px)); }
.fd-map img { opacity:.11; }
/* footer legibility */
.fd-map img { opacity:.055; }
.footer.fd { color:rgba(255,255,255,.85); }
.fd-brand p { color:rgba(255,255,255,.82); font-size:16px; }
.fd-col h5 { font-size:20px; }
.fd-col ul a { color:rgba(255,255,255,.9); font-size:16px; font-weight:500; text-shadow:0 1px 8px rgba(6,15,38,.9); }
.fd-col ul { gap:16px; }
.fd-bottom { font-size:15px; color:rgba(255,255,255,.82); }
@media (max-width:640px){ .fd-col ul a{font-size:15px} }

/* ==========================================================
   Top bar v3: full-width bar (no capsule), sliding underline,
   scroll-progress line, tap ripple
   ========================================================== */
.nav { padding: env(safe-area-inset-top, 0px) 0 0 !important; pointer-events: auto; transition: transform .45s var(--ease), background .4s, box-shadow .4s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; background: linear-gradient(180deg, rgba(5,12,32,.7), rgba(5,12,32,0)); transition: opacity .4s; pointer-events: none; }
.nav.scrolled { background: rgba(246,244,239,.97) !important; box-shadow: 0 10px 30px -24px rgba(31,34,38,.45) !important; }
.nav.scrolled::before, .nav.open::before { opacity: 0; }
.nav .nav-cap, .nav.scrolled .nav-cap { max-width: var(--maxw); height: 82px; margin: 0 auto; padding: 0 24px; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid rgba(255,255,255,.16); gap: 28px; }
.nav.scrolled .nav-cap { height: 68px; border-bottom-color: transparent; }
.nav .brand-logo { border-radius: 11px; }
/* scroll progress line along the bottom of the bar */
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--yellow), var(--blue)); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity .4s; }
.nav.scrolled::after { opacity: 1; }
/* call to action: squared, not a pill */
.nav:not(.open) .nav-cap .nav-cta { border-radius: 12px; padding: 12px 20px; }
.nav-cta { position: relative; overflow: hidden; }
.nav-cta:hover svg { transform: translateX(3px); }
.nav-cta svg { transition: transform .3s var(--ease); }

@media (min-width: 901px) {
  .nav .menu { align-self: stretch; align-items: stretch; gap: 4px; }
  .nav .menu > li { display: flex; }
  .nav .menu > li > a { position: relative; overflow: hidden; height: 100%; padding: 0 16px; border-radius: 0; }
  .nav:not(.scrolled):not(.open) .menu > li > a:hover { color: #fff; }
  .nav .menu > li > a:hover, .nav .menu > li > a.active { color: var(--yellow); }
  .nav.scrolled .menu > li > a:hover, .nav.scrolled .menu > li > a.active { color: var(--blue-ink); }
  /* the highlight becomes an underline that slides between links */
  .menu-hl { top: auto !important; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; transform: translateX(var(--x, 0px)); background: var(--yellow); transition: transform .5s cubic-bezier(.65,0,.25,1.25), width .5s cubic-bezier(.65,0,.25,1.25), opacity .3s; }
  .nav.scrolled .menu-hl { background: var(--blue); }
  .menu-hl.hit { animation: hlHit .55s var(--ease); }
  .mega { top: calc(100% + 8px); }
  .mega::before { top: -12px; height: 12px; }
}
@keyframes hlHit { 0%{ height:3px } 35%{ height:8px } 100%{ height:3px } }
/* tap ripple on click */
.tap { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: currentColor; opacity: .35; pointer-events: none; animation: tapRing .65s ease-out forwards; }
@keyframes tapRing { to { transform: scale(16); opacity: 0; } }

@media (max-width: 900px) {
  .nav .nav-cap, .nav.scrolled .nav-cap { height: 66px; padding: 0 16px; }
  .nav.open .nav-cap { border-bottom-color: transparent; }
  .nav .burger { border-radius: 12px; }
}

/* ---------- Page-to-section landing curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; }
.curtain.on { visibility: visible; pointer-events: auto; }
.cu-a, .cu-b { position: absolute; inset: 0; }
.cu-a { background: var(--yellow); }
.cu-b { background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; overflow: hidden; }
.cu-b::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 26px 26px; }
.cu-n { position: relative; font-family: var(--mono); font-size: clamp(13px, 1.1vw, 17px); letter-spacing: .16em; color: var(--yellow); }
.cu-t { position: relative; font-size: clamp(46px, 8vw, 132px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }

/* ==========================================================
   Hero: "Delivered for" logo card (replaces the faint list)
   ========================================================== */
.dv { align-self: end; width: clamp(340px, 29vw, 460px); margin-bottom: 6px; padding: 20px; border-radius: 24px; background: rgba(251,250,246,.97); color: var(--ink); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); }
.dv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 4px 14px; }
.dv-label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.dv-label b { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: dvPulse 2s infinite; }
@keyframes dvPulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.dv-count { font-size: 12px; font-weight: 800; padding: 6px 11px; border-radius: 999px; background: var(--yellow); color: var(--navy); }
.dv-row { display: grid; grid-template-columns: 104px 1fr 22px; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background .3s, transform .35s var(--ease); }
.dv-row + .dv-row { margin-top: 2px; }
.dv-logo { display: grid; place-items: center; height: 48px; padding: 6px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dv-logo img { max-height: 30px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dv-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.dv-tags i { font-style: normal; font-size: 12.5px; font-weight: 600; line-height: 1; padding: 6px 9px; border-radius: 8px; background: #eef1fb; color: var(--blue-ink); white-space: nowrap; }
.dv-go { color: var(--blue); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .35s var(--ease); }
.dv-go svg, .dv-more svg { width: 18px; height: 18px; display: block; }
.dv-row:hover { background: #eceae3; transform: translateX(4px); }
.dv-row:hover .dv-go { opacity: 1; transform: none; }
.dv-more { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; transition: background .3s; }
.dv-more:hover { background: var(--blue); }
.dv-more svg { transition: transform .3s var(--ease); }
.dv-more:hover svg { transform: translateX(4px); }
@media (max-width: 1080px) {
  .dv { width: 100%; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
  .dv-head, .dv-more { grid-column: 1 / -1; }
  .dv-row + .dv-row { margin-top: 0; }
}
@media (max-width: 640px) {
  .dv { grid-template-columns: 1fr; padding: 14px; border-radius: 20px; }
  .dv-row { grid-template-columns: 84px 1fr; padding: 8px; gap: 10px; }
  .dv-go { display: none; }
  .dv-logo { height: 40px; }
  .dv-tags i { font-size: 11.5px; padding: 5px 7px; }
}
@media (min-width: 901px) { .nav .menu > li.m-only { display: none; } }
.nav::after { top: 0; bottom: auto; height: 3px; }
/* arrival cue after a menu/button jump (replaces the full-screen curtain) */
.curtain { display: none !important; }
.land-line { position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 5; pointer-events: none; background: linear-gradient(90deg, var(--yellow), var(--blue)); transform-origin: left; animation: landLine 1.3s var(--ease) forwards; }
@keyframes landLine { 0% { transform: scaleX(0); opacity: 1; } 55% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.land-line { top: 26px; left: calc(50% - min(var(--maxw), 100%) / 2 + 24px); right: calc(50% - min(var(--maxw), 100%) / 2 + 24px); height: 3px; border-radius: 3px; }
/* top bar: rounded bottom edge */
.nav { border-radius: 0 0 26px 26px; }
.nav.scrolled { box-shadow: 0 0 0 1px rgba(31,34,38,.06), 0 14px 34px -20px rgba(31,34,38,.4) !important; }
.nav::after { left: 26px; right: 26px; border-radius: 0 0 3px 3px; }
@media (max-width: 900px) { .nav { border-radius: 0 0 20px 20px; } .nav.open { border-radius: 0; } }
.nav.scrolled { background: #f6f4ef !important; }

/* ===== Top bar: solid + rounded from the first frame, links grouped right ===== */
.js:not(.ready) .nav { opacity: 1 !important; animation: none !important; }
.nav, .nav.scrolled { background: #f6f4ef !important; }
.nav::before { display: none; }
.nav .nav-cap, .nav.scrolled .nav-cap { height: 72px; border-bottom: 0; }
@media (min-width: 901px) {
  .nav .menu { margin: 0 0 0 auto; }
  .nav .nav-cap .nav-cta { margin-left: 10px; }
  .nav .nav-cap .menu::after { content: ""; align-self: center; width: 1px; height: 26px; margin-left: 14px; background: var(--line-2, rgba(31,34,38,.15)); }
  .nav .menu > li > a { padding: 0 14px; }
}
@media (max-width: 1180px) and (min-width: 901px) { .nav .menu > li > a { padding: 0 10px; font-size: 14px; } }
@media (max-width: 900px) { .nav .nav-cap, .nav.scrolled .nav-cap { height: 64px; } }

/* ===== Hero: "Delivered for" spotlight (no card) ===== */
.sp { position: relative; align-self: end; width: clamp(320px, 28vw, 440px); margin-bottom: 8px; color: #fff; isolation: isolate; }
.sp::before { content: ""; position: absolute; inset: -70px -80px -60px -100px; z-index: -1; background: radial-gradient(closest-side, rgba(5,12,32,.85), rgba(5,12,32,.55) 55%, transparent); pointer-events: none; }
.sp-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.sp-label b { width: 28px; height: 2px; background: var(--yellow); }
.sp-stage { position: relative; display: grid; margin-top: 22px; min-height: 196px; }
.sp-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.sp-item.on { opacity: 1; visibility: visible; }
.sp-logo { display: block; height: clamp(40px, 3.6vw, 56px); width: auto; max-width: 100%; object-fit: contain; object-position: left; filter: drop-shadow(0 2px 14px rgba(0,0,0,.5)); }
.sp-item ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.sp-item li { display: flex; align-items: center; gap: 12px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; letter-spacing: -.01em; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.sp-item li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); flex: none; }
.sp-item.on .sp-logo, .sp-item.on li { animation: spIn .7s var(--ease) both; }
.sp-item.on li:nth-child(1) { animation-delay: .1s; } .sp-item.on li:nth-child(2) { animation-delay: .18s; } .sp-item.on li:nth-child(3) { animation-delay: .26s; }
@keyframes spIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
.sp-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.sp-dot { display: grid; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; }
.sp-dot img { height: 18px; width: auto; max-width: 100%; object-fit: contain; object-position: left; opacity: .45; transition: opacity .3s; }
.sp-dot:hover img, .sp-dot.on img { opacity: 1; }
.sp-dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.sp-dot i::after { content: ""; display: block; height: 100%; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.sp-dot.on i::after { animation: spBar var(--sp-dur, 4s) linear forwards; }
.sp.paused .sp-dot.on i::after { animation-play-state: paused; }
@keyframes spBar { to { transform: scaleX(1); } }
.sp-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); border-bottom: 2px solid var(--yellow); padding-bottom: 3px; }
.sp-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sp-more:hover { color: var(--yellow); } .sp-more:hover svg { transform: translateX(4px); }
@media (max-width: 1080px) { .sp { width: 100%; margin-top: 24px; } .sp-stage { min-height: 170px; } }
@media (max-width: 640px) { .sp::before { inset: -30px -24px; } .sp-stage { min-height: 156px; } .sp-item li { font-size: 16px; } .sp-logo { height: 36px; } }

/* ===== Services: expanding rows ===== */
.svc-sec { background: var(--navy); color: rgba(255,255,255,.75); }
.svc-sec .h2 { color: #fff; }
.svc-sec .lead { color: rgba(255,255,255,.72); }
.svc-sec .label { color: var(--yellow); }
.svc-sec .label b { color: rgba(255,255,255,.6); }
.svc-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.svc { position: relative; display: grid; grid-template-columns: 70px minmax(220px, 1.1fr) 1.6fr auto 40px; align-items: center; gap: 28px; padding: 26px 20px; border-bottom: 1px solid rgba(255,255,255,.14); cursor: default; isolation: isolate; transition: color .35s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); border-radius: 4px; }
.svc-n { font-family: var(--mono); font-size: 14px; color: var(--yellow); transition: color .35s; }
.svc h3 { margin: 0; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; letter-spacing: -.02em; color: #fff; transition: color .35s, transform .45s var(--ease); }
.svc p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); transition: color .35s; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.svc-tags i { font-style: normal; font-family: var(--mono); font-size: 11.5px; padding: 5px 9px; border-radius: 6px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75); white-space: nowrap; transition: border-color .35s, color .35s; }
.svc-go { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .35s, color .35s, transform .45s var(--ease), border-color .35s; }
.svc-go svg { width: 18px; height: 18px; }
.svc:hover::before { transform: scaleY(1); }
.svc:hover .svc-n, .svc:hover h3, .svc:hover p { color: var(--navy); }
.svc:hover h3 { transform: translateX(8px); }
.svc:hover .svc-tags i { color: var(--navy); border-color: rgba(31,34,38,.3); }
.svc:hover .svc-go { background: var(--navy); color: var(--yellow); border-color: var(--navy); transform: rotate(-45deg); }
.svc-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-size: 18px; font-weight: 600; color: #fff; }
.svc-foot .btn svg { width: 18px; height: 18px; }
@media (max-width: 1180px) { .svc { grid-template-columns: 56px 1fr 1.4fr 40px; } .svc-tags { display: none; } }
@media (max-width: 760px) {
  .svc { grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 22px 6px; }
  .svc p { grid-column: 2; } .svc-go { display: none; }
  .svc-tags { display: flex; grid-column: 2; justify-content: flex-start; margin-top: 6px; }
}
.svc { grid-template-columns: 60px minmax(0, 300px) minmax(0, 1fr) 330px 40px; }
@media (min-width: 1600px) { .svc { grid-template-columns: 70px 360px minmax(0, 1fr) 380px 40px; } }
@media (max-width: 1180px) { .svc { grid-template-columns: 50px minmax(0, 240px) minmax(0, 1fr) 40px; } }
@media (max-width: 760px) { .svc { grid-template-columns: 44px 1fr; } }

/* ===== Services v2: compact 4x2 grid ===== */
.svc-sec.section { padding-block: 110px 100px; }
.sg-head { display: grid; grid-template-columns: 1fr minmax(280px, 440px); gap: 40px; align-items: end; }
.sg-side p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.72); }
.sg-side .btn svg { width: 18px; height: 18px; }
.sg-grid { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.sg { position: relative; padding: 26px 24px 28px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); isolation: isolate; overflow: hidden; }
.sg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: translateY(101%); transition: transform .45s var(--ease); }
.sg-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,210,63,.12); color: var(--yellow); transition: background .35s, color .35s, transform .45s var(--ease); }
.sg-ic svg { width: 24px; height: 24px; }
.sg-n { position: absolute; top: 26px; right: 24px; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.4); transition: color .35s; }
.sg h3 { margin: 22px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.015em; color: #fff; transition: color .35s; }
.sg p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.66); transition: color .35s; }
.sg:hover::before { transform: none; }
.sg:hover .sg-ic { background: var(--navy); color: var(--yellow); transform: rotate(-8deg) scale(1.05); }
.sg:hover h3, .sg:hover .sg-n { color: var(--navy); }
.sg:hover p { color: rgba(31,34,38,.75); }
@media (max-width: 1080px) { .sg-head { grid-template-columns: 1fr; gap: 20px; } .sg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .svc-sec.section { padding-block: 80px 72px; }
  .sg { padding: 18px 14px 20px; } .sg-n { top: 18px; right: 14px; }
  .sg-ic { width: 40px; height: 40px; } .sg h3 { font-size: 15.5px; margin-top: 14px; } .sg p { font-size: 13px; }
}

/* ===== Performance pass ===== */
/* faded-out slides leave the compositor entirely (not just opacity 0) */
.slide { visibility: hidden; transition: opacity 1.6s ease, visibility 0s 1.6s; }
.slide.on { visibility: visible; transition: opacity 1.6s ease, visibility 0s; }
/* hero off screen: stop painting its photos and pause its loops */
.hero-x.off .slides { visibility: hidden; }
.hero-x.off *, .hero-x.off *::before, .hero-x.off *::after { animation-play-state: paused !important; }
/* glass without backdrop blur (blur over animated photos re-renders every frame) */
.kicker-glass, .btn-glass { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.kicker-glass { background: rgba(9,18,44,.45); }
.btn-glass { background: rgba(9,18,44,.35); }
.btn-glass:hover { background: rgba(255,255,255,.14); }

/* ===== Review fixes ===== */
/* product description no longer cut mid-sentence */
.prod-tab.on .pt-desc { max-height: 180px; }
/* portfolio tabs: one-line summary fills the list */
.sol-tab .d { grid-column: 2 / -1; margin-top: -6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.sol-tab[aria-selected="true"] .d { color: var(--ink-2); }
@media (max-width: 640px) { .sol-tab .d { font-size: 13px; } }
/* contact form */
.form h3 { margin-bottom: 6px; }
.form-sub { margin: 0 0 22px; font-size: 14.5px; color: var(--muted); }
.f select { width: 100%; border: 1.5px solid var(--line-2); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b3f' stroke-width='2.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; border-radius: 12px; padding: 14px 40px 14px 16px; font: inherit; font-size: 15px; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.f select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.f select:invalid { color: var(--muted); }
.f.err input, .f.err textarea, .f.err select { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.f.err span { color: #c9353a; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-alt { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.form-alt a { color: var(--blue-ink); font-weight: 700; }
.form-done { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #e9f8ef; color: #12603a; font-size: 14px; line-height: 1.55; }
.form-done a { color: var(--blue-ink); font-weight: 700; }
.btn.busy { opacity: .7; pointer-events: none; }
.step .pills { padding: 0 !important; margin-top: 18px; background: none; }
.sol-tab .n { grid-row: 1; } .sol-tab .t { grid-row: 1; grid-column: 2; } .sol-tab .tag { grid-row: 1; grid-column: 3; } .sol-tab .d { grid-row: 2; }

/* ==========================================================
   v4 — brand bar, products console, timeline, conversational
   contact, labels, buttons, day / night mode
   ========================================================== */

/* ---------- Top bar: deep navy, rounded, brand-forward ---------- */
.nav, .nav.scrolled { background: #1f2226 !important; box-shadow: 0 18px 40px -24px rgba(5,12,32,.7) !important; }
.nav::after { top: auto; bottom: 0; left: 30px; right: 30px; height: 2px; border-radius: 2px; opacity: 1 !important; }
.nav .menu > li > a, .nav.scrolled .menu > li > a { color: rgba(255,255,255,.78); }
@media (min-width: 901px) {
  .nav .menu > li > a:hover, .nav .menu > li > a.active, .nav.scrolled .menu > li > a:hover, .nav.scrolled .menu > li > a.active { color: #fff; }
  .menu-hl, .nav.scrolled .menu-hl { background: var(--yellow); }
  .nav .nav-cap .menu::after { background: rgba(255,255,255,.18); }
}
.nav:not(.open) .nav-cap .nav-cta, .nav.scrolled:not(.open) .nav-cap .nav-cta { background: var(--yellow); color: #1f2226; }
.nav .burger, .nav.scrolled .burger { background: var(--yellow); }
.nav .burger span { background: #1f2226; }

/* brand: logo + wordmark + rotating quote */
.brand-x { display: flex; align-items: center; gap: 12px; color: #fff !important; min-width: 0; }
.bx-logo { position: relative; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; transition: transform .6s cubic-bezier(.5,-0.4,.3,1.5); }
.bx-logo::after { content: ""; position: absolute; inset: -4px; border-radius: 15px; border: 2px solid var(--yellow); opacity: 0; transform: scale(.85); transition: opacity .35s, transform .5s var(--ease); }
.nav .bx-logo .brand-logo { width: 34px; height: 34px; border-radius: 9px; box-shadow: none !important; transition: transform .8s cubic-bezier(.5,-0.3,.3,1.3); }
.brand-x:hover .bx-logo { transform: rotate(-8deg) scale(1.06); }
.brand-x:hover .bx-logo::after { opacity: 1; transform: none; }
.brand-x:hover .brand-logo { transform: rotate(360deg); }
.bx-txt { display: grid; min-width: 0; line-height: 1.1; }
.bx-name { display: inline-flex; align-items: baseline; gap: 3px; font-size: 21px; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.bx-name i { width: 7px; height: 7px; border-radius: 2px; background: var(--yellow); transform: translateY(-1px); transition: transform .5s var(--ease); }
.brand-x:hover .bx-name i { transform: translateY(-1px) rotate(225deg) scale(1.2); }
.bx-quote { position: relative; height: 16px; margin-top: 3px; overflow: hidden; width: clamp(150px, 19vw, 280px); }
.bx-quote span { position: absolute; left: 0; top: 0; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 500; font-style: italic; color: rgba(255,255,255,.62); transition: transform .6s var(--ease), opacity .6s; }
.bx-quote span.in { transform: translateY(100%); opacity: 0; }
.bx-quote span.out { transform: translateY(-100%); opacity: 0; }
@media (max-width: 1360px) and (min-width: 901px) { .bx-quote { display: none; } }
@media (max-width: 420px) { .bx-quote { width: 170px; } .bx-name { font-size: 19px; } }

/* day / night toggle */
.theme-tog { position: relative; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; overflow: hidden; margin-left: 6px; transition: background .3s, border-color .3s; }
.theme-tog:hover { background: rgba(255,255,255,.14); border-color: var(--yellow); }
.theme-tog svg { position: absolute; width: 20px; height: 20px; transition: transform .6s cubic-bezier(.5,-0.4,.3,1.4), opacity .4s; }
.theme-tog .t-moon { transform: translateY(26px) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-tog .t-sun { transform: translateY(-26px) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-tog .t-moon { transform: none; opacity: 1; color: var(--yellow); }
@media (max-width: 900px) { .theme-tog { margin-left: auto; margin-right: 8px; } .nav .burger { margin-left: 0; } }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .5s, color .5s, border-color .5s !important; }

/* ---------- Buttons: circular up-right arrow ---------- */
.btn svg, .nav-cta svg { width: 28px; height: 28px; padding: 6px; margin-right: -12px; border-radius: 50%; background: rgba(255,255,255,.2); transition: transform .45s var(--ease), background .3s; }
.btn-yellow svg, .nav-cta svg, .fd-demo svg { background: rgba(31,34,38,.12); }
.btn:hover svg, .nav-cta:hover svg { transform: rotate(45deg); }
.btn:hover svg { background: rgba(255,255,255,.3); }
.btn-yellow:hover svg { background: #1f2226; color: var(--yellow); }
.btn-yellow { color: #1f2226; }

/* ---------- Section labels: pill, no numbers ---------- */
.label { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.label i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.svc-sec .label, .contact .label, .why .label, .band .label { background: rgba(255,210,63,.12); color: var(--yellow); }

/* ---------- Products: chip bar + console ---------- */
.prod { display: block; }
.prod-list { display: flex !important; flex-wrap: wrap; gap: 10px; padding: 0 !important; overflow: visible !important; }
.prod-list li { flex: 1 1 0; min-width: 120px; }
.prod-tab, .prod-tab.on { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 12px 14px 16px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: left; overflow: hidden; position: relative; transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.prod-tab::before { display: none; }
.prod-tab:hover { transform: translateY(-2px); background: var(--paper); }
.pc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); transition: background .35s, color .35s; }
.pc-ic svg { width: 19px; height: 19px; }
.pc-t { font-weight: 800; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.pc-bar { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; }
.pc-bar i { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.prod-tab.on { background: #1f2226; box-shadow: 0 16px 30px -18px rgba(31,34,38,.7); }
.prod-tab.on .pc-t { color: #fff; }
.prod-tab.on .pc-ic { background: var(--yellow); color: #1f2226; }
.prod-tab.on .pc-bar { opacity: 1; background: rgba(255,255,255,.15); }
.prod-tab.on .pc-bar i { animation: fill var(--prod-ms, 7s) linear forwards; }
.prod.paused .prod-tab.on .pc-bar i, .prod.idle .prod-tab.on .pc-bar i { animation-play-state: paused; }
.prod-stage { margin-top: 18px; min-height: 0 !important; display: grid; border-radius: 28px; background: #1f2226; overflow: hidden; position: relative; isolation: isolate; }
.prod-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 10%, rgba(31,34,38,.45), transparent 60%), radial-gradient(40% 60% at 0% 100%, rgba(255,210,63,.12), transparent 60%); }
.prod-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.pp { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 44px; align-items: center; padding: 48px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.pp.on { opacity: 1; visibility: visible; transition: opacity .5s, visibility 0s; }
.pp-info { color: rgba(255,255,255,.75); }
.pp-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.pp-k b { padding: 5px 10px; border-radius: 8px; background: var(--yellow); color: #1f2226; letter-spacing: .04em; }
.pp-info h3 { margin-top: 18px; font-size: clamp(26px, 2.5vw, 38px); color: #fff; letter-spacing: -.03em; }
.pp-info p { margin-top: 14px; font-size: 16.5px; line-height: 1.65; }
.pp-info ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 12px; }
.pp-info li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 15px; }
.pp-info li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255,210,63,.16); color: var(--yellow); }
.pp.on .pp-info > * { animation: ppIn .7s var(--ease) both; }
.pp.on .pp-info > *:nth-child(2) { animation-delay: .06s; } .pp.on .pp-info > *:nth-child(3) { animation-delay: .12s; } .pp.on .pp-info > *:nth-child(4) { animation-delay: .18s; } .pp.on .pp-info > *:nth-child(5) { animation-delay: .24s; }
@keyframes ppIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pp-view .screen { position: relative; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.pp:not(.on) .pp-view .screen .screen-body > * { opacity: 0; }
.pp.on .pp-view .screen { animation: ppScreen .8s var(--ease) both; }
@keyframes ppScreen { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.lp { display: grid; grid-template-columns: 1fr 90px 40px; gap: 10px; align-items: center; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
.lp:last-child { border-bottom: 0; }
.lp i { height: 6px; border-radius: 6px; background: var(--bg-soft); position: relative; overflow: hidden; }
.lp i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 6px; background: linear-gradient(90deg, var(--blue), #6f8bff); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .3s; }
.screen.on .lp i::after { transform: scaleX(1); }
.lp b { font-family: var(--mono); font-size: 11.5px; text-align: right; color: var(--ink-2); }
@media (max-width: 1080px) {
  .pp { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .prod-list li { flex: 1 1 calc(25% - 10px); }
}
@media (max-width: 640px) {
  .prod-list { flex-wrap: nowrap; overflow-x: auto !important; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px !important; }
  .prod-list::-webkit-scrollbar { display: none; }
  .prod-list li { flex: 0 0 auto; min-width: 0; }
  .prod-tab { padding: 10px 12px 14px; }
  .pp { padding: 24px 18px; }
  .pp-view .screen { font-size: 13px; }
  .prod-stage { border-radius: 22px; }
}

/* ---------- Engagement: compact horizontal timeline ---------- */
.tl-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.tl-head .btn svg { width: 28px; height: 28px; }
.tl { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tl-line { position: absolute; left: 30px; right: 30px; top: 29px; height: 2px; background: var(--line-2); }
.tl-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--yellow)); transform-origin: left; transform: scaleX(0); }
.tl-step { position: relative; padding: 0 6px 0 0; }
.tl-dot { position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--paper); color: var(--blue-ink); box-shadow: 0 0 0 6px var(--lav), inset 0 0 0 1px var(--line); transition: background .35s, color .35s, transform .45s var(--ease); }
.tl-dot svg { width: 26px; height: 26px; }
.tl-step:hover .tl-dot { background: #1f2226; color: var(--yellow); transform: translateY(-4px) rotate(-6deg); }
.tl-n { display: block; margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }
.tl-step h3 { margin-top: 6px; font-size: 21px; }
.tl-step p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tl-step em { display: inline-block; margin-top: 14px; font-style: normal; font-family: var(--mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
#process.section { padding-block: 110px 100px; }
@media (max-width: 1080px) { .tl { grid-template-columns: 1fr 1fr; row-gap: 40px; } .tl-line { display: none; } }
@media (max-width: 560px) {
  .tl { grid-template-columns: 1fr; row-gap: 0; margin-top: 36px; }
  .tl-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding-bottom: 26px; }
  .tl-step::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--line-2); }
  .tl-step:last-child::before { display: none; }
  .tl-dot { width: 52px; height: 52px; border-radius: 15px; grid-row: 1 / span 4; }
  .tl-n { margin-top: 2px; } .tl-step h3, .tl-step p, .tl-step em { grid-column: 2; }
}

/* ---------- Contact: conversational "fill in the blanks" ---------- */
.talk { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; border-radius: 32px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.talk-side { position: relative; padding: 56px 48px; background: #1f2226; color: rgba(255,255,255,.75); isolation: isolate; overflow: hidden; }
.talk-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 0% 100%, rgba(31,34,38,.55), transparent 60%); }
.talk-side::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.talk-side .label { background: rgba(255,210,63,.12); color: var(--yellow); }
.talk-side .h2 { color: #fff; margin-top: 18px; font-size: clamp(34px, 3.4vw, 52px); }
.talk-side .lead { color: rgba(255,255,255,.72); margin-top: 16px; }
.talk-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.talk-quick a { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .3s, transform .35s var(--ease); }
.talk-quick a:hover { background: var(--yellow); transform: translateY(-3px); }
.talk-quick a > span { grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,210,63,.14); color: var(--yellow); transition: background .3s, color .3s; }
.talk-quick svg { width: 19px; height: 19px; }
.talk-quick small { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.55); }
.talk-quick b { font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.talk-quick a:hover small, .talk-quick a:hover b { color: #1f2226; }
.talk-quick a:hover > span { background: #1f2226; color: var(--yellow); }
.talk-office { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.7); }
.talk-office svg { width: 18px; height: 18px; color: var(--yellow); }
.ask { padding: 56px 52px; display: grid; align-content: center; gap: 6px; color: var(--ink); }
.ask-line { margin: 0; font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; line-height: 2.1; letter-spacing: -.02em; color: var(--ink); }
.ask .f { display: inline-block; vertical-align: baseline; }
.ask .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ask .ask-line input, .ask .ask-line select { width: auto; min-width: 9ch; max-width: 100%; padding: 2px 4px; border: 0; border-bottom: 2.5px dashed var(--line-2); border-radius: 0; background: transparent; font: inherit; color: var(--blue-ink); outline: none; transition: border-color .3s, background .3s; }
.ask .ask-line input { field-sizing: content; }
.ask .ask-line input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); font-weight: 600; }
.ask .ask-line input:focus, .ask .ask-line select:focus { border-bottom: 2.5px solid var(--blue); background: var(--blue-soft); box-shadow: none; }
.ask .f-sel select { padding-right: 30px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232547f4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center / 18px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ask .f.err input, .ask .f.err select { border-bottom-color: #e5484d; background: rgba(229,72,77,.08); box-shadow: none; }
.ask .f-msg { display: block; margin-top: 18px; }
.ask .f-msg span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.ask .f-msg textarea { width: 100%; border: 1.5px solid var(--line-2); background: var(--bg); border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--ink); outline: none; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.ask .f-msg textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.ask .f-msg.err textarea { border-color: #e5484d; }
.ask-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 20px; }
.ask-foot span { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) { .talk { grid-template-columns: 1fr; } .talk-side, .ask { padding: 40px 32px; } }
@media (max-width: 640px) {
  .talk { border-radius: 24px; }
  .talk-side, .ask { padding: 32px 20px; }
  .talk-quick { grid-template-columns: 1fr; }
  .ask-line { font-size: 19px; line-height: 2; }
  .ask .ask-line select { max-width: 100%; }
}

/* ==========================================================
   Night mode
   ========================================================== */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1124; --bg-soft: #0e1730; --paper: #121c38;
  --lav: #0f1733; --sand: #121a30; --mint: #0e1b26; --sky: #0e1832;
  --ink: #eef1f8; --ink-2: #c3cbe0; --muted: #8e9ab8;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.17);
  --blue: #4f6dff; --blue-ink: #93a6ff; --blue-soft: rgba(91,120,255,.15);
  --navy: #16181b; --navy-2: #23262b;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -16px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.3), 0 30px 60px -24px rgba(0,0,0,.7);
}
[data-theme="dark"] .nav, [data-theme="dark"] .nav.scrolled { background: #16181b !important; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 18px 40px -24px rgba(0,0,0,.9) !important; }
[data-theme="dark"] .prod-tab.on, [data-theme="dark"] .prod-stage, [data-theme="dark"] .talk-side { background: #16181b; }
[data-theme="dark"] .tl-step:hover .tl-dot { background: var(--yellow); color: #1f2226; }
[data-theme="dark"] .btn-dark { background: #eef1f8; color: #1f2226; }
[data-theme="dark"] .mark { color: inherit; }
[data-theme="dark"] .lg, [data-theme="dark"] .cl-tab, [data-theme="dark"] .dv-logo { background: #f3f1ec; }
[data-theme="dark"] .footer.fd { background: radial-gradient(120% 90% at 70% 40%, #0c1a40 0%, #16181b 50%, #03070f 100%); }
[data-theme="dark"] .svc-sec { background: #16181b; }
[data-theme="dark"] .band { background: #16181b; }
[data-theme="dark"] img.team-photo, [data-theme="dark"] .about-img img { filter: brightness(.92); }

/* ---------- v4 fixes ---------- */
.nav-cta { white-space: nowrap; }
@media (max-width: 1600px) and (min-width: 901px) { .bx-quote { display: none; } }
@media (max-width: 1240px) and (min-width: 901px) { .nav .menu > li > a { padding: 0 9px; font-size: 13.5px; } .nav .nav-cap { gap: 14px; } }
/* conversational form sizing */
.ask-line { font-size: clamp(19px, 1.7vw, 24px); line-height: 2.2; }
.ask .ask-line input { min-width: 0; }
#form_name { width: 11ch; } #form_company { width: 10ch; } #form_email { width: 13ch; } #form_phone { width: 12ch; }
.ask .f-sel select { width: auto; max-width: 100%; }
@media (max-width: 640px) { #form_name, #form_company, #form_email, #form_phone { width: 100%; } .ask .ask-line .f { display: block; } .ask-line { line-height: 1.6; } .ask .ask-line input, .ask .ask-line select { margin: 4px 0 14px; } }
/* night mode: surfaces that were hard-coded light */
[data-theme="dark"] .cl-apps li { background: var(--paper); }
[data-theme="dark"] .cl-tab.on::after { background: #f3f1ec; }
[data-theme="dark"] .top-btn { background: var(--yellow); color: #1f2226; }
[data-theme="dark"] .top-btn:hover { background: #fff; }
[data-theme="dark"] .burger { background: var(--yellow); }
[data-theme="dark"] .toast, [data-theme="dark"] .ft-tile:hover .ft-ic { background: #16181b; }
[data-theme="dark"] .crow-logo { background: #f3f1ec; }
.prod-stage { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1080px) { .pp { grid-template-columns: minmax(0, 1fr); } }
.pp-view { min-width: 0; }
@media (max-width: 640px) { .pp-view .screen .kpis { grid-template-columns: 1fr 1fr; } .pp-view .card-row { grid-template-columns: 1fr; } .pp-info h3 { font-size: 26px; } }

/* conversational form: blanks sit on the text baseline */
.ask { gap: 0; }
.ask .ask-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .35em; row-gap: 4px; margin: 0 0 18px; line-height: 1.35; }
.ask .ask-line .f { display: inline-flex; margin: 0; padding: 0; }
.ask .ask-line input, .ask .ask-line select { height: auto; margin: 0; padding: 0 2px 4px; line-height: 1.25; border-bottom-width: 2px; }
.ask .ask-line input { field-sizing: content; min-width: 7ch; max-width: 100%; }
.ask .f-sel select { field-sizing: content; padding-right: 26px; background-position: right 2px center; }
@supports not (field-sizing: content) { .ask .f-sel select { width: 17ch; } }
.ask .f-msg { margin-top: 10px; }
@media (max-width: 640px) {
  .ask .ask-line { flex-direction: column; align-items: stretch; row-gap: 6px; }
  .ask .ask-line .f, .ask .ask-line input, .ask .ask-line select { width: 100%; }
  .ask .ask-line input, .ask .ask-line select { margin-bottom: 6px; }
}
@supports (field-sizing: content) { .ask .ask-line #form_name, .ask .ask-line #form_company, .ask .ask-line #form_email, .ask .ask-line #form_phone { width: auto; min-width: 8ch; } }
@media (max-width: 640px) { .ask .ask-line #form_name, .ask .ask-line #form_company, .ask .ask-line #form_email, .ask .ask-line #form_phone { width: 100%; } }

/* brand quote: visible at every width (wraps to two short lines when space is tight) */
@media (min-width: 0px) { .bx-quote { display: block !important; } }
.bx-quote { width: clamp(150px, 15vw, 270px); height: 30px; margin-top: 3px; }
.bx-quote span { white-space: normal; overflow: visible; text-overflow: clip; font-size: 11.5px; line-height: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1500px) and (min-width: 901px) { .nav .menu > li > a { padding: 0 10px; font-size: 14px; } .nav .nav-cap { gap: 16px; } .nav .nav-cap .menu::after { margin-left: 8px; } }
@media (max-width: 1240px) and (min-width: 901px) { .nav .menu > li > a { padding: 0 7px; font-size: 13.5px; } .nav .nav-cap .nav-cta { padding: 11px 14px; } .nav .nav-cap .menu::after { display: none; } .bx-quote { width: 140px; } }
@media (max-width: 1060px) and (min-width: 901px) { .nav .nav-cta svg { display: none; } .bx-name { font-size: 19px; } }
@media (max-width: 420px) { .bx-quote { width: 160px; } }
.nav .nav-cap .nav-cta, .nav .brand-x, .theme-tog { flex: none; }
.nav .nav-cap .nav-cta { padding-right: 10px; }
.nav-cta svg { margin-right: 0; }
.bx-quote { width: clamp(140px, 12vw, 240px); }
@media (max-width: 1640px) and (min-width: 901px) { .nav .menu > li > a { padding: 0 10px; font-size: 14px; } .nav .nav-cap { gap: 16px; } }
@media (max-width: 1100px) and (min-width: 901px) { .nav .nav-cap .nav-cta { display: none; } .bx-quote { width: 150px; } }
/* mega menu centred on the bar (never spills off-screen) */
@media (min-width: 901px) { .nav .mega { position: fixed; top: 80px; left: 50%; width: min(900px, calc(100vw - 48px)); } .nav .mega::before { top: -14px; height: 14px; } }
@media (max-width: 1180px) and (min-width: 901px) { .nav .nav-cap .nav-cta { display: none; } }

/* ===== Contact form: standard, professional layout ===== */
.cform { padding: 52px 52px 48px; color: var(--ink); display: flex; flex-direction: column; justify-content: center; }
.cf-head h3 { font-size: 26px; letter-spacing: -.02em; }
.cf-head p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.cf-head b, .cform .f span b { color: #e5484d; font-weight: 700; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; margin-top: 28px; }
.cf-full { grid-column: 1 / -1; }
.cform .f { display: block; margin: 0; }
.cform .f span { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.cform .f input, .cform .f select, .cform .f textarea { width: 100%; height: 50px; margin: 0; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background-color: var(--bg); font: inherit; font-size: 15px; color: var(--ink); outline: none; box-shadow: none; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.cform .f textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.cform .f select { padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366748f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.cform .f select:invalid { color: var(--muted); }
.cform .f input::placeholder, .cform .f textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.cform .f input:hover, .cform .f select:hover, .cform .f textarea:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line-2)); }
.cform .f input:focus, .cform .f select:focus, .cform .f textarea:focus { border-color: var(--blue); background-color: var(--paper); box-shadow: 0 0 0 4px var(--blue-soft); }
.cform .f.err input, .cform .f.err select, .cform .f.err textarea { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.cform .f.err span { color: #c9353a; }
.cf-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.cf-foot .btn { padding-block: 15px; }
.cf-foot span { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) { .cform { padding: 40px 32px; } }
@media (max-width: 640px) {
  .cform { padding: 32px 20px; }
  .cf-grid { grid-template-columns: 1fr; gap: 16px; }
  .cf-foot .btn { width: 100%; justify-content: center; }
}
.cform #form_name, .cform #form_company, .cform #form_email, .cform #form_phone, .cform #form_subject { width: 100%; min-width: 0; max-width: none; field-sizing: fixed; }

/* brand block: one consistent alignment — quote always a single line */
.brand-x { align-items: center; }
.bx-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.bx-name { line-height: 1; }
.bx-quote, .bx-quote { width: 222px !important; height: 15px !important; margin-top: 0 !important; }
.bx-quote span { display: block !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; font-size: 11.5px !important; line-height: 15px !important; }
@media (max-width: 1320px) and (min-width: 901px) { .bx-quote { width: 196px !important; } .bx-quote span { font-size: 10.3px !important; } .bx-name { font-size: 19px; } .nav .menu > li > a { padding: 0 8px; font-size: 13.5px; } }
@media (max-width: 1100px) and (min-width: 901px) { .nav .nav-cap .menu::after { display: none; } .nav .menu > li > a { padding: 0 6px; font-size: 13px; } }
@media (max-width: 420px) { .bx-quote { width: 196px !important; } .bx-quote span { font-size: 10.5px !important; } }
@media (max-width: 900px) {
  .nav .burger { flex: none; width: 44px; height: 44px; }
  .theme-tog { width: 40px; height: 40px; margin-right: 8px; }
}
@media (max-width: 480px) {
  .nav .nav-cap { gap: 10px; padding: 0 14px; }
  .bx-logo { width: 38px; height: 38px; } .nav .bx-logo .brand-logo { width: 30px; height: 30px; }
  .brand-x { gap: 10px; }
  .bx-name { font-size: 18px; }
  .bx-quote { width: 168px !important; height: 14px !important; }
  .bx-quote span { font-size: 9.6px !important; line-height: 14px !important; }
}
@media (max-width: 480px) { .nav .nav-cap, .nav.scrolled .nav-cap { gap: 10px; padding: 0 14px; } .theme-tog { margin-left: auto; margin-right: 0; } }
@media (max-width: 370px) { .bx-quote { width: 150px !important; } .bx-quote span { font-size: 8.7px !important; } .bx-name { font-size: 17px; } .nav .nav-cap, .nav.scrolled .nav-cap { gap: 8px; padding: 0 12px; } }
.h2 .w { max-width: 100%; white-space: normal; vertical-align: top; }
.h2 .w > span { max-width: 100%; }
.h2 .mark { white-space: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ===== Top bar: matches the page theme + bigger brand ===== */
.nav, .nav.scrolled { background: var(--paper) !important; box-shadow: 0 0 0 1px var(--line), 0 16px 36px -22px rgba(31,34,38,.35) !important; }
[data-theme="dark"] .nav, [data-theme="dark"] .nav.scrolled { background: #0d1630 !important; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 16px 36px -22px rgba(0,0,0,.9) !important; }
.nav .nav-cap, .nav.scrolled .nav-cap { height: 84px; }
.nav .menu > li > a, .nav.scrolled .menu > li > a { color: var(--ink-2); }
@media (min-width: 901px) {
  .nav .menu > li > a:hover, .nav .menu > li > a.active, .nav.scrolled .menu > li > a:hover, .nav.scrolled .menu > li > a.active { color: var(--blue-ink); }
  .menu-hl, .nav.scrolled .menu-hl { background: var(--blue); }
  .nav .nav-cap .menu::after { background: var(--line-2); }
  .nav .mega { top: 92px; }
}
.nav:not(.open) .nav-cap .nav-cta, .nav.scrolled:not(.open) .nav-cap .nav-cta { background: var(--blue); color: #fff; }
.nav-cta svg { background: rgba(255,255,255,.2) !important; }
.theme-tog { border-color: var(--line-2); background: var(--bg); color: var(--ink); }
.theme-tog:hover { background: var(--blue-soft); border-color: var(--blue); }
.nav .burger, .nav.scrolled .burger { background: var(--ink); }
.nav .burger span { background: var(--paper); }
.nav.open .burger { background: var(--yellow) !important; } .nav.open .burger span { background: #1f2226 !important; }
/* brand: bigger logo tile and wordmark */
.brand-x { color: var(--ink) !important; gap: 14px; }
.bx-logo { width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(31,34,38,.4); }
.nav .bx-logo .brand-logo { width: 48px; height: 48px; border-radius: 12px; padding: 1px; }
.bx-logo::after { inset: -5px; border-radius: 20px; border-color: var(--blue); }
.bx-name { font-size: 28px; color: var(--ink); letter-spacing: -.04em; }
.bx-name i { width: 8px; height: 8px; background: var(--yellow); }
.bx-quote span { color: var(--muted) !important; font-style: italic; }
.bx-txt { gap: 4px; }
@media (max-width: 1320px) and (min-width: 901px) { .bx-name { font-size: 25px; } .bx-logo { width: 50px; height: 50px; } .nav .bx-logo .brand-logo { width: 42px; height: 42px; } }
@media (max-width: 900px) { .nav .nav-cap, .nav.scrolled .nav-cap { height: 72px; } .bx-logo { width: 48px; height: 48px; border-radius: 14px; } .nav .bx-logo .brand-logo { width: 40px; height: 40px; } .bx-name { font-size: 23px; } }
@media (max-width: 480px) { .bx-logo { width: 44px; height: 44px; } .nav .bx-logo .brand-logo { width: 37px; height: 37px; } .bx-name { font-size: 21px; } }
@media (max-width: 370px) { .bx-logo { width: 40px; height: 40px; } .nav .bx-logo .brand-logo { width: 34px; height: 34px; } .bx-name { font-size: 19px; } }
/* hero content clears the taller bar */
.hero-x .hero-x-inner { padding-top: 132px; }
@media (max-width: 900px) { .hero-x .hero-x-inner { padding-top: 112px; } }
@media (max-width: 1599px) and (min-width: 1321px) { .bx-name { font-size: 26px; } .nav .menu > li > a { padding: 0 9px; font-size: 14px; } .nav .nav-cap, .nav.scrolled .nav-cap { gap: 14px; } }
.bx-quote span { transition: transform .5s var(--ease), opacity .45s ease; }
.bx-quote span.in { transform: translateY(5px); opacity: 0; }
.bx-quote span.out { transform: translateY(-5px); opacity: 0; transition-duration: .3s; }

/* ===== International client highlight (Amphenol FILEC, France) ===== */
.intl { display: grid; grid-template-columns: auto auto minmax(0,1fr) auto 40px; align-items: center; gap: 22px; margin-top: 26px; padding: 14px 16px 14px 18px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.intl:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px var(--blue); }
.intl-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #1f2226; color: var(--yellow); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.intl-tag i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.25); animation: ping 2s infinite; }
.intl-logo { display: grid; place-items: center; height: 52px; padding: 6px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.intl-logo img { max-height: 38px; width: auto; }
.intl-txt b { display: block; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.intl-txt small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.intl-route { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.intl-route em { font-style: normal; }
.intl-flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line-2); flex: none; }
.intl-line { position: relative; width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px); }
.intl-line i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); animation: intlFly 2.6s var(--ease) infinite; }
@keyframes intlFly { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.intl-go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transition: transform .45s var(--ease); }
.intl-go svg { width: 18px; height: 18px; }
.intl:hover .intl-go { transform: rotate(45deg); }
[data-theme="dark"] .intl-tag { background: #16181b; }
[data-theme="dark"] .intl-logo { background: #f3f1ec; }
@media (max-width: 1080px) { .intl { grid-template-columns: auto minmax(0,1fr) 40px; row-gap: 14px; } .intl-tag { grid-column: 1 / -1; justify-self: start; } .intl-route { grid-column: 1 / -1; grid-row: 3; } .intl-go { grid-column: 3; grid-row: 2; } }
@media (max-width: 640px) { .intl { grid-template-columns: 1fr 40px; padding: 16px; } .intl-logo { justify-self: start; grid-column: 1; } .intl-txt { grid-column: 1 / -1; } .intl-go { grid-column: 2; grid-row: 2; } .intl-line { flex: 1; width: auto; } .intl-route { width: 100%; } .intl-txt b { font-size: 16.5px; } }
@media (max-width: 640px) { .intl-txt { grid-row: 3; } .intl-route { grid-row: 4; } }

/* client logos: always full colour */
.lg img, .lg:hover img, .cl-tab img, .cl-tab:hover img, .crow-logo img { filter: none !important; opacity: 1 !important; }
@media (max-width: 1180px) and (min-width: 1024px) { .nav .nav-cap .nav-cta { display: inline-flex; padding: 10px 10px 10px 16px; font-size: 14px; } }

/* quiet note under the logo wall */
.trust-note { margin: 22px auto 0; text-align: center; font-size: 14.5px; color: var(--muted); }
.trust-note b { color: var(--ink); font-weight: 700; }

/* ===== Our products: icon tiles ===== */
.pills { padding-block: 48px 26px; }
.pt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.pt-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pt-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue-ink); }
.pt-head a svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pt-head a:hover svg { transform: rotate(45deg); }
.pt-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.pt { position: relative; display: grid; gap: 4px; padding: 18px 16px 16px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s, color .3s; }
.pt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #1f2226; transform: translateY(101%); transition: transform .45s var(--ease); }
.pt-ic { width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); transition: background .35s, color .35s, transform .45s var(--ease); }
.pt-ic svg { width: 22px; height: 22px; }
.pt b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); transition: color .3s; }
.pt-nm { font-size: 13px; line-height: 1.35; color: var(--muted); transition: color .3s; }
.pt-go { position: absolute; top: 16px; right: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .3s, background .3s, transform .45s var(--ease); }
.pt-go svg { width: 15px; height: 15px; }
.pt:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -20px rgba(31,34,38,.6); }
.pt:hover::before { transform: none; }
.pt:hover .pt-ic { background: var(--yellow); color: #1f2226; transform: rotate(-6deg); }
.pt:hover b { color: #fff; } .pt:hover .pt-nm { color: rgba(255,255,255,.7); }
.pt:hover .pt-go { background: var(--yellow); color: #1f2226; transform: rotate(45deg); }
@media (max-width: 1180px) { .pt-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pt-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -18px; padding: 4px 18px 10px; }
  .pt-row::-webkit-scrollbar { display: none; }
  .pt { flex: 0 0 150px; scroll-snap-align: start; }
}
.trust .trust-note { font-family: var(--font); letter-spacing: 0; font-size: 15px; }
.pt { align-content: start; }
.pt-nm { min-height: 2.7em; }
@media (max-width: 640px) { .pt-row { scroll-padding-inline: 18px; } .pt-nm { min-height: 0; } }
/* 7 client tabs, 15 wall logos */
.cl-tabs { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1080px) { .cl-tabs { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cl-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1081px) { .lg { flex-basis: calc((100% - 7 * 14px) / 8); } }
.cl-pane:not(.on) { display: none; }
.cl-tabs { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 1080px) { .cl-tabs { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cl-tabs { grid-template-columns: repeat(4, 1fr); } .cl-tab { height: 60px; padding: 8px; } .cl-tab img { max-height: 30px; } }
.cl-tabs { grid-template-columns: repeat(9, 1fr); gap: 10px; }
@media (max-width: 1240px) { .cl-tabs { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 640px) { .cl-tabs { grid-template-columns: repeat(3, 1fr); } .cl-tab { height: 62px; } .cl-tab img { max-height: 34px; } }
@media (min-width: 1081px) { .lg { flex-basis: calc((100% - 8 * 14px) / 9); height: 84px; padding: 12px 14px; } }
/* app-icon logos (Fluidra, Kohler) */
.lg-app { display: flex !important; align-items: center; justify-content: center; gap: 10px; }
.lg-app img { width: 46px !important; height: 46px !important; max-height: none !important; border-radius: 11px; object-fit: cover; mix-blend-mode: normal !important; box-shadow: 0 4px 10px -4px rgba(31,34,38,.35); }
.lg-app span { font-weight: 800; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.cl-ico { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
@media (min-width: 1081px) { .lg { flex-basis: calc((100% - 9 * 12px) / 10); } .logo-wall { gap: 12px; } }
@media (max-width: 640px) { .lg-app img { width: 38px !important; height: 38px !important; } .lg-app span { font-size: 13px; } }
/* India → Europe note under the logo wall */
.trust .trust-note { display: flex; justify-content: center; margin-top: 26px; }
.tn { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 8px 18px 8px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -18px rgba(31,34,38,.4); font-size: 15px; color: var(--muted); transition: box-shadow .3s, transform .35s var(--ease); }
.tn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--blue), 0 14px 28px -18px rgba(31,34,38,.5); }
.tn-flags { display: inline-flex; padding: 5px 7px; border-radius: 999px; background: var(--bg-soft); }
.tn-flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line-2); }
.tn-flag + .tn-flag { margin-left: -6px; box-shadow: 0 0 0 2px var(--bg-soft), 0 0 0 3px var(--line-2); }
.tn img { height: 24px; width: auto; }
.tn b { color: var(--ink); font-weight: 800; }
@media (max-width: 640px) { .tn { border-radius: 18px; padding: 12px 14px; font-size: 14px; row-gap: 6px; } }
.tn-co { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
/* hero: small Europe proof chip beside the kicker */
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-tags .kicker { margin: 0; }
.hero-eu { display: inline-flex; align-items: center; gap: 9px; padding: 5px 14px 5px 6px; border-radius: 999px; background: rgba(9,18,44,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); color: rgba(255,255,255,.78); font-size: 13.5px; transition: background .3s, box-shadow .3s; }
.hero-eu:hover { background: rgba(9,18,44,.7); box-shadow: inset 0 0 0 1px var(--yellow); }
.hero-eu .tn-flags { background: rgba(255,255,255,.12); padding: 4px 6px; }
.hero-eu .tn-flag { width: 20px; height: 14px; }
.hero-eu .tn-flag + .tn-flag { box-shadow: 0 0 0 2px rgba(20,30,60,.9); }
.he-logo { display: grid; place-items: center; height: 24px; padding: 2px 6px; border-radius: 6px; background: #fff; }
.he-logo img { height: 18px; width: auto; }
.hero-eu b { color: #fff; font-weight: 700; }
@media (max-width: 640px) { .hero-eu { font-size: 12.5px; } }
.hero-eu { white-space: nowrap; }
@media (max-width: 640px) { .hero-eu .he-logo { display: none; } .hero-eu { font-size: 12.5px; gap: 7px; } }
@media (max-width: 900px) { .nav .burger { margin-left: auto !important; } }

/* logo wall + products band: tinted backdrop so white tiles stand out */
.trust, .pills { position: relative; background: #eef0f2; }
.trust { padding-top: 64px; }
.pills { padding-bottom: 72px; }
.trust::before, .pills::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(31,34,38,.07) 1.1px, transparent 1.1px); background-size: 22px 22px; pointer-events: none; }
.trust::before { mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
.pills::before { mask-image: linear-gradient(180deg, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); }
.trust > *, .pills > * { position: relative; }
.lg, .pt, .tn { background: #fff; box-shadow: 0 1px 2px rgba(31,34,38,.05), 0 10px 24px -16px rgba(31,34,38,.28), inset 0 0 0 1px rgba(31,34,38,.06); }
.pt:hover { box-shadow: 0 18px 34px -20px rgba(31,34,38,.6); }
#solutions { position: relative; z-index: 1; margin-top: -44px; background: var(--bg); border-radius: 44px 44px 0 0; box-shadow: 0 -20px 40px -30px rgba(31,34,38,.25); }
.pills { padding-bottom: 110px; }
@media (max-width: 640px) { #solutions { border-radius: 28px 28px 0 0; margin-top: -28px; } .pills { padding-bottom: 80px; } }

/* ===== Section labels v2: bolder eyebrow ===== */
.label, .pt-label, .trust > p {
  display: inline-flex; align-items: center; gap: 12px; padding: 0; border-radius: 0; background: none !important; box-shadow: none;
  font-family: var(--font); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink) !important;
}
.label i, .pt-label::before, .trust > p::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: radial-gradient(circle at 50% 50%, var(--yellow) 0 4px, transparent 4.5px), #1f2226;
  box-shadow: 0 6px 14px -6px rgba(31,34,38,.55);
}
.label::after, .pt-label::after { content: ""; width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.label b { color: inherit; font-weight: inherit; }
/* dark sections */
.svc-sec .label, .why .label, .talk-side .label, .contact .label, .band .label { color: #fff !important; }
.svc-sec .label i, .why .label i, .talk-side .label i, .contact .label i { background: radial-gradient(circle at 50% 50%, #1f2226 0 4px, transparent 4.5px), var(--yellow); box-shadow: none; }
.svc-sec .label::after, .why .label::after, .talk-side .label::after, .contact .label::after { background: linear-gradient(90deg, var(--yellow), transparent); }
/* trust caption: centred with lines on both sides */
.trust > p { display: flex; justify-content: center; width: 100%; margin: 0 auto 34px; font-size: 14px; letter-spacing: .14em; }
.trust > p::after { content: ""; display: none; }
.trust > p { background: none; }
.trust > p span.tl, .trust > p span.tr { display: none; }
.trust > p::before { display: none; }
.trust-cap { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto 34px; padding-inline: 18px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-align: center; }
.trust-cap::before, .trust-cap::after { content: ""; flex: 1; max-width: 160px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--blue)); }
.trust-cap::after { background: linear-gradient(90deg, var(--blue), transparent); }
.trust-cap i { width: 26px; height: 26px; flex: none; border-radius: 8px; background: radial-gradient(circle at 50% 50%, var(--yellow) 0 4px, transparent 4.5px), #1f2226; }
@media (max-width: 640px) { .label, .pt-label { font-size: 12px; letter-spacing: .14em; } .trust-cap { font-size: 12px; gap: 10px; } .trust-cap::before, .trust-cap::after { max-width: 40px; } }

/* ===== Portfolio: category cards + speech-bubble popover ===== */
.sol { align-items: start; gap: 48px; }
.sol-list { gap: 14px; }
.sol-tab { padding: 22px 24px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s, transform .35s var(--ease), background .3s; }
.sol-tab:hover { background: var(--paper); transform: translateX(4px); box-shadow: inset 0 0 0 1.5px var(--blue); }
.sol-tab .prog { display: none; }
.sol-tab[aria-selected="true"] { background: #fff; transform: translateX(8px); box-shadow: inset 0 0 0 2px var(--blue), 0 18px 34px -20px rgba(31,34,38,.55); }
.sol-tab .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; transition: background .3s, color .3s; }
.sol-tab[aria-selected="true"] .n { background: #1f2226; color: var(--yellow); }
.sol-tab .d { margin-top: 0; }
/* the bubble */
.sol-stage { min-height: 0 !important; height: auto; overflow: visible; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(31,34,38,.6); transform-origin: 0 var(--tail, 60px); }
.sol-stage::before { border-radius: inherit; }
.sol-stage::after { content: ""; position: absolute; left: -11px; top: var(--tail, 60px); width: 24px; height: 24px; margin-top: -12px; background: var(--navy); border-radius: 4px; transform: rotate(45deg); transition: top .5s cubic-bezier(.34,1.56,.64,1); }
.sol-stage.pop { animation: bubblePop .55s cubic-bezier(.34,1.56,.64,1); }
@keyframes bubblePop { 0% { opacity: .2; transform: scale(.9) translateX(-14px); } 100% { opacity: 1; transform: none; } }
.sol-pane.port { position: relative; inset: auto; display: none; padding: 40px; }
.sol-pane.port.on { display: flex; }
@media (max-width: 1080px) {
  .sol { gap: 26px; }
  .sol-tab[aria-selected="true"] { transform: none; }
  .sol-stage { transform-origin: var(--tail-x, 60px) 0; }
  .sol-stage::after { left: var(--tail-x, 60px); top: -11px; margin: 0 0 0 -12px; transition: left .5s cubic-bezier(.34,1.56,.64,1); }
  @keyframes bubblePop { 0% { opacity: .2; transform: scale(.92) translateY(-12px); } 100% { opacity: 1; transform: none; } }
}
@media (max-width: 640px) { .sol-pane.port { padding: 24px; } }
@media (max-width: 1080px) { .sol-list li .sol-stage { margin-top: 18px; } }

/* ===== Portfolio v3: compact list + blue hover pop-up ===== */
.pf-row { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 5; }
.pf { position: relative; }
.pf-card { width: 100%; display: grid; grid-template-columns: 50px minmax(0, 1fr) 28px; align-items: center; gap: 14px; padding: 18px; border: 0; border-radius: 20px; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(31,34,38,.05), 0 12px 26px -18px rgba(31,34,38,.35), inset 0 0 0 1px rgba(31,34,38,.07); transition: transform .35s var(--ease), box-shadow .35s, background .3s; }
.pf-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue-ink); transition: background .3s, color .3s, transform .45s var(--ease); }
.pf-ic svg { width: 26px; height: 26px; }
.pf-t b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.pf-t small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.pf-arrow { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); transition: transform .4s var(--ease), background .3s, color .3s; }
.pf-arrow svg { width: 16px; height: 16px; }
/* the pop-up */
.pf-pop { position: absolute; top: calc(100% + 16px); left: 0; width: min(580px, calc(100vw - 48px)); padding: 24px 24px 22px; border-radius: 22px; background: var(--blue); color: #fff; box-shadow: 0 30px 60px -24px rgba(31,34,38,.65); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96); transform-origin: 40px 0; transition: opacity .3s, transform .45s cubic-bezier(.34,1.56,.64,1), visibility 0s .3s; z-index: 30; }
.pf-pop::before { content: ""; position: absolute; top: -9px; left: 32px; width: 20px; height: 20px; border-radius: 4px; background: var(--blue); transform: rotate(45deg); }
.pf-pop::after { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.pf:nth-child(n+3) .pf-pop { left: auto; right: 0; transform-origin: calc(100% - 40px) 0; }
.pf:nth-child(n+3) .pf-pop::before { left: auto; right: 32px; }
.pf-desc { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); }
.pf-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-apps li { padding: 11px 13px; border-radius: 13px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.pf-apps b { display: block; font-size: 14.5px; color: #fff; }
.pf-apps span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.72); }
/* open states */
.pf.open .pf-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s cubic-bezier(.34,1.56,.64,1), visibility 0s; }
.pf.open .pf-card, .pf-card:focus-visible { background: #1f2226; }
.pf.open .pf-t b { color: #fff; } .pf.open .pf-t small { color: rgba(255,255,255,.65); }
.pf.open .pf-ic { background: var(--yellow); color: #1f2226; transform: rotate(-6deg); }
.pf.open .pf-arrow { background: var(--blue); color: #fff; transform: rotate(180deg); }
@media (hover: hover) and (min-width: 761px) {
  .pf:hover .pf-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .45s cubic-bezier(.34,1.56,.64,1), visibility 0s; }
  .pf:hover .pf-card { background: #1f2226; transform: translateY(-3px); }
  .pf:hover .pf-t b { color: #fff; } .pf:hover .pf-t small { color: rgba(255,255,255,.65); }
  .pf:hover .pf-ic { background: var(--yellow); color: #1f2226; transform: rotate(-6deg); }
  .pf:hover .pf-arrow { background: var(--blue); color: #fff; transform: rotate(180deg); }
}
#solutions.section { padding-bottom: 120px; }
@media (max-width: 1080px) { .pf-row { grid-template-columns: 1fr 1fr; } .pf:nth-child(n+3) .pf-pop { left: 0; right: auto; transform-origin: 40px 0; } .pf:nth-child(n+3) .pf-pop::before { left: 32px; right: auto; } .pf:nth-child(even) .pf-pop { left: auto; right: 0; } .pf:nth-child(even) .pf-pop::before { left: auto; right: 32px; } }
@media (max-width: 760px) {
  .pf-row { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .pf-pop, .pf:nth-child(n) .pf-pop { position: relative; top: auto; left: auto; right: auto; width: auto; margin-top: 14px; display: none; opacity: 1; visibility: visible; transform: none; }
  .pf:nth-child(n) .pf-pop::before { left: 32px; right: auto; }
  .pf.open .pf-pop { display: block; animation: pfIn .45s cubic-bezier(.34,1.56,.64,1); }
  .pf-apps { grid-template-columns: 1fr; }
  #solutions.section { padding-bottom: 88px; }
}
@keyframes pfIn { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
#solutions { z-index: 12; } #solutions .pf-row { margin-top: 0; }
/* hero: 6 slides */
.slide-nav { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.slide-tab .st-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1240px) { .slide-nav { grid-template-columns: repeat(3, 1fr); row-gap: 10px; } }
@media (max-width: 640px) { .slide-nav { grid-template-columns: repeat(2, 1fr); } }

/* ===== Portfolio pop-up v2: compact bubble ABOVE the card ===== */
@media (min-width: 761px) {
  .pf-pop, .pf:nth-child(n+3) .pf-pop { top: auto; bottom: calc(100% + 16px); left: 12px; right: auto; width: 340px; padding: 16px 16px 14px; border-radius: 18px; transform: translateY(-10px) scale(.94); transform-origin: 40px 100%; box-shadow: 0 24px 48px -20px rgba(31,34,38,.6); }
  .pf:nth-child(n+3) .pf-pop { left: auto; right: 12px; transform-origin: calc(100% - 40px) 100%; }
  .pf-pop::before, .pf:nth-child(n+3) .pf-pop::before { top: auto; bottom: -8px; left: 30px; right: auto; width: 18px; height: 18px; }
  .pf:nth-child(n+3) .pf-pop::before { left: auto; right: 30px; }
  .pf-pop::after { top: auto; bottom: -20px; height: 20px; }
  .pf-desc { display: none; }
  .pf-apps { grid-template-columns: 1fr; gap: 2px; }
  .pf-apps li { padding: 7px 10px; border-radius: 10px; background: none; box-shadow: none; position: relative; padding-left: 22px; }
  .pf-apps li::before { content: ""; position: absolute; left: 8px; top: 13px; width: 6px; height: 6px; border-radius: 2px; background: var(--yellow); }
  .pf-apps li:hover { background: rgba(255,255,255,.12); }
  .pf-apps b { font-size: 14px; }
  .pf-apps span { font-size: 12px; margin-top: 1px; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .pf:nth-child(n) .pf-pop { left: 12px; right: auto; transform-origin: 40px 100%; }
  .pf:nth-child(even) .pf-pop { left: auto; right: 12px; transform-origin: calc(100% - 40px) 100%; }
  .pf:nth-child(n) .pf-pop::before { left: 30px; right: auto; }
  .pf:nth-child(even) .pf-pop::before { left: auto; right: 30px; }
}
@media (min-width: 761px) {
  .pf-pop, .pf:nth-child(n+3) .pf-pop { width: 500px; }
  .pf-apps { grid-template-columns: 1fr 1fr; column-gap: 6px; }
  .pf-apps span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf-apps li { min-width: 0; }
}
@media (min-width: 761px) { .pf-pop, .pf:nth-child(n+3) .pf-pop { width: 580px; } .pf-apps span { white-space: normal; overflow: visible; line-height: 1.35; } }
/* portfolio bubble: dark navy with dot texture */
.pf-pop { background-color: #23262b; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 18px 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 28px 56px -22px rgba(5,12,32,.75) !important; }
.pf-pop::before { background: #23262b; box-shadow: 1px 1px 0 rgba(255,255,255,.08); }
.pf-apps li:hover { background: rgba(255,255,255,.07); }
.pf-apps span { color: rgba(255,255,255,.66); }
.pf.open .pf-arrow { background: var(--yellow); color: #1f2226; }
@media (hover: hover) and (min-width: 761px) { .pf:hover .pf-arrow { background: var(--yellow); color: #1f2226; } }
/* portfolio cards: equal height, identical alignment */
.pf-row { align-items: stretch; }
.pf { display: flex; }
.pf-card { height: 100%; min-height: 104px; align-items: center; }
.pf-t b { min-height: 0; }

/* ===== Fluid full-width layout (fills large / TV screens) ===== */
:root { --gutter: 24px; }
@media (min-width: 1280px) { :root { --gutter: clamp(40px, 4.5vw, 96px); --maxw: 100vw; } }
@media (max-width: 640px) { :root { --gutter: 18px; } }
.container { max-width: var(--maxw); padding-inline: var(--gutter); }
.nav .nav-cap, .nav.scrolled .nav-cap { max-width: var(--maxw); padding-inline: var(--gutter); }
.land-line { left: var(--gutter); right: var(--gutter); }
@media (min-width: 1600px) {
  .hero-x .hero-copy { max-width: min(1100px, 58vw); }
  .hero-x .hero-sub { max-width: 760px; }
  .sp { width: clamp(380px, 26vw, 520px); }
}
/* very large / 4K displays: scale the whole design up proportionally */
@media (min-width: 2400px) { html { zoom: 1.25; } }
@media (min-width: 3000px) { html { zoom: 1.6; } }
@media (min-width: 3600px) { html { zoom: 1.9; } }
/* keep full-screen sections at real screen height when scaled */
@media (min-width: 2400px) { :root { --z: 1.25; } }
@media (min-width: 3000px) { :root { --z: 1.6; } }
@media (min-width: 3600px) { :root { --z: 1.9; } }
@media (min-width: 2400px) { .hero-x { min-height: calc(100vh / var(--z)); min-height: calc(100svh / var(--z)); } }

/* ===== Brand: free-standing logo mark (no tile) + animation ===== */
.bx-logo, .nav .bx-logo { width: auto; height: 58px; padding: 0; background: none !important; box-shadow: none !important; border-radius: 0; }
.bx-logo::after { display: none; }
.bx-mark { height: 58px; width: auto; display: block; filter: drop-shadow(0 4px 10px rgba(31,34,38,.18)); transform-origin: 50% 55%; animation: bxIn 1.1s cubic-bezier(.34,1.56,.64,1) .15s both; }
.bx-name { animation: bxName .8s var(--ease) .45s both; }
.bx-quote { animation: bxName .8s var(--ease) .6s both; }
@keyframes bxIn { from { opacity: 0; transform: rotate(-200deg) scale(.3); } to { opacity: 1; transform: none; } }
@keyframes bxName { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.brand-x:hover .bx-logo { transform: none; }
.brand-x:hover .bx-mark { animation: bxSpin .9s cubic-bezier(.45,-0.2,.25,1.3); }
@keyframes bxSpin { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(200deg) scale(1.12); } 100% { transform: rotate(360deg) scale(1); } }
.brand-x { gap: 12px; }
@media (max-width: 1320px) and (min-width: 901px) { .bx-logo, .nav .bx-logo, .bx-mark { height: 52px; } }
@media (max-width: 900px) { .bx-logo, .nav .bx-logo, .bx-mark { height: 48px; } }
@media (max-width: 480px) { .bx-logo, .nav .bx-logo, .bx-mark { height: 42px; } .brand-x { gap: 9px; } }
@media (prefers-reduced-motion: reduce) { .bx-mark, .bx-name, .bx-quote { animation: none; } }

/* ===== Brand v3: big C + tight wordmark, sun-ray hover ===== */
.brand-x { gap: 2px; align-items: center; }
.bx-logo, .nav .bx-logo { height: 66px; }
.bx-mark { position: relative; display: block; height: 66px; width: 61px; filter: none; }
.bx-mark img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.bx-rays { transform-origin: 68.6% 57.8%; transition: filter .4s; }
.bx-c { transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.bx-txt { gap: 2px; margin-top: 4px; }
.bx-name { font-size: 30px; letter-spacing: -.045em; line-height: 1; }
.bx-quote span { font-size: 12.5px !important; }
.bx-quote { width: 250px !important; height: 17px !important; }
.bx-quote span { line-height: 17px !important; }
/* hover: the sun rays swing and glow, the C stays steady */
.brand-x:hover .bx-mark { animation: none; }
.brand-x:hover .bx-rays { animation: bxShine 1.1s cubic-bezier(.36,0,.2,1); filter: drop-shadow(0 0 8px rgba(255,200,40,.75)); }
.brand-x:hover .bx-c { transform: scale(1.06); }
@keyframes bxShine { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-28deg) scale(1.12); } 60% { transform: rotate(14deg) scale(1.06); } 80% { transform: rotate(-5deg) scale(1.03); } 100% { transform: rotate(0) scale(1); } }
@media (max-width: 1599px) and (min-width: 901px) { .bx-mark { height: 58px; width: 54px; } .bx-logo, .nav .bx-logo { height: 58px; } .bx-name { font-size: 27px; } .bx-quote { width: 220px !important; } .bx-quote span { font-size: 11.5px !important; } }
@media (max-width: 1240px) and (min-width: 901px) { .bx-mark { height: 52px; width: 48px; } .bx-name { font-size: 24px; } .bx-quote { width: 196px !important; } .bx-quote span { font-size: 10.3px !important; } }
@media (max-width: 900px) { .bx-mark { height: 52px; width: 48px; } .bx-logo, .nav .bx-logo { height: 52px; } .bx-name { font-size: 24px; } }
@media (max-width: 480px) { .bx-mark { height: 46px; width: 42px; } .bx-logo, .nav .bx-logo { height: 46px; } .bx-name { font-size: 22px; } .bx-quote { width: 170px !important; } .bx-quote span { font-size: 9.8px !important; } }
@media (max-width: 370px) { .bx-mark { height: 42px; width: 39px; } .bx-name { font-size: 20px; } .bx-quote { width: 150px !important; } .bx-quote span { font-size: 8.7px !important; } }
.bx-rays { transform-origin: 68.3% 57.2%; }
.bx-quote span { transition-delay: .28s; }
.bx-quote span.out { transition-delay: 0s; }

/* ===== Page-to-page landing transition (cross-document View Transitions) ===== */
@view-transition { navigation: auto; }
.nav { view-transition-name: topbar; }
::view-transition-group(topbar) { animation: none; }
::view-transition-old(root) { animation: vtOut .32s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vtIn .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-18px) scale(.985); filter: blur(3px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
/* fallback for browsers without cross-page transitions */
html.pg-leave body > *:not(.nav) { opacity: 0; transform: translateY(-14px); transition: opacity .28s ease, transform .28s ease; }
html.pg-enter body > *:not(.nav) { animation: vtIn .7s cubic-bezier(.16,1,.3,1) both; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } html.pg-enter body > * { animation: none; } }
section[id] { scroll-margin-top: 76px; }
/* brand: breathing room + lift the C slightly */
.brand-x { gap: 12px; }
.bx-mark { top: -5px; }
@media (max-width: 1240px) { .brand-x { gap: 10px; } .bx-mark { top: -4px; } }
@media (max-width: 480px) { .brand-x { gap: 8px; } .bx-mark { top: -3px; } }

/* ===== Brand v4: centred perfectly in the bar + idle sun motion ===== */
.bx-mark { top: 0 !important; height: 60px; width: 56px; }
.bx-logo, .nav .bx-logo { height: 60px; display: flex; align-items: center; }
.brand-x { gap: 12px; align-items: center; height: 100%; }
.bx-txt { margin-top: 6px; }            /* aligns the wordmark with the optical centre of the C */
@media (max-width: 1599px) and (min-width: 901px) { .bx-mark { height: 56px; width: 52px; } .bx-logo, .nav .bx-logo { height: 56px; } }
@media (max-width: 1240px) and (min-width: 901px) { .bx-mark { height: 50px; width: 46px; } .bx-logo, .nav .bx-logo { height: 50px; } .brand-x { gap: 10px; } }
@media (max-width: 900px) { .bx-mark { height: 50px; width: 46px; } .bx-logo, .nav .bx-logo { height: 50px; } .bx-txt { margin-top: 5px; } }
@media (max-width: 480px) { .bx-mark { height: 44px; width: 41px; } .bx-logo, .nav .bx-logo { height: 44px; } .brand-x { gap: 8px; } .bx-txt { margin-top: 4px; } }
@media (max-width: 370px) { .bx-mark { height: 40px; width: 37px; } .bx-logo, .nav .bx-logo { height: 40px; } }
/* idle: the rays sway gently like a turning sun */
.bx-rays { animation: bxSway 7s ease-in-out 1.4s infinite; }
@keyframes bxSway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }
.brand-x:hover .bx-rays { animation: bxShine 1.1s cubic-bezier(.36,0,.2,1); }
@media (prefers-reduced-motion: reduce) { .bx-rays { animation: none !important; } }
/* hero photos: gentler zoom keeps them crisp */
.slide img { transform: scale(1.06); image-rendering: auto; }
.slide.on img { transform: scale(1); transition: transform 9s cubic-bezier(.2,.6,.3,1); }

/* ===== "Delivered for": mac-style genie switch + crisp rendering ===== */
.sp-stage { overflow: visible; }
.sp-item { transition: none; transform-origin: var(--gx, 12.5%) calc(100% + 70px); }
.sp-item.on { animation: genieIn .62s cubic-bezier(.22,.9,.3,1) both; }
.sp-item.leaving { visibility: visible; opacity: 1; animation: genieOut .5s cubic-bezier(.55,0,.75,.3) both; pointer-events: none; }
@keyframes genieIn {
  0%   { opacity: 0; transform: translateY(40px) scale(.12, .06); clip-path: polygon(46% 0, 54% 0, 52% 100%, 48% 100%); }
  35%  { opacity: 1; transform: translateY(14px) scale(.55, .5);  clip-path: polygon(18% 0, 82% 0, 62% 100%, 38% 100%); }
  70%  { transform: translateY(-2px) scale(1.02, 1.03);        clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
  100% { opacity: 1; transform: none;                          clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes genieOut {
  0%   { opacity: 1; transform: none;                          clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  45%  { transform: translateY(10px) scale(.6, .7);            clip-path: polygon(10% 0, 90% 0, 62% 100%, 38% 100%); }
  100% { opacity: 0; transform: translateY(40px) scale(.1, .05); clip-path: polygon(47% 0, 53% 0, 51% 100%, 49% 100%); }
}
/* crisp text & logos: no blur filters on the panel content */
.sp-item.on .sp-logo, .sp-item.on li { animation: spInCrisp .55s var(--ease) both; }
.sp-item.on .sp-logo { animation-delay: .18s; } .sp-item.on li:nth-child(1) { animation-delay: .26s; } .sp-item.on li:nth-child(2) { animation-delay: .32s; } .sp-item.on li:nth-child(3) { animation-delay: .38s; }
@keyframes spInCrisp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sp-logo { filter: none !important; image-rendering: auto; }
.sp-item li { text-shadow: 0 1px 2px rgba(0,0,0,.45); -webkit-font-smoothing: antialiased; }
.sp::before { background: radial-gradient(closest-side, rgba(5,12,32,.9), rgba(5,12,32,.62) 55%, transparent); }
@media (prefers-reduced-motion: reduce) { .sp-item.on, .sp-item.leaving { animation: none; } }
/* hero images now carry their own darkening: lighter shade keeps the dashboards bright */
@media (min-width: 901px) { .hero-shade { background: linear-gradient(90deg, rgba(6,12,32,.55) 0%, rgba(6,12,32,.25) 45%, rgba(6,12,32,0) 70%), linear-gradient(0deg, rgba(6,12,32,.55) 0%, transparent 30%) !important; } }
.slide img { transform: none !important; }
.slide.on img { animation: heroDrift 9s ease-out both; }
@keyframes heroDrift { from { transform: translateX(14px); } to { transform: none; } }
/* real photos again: restore the stronger left-side shade for headline contrast */
@media (min-width: 901px) { .hero-shade { background: linear-gradient(90deg, rgba(6,12,32,.86) 0%, rgba(6,12,32,.6) 42%, rgba(6,12,32,.2) 75%), linear-gradient(0deg, rgba(6,12,32,.7) 0%, transparent 35%) !important; } }
/* ===== Portfolio pop-up: mac-style genie open/close (desktop) ===== */
@media (min-width: 761px) {
  .pf-pop { --ax: 39px; transition: none !important; will-change: transform, clip-path; }
  .pf:nth-child(n+3) .pf-pop { --ax: calc(100% - 39px); }
  .pf .pf-pop, .pf:hover .pf-pop { opacity: 0; visibility: hidden; }
  .pf.open .pf-pop { opacity: 1; visibility: visible; animation: genieUp .58s cubic-bezier(.2,.85,.25,1) both; }
  .pf.closing .pf-pop { visibility: visible; animation: genieDown .4s cubic-bezier(.55,0,.8,.35) both; pointer-events: none; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .pf:nth-child(n) .pf-pop { --ax: 39px; }
  .pf:nth-child(even) .pf-pop { --ax: calc(100% - 39px); }
}
@keyframes genieUp {
  0%   { opacity: 0; transform: translateY(30px) scale(.4,.04);  clip-path: polygon(0 0, 100% 0, calc(var(--ax) + 8px) calc(100% + 12px), calc(var(--ax) - 8px) calc(100% + 12px)); }
  30%  { opacity: 1; transform: translateY(14px) scale(.75,.35); clip-path: polygon(0 0, 100% 0, calc(var(--ax) + 40px) calc(100% + 12px), calc(var(--ax) - 40px) calc(100% + 12px)); }
  62%  { transform: translateY(-4px) scale(1.01,1.04); clip-path: polygon(-90px -90px, calc(100% + 90px) -90px, calc(100% + 90px) calc(100% + 70px), -90px calc(100% + 70px)); }
  100% { opacity: 1; transform: none; clip-path: polygon(-90px -90px, calc(100% + 90px) -90px, calc(100% + 90px) calc(100% + 70px), -90px calc(100% + 70px)); }
}
@keyframes genieDown {
  0%   { opacity: 1; transform: none; clip-path: polygon(-90px -90px, calc(100% + 90px) -90px, calc(100% + 90px) calc(100% + 70px), -90px calc(100% + 70px)); }
  45%  { opacity: 1; transform: translateY(10px) scale(.8,.5); clip-path: polygon(0 0, 100% 0, calc(var(--ax) + 50px) calc(100% + 12px), calc(var(--ax) - 50px) calc(100% + 12px)); }
  100% { opacity: 0; transform: translateY(30px) scale(.35,.03); clip-path: polygon(0 0, 100% 0, calc(var(--ax) + 6px) calc(100% + 12px), calc(var(--ax) - 6px) calc(100% + 12px)); }
}
@media (prefers-reduced-motion: reduce) { .pf.open .pf-pop, .pf.closing .pf-pop { animation: none !important; } .pf.closing .pf-pop { visibility: hidden; } }
/* genie v2: GPU-only (transform + opacity), no clip-path repaints */
@media (min-width: 761px) {
  .pf-pop { will-change: transform, opacity !important; backface-visibility: hidden; clip-path: none !important; }
  .pf.open .pf-pop { animation: genieUp2 .5s linear both; }
  .pf.closing .pf-pop { animation: genieDown2 .34s linear both; }
}
@keyframes genieUp2 {
  0%   { opacity: 0; transform: translate3d(0,22px,0) scale(.08,.06); animation-timing-function: cubic-bezier(.3,.6,.4,1); }
  38%  { opacity: 1; transform: translate3d(0,6px,0) scale(.28,.82);  animation-timing-function: cubic-bezier(.25,.8,.3,1); }
  72%  { transform: translate3d(0,-2px,0) scale(1.015,.99);          animation-timing-function: ease-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes genieDown2 {
  0%   { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.5,0,.8,.4); }
  50%  { opacity: 1; transform: translate3d(0,6px,0) scale(.3,.78); animation-timing-function: cubic-bezier(.5,0,.9,.5); }
  100% { opacity: 0; transform: translate3d(0,22px,0) scale(.06,.05); }
}
/* genie v3: panel stays pre-rendered (invisible) so opening never re-draws it; one smooth curve */
@media (min-width: 761px) {
  .pf .pf-pop, .pf:hover .pf-pop { visibility: visible !important; opacity: 0; pointer-events: none; transform: translate3d(0,22px,0) scale(.06,.05); contain: layout style; }
  .pf.open .pf-pop { opacity: 1; pointer-events: auto; transform: none; animation: genieUp3 .44s cubic-bezier(.22,.8,.3,1) both; }
  .pf.closing .pf-pop { animation: genieDown3 .3s cubic-bezier(.5,0,.75,.3) both; }
  .pf-card { transition: transform .3s var(--ease), background-color .25s; }
}
@keyframes genieUp3 {
  0%   { opacity: 0; transform: translate3d(0,22px,0) scale(.06,.05); }
  30%  { opacity: 1; transform: translate3d(0,8px,0) scale(.22,.7); }
  65%  { transform: translate3d(0,-1px,0) scale(.96,1.01); }
  100% { opacity: 1; transform: translate3d(0,0,0) scale(1,1); }
}
@keyframes genieDown3 {
  0%   { opacity: 1; transform: translate3d(0,0,0) scale(1,1); }
  55%  { opacity: 1; transform: translate3d(0,8px,0) scale(.26,.72); }
  100% { opacity: 0; transform: translate3d(0,22px,0) scale(.06,.05); }
}
@media (prefers-reduced-motion: reduce) { .pf.open .pf-pop, .pf.closing .pf-pop { animation: none !important; } }
/* genie v4: motion driven by JS (Web Animations, one continuous curve); CSS only holds the states */
@media (min-width: 761px) {
  .pf.open .pf-pop, .pf.closing .pf-pop { animation: none !important; }
}

/* =====================================================================
   Nav v6 — segmented pill menu + sliding "thumb" + pill CTA (desktop)
   ===================================================================== */
@media (min-width: 901px) {
  /* menu: raised white pill that clearly stands off the bar */
  .nav .menu {
    align-self: center; align-items: center; gap: 2px;
    margin: 0 auto !important; padding: 6px; height: auto;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(31,34,38,.08), 0 2px 4px rgba(31,34,38,.04), 0 14px 32px -14px rgba(31,34,38,.35);
  }
  .nav .nav-cap .menu::after { display: none !important; }        /* drop old divider */
  .nav .menu > li { display: block; }
  .nav .menu > li > a, .nav.scrolled .menu > li > a {
    height: 42px; padding: 0 20px; border-radius: 999px;
    font-size: 14.5px; font-weight: 650; letter-spacing: -.01em;
    color: var(--ink-2); overflow: visible; transition: color .3s;
  }
  .nav .menu > li > a:hover, .nav .menu > li > a.active,
  .nav.scrolled .menu > li > a:hover, .nav.scrolled .menu > li > a.active { color: var(--ink); }
  /* the link sitting on the blue thumb turns white */
  .nav .menu > li > a.hl-on, .nav.scrolled .menu > li > a.hl-on,
  .nav .menu > li > a.hl-on:hover, .nav.scrolled .menu > li > a.hl-on:hover { color: #fff; }
  .nav .menu > li > a.active::before {                              /* "you are here" dot */
    content: ""; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--blue); transition: background .3s;
  }
  .nav .menu > li > a.active.hl-on::before { background: var(--yellow); }
  .chev { width: 13px; height: 13px; opacity: .7; }

  /* sliding blue thumb behind the hovered / current item */
  .menu-hl, .nav.scrolled .menu-hl {
    top: 50% !important; bottom: auto !important; height: 42px; border-radius: 999px;
    transform: translate(var(--x, 0px), -50%);
    background: linear-gradient(135deg, #3a3e45, var(--blue-ink)) !important;
    box-shadow: 0 8px 18px -8px rgba(31,34,38,.75), inset 0 1px 0 rgba(255,255,255,.25);
    transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s cubic-bezier(.3,1.3,.5,1), opacity .25s;
  }
  .menu-hl.hit { animation: hlPress .35s var(--ease); }

  /* CTA: dark pill, yellow arrow chip, blue on hover */
  .nav:not(.open) .nav-cap .nav-cta, .nav.scrolled:not(.open) .nav-cap .nav-cta {
    height: 50px; padding: 0 6px 0 22px !important; gap: 12px; border-radius: 999px;
    background: var(--ink); color: #fff;
    font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
    box-shadow: 0 10px 24px -14px rgba(31,34,38,.7);
    transition: background .3s, box-shadow .3s, transform .3s var(--ease);
  }
  .nav .nav-cap .nav-cta svg {
    width: 38px; height: 38px; padding: 11px; margin: 0;
    background: var(--yellow) !important; color: var(--ink);
  }
  .nav:not(.open) .nav-cap .nav-cta:hover {
    background: var(--blue); transform: translateY(-1px);
    box-shadow: 0 14px 28px -14px rgba(31,34,38,.8);
  }
  .nav .nav-cap .nav-cta:hover svg { transform: rotate(45deg); }

  /* lighter, crisper bar */
  .nav, .nav.scrolled {
    background: var(--paper) !important;
  }
}
@media (max-width: 1240px) and (min-width: 901px) {
  .nav .menu > li > a, .nav.scrolled .menu > li > a { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 1060px) and (min-width: 901px) {
  .nav .menu > li > a, .nav.scrolled .menu > li > a { padding: 0 9px; font-size: 13.5px; }
}
@keyframes hlPress { 0% { scale: 1 } 40% { scale: .94 } 100% { scale: 1 } }
[data-theme="dark"] .nav .menu { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }

/* hero: 5 slides */
.slide-nav { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1240px) { .slide-nav { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .slide-nav { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   App finder quiz
   ===================================================================== */
.finder { padding-bottom: 96px; }
.fq { position: relative; padding: 40px; border-radius: 28px; background: var(--navy); color: #fff;
  box-shadow: 0 30px 60px -30px rgba(31,34,38,.55); overflow: hidden; isolation: isolate; }
.fq::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255,210,63,.14), transparent 70%),
              radial-gradient(500px 300px at 0% 100%, rgba(31,34,38,.25), transparent 70%); }
.fq-top { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.fq-prog { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; }
.fq-prog i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--yellow); transition: width .5s var(--ease); }
.fq-count { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.75); white-space: nowrap; }
.fq-count b { color: var(--yellow); font-weight: 600; }

.fq-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.fq-step.on { display: block; animation: fqIn .45s var(--ease) both; }
.fq-step legend { padding: 0; margin-bottom: 22px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.fq-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fq-opts button { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 20px 48px 20px 20px; border-radius: 18px; cursor: pointer;
  font: inherit; color: #fff; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.14);
  transition: background .25s, border-color .25s, transform .25s var(--ease); }
.fq-opts button b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.fq-opts button small { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); }
.fq-opts button::after { content: ""; position: absolute; right: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); transition: background .25s, border-color .25s, box-shadow .25s; }
.fq-opts button:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.fq-opts button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.fq-opts button[aria-pressed="true"] { background: rgba(255,210,63,.12); border-color: var(--yellow); }
.fq-opts button[aria-pressed="true"]::after { background: var(--yellow); border-color: var(--yellow); box-shadow: inset 0 0 0 4px var(--navy); }

.fq-back { position: absolute; left: 40px; bottom: 22px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 4px;
  border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.75); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fq-back:hover { color: #fff; background: rgba(255,255,255,.08); }
.fq-back svg { width: 18px; height: 18px; }
.fq:has(.fq-back:not([hidden])) { padding-bottom: 76px; }

.fq-result { animation: fqIn .5s var(--ease) both; }
.fq-kicker { font-family: var(--mono); font-size: 13px; color: var(--yellow); }
.fq-title { margin: 10px 0 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #fff; outline: none; }
.fq-why { max-width: 720px; margin: 0 0 26px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.8); }
.fq-apps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.fq-apps li { padding: 20px; border-radius: 18px; background: var(--paper); color: var(--ink); animation: fqIn .5s var(--ease) both; animation-delay: var(--d, 0ms); }
.fq-apps b { display: block; margin-top: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.fq-apps p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: #4f5b75; }
.fq-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: var(--yellow); font-family: var(--mono); font-size: 12px; }
.fq-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.fq-restart { padding: 14px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.3); background: none; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .25s, border-color .25s; }
.fq-restart:hover { background: rgba(255,255,255,.08); border-color: #fff; }
@keyframes fqIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .fq-opts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .fq { padding: 26px 18px; border-radius: 22px; }
  .fq-opts, .fq-opts-3 { grid-template-columns: 1fr; gap: 10px; }
  .fq-opts button { padding: 16px 44px 16px 16px; }
  .fq-back { left: 14px; bottom: 16px; }
  .fq-top { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
}

/* =====================================================================
   Floating WhatsApp button (back-to-top moves above it)
   ===================================================================== */
.wa-fab { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 91;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -10px rgba(18,140,70,.7);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease), box-shadow .3s; }
.wa-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { box-shadow: 0 16px 34px -10px rgba(18,140,70,.85); transform: translateY(-2px); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap;
  padding: 8px 12px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.wa-fab:hover .wa-tip, .wa-fab:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
.top-btn { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; } .top-btn { right: 18px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } .wa-tip { display: none; } }
.fq-back[hidden] { display: none; }
@media (max-width: 640px) { .fq-prog { flex: none; } }

/* =====================================================================
   Dark mode: fix hard-coded light surfaces + theme toggle placement
   ===================================================================== */
[data-theme="dark"] .trust, [data-theme="dark"] .pills { background: #0c1430; }
[data-theme="dark"] .trust::before, [data-theme="dark"] .pills::before { background-image: radial-gradient(rgba(255,255,255,.06) 1.1px, transparent 1.1px); }
[data-theme="dark"] .pt, [data-theme="dark"] .pf-card { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 12px 28px -18px rgba(0,0,0,.8); }
[data-theme="dark"] .lg { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }   /* logo chips stay white so brand colours read */
[data-theme="dark"] #solutions { box-shadow: 0 -20px 40px -30px rgba(0,0,0,.7); }
[data-theme="dark"] .fq { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.8); }
[data-theme="dark"] .fq-apps li { background: #17234a; }
[data-theme="dark"] .fq-apps p { color: var(--ink-2); }
[data-theme="dark"] .fq-tag { background: rgba(255,210,63,.14); }
@media (min-width: 901px) {
  [data-theme="dark"] .nav:not(.open) .nav-cap .nav-cta { background: var(--yellow); color: #1f2226; box-shadow: 0 10px 24px -14px rgba(255,210,63,.5); }
  [data-theme="dark"] .nav .nav-cap .nav-cta svg { background: #1f2226 !important; color: var(--yellow); }
  [data-theme="dark"] .nav:not(.open) .nav-cap .nav-cta:hover { background: #fff; }
  [data-theme="dark"] .nav .menu > li > a.active::before { background: var(--yellow); }
  .nav .nav-cap .theme-tog { margin-left: 4px; }
}
.theme-tog { width: 44px; height: 44px; border-radius: 50%; }
.theme-tog:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 1240px) and (min-width: 901px) {
  .nav .nav-cap .nav-cta { display: inline-flex !important; font-size: 0 !important; gap: 0 !important; padding: 0 6px !important; width: 50px; justify-content: center; }
  .nav .nav-cap .nav-cta svg { display: block !important; }
}
@media (max-width: 1240px) and (min-width: 901px) {
  .nav .nav-cap .nav-cta svg { flex: none; width: 38px !important; height: 38px !important; padding: 11px !important; margin: 0 !important; }
}
@media (max-width: 1240px) and (min-width: 901px) {
  .nav:not(.open) .nav-cap .nav-cta, .nav.scrolled:not(.open) .nav-cap .nav-cta { width: 46px; height: 46px; padding: 0 !important; background: var(--yellow); box-shadow: 0 8px 18px -10px rgba(31,34,38,.5); }
  .nav .nav-cap .nav-cta svg { width: 46px !important; height: 46px !important; padding: 14px !important; background: transparent !important; color: #1f2226; }
  .nav:not(.open) .nav-cap .nav-cta:hover { background: var(--ink); }
  .nav:not(.open) .nav-cap .nav-cta:hover svg { color: var(--yellow); }
}

/* Services: six manufacturing services + one line for other work */
.sg-grid.sg-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .sg-grid.sg-6 { grid-template-columns: repeat(2, 1fr); } }
.sg-also { margin: 28px 0 0; font-size: 15px; color: rgba(255,255,255,.72); }
.sg-also a { color: var(--yellow); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* product console: screens are illustrations, not a live system */
.screen-bar em { color: rgba(255,255,255,.6); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 11px; letter-spacing: .02em; }
.screen-bar em::before { display: none; }
.prod-note { margin: 22px 0 0; font-size: 14px; color: var(--ink-2); }
.prod-note a { color: var(--blue-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   Floating dock: WhatsApp chat + back-to-top in one pill (replaces two circles)
   ===================================================================== */
.fdock { position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 91;
  display: flex; align-items: center; padding: 5px; border-radius: 999px;
  background: rgba(31,34,38,.94); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 30px -12px rgba(31,34,38,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fdock .wa-fab { position: static; opacity: 1; transform: none; pointer-events: auto; width: auto; height: 42px;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 16px 0 5px; border-radius: 999px;
  background: none; box-shadow: none; color: #fff; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; transition: background .25s; }
.fdock .wa-fab:hover { background: rgba(255,255,255,.08); box-shadow: none; transform: none; }
.fdock .wa-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; }
.fdock .wa-ic svg { width: 19px; height: 19px; }
.fdock-sep { width: 1px; height: 22px; background: rgba(255,255,255,.18); opacity: 0; transition: opacity .3s; }
.fdock .top-btn { position: static; width: 0; height: 42px; margin: 0; padding: 0; overflow: hidden; border-radius: 50%;
  background: none; color: #fff; opacity: 0; transform: none; pointer-events: none;
  transition: width .35s var(--ease), margin .35s var(--ease), opacity .25s, background .25s; }
.fdock .top-btn.show { width: 42px; margin-left: 4px; opacity: 1; pointer-events: auto; }
.fdock:has(.top-btn.show) .fdock-sep { opacity: 1; margin-left: 2px; }
.fdock .top-btn:hover { background: var(--yellow); color: #1f2226; }
.fdock .top-btn svg { width: 19px; height: 19px; }
.fdock .wa-fab:focus-visible, .fdock .top-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
[data-theme="dark"] .fdock { background: rgba(23,35,74,.96); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 30px -12px rgba(0,0,0,.8); }
[data-theme="dark"] .fdock .top-btn { background: none; color: #fff; }
[data-theme="dark"] .fdock .top-btn:hover { background: var(--yellow); color: #1f2226; }
@media (max-width: 640px) {
  .fdock { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 4px; }
  .fdock .wa-lbl { display: none; }
  .fdock .wa-fab { padding: 0 5px; height: 40px; }
  .fdock .wa-ic { width: 36px; height: 36px; }
  .fdock .top-btn { height: 40px; } .fdock .top-btn.show { width: 40px; }
}

/* =====================================================================
   Theme toggle: sun / moon sliding switch
   ===================================================================== */
.theme-tog.tt-switch { position: relative; flex: none; width: 70px; height: 38px; padding: 0; border-radius: 999px; overflow: visible;
  display: flex; align-items: center; justify-content: space-between; padding-inline: 10px;
  border: 1px solid var(--line-2); background: #eef0f2; cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(31,34,38,.12); transition: background .4s, border-color .4s; }
.theme-tog.tt-switch:hover { border-color: var(--blue); background: #eef0f2; }
.theme-tog.tt-switch .tt-knob { position: absolute; top: 3px; left: 3px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 2px 6px rgba(31,34,38,.25), 0 0 0 1px rgba(31,34,38,.06);
  transition: transform .5s cubic-bezier(.5,-0.3,.3,1.35), background .4s; }
.theme-tog.tt-switch .tt-i { position: relative; z-index: 1; width: 18px; height: 18px; opacity: 1; transform: none;
  transition: color .4s, transform .6s var(--ease), opacity .4s; }
.theme-tog.tt-switch .tt-sun { color: #1f2226; }                 /* active: sits on the yellow knob */
.theme-tog.tt-switch .tt-moon { color: #8b97b3; }                /* inactive */
.theme-tog.tt-switch:hover .tt-sun { transform: rotate(45deg); }

[data-theme="dark"] .theme-tog.tt-switch { background: #0b1430; border-color: rgba(255,255,255,.16); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); }
[data-theme="dark"] .theme-tog.tt-switch .tt-knob { transform: translateX(32px); background: #24356b; box-shadow: 0 2px 8px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); }
[data-theme="dark"] .theme-tog.tt-switch .tt-sun { color: #6f7ca0; }
[data-theme="dark"] .theme-tog.tt-switch .tt-moon { color: var(--yellow); }
[data-theme="dark"] .theme-tog.tt-switch:hover .tt-moon { transform: rotate(-20deg); }
.theme-tog.tt-switch:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 900px) { .theme-tog.tt-switch { width: 62px; height: 34px; padding-inline: 8px; } .theme-tog.tt-switch .tt-knob { width: 26px; height: 26px; } [data-theme="dark"] .theme-tog.tt-switch .tt-knob { transform: translateX(28px); } .theme-tog.tt-switch .tt-i { width: 16px; height: 16px; } }
@media (prefers-reduced-motion: reduce) { .theme-tog.tt-switch .tt-knob, .theme-tog.tt-switch .tt-i { transition: none; } }

/* =====================================================================
   Dark mode v2: neutral slate surfaces, brighter text, yellow accent
   (replaces the all-navy/all-blue look where panels and text blended in)
   ===================================================================== */
[data-theme="dark"] {
  --bg: #0d1119; --bg-soft: #121826; --paper: #171d2b;
  --lav: #121826; --sand: #121826; --mint: #121826; --sky: #121826;
  --ink: #f3f5f9; --ink-2: #d6dbe6; --muted: #aab3c7;
  --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.2);
  --blue: #7d93ff; --blue-ink: #b3c0ff; --blue-soft: rgba(125,147,255,.14);
  --navy: #090c13; --navy-2: #141a28;
}
/* surfaces that were hard-coded navy-blue */
[data-theme="dark"] .nav, [data-theme="dark"] .nav.scrolled { background: #121826 !important; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 16px 36px -22px rgba(0,0,0,.9) !important; }
[data-theme="dark"] .prod-tab.on, [data-theme="dark"] .prod-stage, [data-theme="dark"] .talk-side,
[data-theme="dark"] .svc-sec, [data-theme="dark"] .band, [data-theme="dark"] .toast, [data-theme="dark"] .intl-tag { background: var(--navy); }
[data-theme="dark"] .footer.fd { background: radial-gradient(120% 90% at 70% 40%, #161c2a 0%, #0b0e15 55%, #06080c 100%); }
[data-theme="dark"] .trust, [data-theme="dark"] .pills { background: #10151f; }

/* panels get a visible edge so they separate from the page */
[data-theme="dark"] .fq { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9); }
[data-theme="dark"] .fq::before { opacity: .35; }
[data-theme="dark"] .fq-opts button { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
[data-theme="dark"] .fq-opts button small { color: #c3c9d6; }
[data-theme="dark"] .fq-apps li { background: #222a3c; }
[data-theme="dark"] .prod-stage, [data-theme="dark"] .talk-side, [data-theme="dark"] .pf-card, [data-theme="dark"] .pt,
[data-theme="dark"] .mega { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 24px 50px -26px rgba(0,0,0,.9); }
[data-theme="dark"] .nav .mega { background: #171d2b; }
[data-theme="dark"] .mega-h span { color: var(--yellow); font-size: 11.5px; }
[data-theme="dark"] .nav .menu .mega a:hover { background: rgba(255,210,63,.1); color: var(--yellow); }

/* yellow is the accent in dark mode */
[data-theme="dark"] .menu-hl, [data-theme="dark"] .nav.scrolled .menu-hl { background: var(--yellow) !important; box-shadow: 0 8px 18px -8px rgba(255,210,63,.55) !important; }
[data-theme="dark"] .nav .menu > li > a.hl-on, [data-theme="dark"] .nav.scrolled .menu > li > a.hl-on,
[data-theme="dark"] .nav .menu > li > a.hl-on:hover { color: #1f2226; }
[data-theme="dark"] .nav .menu > li > a.active.hl-on::before { background: #1f2226; }
[data-theme="dark"] .nav .menu > li > a:hover, [data-theme="dark"] .nav.scrolled .menu > li > a:hover { color: #fff; }
[data-theme="dark"] .nav .menu { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
[data-theme="dark"] .btn-blue { background: var(--yellow); color: #1f2226; box-shadow: 0 14px 30px -14px rgba(255,210,63,.55); }
[data-theme="dark"] .btn-blue:hover { box-shadow: 0 20px 40px -16px rgba(255,210,63,.7); }
[data-theme="dark"] .btn-blue svg { background: rgba(31,34,38,.14) !important; }
[data-theme="dark"] .label { background: rgba(255,210,63,.1); color: #ffe48a; }
[data-theme="dark"] .prod-note a, [data-theme="dark"] .sg-also a { color: var(--yellow); }
[data-theme="dark"] .f input:focus, [data-theme="dark"] .f textarea:focus, [data-theme="dark"] .f select:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,63,.14); }

/* toggle + dock follow the neutral palette */
[data-theme="dark"] .theme-tog.tt-switch { background: #0d1119; }
[data-theme="dark"] .theme-tog.tt-switch .tt-knob { background: #2a3245; }
[data-theme="dark"] .theme-tog.tt-switch .tt-sun { color: #8a93a8; }
[data-theme="dark"] .fdock { background: rgba(30,37,54,.96); }
/* dark: swap the remaining blue glows/lines for warm yellow ones */
[data-theme="dark"] .band::after { background: radial-gradient(circle, rgba(255,210,63,.12), transparent 65%); }
[data-theme="dark"] .fq::before { background: radial-gradient(600px 300px at 100% 0%, rgba(255,210,63,.1), transparent 70%); }
[data-theme="dark"] .label::after, [data-theme="dark"] .pt-label::after { background: linear-gradient(90deg, var(--yellow), transparent); }
[data-theme="dark"] .trust-cap::before { background: linear-gradient(90deg, transparent, var(--yellow)); }
[data-theme="dark"] .trust-cap::after { background: linear-gradient(90deg, var(--yellow), transparent); }

/* =====================================================================
   Wordmark: lowercase "clanizon" with a sunflower-yellow dot in the "o"
   ===================================================================== */
.wm { font-weight: 800; letter-spacing: -.045em; text-transform: none; white-space: nowrap; }
.wm-o { position: relative; display: inline-block; line-height: 1; }
.wm-o::after { content: ""; position: absolute; left: 50%; bottom: .262em; width: .21em; height: .21em; margin-left: -.105em;
  border-radius: 50%; background: #f4c12a; }
.bx-name i { display: none; }
.fd-logo .wm { letter-spacing: -.04em; }
/* wordmark typeface: Inter Extra Bold (grotesque, matches the brand sample) */
.wm { font-family: "Inter", var(--font); font-weight: 800; letter-spacing: -.035em; }
/* re-centre the dot for Inter's smaller "o" counter */
.wm .wm-o::after { width: .16em; height: .16em; bottom: .345em; margin-left: -.02em; }
/* dot placed from measured Inter 800 "o" geometry: counter centre x=.309em, y=.273em above baseline;
   inline-block (line-height 1) bottom sits .135em below baseline → centre .4075em above box bottom */
.wm .wm-o::after { left: .309em; margin-left: -.07em; width: .14em; height: .14em; bottom: .3375em; }

/* Wordmark v3: Space Grotesk Bold + yellow dot in "o" + yellow line under "Cla"
   Space Grotesk 700 metrics: ascent .985, descent .2925 → inline-block (line-height 1) bottom sits .154em below baseline.
   "o" counter centre: x .305em, y .249em above baseline → .4025em above box bottom. */
.wm { font-family: "Space Grotesk", var(--font); font-weight: 700; letter-spacing: -.03em; }
.wm .wm-o::after { left: .305em; margin-left: -.08em; width: .16em; height: .16em; bottom: .3225em; }
.wm-u { position: relative; display: inline-block; line-height: 1; }
.wm-u::after { content: ""; position: absolute; left: .02em; right: .05em; bottom: -.05em; height: .085em; border-radius: .05em; background: #f4c12a; }

/* Wordmark v4 — per brand spec (at 40px: 700 weight, -0.02em, #111111, line-height 1;
   underline below with 6px gap, 56×5px, radius 3px, #FFC629). Scaled in em so it holds at any size. */
.wm { font-family: "Space Grotesk", var(--font); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.nav .wm, .nav .bx-name { color: #111111; }
[data-theme="dark"] .nav .wm, [data-theme="dark"] .nav .bx-name { color: #f3f5f9; }
.wm-u { position: relative; display: inline-block; line-height: 1; }
.wm-u::after { content: ""; position: absolute; left: 0; right: auto; bottom: auto; top: calc(100% + .15em);
  width: 1.4em; height: .125em; border-radius: .075em; background: #ffc629; }
.nav .bx-txt { gap: calc(.15em + .125em + 6px); }   /* room for the underline above the tagline */
/* dot in the "o" restored, same yellow as the underline */
.wm .wm-o::after { background: #ffc629; }

/* Logo lockup: centre the visible "C" on the visible text block (cap-top → tagline baseline);
   the C's ink sits low in its image (25.7%–88.5%), so lift the mark slightly */
.nav .brand-x .bx-logo, .nav .brand-x:hover .bx-logo { transform: translateY(-3px); }
@media (max-width: 900px) { .nav .brand-x .bx-logo, .nav .brand-x:hover .bx-logo { transform: translateY(-2px); } }
/* dark mode: the charcoal C (#464648) disappears on dark backgrounds → render it light */
[data-theme="dark"] .bx-c { filter: brightness(0) invert(1) opacity(.92); }

/* Privacy / legal pages */
.legal { padding-block: 16px 110px; }
.legal-body { max-width: 760px; padding: 44px 48px; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line); }
.legal-body h2 { margin: 34px 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 12px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.legal-body a { color: var(--blue-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .legal-body a { color: var(--yellow); }
@media (max-width: 640px) { .legal-body { padding: 26px 20px; border-radius: 20px; } .legal-body h2 { font-size: 19px; } }

/* =====================================================================
   Client logos: slow continuous marquee (pauses on hover; static for reduced motion)
   ===================================================================== */
.logo-marquee { position: relative; overflow: hidden; padding-block: 6px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lm-track { display: flex; width: max-content; animation: lmScroll 75s linear infinite; }
.lm-set { display: flex; gap: 14px; padding-right: 14px; }
.logo-marquee:hover .lm-track, .logo-marquee:focus-within .lm-track { animation-play-state: paused; }
.lm-set .lg { flex: 0 0 168px; height: 84px; }
@keyframes lmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .lm-set { gap: 10px; padding-right: 10px; } .lm-set .lg { flex-basis: 124px; height: 64px; } .lm-track { animation-duration: 60s; } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .lm-track { animation: none; width: auto; justify-content: center; }
  .lm-set { flex-wrap: wrap; justify-content: center; padding: 0 16px; max-width: 1240px; margin: 0 auto; }
  .lm-set[aria-hidden="true"] { display: none; }
}

/* =====================================================================
   Sticky "Book a demo" bar — phones only
   ===================================================================== */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 10px; right: 10px; z-index: 92;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 6px; border-radius: 999px;
    background: rgba(31,34,38,.96); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 30px -10px rgba(31,34,38,.6);
    transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .3s; }
  .mbar.show { transform: none; opacity: 1; pointer-events: auto; }
  .mbar-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); }
  .mbar-ic svg { width: 20px; height: 20px; }
  .mbar-wa { background: #25d366; }
  .mbar-demo { flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
    background: var(--yellow); color: #1f2226; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
  .mbar-demo svg { width: 16px; height: 16px; }
  /* while the bar is up: WhatsApp lives in the bar, the dock keeps only the arrow, above the bar */
  .mbar-on .fdock { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .mbar-on .fdock .wa-fab, .mbar-on .fdock .fdock-sep { display: none; }
  .mbar-on .fdock .top-btn.show { margin-left: 0; }
  .mbar-on .fdock:not(:has(.top-btn.show)) { opacity: 0; pointer-events: none; }
  .fdock { transition: bottom .45s var(--ease), opacity .3s; }
  [data-theme="dark"] .mbar { background: rgba(30,37,54,.97); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 14px 30px -10px rgba(0,0,0,.8); }
}

/* =====================================================================
   Life at Clanizon gallery (careers) + lightbox
   ===================================================================== */
.life { padding-block: 20px 110px; }
.life-head { max-width: 720px; margin-bottom: 34px; }
.life-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.life-feature { grid-column: 1 / -1; grid-row: span 2; }
.life-grid li:nth-child(6n+2) { grid-row: span 2; }
.life-item { position: relative; display: block; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px rgba(31,34,38,.45); }
.life-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.life-item:hover img { transform: scale(1.03); }
.life-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.life-cap { position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(31,34,38,.78);
  color: #fff; font-size: 13.5px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 900px) { .life-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 560px) { .life-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; } .life-feature, .life-grid li:nth-child(6n+2) { grid-row: span 1; } .life-item { border-radius: 16px; } }

.lbox { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: #06080c; color: #fff; overflow: visible; }
.lbox::backdrop { background: rgba(6,8,12,.86); }
.lbox figure { margin: 0; }
.lbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px 18px 0 0; }
.lbox figcaption { padding: 12px 18px 14px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.lbox button { position: absolute; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lbox button:hover { background: var(--yellow); color: #1f2226; }
.lbox-x { top: -16px; right: -16px; background: #fff !important; color: #1f2226 !important; }
.lbox-prev { left: 12px; top: 45%; } .lbox-next { right: 12px; top: 45%; }
.lbox.single .lbox-prev, .lbox.single .lbox-next { display: none; }
@media (max-width: 640px) { .lbox-x { top: 8px; right: 8px; } }

/* =====================================================================
   Awards & recognition collage (careers)
   ===================================================================== */
.awards { padding-block: 10px 120px; }
.aw-collage { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; align-items: center; }
.aw-card { --r: 0deg; --y: 0px; position: relative; transform: translateY(var(--y)) rotate(var(--r)); transition: transform .5s cubic-bezier(.3,1.4,.5,1), box-shadow .4s; }
.aw-card:hover, .aw-card:focus-within { transform: translateY(calc(var(--y) - 6px)) rotate(0deg) scale(1.03); z-index: 2; }
/* photo = polaroid print */
.aw-photo { padding: 12px 12px 0; border-radius: 6px; background: #fff;
  box-shadow: 0 1px 2px rgba(31,34,38,.08), 0 22px 44px -22px rgba(31,34,38,.45); }
.aw-photo::before { content: ""; position: absolute; top: -12px; left: 50%; width: 86px; height: 24px; margin-left: -43px; transform: rotate(-3deg);
  background: rgba(255,198,41,.75); box-shadow: 0 1px 2px rgba(31,34,38,.12); }   /* tape strip */
.aw-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 3px; background: #eef1f6; }
.aw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.aw-photo:hover .aw-img img { transform: scale(1.04); }
.aw-img:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.aw-name { margin: 0; padding: 12px 4px 16px; display: flex; flex-direction: column; gap: 2px; color: #1f2226; }
.aw-name b { font-family: "Space Grotesk", var(--font); font-size: 19px; letter-spacing: -.02em; }
.aw-name span { font-family: var(--mono); font-size: 12.5px; color: #4f5b75; }
/* quote cards */
.aw-quote { border-radius: 22px; padding: 34px 30px 28px; min-height: 230px; display: flex; align-items: center; }
.aw-quote blockquote { margin: 0; }
.aw-quote blockquote::before { content: "\201C"; display: block; height: 46px; font-family: Georgia, serif; font-size: 84px; line-height: 1; opacity: .9; }
.aw-quote p { margin: 0; font-family: "Space Grotesk", var(--font); font-weight: 700; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.22; letter-spacing: -.02em; }
.aw-quote footer { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; opacity: .8; }
.aw-yellow { background: #ffc629; color: #1f2226; box-shadow: 0 22px 44px -24px rgba(180,130,0,.6); }
.aw-navy { background: #1f2226; color: #fff; box-shadow: 0 22px 44px -24px rgba(31,34,38,.7); }
.aw-navy blockquote::before { color: #ffc629; }
.aw-soft { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 22px 44px -26px rgba(31,34,38,.4); }
.aw-soft blockquote::before { color: #ffc629; }
[data-theme="dark"] .aw-photo { background: #f3f5f9; }
[data-theme="dark"] .aw-navy { background: #222a3c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
@media (max-width: 900px) { .aw-collage { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; } }
@media (max-width: 560px) { .aw-collage { grid-template-columns: 1fr; gap: 30px; padding-inline: 8px; } .aw-quote { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .aw-card { transition: none; } }

/* Life gallery layout with photos: feature (full) / tall + wide + 2 tiles — fills a 3-col grid with no gaps */
.life-grid { grid-auto-rows: 270px; grid-auto-flow: row dense; }
.life-grid li:nth-child(6n+2) { grid-row: auto; }              /* replace the old nth-child rule with explicit classes */
.life-grid .life-tall { grid-row: span 2; }
.life-grid .life-wide { grid-column: span 2; }
@media (max-width: 900px) { .life-grid { grid-auto-rows: 220px; } .life-grid .life-tall { grid-row: span 2; } .life-grid .life-wide { grid-column: 1 / -1; } }
@media (max-width: 560px) { .life-grid { grid-auto-rows: 240px; } .life-grid .life-tall { grid-row: span 2; } .life-grid .life-wide { grid-column: auto; } }
.life-grid li.life-tall { grid-row: span 2; }   /* beats the (0,2,1) nth-child reset above */

/* =====================================================================
   People page: join-us card + careers teaser linking to people.html
   ===================================================================== */
.join-cta { padding-block: 10px 110px; }
.join-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 34px 38px; border-radius: 26px;
  background: var(--navy); color: #fff; box-shadow: 0 30px 60px -30px rgba(31,34,38,.6); }
.join-card h2 { margin: 0 0 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.join-card p { margin: 0; max-width: 560px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.6; }
[data-theme="dark"] .join-card { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.life-teaser { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 22px 26px; border-radius: 24px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 44px -28px rgba(31,34,38,.45); transition: transform .35s var(--ease), box-shadow .35s; }
.life-teaser:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue), 0 26px 50px -28px rgba(31,34,38,.5); }
.lt-imgs { display: flex; flex: none; }
.lt-imgs img { width: 74px; height: 74px; object-fit: cover; border-radius: 16px; border: 3px solid var(--paper); box-shadow: 0 6px 14px -8px rgba(31,34,38,.5); }
.lt-imgs img + img { margin-left: -22px; }
.lt-txt { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.lt-txt b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.lt-txt span { font-size: 15px; color: var(--ink-2); }
.lt-go { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--yellow); color: #1f2226; font-weight: 800; font-size: 15px; }
.lt-go svg { width: 16px; height: 16px; }
#people .head { align-items: flex-end; }

/* 7 menu items (People added): tighter link padding so the bar never overflows */
@media (max-width: 1560px) and (min-width: 901px) { .nav .menu > li > a, .nav.scrolled .menu > li > a { padding: 0 14px; font-size: 14px; } }
@media (max-width: 1340px) and (min-width: 901px) { .nav .menu > li > a, .nav.scrolled .menu > li > a { padding: 0 10px; font-size: 13.5px; } .nav .menu { padding: 5px; } }
@media (max-width: 1060px) and (min-width: 901px) { .nav .menu > li > a, .nav.scrolled .menu > li > a { padding: 0 7px; font-size: 13px; } .nav .menu > li > a.active::before { display: none; } .nav .nav-cap { gap: 10px; } }
@media (max-width: 1060px) and (min-width: 901px) {
  .nav .nav-cap, .nav.scrolled .nav-cap { gap: 12px; }
  .nav .bx-quote { display: none !important; }
  .nav .bx-txt { gap: 0 !important; padding-bottom: 6px; }
  .theme-tog.tt-switch { width: 60px; height: 34px; padding-inline: 7px; }
  .theme-tog.tt-switch .tt-knob { width: 26px; height: 26px; }
  [data-theme="dark"] .theme-tog.tt-switch .tt-knob { transform: translateX(26px); }
  .theme-tog.tt-switch .tt-i { width: 15px; height: 15px; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.msg-hero + #life { padding-top: 0; }
.aw-name .aw-role { font-style: normal; font-size: 14.5px; font-weight: 600; color: #1f2226; margin: 1px 0 4px; }
/* 4 award photos + 4 quotes → 4 columns on large screens (two full rows) */
@media (min-width: 1100px) { .aw-collage { grid-template-columns: repeat(4, 1fr); gap: 34px 26px; } .aw-quote { padding: 28px 24px 24px; min-height: 210px; } .aw-quote p { font-size: clamp(20px, 1.7vw, 25px); } }
@media (max-width: 1099px) and (min-width: 901px) { .aw-collage { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   Awards collage v2: tight masonry (CSS columns) — no gaps, gentle tilt
   ===================================================================== */
.aw-collage, .aw-collage[class] { display: block; columns: 4 250px; column-gap: 26px; padding-top: 22px; }
.aw-collage > .aw-card { display: inline-block; width: 100%; margin: 0 0 30px; break-inside: avoid; -webkit-column-break-inside: avoid; vertical-align: top; }
.aw-collage > .aw-quote { min-height: 0; }
.aw-collage > .aw-quote:nth-of-type(odd) { padding-block: 30px 26px; }
.aw-collage > .aw-photo { margin-top: 12px; }               /* room for the tape strip */
@media (max-width: 1099px) { .aw-collage, .aw-collage[class] { columns: 2 240px; column-gap: 22px; } }
@media (max-width: 560px) { .aw-collage, .aw-collage[class] { columns: 1; padding-inline: 6px; } }

/* =====================================================================
   Celebrations: Diwali get-together (people page)
   ===================================================================== */
.dw { position: relative; padding-block: 90px 100px; margin-bottom: 70px;
  background: radial-gradient(900px 380px at 85% 0%, rgba(255,198,41,.28), transparent 70%),
              radial-gradient(700px 320px at 0% 100%, rgba(255,140,40,.14), transparent 70%), #fff8e6; }
.dw::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(90deg, #ffc629 0 22px, #ff8a3d 22px 44px, #e8473f 44px 66px, #1f2226 66px 88px); opacity: .85; }
.dw-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.dw-meta span { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31,34,38,.1);
  font-family: var(--mono); font-size: 13px; color: #1f2226; }
.dw-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 14px; }
.dw-gift { grid-column: span 2; grid-row: span 2; }
.dw-wide { grid-column: span 3; grid-row: span 2; }
.dw-grid .life-item { box-shadow: 0 0 0 1px rgba(31,34,38,.06), 0 20px 40px -24px rgba(120,70,0,.5); }
[data-theme="dark"] .dw { background: radial-gradient(900px 380px at 85% 0%, rgba(255,198,41,.12), transparent 70%), radial-gradient(700px 320px at 0% 100%, rgba(255,140,40,.08), transparent 70%), #141824; }
[data-theme="dark"] .dw-meta span { background: rgba(255,255,255,.06); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
@media (max-width: 900px) { .dw-grid { grid-auto-rows: 140px; gap: 12px; } }
@media (max-width: 560px) {
  .dw { padding-block: 64px 70px; }
  .dw-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .dw-gift { grid-column: span 1; grid-row: span 1; }
  .dw-gift:nth-child(3) { grid-column: span 2; grid-row: span 2; }
  .dw-wide { grid-column: span 2; grid-row: span 1; }
}

/* =====================================================================
   Team Meet-Up 2025 (people page) — fresh green theme
   ===================================================================== */
.mu { position: relative; padding-block: 90px 100px;
  background: radial-gradient(900px 380px at 90% 0%, rgba(76,175,80,.20), transparent 70%),
              radial-gradient(700px 320px at 0% 100%, rgba(255,198,41,.14), transparent 70%), #eef6ea; }
.mu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #2e7d32, #8bc34a, #ffc629); }
.mu-grid { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mu-hero { grid-column: span 4; grid-row: span 2; }
.mu-tall { grid-column: span 2; grid-row: span 2; }
.mu-half { grid-column: span 3; grid-row: span 2; }
.mu-third { grid-column: span 2; grid-row: span 2; }
.mu-grid .life-item { box-shadow: 0 0 0 1px rgba(31,34,38,.06), 0 20px 40px -24px rgba(20,70,20,.5); }
[data-theme="dark"] .mu { background: radial-gradient(900px 380px at 90% 0%, rgba(76,175,80,.12), transparent 70%), #121a16; }
@media (max-width: 900px) { .mu-grid { grid-auto-rows: 140px; gap: 12px; } }
@media (max-width: 560px) {
  .mu { padding-block: 64px 70px; }
  .mu-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .mu-hero, .mu-half { grid-column: span 2; grid-row: span 1; }
  .mu-tall, .mu-third { grid-column: span 1; grid-row: span 2; }
  .mu-third:last-child { grid-column: span 2; grid-row: span 1; }
}

/* =====================================================================
   Awards v3: clean award cards + rotating quote banner
   ===================================================================== */
.awc-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.awc { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 48px -30px rgba(31,34,38,.5); transition: transform .4s var(--ease), box-shadow .4s; }
.awc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255,198,41,.7), 0 30px 56px -28px rgba(31,34,38,.55); }
.awc-img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #eef1f6; }
.awc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.awc:hover .awc-img img { transform: scale(1.04); }
.awc-img::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(6,10,22,.55)); pointer-events: none; }
.awc-badge { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px;
  background: #ffc629; color: #1f2226; font-size: 13px; font-weight: 800; letter-spacing: -.01em; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.awc-badge svg { width: 15px; height: 15px; }
.awc-badge b { font-family: var(--mono); font-weight: 600; opacity: .75; }
.awc-img:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.awc-body { padding: 18px 20px 22px; border-top: 3px solid #ffc629; }
.awc-body h3 { margin: 0; font-family: "Space Grotesk", var(--font); font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.awc-body p { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; color: var(--blue-ink); }

.awq-band { position: relative; margin-top: 30px; padding: 40px 48px 34px 120px; border-radius: 26px; background: #ffc629; color: #1f2226; overflow: hidden;
  box-shadow: 0 26px 50px -30px rgba(160,110,0,.65); }
.awq-mark { position: absolute; left: 34px; top: 6px; font-family: Georgia, serif; font-size: 150px; line-height: 1; color: #1f2226; opacity: .9; }
.awq-track { display: grid; }
.awq { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s var(--ease); pointer-events: none; }
.awq.on { opacity: 1; transform: none; pointer-events: auto; }
.awq p { margin: 0; font-family: "Space Grotesk", var(--font); font-weight: 700; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
.awq footer { margin-top: 12px; font-family: var(--mono); font-size: 13px; opacity: .75; }
.awq-dots { display: flex; gap: 8px; margin-top: 22px; }
.awq-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(31,34,38,.25); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.awq-dots button.on { width: 28px; background: #1f2226; }
.awq-dots button:focus-visible { outline: 2px solid #1f2226; outline-offset: 3px; }
[data-theme="dark"] .awc-body p { color: #ffd76a; }
@media (max-width: 1099px) { .awc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .awc-grid { grid-template-columns: 1fr; gap: 18px; }
  .awq-band { padding: 64px 22px 26px; } .awq-mark { left: 18px; top: -6px; font-size: 110px; }
}
@media (prefers-reduced-motion: reduce) { .awq { transition: none; } .awc, .awc-img img { transition: none; } }

/* =====================================================================
   Celebrations: compact event cards (photo stack) → expanding photo panel
   ===================================================================== */
.cel { padding-block: 10px 110px; }
.evt-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.evt { width: 100%; display: flex; align-items: center; gap: 30px; padding: 26px 28px; border: 0; border-radius: 26px; cursor: pointer; text-align: left; font: inherit;
  color: #1f2226; box-shadow: 0 0 0 1px rgba(31,34,38,.07), 0 22px 46px -30px rgba(31,34,38,.55); transition: transform .4s var(--ease), box-shadow .4s; }
.evt-green { background: radial-gradient(420px 200px at 100% 0%, rgba(139,195,74,.35), transparent 70%), #eef6ea; }
.evt-gold  { background: radial-gradient(420px 200px at 100% 0%, rgba(255,198,41,.45), transparent 70%), #fff8e6; }
.evt:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(31,34,38,.1), 0 30px 56px -28px rgba(31,34,38,.6); }
.evt:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* fanned photo stack */
.evt-stack { position: relative; flex: none; width: 150px; height: 150px; }
.evt-stack img { position: absolute; inset: 14px; width: 122px; height: 122px; object-fit: cover; border-radius: 18px; border: 4px solid #fff;
  box-shadow: 0 10px 22px -10px rgba(31,34,38,.55); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.evt-stack img:nth-child(1) { transform: rotate(-10deg) translateX(-10px); }
.evt-stack img:nth-child(2) { transform: rotate(8deg) translateX(10px); }
.evt-stack img:nth-child(3) { transform: rotate(-1deg); }
.evt:hover .evt-stack img:nth-child(1) { transform: rotate(-18deg) translate(-22px, 4px); }
.evt:hover .evt-stack img:nth-child(2) { transform: rotate(16deg) translate(22px, 4px); }
.evt:hover .evt-stack img:nth-child(3) { transform: translateY(-8px) scale(1.04); }
.evt-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.evt-date { font-family: var(--mono); font-size: 12.5px; color: #4f5b75; }
.evt-title { font-family: "Space Grotesk", var(--font); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.evt-place { font-size: 14.5px; color: #33415f; }
.evt-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 16px; border-radius: 999px;
  background: #1f2226; color: #fff; font-size: 14px; font-weight: 700; }
.evt-go svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.evt:hover .evt-go svg { transform: rotate(45deg); }
[data-theme="dark"] .evt-green { background: radial-gradient(420px 200px at 100% 0%, rgba(139,195,74,.18), transparent 70%), #182219; color: var(--ink); }
[data-theme="dark"] .evt-gold { background: radial-gradient(420px 200px at 100% 0%, rgba(255,198,41,.18), transparent 70%), #221d12; color: var(--ink); }
[data-theme="dark"] .evt-date, [data-theme="dark"] .evt-place { color: var(--ink-2); }
[data-theme="dark"] .evt-go { background: var(--yellow); color: #1f2226; }
/* expanded panel */
.evt-dlg { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); overflow: hidden; }
.evt-dlg.evt-green { background: #eef6ea; } .evt-dlg.evt-gold { background: #fff8e6; }
[data-theme="dark"] .evt-dlg.evt-green { background: #121a16; } [data-theme="dark"] .evt-dlg.evt-gold { background: #18150d; }
.evt-dlg::backdrop { background: rgba(6,10,22,.5); }
.evt-panel { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 34px max(24px, calc((100vw - 1240px) / 2)) 60px; }
.evt-head { position: sticky; top: -34px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: -34px -24px 26px; padding: 34px 24px 18px;
  background: inherit; background: linear-gradient(180deg, var(--evt-bg, #fff8e6) 75%, transparent); }
.evt-green .evt-head { --evt-bg: #eef6ea; } .evt-gold .evt-head { --evt-bg: #fff8e6; }
[data-theme="dark"] .evt-green .evt-head { --evt-bg: #121a16; } [data-theme="dark"] .evt-gold .evt-head { --evt-bg: #18150d; }
.evt-head h2 { margin: 6px 0 6px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.evt-head p { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.evt-x { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #1f2226; color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: transform .35s var(--ease), background .3s; }
.evt-x:hover { transform: rotate(90deg); background: var(--blue); }
.evt-x svg { width: 20px; height: 20px; }
[data-theme="dark"] .evt-x { background: var(--yellow); color: #1f2226; }
.evt-dlg .mu-grid, .evt-dlg .dw-grid { margin-top: 0; }
html.evt-open { overflow: hidden; }
@media (max-width: 900px) { .evt-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .evt { gap: 18px; padding: 20px; } .evt-stack { width: 110px; height: 110px; } .evt-stack img { inset: 10px; width: 90px; height: 90px; border-width: 3px; border-radius: 14px; }
  .evt-panel { padding: 22px 16px 40px; } .evt-head { top: -22px; margin: -22px -16px 18px; padding: 22px 16px 14px; }
}

/* Home: award winners highlight (links to people.html#awards) */
.aw-hl { position: relative; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 22px; padding: 22px 26px; border-radius: 24px; overflow: hidden;
  background: #1f2226; color: #fff; box-shadow: 0 26px 50px -30px rgba(31,34,38,.7); transition: transform .4s var(--ease), box-shadow .4s; }
.aw-hl::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 100% 0%, rgba(255,198,41,.28), transparent 70%); pointer-events: none; }
.aw-hl:hover { transform: translateY(-4px); box-shadow: 0 32px 60px -28px rgba(31,34,38,.8); }
.aw-hl-ic { position: relative; flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #ffc629; color: #1f2226;
  box-shadow: 0 0 0 6px rgba(255,198,41,.18); animation: awPulse 3s ease-in-out 3; }
.aw-hl-ic svg { width: 28px; height: 28px; }
@keyframes awPulse { 50% { box-shadow: 0 0 0 12px rgba(255,198,41,.08); } }
.aw-hl-txt { position: relative; flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 3px; }
.aw-hl-txt small { font-family: var(--mono); font-size: 12.5px; color: #ffc629; text-transform: uppercase; letter-spacing: .1em; }
.aw-hl-txt b { font-family: "Space Grotesk", var(--font); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.aw-hl-txt em { font-style: normal; font-size: 14.5px; color: rgba(255,255,255,.78); }
.aw-hl-faces { position: relative; list-style: none; margin: 0; padding: 0; display: flex; }
.aw-hl-faces li { position: relative; }
.aw-hl-faces li + li { margin-left: -14px; }
.aw-hl-faces img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid #ffc629; background: #fff; transition: transform .35s var(--ease); }
.aw-hl-faces span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px); white-space: nowrap; padding: 7px 11px; border-radius: 10px;
  background: #fff; color: #1f2226; font-size: 12.5px; line-height: 1.35; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.aw-hl-faces span b { display: block; font-size: 13.5px; }
.aw-hl-faces li:hover img { transform: translateY(-6px) scale(1.06); }
.aw-hl-faces li:hover span { opacity: 1; transform: translate(-50%, 0); }
.aw-hl-go { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #ffc629; color: #1f2226; transition: transform .35s var(--ease); }
.aw-hl-go svg { width: 18px; height: 18px; }
.aw-hl:hover .aw-hl-go { transform: rotate(45deg); }
[data-theme="dark"] .aw-hl { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
@media (max-width: 640px) { .aw-hl { padding: 20px; gap: 16px; } .aw-hl-faces img { width: 48px; height: 48px; } .aw-hl-go { display: none; } }
@media (prefers-reduced-motion: reduce) { .aw-hl-ic { animation: none; } }
/* awards section on people page: extra emphasis now that it sits second */
#awards { scroll-margin-top: 100px; }
.team .aw-hl { margin: 26px 0 22px; }
.aw-hl { overflow: visible; }
.aw-hl::before { border-radius: inherit; }
.aw-hl-faces span { z-index: 3; box-shadow: 0 10px 24px -10px rgba(31,34,38,.5); }

/* =====================================================================
   Awards v4: "Hall of fame" — dark gold panel, featured winner + bento collage
   ===================================================================== */
.hof-sec { position: relative; margin-block: 10px 110px; padding: 64px 56px 56px !important; border-radius: 34px; color: #fff; isolation: isolate; overflow: hidden;
  background: radial-gradient(700px 360px at 85% -10%, rgba(255,198,41,.32), transparent 70%),
              radial-gradient(600px 320px at -5% 110%, rgba(31,34,38,.35), transparent 70%), #1f2226; }
.hof-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hof-sec .h2, .hof-sec .life-head .h2 { color: #fff; }
.hof-sec .lead { color: rgba(255,255,255,.78); }
.hof-sec .lead b { color: #ffc629; }
.hof-sec .label { background: rgba(255,198,41,.14); color: #ffd76a; }
.hof { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); aspect-ratio: 4 / 2.66;
  grid-template-areas: "f f a q" "f f a q" "f f b c" "f f b c"; }
.hof-t[data-slot="f"] { grid-area: f; } .hof-t[data-slot="a"] { grid-area: a; } .hof-t[data-slot="b"] { grid-area: b; } .hof-t[data-slot="c"] { grid-area: c; }
.hof-q { grid-area: q; }
.hof-t { position: relative; min-height: 0; transition: transform .45s var(--ease), opacity .4s, filter .4s; }
.hof:hover .hof-t:not(:hover) { opacity: .5; filter: saturate(.4); }
.hof-t:hover { transform: translateY(-6px); z-index: 2; }
.hof-a { position: relative; display: block; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #2b2e33;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 46px -24px rgba(0,0,0,.7); }
.hof-a img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hof-t:hover .hof-a img { transform: scale(1.05); }
.hof-a::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(6,10,22,.88)); pointer-events: none; }
.hof-t:hover .hof-a { box-shadow: 0 0 0 2px #ffc629, 0 30px 56px -24px rgba(255,198,41,.35); }
.hof-a:focus-visible { outline: 3px solid #ffc629; outline-offset: 3px; }
.hof-medal { position: absolute; top: 14px; right: 14px; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #1f2226;
  background: radial-gradient(circle at 35% 30%, #fff3c0, #ffc629 45%, #d99a00); box-shadow: 0 0 0 3px rgba(255,198,41,.3), 0 8px 18px -6px rgba(0,0,0,.6); transition: transform .8s var(--ease); }
.hof-medal svg { width: 20px; height: 20px; }
.hof-t:hover .hof-medal { transform: rotate(360deg) scale(1.08); }
.hof-feat { display: none; position: absolute; top: 18px; left: 18px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: #ffc629; color: #1f2226;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.is-feat .hof-feat { display: inline-block; }
.hof-txt { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 2px; color: #fff; }
.hof-txt small { font-family: var(--mono); font-size: 11.5px; color: #ffc629; letter-spacing: .02em; }
.hof-txt b { font-family: "Space Grotesk", var(--font); font-size: 20px; letter-spacing: -.02em; line-height: 1.15; }
.hof-txt em { font-style: normal; font-size: 13.5px; color: rgba(255,255,255,.82); }
.is-feat .hof-txt { left: 26px; bottom: 24px; }
.is-feat .hof-txt small { font-size: 13px; }
.is-feat .hof-txt b { font-size: clamp(28px, 2.8vw, 40px); }
.is-feat .hof-txt em { font-size: 16px; }
.is-feat .hof-medal { width: 58px; height: 58px; top: 20px; right: 20px; } .is-feat .hof-medal svg { width: 28px; height: 28px; }
/* quote tile */
.hof-q { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 22px 22px; border-radius: 22px; background: #ffc629; color: #1f2226; overflow: hidden; min-height: 0; }
.hof-qmark { position: absolute; top: -8px; left: 16px; font-family: Georgia, serif; font-size: 120px; line-height: 1; opacity: .9; }
.hq-track { display: grid; }
.hq { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s var(--ease); }
.hq.on { opacity: 1; transform: none; }
.hq p { margin: 0; font-family: "Space Grotesk", var(--font); font-weight: 700; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.22; letter-spacing: -.02em; }
.hq footer { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; opacity: .75; }
.hq-dots { display: flex; gap: 7px; margin-top: 16px; }
.hq-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(31,34,38,.25); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.hq-dots button.on { width: 22px; background: #1f2226; }
[data-theme="dark"] .hof-sec { background: radial-gradient(700px 360px at 85% -10%, rgba(255,198,41,.2), transparent 70%), #10151f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
@media (max-width: 1000px) {
  .hof-sec { padding: 48px 28px 36px !important; }
  .hof { aspect-ratio: auto; grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: auto; grid-template-areas: "f f" "a b" "c q"; }
  .hof-t { aspect-ratio: 3 / 4; } .hof-t[data-slot="f"] { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 560px) {
  .hof-sec { padding: 40px 18px 24px !important; border-radius: 24px; margin-inline: 10px; }
  .hof { gap: 12px; } .hof-txt b { font-size: 16px; } .hof-txt em { font-size: 12px; } .hof-txt small { font-size: 10px; }
  .hof-txt { left: 12px; right: 12px; bottom: 12px; } .hof-medal { width: 34px; height: 34px; top: 10px; right: 10px; }
  .hof-q { padding: 20px 16px 16px; } .hof-qmark { font-size: 90px; } .hq p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hof-t, .hof-a img, .hof-medal, .hq { transition: none; } }
.hof-sec { width: min(1310px, calc(100% - 32px)); max-width: none; margin-inline: auto; }
.hof-sec .label, .hof-sec .life-head .label { color: #ffd76a !important; background: rgba(255,198,41,.14) !important; opacity: 1 !important; }
.hof-sec .label::after { background: linear-gradient(90deg, #ffc629, transparent) !important; }
.hof { aspect-ratio: 4 / 2.15; }
@media (max-width: 1000px) { .hof { aspect-ratio: auto; } }
@media (min-width: 901px) { .nav .menu > li > a { white-space: nowrap; } }
@media (max-width: 1340px) and (min-width: 1061px) {
  .nav .nav-cap, .nav.scrolled .nav-cap { gap: 12px; }
  .nav .menu > li > a, .nav.scrolled .menu > li > a { padding: 0 9px; font-size: 13.5px; }
  .nav .bx-quote { display: none !important; }
  .nav .bx-txt { gap: 0 !important; padding-bottom: 6px; }
}

/* =====================================================================
   Awards v5: 3D flip cards (light theme)
   ===================================================================== */
.flips { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flip { perspective: 1400px; aspect-ratio: 3 / 4; }
.flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3,1.2,.4,1); }
@media (hover: hover) { .flip:not(.no-hover):hover .flip-in { transform: rotateY(180deg); } }
.flip.is-flipped .flip-in { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 26px 50px -30px rgba(31,34,38,.55); }
.flip-front { padding: 0; border: 0; cursor: pointer; background: #e9edf5; font: inherit; text-align: left; }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-front::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgba(6,10,22,.85)); pointer-events: none; }
.flip-front:focus-visible, .flip-view:focus-visible, .flip-back-btn:focus-visible { outline: 3px solid #ffc629; outline-offset: 3px; }
.flip-hint { position: absolute; top: 14px; right: 14px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: #1f2226; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.flip-hint svg { width: 18px; height: 18px; }
.flip-name { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; color: #fff; }
.flip-name b { font-family: "Space Grotesk", var(--font); font-size: 21px; letter-spacing: -.02em; }
.flip-name em { font-style: normal; font-size: 14px; color: rgba(255,255,255,.85); }
.flip-back { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 20px; color: #fff;
  background: radial-gradient(260px 200px at 50% 20%, rgba(255,198,41,.3), transparent 70%), #1f2226; }
.flip-back::before { content: ""; position: absolute; inset: 10px; border-radius: 18px; border: 1px solid rgba(255,198,41,.35); pointer-events: none; }
.flip-medal { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #1f2226;
  background: radial-gradient(circle at 35% 30%, #fff3c0, #ffc629 45%, #d99a00); box-shadow: 0 0 0 6px rgba(255,198,41,.18), 0 12px 26px -8px rgba(0,0,0,.6); }
.flip-medal svg { width: 36px; height: 36px; }
.flip-award { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #ffc629; line-height: 1.6; }
.flip-who { margin-top: 12px; font-family: "Space Grotesk", var(--font); font-size: 24px; letter-spacing: -.02em; }
.flip-role { font-style: normal; font-size: 14.5px; color: rgba(255,255,255,.8); }
.flip-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.flip-view { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #ffc629; color: #1f2226; font-size: 14px; font-weight: 700; }
.flip-view svg { width: 16px; height: 16px; }
.flip-back-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; }
.flip-back-btn:hover { background: rgba(255,255,255,.1); }
.flip-back-btn svg { width: 17px; height: 17px; }
.flip-tip { margin: 18px 0 0; font-family: var(--mono); font-size: 13px; color: var(--muted); }
[data-theme="dark"] .flip-back { background: radial-gradient(260px 200px at 50% 20%, rgba(255,198,41,.22), transparent 70%), #1b2234; }
@media (max-width: 1099px) { .flips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flips { gap: 14px; } .flip-name b { font-size: 16px; } .flip-name em { font-size: 12px; } .flip-name { left: 12px; bottom: 12px; }
  .flip-hint { width: 32px; height: 32px; top: 10px; right: 10px; } .flip-medal { width: 54px; height: 54px; } .flip-medal svg { width: 26px; height: 26px; }
  .flip-award { font-size: 10.5px; margin-top: 12px; } .flip-who { font-size: 18px; margin-top: 8px; } .flip-role { font-size: 12px; }
  .flip-actions { margin-top: 14px; } .flip-view { padding: 8px 12px; font-size: 12.5px; } .flip-back-btn { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { .flip-in { transition: none; } }

/* =====================================================================
   Awards v6: zigzag pinned collage with drop-in swing
   ===================================================================== */
.pins { list-style: none; margin: 30px 0 0; padding: 0 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 44px; align-items: start; }
.pc { --r: 0deg; position: relative; }
.pc:nth-child(1) { margin-top: 210px; --r: -2.5deg; }
.pc:nth-child(2) { margin-top: 0;     --r: 2deg; }
.pc:nth-child(3) { margin-top: 170px; --r: -1.5deg; }
.pc:nth-child(4) { margin-top: 20px;  --r: 2.5deg; }
.pc-card { position: relative; padding: 14px 14px 18px; border-radius: 22px; background: #fff;
  box-shadow: 0 1px 2px rgba(31,34,38,.08), 0 28px 50px -30px rgba(31,34,38,.55);
  transform-origin: 50% 0; transform: rotate(var(--r)); transition: transform .6s cubic-bezier(.3,1.4,.5,1), box-shadow .4s; }
.pc:hover .pc-card, .pc:focus-within .pc-card { transform: rotate(0deg) translateY(-8px); box-shadow: 0 1px 2px rgba(31,34,38,.08), 0 40px 60px -30px rgba(31,34,38,.6); }
.pin { position: absolute; z-index: 3; top: -26px; left: 50%; width: 38px; height: 46px; margin-left: -19px; filter: drop-shadow(0 4px 4px rgba(31,34,38,.25)); }
.pc-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: #eef1f6; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pc:hover .pc-img img { transform: scale(1.05); }
.pc-img:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.pc-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 4px 0; }
.pc-body b { font-family: "Space Grotesk", var(--font); font-size: 20px; letter-spacing: -.02em; color: #1f2226; }
.pc-body em { font-style: normal; font-size: 14px; font-weight: 600; color: #1f2226; }
.pc-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 11px 6px 8px; border-radius: 999px;
  background: #fff4cc; color: #6b4b00; font-size: 12.5px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(201,138,0,.3); }
.pc-chip svg { width: 14px; height: 14px; color: #e0a400; }
/* drop-in + swing from the pin */
.pins.ready .pc { opacity: 0; }
.pins.in .pc { animation: pcDrop 1.5s cubic-bezier(.2,.7,.3,1) both; }
.pins.in .pc:nth-child(2) { animation-delay: .15s; } .pins.in .pc:nth-child(3) { animation-delay: .3s; } .pins.in .pc:nth-child(4) { animation-delay: .45s; }
.pins.in .pc .pc-card { animation: pcSwing 2.2s ease-out both; }
.pins.in .pc:nth-child(2) .pc-card { animation-delay: .15s; } .pins.in .pc:nth-child(3) .pc-card { animation-delay: .3s; } .pins.in .pc:nth-child(4) .pc-card { animation-delay: .45s; }
.pins.in .pc:hover .pc-card { animation: none; }
@keyframes pcDrop { 0% { opacity: 0; transform: translateY(-60px); } 35% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes pcSwing {
  0% { transform: rotate(calc(var(--r) + 9deg)); } 30% { transform: rotate(calc(var(--r) - 5deg)); } 55% { transform: rotate(calc(var(--r) + 2.5deg)); }
  78% { transform: rotate(calc(var(--r) - 1deg)); } 100% { transform: rotate(var(--r)); } }
[data-theme="dark"] .pc-card { background: #f3f5f9; }
@media (max-width: 1099px) {
  .pins { grid-template-columns: repeat(2, 1fr); gap: 56px 34px; padding: 0 20px; }
  .pc:nth-child(1), .pc:nth-child(3) { margin-top: 90px; } .pc:nth-child(2), .pc:nth-child(4) { margin-top: 0; }
  .pc:nth-child(3) { margin-top: 30px; }
}
@media (max-width: 560px) {
  .pins { gap: 44px 16px; padding: 0 4px; }
  .pc:nth-child(1), .pc:nth-child(3) { margin-top: 60px; } .pc:nth-child(3) { margin-top: 10px; }
  .pc-card { padding: 9px 9px 12px; border-radius: 16px; } .pc-img { border-radius: 10px; }
  .pc-body b { font-size: 15px; } .pc-body em { font-size: 12px; } .pc-chip { font-size: 10px; padding: 4px 8px 4px 6px; }
  .pin { width: 30px; height: 36px; margin-left: -15px; top: -20px; }
}
@media (prefers-reduced-motion: reduce) { .pins .pc, .pins .pc .pc-card { animation: none !important; opacity: 1 !important; } .pc-card { transition: none; } }
/* pin at top-right; cards swing from the pin */
.pin { left: auto; right: 22px; margin-left: 0; }
.pc-card { transform-origin: calc(100% - 41px) 0; }
@media (max-width: 560px) { .pin { right: 14px; margin-left: 0; } .pc-card { transform-origin: calc(100% - 29px) 0; } }
/* red pushpin, stuck in at an angle (pivot = needle tip) */
.pin { transform: rotate(28deg); transform-origin: 50% 92%; top: -22px; right: 18px; filter: drop-shadow(2px 4px 3px rgba(31,34,38,.3)); }
@media (max-width: 560px) { .pin { top: -17px; right: 12px; } }
/* awards: no movement on hover — card stays put, only the shadow deepens */
.pc:hover .pc-card, .pc:focus-within .pc-card { transform: rotate(var(--r)); }
.pins.in .pc:hover .pc-card { animation: pcSwing 2.2s ease-out both; }
.pins.in .pc:nth-child(2):hover .pc-card { animation-delay: .15s; } .pins.in .pc:nth-child(3):hover .pc-card { animation-delay: .3s; } .pins.in .pc:nth-child(4):hover .pc-card { animation-delay: .45s; }
.pc:hover .pc-img img { transform: none; }
.pc-card { transition: box-shadow .4s; }

/* =====================================================================
   On the floor — animated production line (yellow & grey)
   ===================================================================== */
.floor { background: #eceef1; }
[data-theme="dark"] .floor { background: #0f1218; }
.fl { border-radius: 28px; overflow: hidden; background: #2a2e35; box-shadow: 0 30px 60px -32px rgba(20,24,30,.7); }
.fl-stage { position: relative; padding: 8px 8px 0; background: radial-gradient(700px 260px at 50% 110%, rgba(255,198,41,.16), transparent 70%), #2a2e35; }
.fl-svg { display: block; width: 100%; height: auto; }
/* pads + markers light up on the active stage */
.fl-svg .pad { fill: rgba(255,255,255,.04); transition: fill .5s; }
.fl-svg .mk line { stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 3 4; transition: stroke .5s; }
.fl-svg .mk circle { fill: #3a3f48; stroke: #5b616b; stroke-width: 2; transition: fill .5s, stroke .5s, r .5s; }
.fl-svg .mk text { font: 700 12px/1 "IBM Plex Mono", monospace; fill: #c9ced6; text-anchor: middle; transition: fill .5s; }
.fl-svg .st { transition: opacity .5s; opacity: .55; }
.fl[data-active="0"] .pad[data-st="0"], .fl[data-active="1"] .pad[data-st="1"], .fl[data-active="2"] .pad[data-st="2"],
.fl[data-active="3"] .pad[data-st="3"], .fl[data-active="4"] .pad[data-st="4"], .fl[data-active="5"] .pad[data-st="5"] { fill: rgba(255,198,41,.45); }
.fl[data-active="0"] .st[data-st="0"], .fl[data-active="1"] .st[data-st="1"], .fl[data-active="2"] .st[data-st="2"],
.fl[data-active="3"] .st[data-st="3"], .fl[data-active="4"] .st[data-st="4"], .fl[data-active="5"] .st[data-st="5"] { opacity: 1; }
.fl[data-active="0"] .mk[data-st="0"] circle, .fl[data-active="1"] .mk[data-st="1"] circle, .fl[data-active="2"] .mk[data-st="2"] circle,
.fl[data-active="3"] .mk[data-st="3"] circle, .fl[data-active="4"] .mk[data-st="4"] circle, .fl[data-active="5"] .mk[data-st="5"] circle { fill: #ffc629; stroke: #ffe28a; r: 19px; }
.fl[data-active="0"] .mk[data-st="0"] text, .fl[data-active="1"] .mk[data-st="1"] text, .fl[data-active="2"] .mk[data-st="2"] text,
.fl[data-active="3"] .mk[data-st="3"] text, .fl[data-active="4"] .mk[data-st="4"] text, .fl[data-active="5"] .mk[data-st="5"] text { fill: #1b1e23; }
.fl[data-active="0"] .mk[data-st="0"] line, .fl[data-active="1"] .mk[data-st="1"] line, .fl[data-active="2"] .mk[data-st="2"] line,
.fl[data-active="3"] .mk[data-st="3"] line, .fl[data-active="4"] .mk[data-st="4"] line, .fl[data-active="5"] .mk[data-st="5"] line { stroke: #ffc629; }

/* machine motion (svg transforms use user units) */
.fl-svg .belt { animation: flBelt 1.2s linear infinite; }
@keyframes flBelt { to { stroke-dashoffset: -24; } }
.fl-svg .draw { stroke-dasharray: 260; animation: flDraw 4s ease-in-out infinite; }
@keyframes flDraw { 0% { stroke-dashoffset: 260; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }
.fl-svg .crate { transform-box: fill-box; animation: flBob 3.2s ease-in-out infinite; }
.fl-svg .c2 { animation-delay: .4s; } .fl-svg .c3 { animation-delay: .8s; }
@keyframes flBob { 50% { transform: translateY(-4px); } }
.fl-svg .spindle { animation: flSpindle 1.6s ease-in-out infinite; }
@keyframes flSpindle { 50% { transform: translateY(14px); } }
.fl-svg .spark { animation: flSpark .8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.fl-svg .s2 { animation-delay: .4s; }
@keyframes flSpark { 0% { opacity: 0; transform: translate(0,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(10px,-10px); } }
.fl-svg .led { animation: flLed 2s steps(2) infinite; }
@keyframes flLed { 50% { opacity: .35; } }
.fl-svg .arm1 { transform-origin: 691px 274px; animation: flArm1 3.6s ease-in-out infinite; }
.fl-svg .arm2 { transform-origin: 691px 196px; animation: flArm2 3.6s ease-in-out infinite; }
@keyframes flArm1 { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(16deg); } }
@keyframes flArm2 { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(48deg); } }
.fl-svg .scan { animation: flScan 2.6s ease-in-out infinite; }
@keyframes flScan { 0%, 100% { transform: translateX(-24px); } 50% { transform: translateX(24px); } }
.fl-svg .ok { transform-box: fill-box; transform-origin: center; animation: flOk 2.6s ease-in-out infinite; }
@keyframes flOk { 0%, 60% { opacity: 0; transform: scale(.6); } 70%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.fl-svg .truck { animation: flTruck 2.4s ease-in-out infinite; }
@keyframes flTruck { 50% { transform: translateY(-2px); } }
.fl-svg .wheel { animation: flWheel 1.2s linear infinite; }
@keyframes flWheel { to { transform: rotate(360deg); } }
/* parts: grey (raw) → yellow once past inspection (~75% of the line) */
.fl-svg .part { fill: #9aa1ac; animation: flPart 12s linear infinite; }
.fl-svg .p2 { animation-delay: -3s; } .fl-svg .p3 { animation-delay: -6s; } .fl-svg .p4 { animation-delay: -9s; }
@keyframes flPart {
  0% { transform: translateX(0); fill: #9aa1ac; opacity: 0; } 4% { opacity: 1; }
  73% { fill: #9aa1ac; } 77% { fill: #ffc629; }
  94% { opacity: 1; } 100% { transform: translateX(1120px); fill: #ffc629; opacity: 0; } }
.fl.paused .fl-svg *, .fl.paused .fl-svg { animation-play-state: paused !important; }

/* stage tabs + info */
.fl-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 14px 16px 0; background: #2a2e35; }
.fl-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px;
  background: rgba(255,255,255,.04); color: #c9ced6; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.fl-tab i { font-style: normal; font-family: var(--mono); font-size: 12px; opacity: .7; }
.fl-tab:hover { border-color: rgba(255,198,41,.6); color: #fff; }
.fl-tab.on { background: #ffc629; border-color: #ffc629; color: #1b1e23; }
.fl-tab:focus-visible { outline: 3px solid #ffc629; outline-offset: 2px; }
.fl-info { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 22px 26px 26px; background: #2a2e35; color: #fff; }
.fl-info > .fl-pane { grid-column: 1; grid-row: 1; }
.fl-pane { display: none; animation: flIn .45s var(--ease) both; }
.fl-pane.on { display: block; }
@keyframes flIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fl-k { font-family: var(--mono); font-size: 12.5px; color: #ffc629; letter-spacing: .04em; }
.fl-pane p { margin: 6px 0 12px; max-width: 620px; font-size: 17px; line-height: 1.5; color: #e6e8ec; }
.fl-pane ul, .fl-all ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fl-pane li { padding: 7px 13px; border-radius: 999px; background: #ffc629; color: #1b1e23; font-size: 13.5px; font-weight: 700; }
.fl-all { grid-column: 2; grid-row: 1; max-width: 280px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.fl-all span { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 12px; color: #aab1bd; }
.fl-all li { padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #e6e8ec; font-size: 12.5px; font-weight: 600; }
@media (max-width: 900px) {
  .fl-tabs { display: flex; overflow-x: auto; scrollbar-width: none; } .fl-tabs::-webkit-scrollbar { display: none; }
  .fl-tab { flex: none; padding: 9px 14px; font-size: 13px; }
  .fl-info { grid-template-columns: 1fr; } .fl-all { grid-column: 1; grid-row: auto; max-width: none; }
}
@media (max-width: 560px) { .fl { border-radius: 20px; } .fl-info { padding: 18px 16px 20px; } .fl-pane p { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .fl-svg *, .fl-svg { animation: none !important; } .fl-svg .part { display: none; } .fl-svg .ok { opacity: 1; } .fl-pane { animation: none; } }

/* =====================================================================
   THEME v7 — ATAI-inspired, Clanizon yellow & grey
   light airy gradients · Satoshi · charcoal text · yellow accent · pill buttons
   ===================================================================== */
:root {
  --bg: #f6f7f8; --bg-soft: #eef0f2; --paper: #ffffff;
  --lav: #f1f2f4; --sand: #f4f2ec; --mint: #f1f2f4; --sky: #f1f2f4;
  --ink: #1f2226; --ink-2: #464b53; --muted: #5e646d;
  --line: rgba(31,34,38,.1); --line-2: rgba(31,34,38,.18);
  --blue: #1f2226; --blue-ink: #1f2226; --blue-soft: rgba(255,198,41,.18);
  --navy: #1f2226; --navy-2: #2b2e33; --yellow: #ffc629;
  --font: "Satoshi", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { font-family: var(--font); background: radial-gradient(1100px 520px at 0% 0%, rgba(255,198,41,.10), transparent 60%), var(--bg); }
.h2, h1, h2, h3 { font-family: var(--font); }
.h2 { font-weight: 700; letter-spacing: -.03em; }

/* section labels: plain text with a thin yellow rule underneath */
.label, .hof-sec .label { display: inline-block; position: relative; padding: 0 0 12px !important; background: none !important; border-radius: 0;
  font-family: var(--font); font-size: 14.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink) !important; }
.label i { display: none !important; }
.label::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(340px, 70vw); height: 1.5px; background: linear-gradient(90deg, #f2b705, rgba(242,183,5,0)) !important; margin: 0; }
.svc-sec .label, .band .label, .fq .label { color: #fff !important; }

/* pill buttons */
.btn { border-radius: 999px; font-family: var(--font); font-weight: 700; }
.btn-yellow { background: var(--yellow); color: #1f2226; box-shadow: 0 12px 26px -14px rgba(160,110,0,.7); }
.btn-yellow:hover { background: #ffd24d; }
.btn-blue { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(31,34,38,.6); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-line svg { background: rgba(31,34,38,.08) !important; }
.btn-line:hover svg { background: rgba(255,255,255,.18) !important; }

/* nav: charcoal sliding thumb */
@media (min-width: 901px) {
  .menu-hl, .nav.scrolled .menu-hl { background: #1f2226 !important; box-shadow: 0 8px 18px -8px rgba(31,34,38,.55) !important; }
}
.nav:not(.open) .nav-cap .nav-cta, .nav.scrolled:not(.open) .nav-cap .nav-cta { background: #1f2226; }

/* soft surfaces */
.trust, .pills { background: linear-gradient(180deg, #f1f2f4, #f6f7f8); }
.soft, .bg-mint { background: linear-gradient(180deg, #f1f2f4, #f6f7f8); }
.pf-card, .pt, .lg, .tn, .awc, .life-teaser, .legal-body { box-shadow: 0 0 0 1px rgba(31,34,38,.07), 0 18px 40px -28px rgba(31,34,38,.35); }
.mark { background-image: linear-gradient(transparent 62%, rgba(255,198,41,.75) 62%, rgba(255,198,41,.75) 92%, transparent 92%); }

/* stats: one rich charcoal panel with a yellow dot wave */
.band { width: min(1310px, calc(100% - 32px)); margin: 30px auto; border-radius: 22px; overflow: hidden;
  background: radial-gradient(520px 260px at 62% 120%, rgba(255,198,41,.22), transparent 70%), #1f2226; }
.band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255,198,41,.7) 1.1px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(60% 120% at 55% 100%, #000 0 35%, transparent 70%); mask-image: radial-gradient(60% 120% at 55% 100%, #000 0 35%, transparent 70%); }
.band::after { display: none; }
.band .stat b { color: #ffc629; }

/* ---------- Hero: isometric factory ---------- */
.hero-iso { position: relative; overflow: hidden; padding: 150px 0 40px;
  background: radial-gradient(760px 480px at 8% 18%, rgba(255,198,41,.24), transparent 65%),
              radial-gradient(900px 600px at 95% 75%, rgba(31,34,38,.06), transparent 70%),
              linear-gradient(180deg, #fbfbf9, #f1f2f4); }
.hero-iso::before { content: ""; position: absolute; right: -10%; top: 10%; width: 70%; height: 90%; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at 100% 50%, transparent 0 22px, rgba(31,34,38,.05) 22px 23px); }
.hi-wrap { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: center; gap: 10px; }
.hero-iso .hero-copy { max-width: 600px; }
.hero-iso .hero-title { margin: 0; font-size: clamp(40px, 4.6vw, 70px); font-weight: 700; line-height: 1.07; letter-spacing: -.035em; color: var(--ink); }
.hero-iso .hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hi-rot { display: inline-grid; }
.hi-rot b { grid-area: 1 / 1; font-weight: 700; opacity: 0; transform: translateY(45%);
  background: linear-gradient(transparent 58%, #ffc629 58%, #ffc629 90%, transparent 90%); transition: opacity .5s ease, transform .6s var(--ease); }
.hi-rot b.on { opacity: 1; transform: none; }
.hi-rot b.out { opacity: 0; transform: translateY(-45%); }
.hero-iso .hero-sub { margin: 22px 0 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.hero-iso .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hi-art { position: relative; margin-right: -9%; }
.iso { display: block; width: 100%; height: auto; overflow: visible; }
.iso-grid line { stroke: rgba(31,34,38,.06); }
.iso-flow { fill: none; stroke: #f2b705; stroke-width: 2; stroke-dasharray: 4 7; animation: isoFlow 1.6s linear infinite; }
@keyframes isoFlow { to { stroke-dashoffset: -22; } }
.iso-roll { stroke: rgba(255,255,255,.16); }
.iso-cad { animation: isoCad 2.4s steps(2) infinite; }
@keyframes isoCad { 50% { opacity: .35; } }
.iso-crate { animation: isoBob 4s ease-in-out infinite; } .iso-crate:nth-of-type(2n) { animation-delay: -1.3s; }
@keyframes isoBob { 50% { transform: translateY(-3px); } }
.iso-spindle { stroke: #ffc629; stroke-width: 4; stroke-linecap: round; animation: isoSpin 1.4s ease-in-out infinite; }
@keyframes isoSpin { 50% { transform: translateY(8px); } }
.iso-led { fill: #7bd88f; animation: isoCad 1.8s steps(2) infinite; }
.arm-a, .arm-b { stroke: #b9bdc4; stroke-width: 8; stroke-linecap: round; } .arm-b { stroke: #ffc629; }
.iso-arm { animation: isoArm 3.4s ease-in-out infinite; }
@keyframes isoArm { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(14deg); } }
.iso-beam { fill: rgba(255,198,41,.38); animation: isoBeam 2.2s ease-in-out infinite; }
@keyframes isoBeam { 50% { fill: rgba(255,198,41,.12); } }
.iso-ok { animation: isoOk 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes isoOk { 0%, 55% { opacity: 0; transform: scale(.5); } 65%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.iso-truck { animation: isoBob 2.4s ease-in-out infinite; }
/* parts travel 11 units along the belt; grey until they pass the inspection gantry */
.iso-part .pt { fill: #e3e5e8; } .iso-part .pl { fill: #c4c8ce; } .iso-part .pr { fill: #aeb3ba; }
.iso-part { animation: isoPart 10s linear infinite; }
.ip2 { animation-delay: -2.5s; } .ip3 { animation-delay: -5s; } .ip4 { animation-delay: -7.5s; }
.iso-part polygon { animation: isoPartCol 10s linear infinite; animation-delay: inherit; }
@keyframes isoPart { 0% { transform: translate(0,0); opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { transform: translate(323.9px, 187px); opacity: 0; } }
@keyframes isoPartCol { 0%, 82% { filter: none; } 86%, 100% { filter: sepia(1) saturate(9) hue-rotate(-8deg) brightness(1.08); } }
.iso-lab { animation: isoLab 4.5s ease-in-out infinite; }
.iso-lab.l2 { animation-delay: -.8s; } .iso-lab.l3 { animation-delay: -1.6s; } .iso-lab.l4 { animation-delay: -2.4s; } .iso-lab.l5 { animation-delay: -3.2s; } .iso-lab.l6 { animation-delay: -4s; }
@keyframes isoLab { 50% { transform: translateY(-5px); } }
.lab-bg { fill: #fff; stroke: rgba(31,34,38,.14); filter: drop-shadow(0 6px 10px rgba(31,34,38,.12)); }
.lab-t { font: 700 12.5px var(--font); fill: #1f2226; }
.lab-stem { stroke: rgba(31,34,38,.35); stroke-dasharray: 2 3; }
@media (max-width: 1000px) {
  .hero-iso { padding: 120px 0 20px; }
  .hi-wrap { grid-template-columns: 1fr; }
  .hi-art { margin: 10px -6% 0; }
}
@media (max-width: 560px) { .hero-iso .hero-sub { font-size: 16px; } .lab-t { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .iso *, .iso { animation: none !important; } .hi-rot b { transition: none; } }
[data-theme="dark"] .hero-iso { background: radial-gradient(760px 480px at 8% 18%, rgba(255,198,41,.12), transparent 65%), #121418; }
[data-theme="dark"] .iso-grid line { stroke: rgba(255,255,255,.05); }
[data-theme="dark"] { --blue: #ffc629; --blue-ink: #ffd76a; }
[data-theme="dark"] .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
[data-theme="dark"] .label { color: var(--ink) !important; }
.hero-iso .hero-title .line > .hi-rot { display: inline-grid !important; justify-items: start; vertical-align: top; }
.hero-iso .hero-title .line > .hi-rot > b { display: block; grid-area: 1 / 1; white-space: nowrap; }
/* inner-page heroes: same warm yellow & grey glow as the home hero */
.msg-hero { background: radial-gradient(760px 420px at 8% 10%, rgba(255,198,41,.22), transparent 65%), linear-gradient(180deg, #fbfbf9 0%, #f1f2f4 60%, var(--bg) 100%) !important; }
[data-theme="dark"] .msg-hero { background: radial-gradient(760px 420px at 8% 10%, rgba(255,198,41,.1), transparent 65%), linear-gradient(180deg, #16181c, var(--bg)) !important; }

/* =====================================================================
   Hero scene v2 — open-plane plant (ATAI-style motion, Clanizon yellow & grey)
   ===================================================================== */
.hero-iso { padding: 140px 0 30px; min-height: min(860px, 100svh); }
.hi-wrap { grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); }
.hi-art { margin: -40px -22% -30px -4%; }
.iso2 polygon { stroke: #2b2e33; stroke-width: .7; stroke-linejoin: round; }
.iso2 .lanes line { stroke: rgba(31,34,38,.09); stroke-width: 1.2; }
.iso2 .hatch line { stroke: rgba(31,34,38,.14); stroke-width: 1.2; }
.iso2 .road { fill: rgba(31,34,38,.045); stroke: none; }
.iso2 .road-dash { stroke: rgba(31,34,38,.25); stroke-width: 1.4; stroke-dasharray: 10 12; }
.iso2 .roll { stroke: rgba(255,255,255,.18); }
.iso2 .spindle { stroke: #ffc629; stroke-width: 3.5; stroke-linecap: round; animation: isoSpin 1.4s ease-in-out infinite; }
.iso2 .wifi { fill: none; stroke: #f2b705; stroke-width: 2.2; stroke-linecap: round; animation: wifi 2.2s ease-in-out infinite; }
.iso2 .wifi.w1 { animation-delay: .25s; } .iso2 .wifi.w2 { animation-delay: .5s; }
@keyframes wifi { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
.iso2 .cad { animation: isoCad 2.4s steps(2) infinite; }
.iso2 .arm-a, .iso2 .arm-b { stroke: #b3b8bf; stroke-width: 7; stroke-linecap: round; } .iso2 .arm-b { stroke: #ffc629; }
.iso2 .arm { animation: isoArm 3.2s ease-in-out infinite; }
.iso2 .beam { fill: rgba(255,198,41,.4); stroke: none; animation: isoBeam 2.2s ease-in-out infinite; }
.iso2 .ok { animation: isoOk 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
/* build-in: objects rise into place one after another */
.iso2 .pop { animation: popIn .9s cubic-bezier(.2,.8,.25,1.15) both; animation-delay: var(--d); }
@keyframes popIn { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
.iso2 .route { fill: none; stroke: #1f2226; stroke-opacity: .55; stroke-width: 1.4; stroke-dasharray: 5 6;
  animation: routeIn 1s ease-out both, routeFlow 1.4s linear infinite; animation-delay: var(--d), calc(var(--d) + 1s); }
@keyframes routeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes routeFlow { to { stroke-dashoffset: -22; } }
.iso2 .pin { animation: pinDrop .6s cubic-bezier(.3,1.6,.5,1) both; animation-delay: var(--d); }
@keyframes pinDrop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
.iso2 .lab { animation: labPop .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: var(--d); transform-box: fill-box; transform-origin: 14px 100%; }
@keyframes labPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.iso2 .lab-in { animation: isoLab 4.5s ease-in-out infinite; animation-delay: var(--b); }
.iso2 .lab-bg { fill: #fff; stroke: #2b2e33; stroke-width: 1; filter: drop-shadow(0 6px 10px rgba(31,34,38,.12)); }
.iso2 .lab-t { font: 700 12.5px var(--font); fill: #1f2226; }
/* vehicles & parts */
.iso2 .truck { animation: truckRun 16s linear infinite; }
.iso2 .t-out { animation-delay: -8s; }
@keyframes truckRun { 0% { transform: translate(-260px, -150px); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(883px, 510px); opacity: 0; } }
.iso2 .trk { animation: isoBob 1.6s ease-in-out infinite; }
.iso2 .fork { animation: forkRun 6s ease-in-out infinite; }
@keyframes forkRun { 0%, 12% { transform: translate(-26px, -15px); } 45%, 62% { transform: translate(30px, 17px); } 95%, 100% { transform: translate(-26px, -15px); } }
.iso2 .part { animation: partRun 12s linear infinite; }
.iso2 .pp1 { animation-delay: -2.4s; } .iso2 .pp2 { animation-delay: -4.8s; } .iso2 .pp3 { animation-delay: -7.2s; } .iso2 .pp4 { animation-delay: -9.6s; }
.iso2 .part .pt { fill: #eceef1; } .iso2 .part .pl { fill: #c9cdd3; } .iso2 .part .pr { fill: #b3b8bf; }
.iso2 .part polygon { animation: partCol 12s linear infinite; animation-delay: inherit; }
@keyframes partRun { 0% { transform: translate(0,0); opacity: 0; } 4% { opacity: 1; } 94% { opacity: 1; } 100% { transform: translate(298.8px, 172.5px); opacity: 0; } }
@keyframes partCol { 0%, 86% { filter: none; } 90%, 100% { filter: sepia(1) saturate(9) hue-rotate(-8deg) brightness(1.08); } }
@media (max-width: 1000px) { .hero-iso { min-height: 0; } .hi-art { margin: 0 -30% 0 -6%; } }
@media (max-width: 560px) { .hi-art { margin: 6px -55% 0 -12%; } }
@media (prefers-reduced-motion: reduce) { .iso2 *, .iso2 { animation: none !important; } }
[data-theme="dark"] .iso2 .lanes line { stroke: rgba(255,255,255,.07); }
.hi-art { margin: -30px -6% -20px -6%; }
@media (max-width: 1000px) { .hi-art { margin: 0 -12% 0 -6%; } }
@media (max-width: 560px) { .hi-art { margin: 6px -20% 0 -10%; } }
/* rotator: old word leaves fast, new word arrives just after (no overlap) */
.hi-rot b { transition: opacity .35s ease .25s, transform .55s var(--ease) .2s; }
.hi-rot b.out { transition: opacity .2s ease, transform .3s ease; }
@media (max-width: 1000px) { .hi-wrap { grid-template-columns: 1fr; } .hero-iso .hero-copy { max-width: none; } }

/* =====================================================================
   Hero scene v3 — zoomed cutaway: open-roof buildings with work inside
   ===================================================================== */
@keyframes truckRun3 { 0% { transform: translate(-346px, -200px); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(1178px, 680px); opacity: 0; } }
.iso3 .truck { animation-name: truckRun3; animation-duration: 18s; }
.iso3 .t-out { animation-delay: -9s; }
@keyframes forkRun3 { 0%, 12% { transform: translate(-35px, -20px); } 45%, 62% { transform: translate(40px, 23px); } 95%, 100% { transform: translate(-35px, -20px); } }
.iso3 .fork { animation-name: forkRun3; }
@keyframes partRun3 { 0% { transform: translate(0,0); opacity: 0; } 4% { opacity: 1; } 94% { opacity: 1; } 100% { transform: translate(398.4px, 230px); opacity: 0; } }
.iso3 .part { animation-name: partRun3; }
.iso3 .lab-t { font-size: 15px; }
/* inside the buildings */
.iso3 .wk { animation: isoBob 2.6s ease-in-out infinite; }
.iso3 .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: barGrow 3.2s ease-in-out infinite; stroke: none !important; }
@keyframes barGrow { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.iso3 .code { stroke: #ffc629; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 30; animation: codeType 2.2s steps(6) infinite; }
.iso3 .code.c2 { stroke: #8b919c; }
@keyframes codeType { 0% { stroke-dashoffset: 30; } 70%, 100% { stroke-dashoffset: 0; } }
.iso3 .agv { animation: agvRun 7s ease-in-out infinite; }
@keyframes agvRun { 0%, 10% { transform: translate(0,0); } 45%, 60% { transform: translate(-69px, -40px); } 95%, 100% { transform: translate(0,0); } }
.iso3 .stk { animation: stackIn 3.6s ease-in-out infinite; }
@keyframes stackIn { 0% { opacity: 0; transform: translateY(-22px); } 18%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hi-art { margin: -40px -8% -30px -8%; }
@media (max-width: 1000px) { .hi-art { margin: 0 -10% 0 -8%; } }
@media (max-width: 560px) { .hi-art { margin: 6px -18% 0 -14%; } .iso3 .lab-t { font-size: 17px; } }
/* zoom: scene takes more room and bleeds off the right edge */
@media (min-width: 1001px) {
  .hi-wrap { grid-template-columns: minmax(0, .66fr) minmax(0, 1.5fr); }
  .hi-art { margin: -70px -26% -60px -12%; }
}
@media (min-width: 1001px) { .hi-art { margin: -60px -17% -50px -3%; } }

/* =====================================================================
   Hero scene v4 — PMS live data, training corner, vehicle gate (zoomed out)
   ===================================================================== */
@keyframes truckRun4 { 0% { transform: translate(-303px, -175px); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(1030px, 595px); opacity: 0; } }
.iso4 .truck { animation-name: truckRun4; }
@keyframes forkRun4 { 0%, 12% { transform: translate(-30px, -17.5px); } 45%, 62% { transform: translate(35px, 20px); } 95%, 100% { transform: translate(-30px, -17.5px); } }
.iso4 .fork { animation-name: forkRun4; }
@keyframes partRun4 { 0% { transform: translate(0,0); opacity: 0; } 4% { opacity: 1; } 94% { opacity: 1; } 100% { transform: translate(348.6px, 201.2px); opacity: 0; } }
.iso4 .part { animation-name: partRun4; }
@keyframes agvRun4 { 0%, 10% { transform: translate(0,0); } 45%, 60% { transform: translate(-60.6px, -35px); } 95%, 100% { transform: translate(0,0); } }
.iso4 .agv { animation-name: agvRun4; }
/* PMS: data pulses travel from machines & line into the live dashboard */
.iso4 .dline { fill: none; stroke: rgba(31,34,38,.28); stroke-width: 1.2; stroke-dasharray: 2 4; }
.iso4 .dpulse { fill: none; stroke: #ffc629; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 6 60; animation: dpulse 1.8s linear infinite; }
@keyframes dpulse { to { stroke-dashoffset: -66; } }
.iso4 .gauge { stroke-dasharray: 100; animation: gauge 4s ease-in-out infinite; }
@keyframes gauge { 0%, 100% { stroke-dashoffset: 34; } 50% { stroke-dashoffset: 12; } }
.iso4 .pbar { transform-box: fill-box; transform-origin: 50% 100%; animation: barGrow 2.4s ease-in-out infinite; stroke: none !important; }
/* training: lesson progress then a check mark */
.iso4 .tprog { stroke-dasharray: 100; animation: tprog 5s ease-in-out infinite; }
@keyframes tprog { 0% { stroke-dashoffset: 100; } 70%, 100% { stroke-dashoffset: 0; } }
.iso4 .tck { transform-box: fill-box; transform-origin: center; animation: tck 5s ease-in-out infinite; }
@keyframes tck { 0%, 68% { opacity: 0; transform: scale(.4); } 76%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.iso4 .trainer { animation: trainer 2s ease-in-out infinite; }
@keyframes trainer { 50% { transform: translate(-3px, -2px); } }
/* vehicle gate: barrier lifts as each truck arrives (trucks pass every 9 s) */
.iso4 .boom { animation: boom 9s ease-in-out infinite; }
@keyframes boom { 0%, 55% { transform: rotate(0deg); } 61%, 84% { transform: rotate(-62deg); } 90%, 100% { transform: rotate(0deg); } }
.iso4 .glight { fill: #e5484d; animation: glight 9s steps(1) infinite; }
@keyframes glight { 0%, 56% { fill: #e5484d; } 57%, 86% { fill: #7bd88f; } 87%, 100% { fill: #e5484d; } }
.iso4 .lab-t { font-size: 14px; }
@media (min-width: 1001px) { .hi-art { margin: -50px -10% -40px -2%; } }
/* gate moved to x=21: trucks reach it ~2.0–3.7 s into each 9 s cycle */
@keyframes boom2 { 0%, 14% { transform: rotate(0deg); } 20%, 42% { transform: rotate(-62deg); } 48%, 100% { transform: rotate(0deg); } }
@keyframes glight2 { 0%, 15% { fill: #e5484d; } 16%, 44% { fill: #7bd88f; } 45%, 100% { fill: #e5484d; } }
.iso4 .boom { animation-name: boom2; } .iso4 .glight { animation-name: glight2; }
/* gate at x=18.2: trucks reach it ~0.7–2.5 s into each 9 s cycle */
@keyframes boom3 { 0%, 3% { transform: rotate(0deg); } 8%, 30% { transform: rotate(-62deg); } 36%, 100% { transform: rotate(0deg); } }
@keyframes glight3 { 0%, 4% { fill: #e5484d; } 5%, 32% { fill: #7bd88f; } 33%, 100% { fill: #e5484d; } }
.iso4 .boom { animation-name: boom3; } .iso4 .glight { animation-name: glight3; }

/* =====================================================================
   Application flow chart
   ===================================================================== */
.appflow { padding-top: 40px; }
.af { position: relative; padding: 46px 26px 24px; border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 1px rgba(31,34,38,.07), 0 26px 56px -34px rgba(31,34,38,.4);
  background-image: radial-gradient(rgba(31,34,38,.06) 1px, transparent 1.2px); background-size: 20px 20px; }
.af-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.af-wires .w { fill: none; stroke-width: 1.6; color: rgba(31,34,38,.35); stroke: currentColor; transition: color .25s, stroke-width .25s, opacity .25s; }
.af-wires .w-f { stroke-dasharray: 6 5; animation: afFlow 1.2s linear infinite; }
.af-wires .w-l { stroke-dasharray: 2 5; color: rgba(201,148,0,.55); }
@keyframes afFlow { to { stroke-dashoffset: -22; } }
.af.has-sel .w { opacity: .25; }
.af.has-sel .w.on { opacity: 1; color: #1f2226; stroke-width: 2.4; }
.af.has-sel .w-l.on { color: #c99400; }
.af-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px; }
.af-col { display: flex; flex-direction: column; gap: 14px; }
.af-st { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.af-st i { font-style: normal; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ffc629; color: #1f2226; font-family: var(--mono); font-size: 11.5px; }
.af-nodes { display: flex; flex-direction: column; gap: 22px; }
.af-n { position: relative; display: block; width: 100%; padding: 12px 12px 12px 16px; border: 0; border-radius: 14px; text-align: left; cursor: pointer;
  font: inherit; background: #fff; box-shadow: 0 0 0 1.5px rgba(31,34,38,.14), 0 8px 18px -12px rgba(31,34,38,.35); transition: transform .25s var(--ease), box-shadow .25s, opacity .25s, background .25s; }
.af-n::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; }
.af-n.f-q::before { background: #ffc629; } .af-n.f-o::before { background: #1f2226; } .af-n.f-w::before { background: #9aa1ac; }
.af-n b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.af-n:hover, .af-n:focus-visible { transform: translateY(-2px); }
.af-n:focus-visible { outline: 3px solid #ffc629; outline-offset: 2px; }
.af-term { cursor: default; background: #f1f2f4; box-shadow: inset 0 0 0 1.5px rgba(31,34,38,.2); border-radius: 999px; text-align: center; padding: 10px 12px; }
.af-term b { font-size: 12.5px; color: var(--ink-2); }
.af-term::before { display: none; }
.af.has-sel .af-n { opacity: .45; }
.af.has-sel .af-n.rel, .af.has-sel .af-n.sel { opacity: 1; }
.af-n.sel { background: #1f2226; box-shadow: 0 0 0 2px #1f2226, 0 14px 26px -12px rgba(31,34,38,.6); }
.af-n.sel b { color: #fff; }
.af-n.rel { box-shadow: 0 0 0 2px #ffc629, 0 10px 20px -12px rgba(201,148,0,.6); }
.af-lane { position: relative; z-index: 1; margin-top: 60px; padding: 18px 18px 20px; border-radius: 18px; background: rgba(241,242,244,.85); box-shadow: inset 0 0 0 1px rgba(31,34,38,.08); }
.af-lane .af-st i { background: #1f2226; color: #ffc629; }
.af-lane .af-nodes { flex-direction: row; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.af-foot { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-top: 22px; }
.af-info { min-height: 112px; padding: 16px 18px; border-radius: 16px; background: #1f2226; color: #fff; }
.af-k { font-family: var(--mono); font-size: 12px; color: #ffc629; }
.af-name { display: block; margin-top: 4px; font-size: 19px; letter-spacing: -.01em; }
.af-desc { margin: 4px 0 0; font-size: 14.5px; color: rgba(255,255,255,.82); }
.af-rel { margin: 8px 0 0; font-size: 13.5px; color: rgba(255,255,255,.9); line-height: 1.6; }
.af-rel span { font-family: var(--mono); font-size: 11.5px; color: #ffc629; margin-right: 6px; }
.af-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.af-legend li { display: flex; align-items: center; gap: 8px; }
.af-legend i { width: 18px; height: 10px; border-radius: 3px; }
.lg-q { background: #ffc629; } .lg-o { background: #1f2226; } .lg-w { background: #9aa1ac; }
.lg-flow { height: 0 !important; border-top: 2px dashed rgba(31,34,38,.5); border-radius: 0 !important; }
.lg-loop { height: 0 !important; border-top: 2px dotted #c99400; border-radius: 0 !important; }
.af-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
[data-theme="dark"] .af { background-color: var(--paper); }
[data-theme="dark"] .af-n { background: #222a3c; } [data-theme="dark"] .af-term { background: #1b2234; }
[data-theme="dark"] .af-wires .w { color: rgba(255,255,255,.3); } [data-theme="dark"] .af.has-sel .w.on { color: #ffc629; }
@media (max-width: 1180px) and (min-width: 901px) { .af-grid { gap: 18px; } .af-n b { font-size: 13px; } .af-st { font-size: 12px; white-space: normal; } }
@media (max-width: 900px) {
  .af { padding: 22px 16px; }
  .af-wires { display: none; }
  .af-grid { grid-template-columns: 1fr; gap: 0; }
  .af-col { position: relative; padding: 0 0 26px 18px; border-left: 2px dashed rgba(31,34,38,.25); }
  .af-col:last-child { border-left-color: transparent; }
  .af-col .af-st { margin-left: -32px; }
  .af-nodes { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .af-n { width: auto; }
  .af-lane { margin-top: 10px; } .af-lane .af-nodes { display: flex; }
  .af-foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .af-wires .w-f { animation: none; } }

/* Application flow: story animation */
.af-foot { grid-template-columns: 1fr auto; }
.af-play { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.af-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
  background: #1f2226; color: #fff; }
.af-btn.af-replay { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.af-btn:focus-visible { outline: 3px solid #ffc629; outline-offset: 2px; }
.af-toggle .i-play { display: none; } .af.paused .af-toggle .i-play { display: inline; } .af.paused .af-toggle .i-pause { display: none; }
.af-toggle span[aria-hidden] { color: #ffc629; font-size: 11px; }
.af-steps { display: flex; gap: 5px; margin-left: 6px; }
.af-steps i { width: 18px; height: 6px; border-radius: 3px; background: rgba(31,34,38,.15); transition: background .3s, width .3s; }
.af-steps i.done { background: #1f2226; } .af-steps i.on { width: 30px; background: #ffc629; }
.af.story .af-n { opacity: .4; transition: opacity .4s, box-shadow .4s, background .4s, transform .4s; }
.af.story .af-n.done { opacity: 1; }
.af.story .af-n.lit { opacity: 1; transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 2.5px #ffc629, 0 0 0 9px rgba(255,198,41,.25), 0 14px 26px -12px rgba(201,148,0,.6); }
.af.story .af-wires .w { opacity: .18; }
.af.story .af-wires .w.ran { opacity: .9; color: #1f2226; }
.af.story .af-wires .w.run { opacity: 1; color: #c99400; stroke-width: 2.6; }
.af-token { fill: #ffc629; stroke: #1f2226; stroke-width: 2; filter: drop-shadow(0 0 6px rgba(255,198,41,.9)); }
[data-theme="dark"] .af.story .af-wires .w.ran { color: #eef0f3; }
[data-theme="dark"] .af-btn.af-replay { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
[data-theme="dark"] .af-steps i { background: rgba(255,255,255,.18); } [data-theme="dark"] .af-steps i.done { background: #eef0f3; }
@media (max-width: 900px) { .af-steps { width: 100%; margin: 4px 0 0; } .af-steps i { flex: 1; } }

/* Hero scene story: token, trail, active label, caption */
.hi-art { position: relative; }
.iso .hs-trail { fill: none; stroke: #c99400; stroke-width: 2; stroke-linecap: round; opacity: .85; }
.iso .hs-tok { fill: #ffc629; stroke: #1f2226; stroke-width: 2.5; filter: drop-shadow(0 0 8px rgba(255,198,41,.95)); }
.iso .hs-ring { fill: none; stroke: #ffc629; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.iso .hs-ring.pulse { animation: hsRing 1.6s ease-out infinite; }
@keyframes hsRing { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
.iso.hs-run .lab { transition: opacity .4s; }
.iso.hs-run .lab:not(.hs-on) { opacity: .55; }
.iso .lab.hs-on .lab-bg { fill: #ffc629; stroke: #1f2226; stroke-width: 1.6; }
.iso .lab.hs-on circle { fill: #1f2226; }
.iso .lab.hs-on .lab-in { animation: hsLab 1.2s ease-in-out infinite; }
@keyframes hsLab { 50% { transform: translateY(-6px); } }
.hs-cap { position: absolute; z-index: 2; left: 8%; bottom: 8%; max-width: 360px; display: none; flex-direction: column; gap: 4px; padding: 12px 16px 12px; border-radius: 16px;
  background: rgba(31,34,38,.94); color: #fff; box-shadow: 0 16px 34px -18px rgba(31,34,38,.7); pointer-events: none; }
.hero-iso .iso.hs-run ~ .hs-cap, .hs-cap:has(.hs-k:not(:empty)) { display: flex; }
.hs-cap.in { animation: hsCap .45s var(--ease) both; }
@keyframes hsCap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hs-k { font-family: var(--mono); font-size: 11.5px; color: #ffc629; }
.hs-t { font-size: 15px; font-weight: 600; line-height: 1.4; }
.hs-dots { display: flex; gap: 4px; margin-top: 6px; }
.hs-dots i { width: 16px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.hs-dots i.done { background: rgba(255,255,255,.7); } .hs-dots i.on { width: 26px; background: #ffc629; }
@media (max-width: 1000px) { .hs-cap { left: 6%; bottom: 2%; max-width: 300px; } .hs-t { font-size: 13.5px; } }
@media (max-width: 560px) { .hs-cap { position: static; max-width: none; margin: 0 6% 0 10%; } }
@media (max-width: 560px) { .hs-cap { box-sizing: border-box; width: calc(100vw - 32px); max-width: calc(100vw - 32px); margin: 0 0 6px; } }
@media (max-width: 560px) {
  .hi-art { margin: 6px 0 0 !important; }
  .hi-art .iso { width: 132%; max-width: none; margin-left: -14%; }
  .hs-cap { width: auto; max-width: none; margin: 0 0 6px; }
}
/* hero labels: numbered flow steps */
.iso .lab-num text { font: 800 11.5px var(--font); fill: #1f2226; }

/* =====================================================================
   CNC story: run → part finished → data to PMS → counter goes up (4 s cycle)
   ===================================================================== */
.cnc-story polygon { stroke: #2b2e33; stroke-width: .6; }
.cnc-story .glass { stroke: none; }
.cnc-story .wp polygon { animation: wpDone 4s linear infinite; }
.cnc-story .wp.m2 polygon { animation-delay: 2s; }
@keyframes wpDone { 0%, 70% { filter: none; } 74%, 92% { filter: sepia(1) saturate(9) hue-rotate(-8deg) brightness(1.08); } 96%, 100% { opacity: 0; } }
.cnc-story .spark { fill: #ffc629; stroke: none; animation: cncSpark .7s ease-out infinite; }
.cnc-story .s1 { animation-delay: .23s; } .cnc-story .s2 { animation-delay: .46s; }
@keyframes cncSpark { 0% { opacity: 0; transform: translate(0,0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(9px,-8px); } }
.cnc-story .tl-g polygon { animation: tlGreen 4s steps(1) infinite; }
.cnc-story .tl-g.m2 polygon { animation-delay: 2s; }
@keyframes tlGreen { 0%, 69% { fill-opacity: 1; } 70%, 92% { fill-opacity: .35; } 93%, 100% { fill-opacity: 1; } }
.cnc-story .tl-y polygon { animation: tlAmber 4s steps(1) infinite; }
.cnc-story .tl-y.m2 polygon { animation-delay: 2s; }
@keyframes tlAmber { 0%, 69% { fill: inherit; } 70%, 92% { fill: #ffc629; } 93%, 100% { fill: inherit; } }
.cnc-story .mpulse { fill: none; stroke: #ffc629; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 10 var(--L);
  stroke-dashoffset: 0; opacity: 0; filter: drop-shadow(0 0 5px rgba(255,198,41,.95)); animation: mPulse 4s linear infinite; }
.cnc-story .mpulse.m2 { animation-delay: 2s; }
@keyframes mPulse { 0%, 72% { stroke-dashoffset: 0; opacity: 0; } 74% { opacity: 1; } 96% { opacity: 1; stroke-dashoffset: calc(var(--L) * -1px); } 98%, 100% { opacity: 0; stroke-dashoffset: calc(var(--L) * -1px); } }
.cnc-story .pms-count { font: 800 11px var(--mono); fill: #ffc629; }
.cnc-story .pms-count.tick { animation: pmsTick .5s ease-out; }
@keyframes pmsTick { 0% { fill: #ffffff; } 100% { fill: #ffc629; } }
@media (prefers-reduced-motion: reduce) { .cnc-story * { animation: none !important; } }

/* Forklift journey: MRP store -> PMS (recorded) -> assembly line -> back (12 s), along iso axes */
.iso4 .fork, .iso3 .fork { animation: forkJourney 12s ease-in-out infinite; }
@keyframes forkJourney {
  0%, 6%   { transform: translate(0px, 0px); }
  16%      { transform: translate(63.7px, -36.75px); }
  26%, 36% { transform: translate(136.4px, 5.25px); }      /* stop at PMS */
  48%      { transform: translate(21.2px, 71.75px); }
  58%, 66% { transform: translate(-81.8px, 12.25px); }     /* unload at the line */
  80%      { transform: translate(-30.3px, -17.5px); }
  92%, 100%{ transform: translate(0px, 0px); }
}
.fork-crate { animation: forkCrate 12s steps(1) infinite; }
@keyframes forkCrate { 0%, 61% { opacity: 1; } 62%, 95% { opacity: 0; } 96%, 100% { opacity: 1; } }
.iso .frt { fill: none; stroke: #f2b705; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; opacity: .75; animation: isoFlow 1.6s linear infinite; }
/* PMS screen flashes while the forklift is recorded */
.pms-move polygon[fill="#16181b"] { animation: pmsScan 12s steps(1) infinite; }
@keyframes pmsScan { 0%, 26% { stroke: #2b2e33; stroke-width: .7; } 27%, 36% { stroke: #ffc629; stroke-width: 3; } 37%, 100% { stroke: #2b2e33; stroke-width: .7; } }
@media (prefers-reduced-motion: reduce) { .iso .fork, .fork-crate, .iso .frt, .pms-move polygon { animation: none !important; } }

/* =====================================================================
   Operator Competency: train -> certified -> walk to the production line (10 s)
   ===================================================================== */
.iso4 .tprog { animation: tprog10 10s ease-in-out infinite; }
@keyframes tprog10 { 0% { stroke-dashoffset: 100; } 32%, 100% { stroke-dashoffset: 0; } }
.iso4 .tck { animation: tck10 10s ease-in-out infinite; }
@keyframes tck10 { 0%, 32% { opacity: 0; transform: scale(.4); } 36%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.certify .walker { animation: walkLine 10s ease-in-out infinite; }
@keyframes walkLine {
  0%, 38%  { transform: translate(0px, 0px); opacity: 1; }
  48%      { transform: translate(39.4px, 22.8px); }
  70%      { transform: translate(139.4px, -35px); }
  80%, 92% { transform: translate(94px, -61.2px); opacity: 1; }
  97%      { transform: translate(94px, -61.2px); opacity: 0; }
  98%, 100%{ transform: translate(0px, 0px); opacity: 0; }
}
.certify .walker polygon { stroke: #2b2e33; stroke-width: .6; }
.certify .cert { opacity: 0; transform-box: fill-box; transform-origin: center; animation: certPop 10s ease-out infinite; }
@keyframes certPop { 0%, 34% { opacity: 0; transform: scale(.3); } 38% { opacity: 1; transform: scale(1.25); } 41%, 94% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.certify .wroute { fill: none; stroke: #22a55a; stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; opacity: .7; animation: isoFlow 1.6s linear infinite; }
.certify .stn { fill: rgba(34,165,90,.18); stroke: #22a55a; stroke-width: 1.4; stroke-dasharray: 3 3; animation: stnOn 10s steps(1) infinite; }
@keyframes stnOn { 0%, 79% { fill: rgba(34,165,90,.12); } 80%, 94% { fill: rgba(34,165,90,.4); } 95%, 100% { fill: rgba(34,165,90,.12); } }
@media (prefers-reduced-motion: reduce) { .certify *, .iso4 .tprog, .iso4 .tck { animation: none !important; } .certify .cert { opacity: 1; } }

/* =====================================================================
   Dispatch: load at Customer Schedule warehouse -> drive out via the gate (14 s)
   one unit along +x = (30.31px, 17.5px)
   ===================================================================== */
.iso4 .t-in { animation: truckIn 14s ease-in-out infinite; }
@keyframes truckIn {  /* supplier truck: in to the store, unload, reverse out */
  0% { transform: translate(-424.3px, -245px); opacity: 0; } 4% { opacity: 1; }
  20%, 42% { transform: translate(121.2px, 70px); opacity: 1; }
  62% { transform: translate(-424.3px, -245px); opacity: 1; } 65%, 100% { transform: translate(-424.3px, -245px); opacity: 0; } }
.iso4 .t-disp { animation: truckOut 14s ease-in-out infinite; }
@keyframes truckOut {
  0% { transform: translate(0,0); opacity: 0; } 3%, 40% { transform: translate(0,0); opacity: 1; }
  83% { transform: translate(-939.6px, -542.5px); opacity: 1; } 86%, 100% { transform: translate(-939.6px, -542.5px); opacity: 0; } }
.iso4 .t-disp .cargo polygon { animation: cargoFull 14s steps(1) infinite; }
@keyframes cargoFull { 0%, 33% { filter: none; } 34%, 100% { filter: sepia(1) saturate(9) hue-rotate(-8deg) brightness(1.08); } }
.iso4 .ld { opacity: 0; animation: loadIn 14s ease-in infinite; }
.iso4 .ld1 { animation-delay: .9s; } .iso4 .ld2 { animation-delay: 1.8s; }
@keyframes loadIn { 0%, 6% { opacity: 0; transform: translate(0,0); } 8% { opacity: 1; } 16% { opacity: 1; transform: translate(45.5px, -26.25px); } 18%, 100% { opacity: 0; transform: translate(45.5px, -26.25px); } }
/* gate barrier opens as the dispatch truck reaches it (front ~49%, rear clears ~55%) */
.iso4 .boom { animation: boomOut 14s ease-in-out infinite; }
@keyframes boomOut { 0%, 45% { transform: rotate(0deg); } 48%, 58% { transform: rotate(-62deg); } 62%, 100% { transform: rotate(0deg); } }
.iso4 .glight { animation: glightOut 14s steps(1) infinite; }
@keyframes glightOut { 0%, 46% { fill: #e5484d; } 47%, 59% { fill: #7bd88f; } 60%, 100% { fill: #e5484d; } }
@media (prefers-reduced-motion: reduce) { .iso4 .t-disp, .iso4 .t-in, .iso4 .ld, .iso4 .boom, .iso4 .glight, .iso4 .cargo polygon { animation: none !important; } .iso4 .t-in { opacity: 1; } }

/* loader carries 3 crates to the truck (0–34% of 14 s); 1 unit along -y = (30.31px, -17.5px) */
.iso4 .fg-loader { animation: loaderWalk 14s ease-in-out infinite; }
@keyframes loaderWalk {
  0%, 2% { transform: translate(0,0); } 7% { transform: translate(30.3px,-17.5px); } 12% { transform: translate(0,0); }
  17% { transform: translate(30.3px,-17.5px); } 22% { transform: translate(0,0); }
  27% { transform: translate(30.3px,-17.5px); } 32%, 100% { transform: translate(0,0); } }
.iso4 .fg-loader .carry { animation: carryBox 14s steps(1) infinite; }
@keyframes carryBox { 0%, 6% { opacity: 1; } 7%, 11% { opacity: 0; } 12%, 16% { opacity: 1; } 17%, 21% { opacity: 0; } 22%, 26% { opacity: 1; } 27%, 100% { opacity: 0; } }
.iso4 .fg-loader polygon, .iso4 .guard polygon { stroke: #2b2e33; stroke-width: .6; }
.iso4 .t-disp .cargo polygon { animation: cargoFull 14s steps(1) infinite; }
@keyframes cargoFull { 0%, 31% { filter: none; } 32%, 100% { filter: sepia(1) saturate(9) hue-rotate(-8deg) brightness(1.08); } }
/* gate guard scans the truck on the tablet as it reaches the gate */
.iso4 .tab-scr { animation: tabScan 14s steps(1) infinite; }
@keyframes tabScan { 0%, 43% { fill: #3a3e45; } 44%, 47% { fill: #ffc629; } 48%, 58% { fill: #22a55a; } 59%, 100% { fill: #3a3e45; } }
.iso4 .guard { animation: guardLook 14s ease-in-out infinite; }
@keyframes guardLook { 0%, 42% { transform: none; } 45%, 57% { transform: translate(-3px,-2px); } 60%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .iso4 .fg-loader, .iso4 .carry, .iso4 .guard, .iso4 .tab-scr { animation: none !important; } }

/* Flatbed loading: crates appear on the truck as each trolley trip arrives (14 s cycle) */
.iso4 .t-disp .cargo polygon { animation: none; }
.iso4 .slot { opacity: 0; animation: slotIn 14s steps(1) infinite; }
.iso4 .slot.s1 polygon, .iso4 .slot.s2 polygon, .iso4 .slot.s3 polygon { stroke: #2b2e33; stroke-width: .6; }
@keyframes slotIn { 0% { opacity: 0; } 100% { opacity: 0; } }
.iso4 .slot.s1 { animation-name: slot1; } .iso4 .slot.s2 { animation-name: slot2; } .iso4 .slot.s3 { animation-name: slot3; }
@keyframes slot1 { 0%, 6% { opacity: 0; } 7%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes slot2 { 0%, 16% { opacity: 0; } 17%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes slot3 { 0%, 26% { opacity: 0; } 27%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }
.iso4 .bed polygon, .iso4 .trolley polygon { stroke: #2b2e33; stroke-width: .6; }
.iso4 .t-disp polygon { stroke: #2b2e33; stroke-width: .6; }
.iso4 .t-disp .trk { animation: isoBob 1.4s ease-in-out infinite; }
.iso .hum rect, .iso .hum path, .iso .hum circle { stroke-width: inherit; }
.iso .hum > rect, .iso .hum > path:not([stroke]) { stroke: #2b2e33; stroke-width: .5; }
.iso .hum.iso-p polygon { stroke: #2b2e33; stroke-width: .45; stroke-linejoin: round; }
.iso .hum.real-p > path:not([stroke]), .iso .hum.real-p > ellipse:not([fill^="rgba"]) { stroke: #2b2e33; stroke-width: .35; }

/* =====================================================================
   True 3D plant (Three.js) — replaces the 2D scene when WebGL is available
   ===================================================================== */
.hi-art.has-3d > svg.iso { display: none; }
.p3d { position: relative; width: 100%; }
.p3d canvas { display: block; width: 100%; height: auto; cursor: grab; touch-action: pan-y; }
.p3d canvas:active { cursor: grabbing; }
.p3d-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.p3-lab { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; margin: -34px 0 0 -14px;
  border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #2b2e33, 0 6px 14px -6px rgba(31,34,38,.35); white-space: nowrap;
  font: 700 12.5px var(--font); color: #1f2226; transition: opacity .3s; will-change: transform; }
.p3-lab::after { content: ""; position: absolute; left: 12px; bottom: -6px; width: 9px; height: 9px; background: #fff; transform: rotate(45deg);
  box-shadow: 1px 1px 0 #2b2e33; }
.p3-lab i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #ffc629;
  box-shadow: 0 0 0 1.2px #1f2226; font-size: 11px; font-weight: 800; }
.p3d-hint { position: absolute; right: 14px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(31,34,38,.86); color: #fff;
  font: 600 12px var(--font); pointer-events: none; transition: opacity .5s; }
.p3d-hint::before { content: "⟲ "; color: #ffc629; }
.p3d-hint.gone { opacity: 0; }
@media (max-width: 560px) { .p3-lab { font-size: 10.5px; padding: 3px 9px 3px 3px; gap: 5px; } .p3-lab i { width: 16px; height: 16px; font-size: 9.5px; } }
.p3d canvas { -webkit-mask-image: radial-gradient(120% 95% at 55% 50%, #000 58%, transparent 78%); mask-image: radial-gradient(120% 95% at 55% 50%, #000 58%, transparent 78%); }
@media (min-width: 1001px) { .hi-art.has-3d { margin: -40px -6% -40px -4%; } }
.p3d canvas { -webkit-mask-image: radial-gradient(75% 70% at 52% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 70% at 52% 50%, #000 55%, transparent 100%); }
@media (min-width: 1001px) { .hi-art.has-3d { margin: -40px -6% -40px 0; } }
.p3d-hint { right: auto; left: 50%; bottom: auto; top: 6px; transform: translateX(-50%); }
@media (max-width: 560px) {
  .p3-lab { padding: 3px; gap: 0; } .p3-lab span { display: none; } .p3-lab::after { left: 8px; }
  .hi-art.has-3d { margin: 0 -16px !important; }
}
@media (min-width: 1001px) { .hi-art.has-3d { margin: -30px -8% -30px -2%; } }
.p3d canvas { -webkit-mask-image: radial-gradient(80% 78% at 52% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(80% 78% at 52% 50%, #000 62%, transparent 100%); }
@media (min-width: 1001px) { .hi-art.has-3d { margin: -30px -8% -30px 3%; } }
.p3d canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent 100%); }
.p3d { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 86%, transparent 100%); }
@media (min-width: 1001px) { .hero-iso .hero-title { font-size: clamp(40px, 4.05vw, 64px); } }

/* ===== dark mode, restated after THEME v7 (its :root block was overriding the dark palette → dark text on dark) ===== */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1114; --bg-soft: #15181c; --paper: #1b1e23;
  --lav: #15181c; --sand: #17191d; --mint: #15181c; --sky: #15181c;
  --ink: #f3f4f6; --ink-2: #cdd2d9; --muted: #9ba2ad;
  --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.2);
  --blue: #ffc629; --blue-ink: #ffd76a; --blue-soft: rgba(255,198,41,.14);
  --navy: #0b0d10; --navy-2: #1b1e23;
}
[data-theme="dark"] body { background: radial-gradient(1100px 520px at 0% 0%, rgba(255,198,41,.07), transparent 60%), var(--bg); }
[data-theme="dark"] .soft, [data-theme="dark"] .bg-mint { background: linear-gradient(180deg, #15181c, #111317); }
[data-theme="dark"] .sheet { box-shadow: 0 -20px 50px -30px rgba(0,0,0,.8); }
[data-theme="dark"] .af-lane { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
[data-theme="dark"] .af-lane .af-st i { background: var(--yellow); color: #1f2226; }
[data-theme="dark"] .lg span, [data-theme="dark"] .lg-app span { color: #1f2226; }
[data-theme="dark"] .nav:not(.open) .nav-cap .nav-cta, [data-theme="dark"] .nav.scrolled:not(.open) .nav-cap .nav-cta { background: var(--yellow); color: #1f2226; }
[data-theme="dark"] .nav:not(.open) .nav-cap .nav-cta:hover { background: #fff; color: #1f2226; }
/* 3D hero labels: smaller and lighter so the plant stays readable */
.p3-lab { gap: 6px; padding: 3px 10px 3px 3px; margin: -28px 0 0 -11px; font: 700 11.5px var(--font); box-shadow: 0 0 0 1px rgba(31,34,38,.12), 0 4px 12px -6px rgba(31,34,38,.35); }
.p3-lab::after { left: 9px; bottom: -4px; width: 7px; height: 7px; box-shadow: 1px 1px 0 rgba(31,34,38,.12); }
.p3-lab i { width: 17px; height: 17px; font-size: 10px; box-shadow: none; }
/* smooth landing: no 2D flash while the 3D plant loads; the plant fades and rises in once its first frame is drawn */
html.p3-wait .hero-iso .hi-art > svg.iso { opacity: 0; }
.hero-iso .hi-art > svg.iso { transition: opacity .6s ease; }
.p3d { opacity: 0; transform: translateY(22px) scale(.97); transition: opacity 1.1s ease, transform 1.6s cubic-bezier(.16,1,.3,1); }
.p3d.in { opacity: 1; transform: none; }
.p3-lab { transition: opacity .5s ease; }
@media (prefers-reduced-motion: reduce) { .p3d { opacity: 1; transform: none; transition: none; } }
/* about photo: keep both people in frame */
.about-img img[src*="about-team"] { object-position: 46% 50%; }  /* photo: Vitaly Gariev on Unsplash (free licence) */
/* hero label 3 is a link into the PMS page */
.p3-lab.link { pointer-events: auto; cursor: pointer; transition: opacity .5s ease, box-shadow .25s, background .25s; }
.p3-lab.link b { margin-left: 2px; font-weight: 800; color: #b7791f; transition: transform .25s; }
.p3-lab.link:hover, .p3-lab.link:focus-visible { background: #ffc629; box-shadow: 0 0 0 1px #1f2226, 0 10px 20px -8px rgba(31,34,38,.45); outline: none; }
.p3-lab.link:hover b, .p3-lab.link:focus-visible b { color: #1f2226; transform: translateX(3px); }
.p3-lab.link:hover::after { background: #ffc629; }
.p3d.flying .p3-lab { opacity: 0 !important; }
.p3d.flying::after { content: ""; position: absolute; inset: 0; background: var(--bg); animation: p3Fade .45s ease .8s both; pointer-events: none; }
@keyframes p3Fade { from { opacity: 0; } to { opacity: 1; } }
/* contact: coffee call-to-action line */
.talk-coffee { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(255,198,41,.14); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.talk-coffee a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
/* services: digital, AI & cloud solutions block */
.dx { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; margin-top: 40px; padding: 36px; border-radius: 28px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 24px 50px -32px rgba(31,34,38,.35); }
.dx-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.dx-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.dx h3 { margin: 12px 0 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.dx-main p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.dx-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.dx-stats div { padding: 12px 16px; border-radius: 16px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); }
.dx-stats b { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.dx-stats span { font-size: 13px; color: var(--muted); }
.dx-side small { display: block; font: 600 12px var(--mono); letter-spacing: .04em; color: var(--muted); }
.dx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dx-chips span { padding: 8px 13px; border-radius: 999px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); font: 600 13.5px var(--font); color: var(--ink); }
.dx-cta { margin-top: 22px; padding: 18px; border-radius: 18px; background: rgba(255,198,41,.14); }
.dx-cta p { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 900px) { .dx { grid-template-columns: 1fr; padding: 24px; gap: 24px; } }
