/* OMNEXIS prototype — brand tokens from omnexis.net (assets/css/base.css), unchanged. */
:root {
  --ink: #0a1a2b; --ink-soft: #17324d; --muted: #5a7089; --faint: #93a5b8;
  --line: rgba(10, 26, 43, .12); --line-soft: rgba(10, 26, 43, .07);
  --surface: #f4f8fc; --surface-alt: #e7eff8; --paper: #fff;
  --accent: #0a3d6e; --accent-deep: #062b4f; --accent-bright: #57a0e0;
  --hero-a: #0d2740; --hero-b: #071626;
  --on-dark: #eaf2fa; --on-dark-mut: rgba(234, 242, 250, .66); --on-dark-line: rgba(234, 242, 250, .14);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1200px; --gutter: clamp(1.25rem, 4vw, 3rem); --section-y: clamp(5rem, 10vw, 9rem);
  --radius: 16px; --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 18px 50px -24px rgba(10, 26, 43, .35);
  --shadow-lg: 0 40px 90px -40px rgba(10, 26, 43, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--ink-soft); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, figure, h1, h2, h3, p { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent-bright); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 999; background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }

/* ── Type ─────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.eyebrow--dark { color: var(--on-dark-mut); }
@keyframes beacon { 50% { box-shadow: 0 0 0 9px rgba(87, 160, 224, 0); } }

.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: .003em; color: var(--ink); max-width: 18ch; text-wrap: balance; }
.h2 em, .hero__title .accent { font-style: italic; color: var(--accent); }
.h2--dark { color: var(--on-dark); }
.h2--dark em { color: var(--accent-bright); }
.h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--muted); max-width: 58ch; margin-top: 1.4rem; }
.lead--dark { color: var(--on-dark-mut); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { text-align: center; }
.sec-head--center .h2, .sec-head--center .lead { margin-left: auto; margin-right: auto; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .72rem; font-weight: 500; padding: .28rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); background: rgba(255, 255, 255, .6); }
.tags--dark li { border-color: var(--on-dark-line); color: var(--on-dark-mut); background: transparent; }

.btn { display: inline-flex; align-items: center; gap: .7rem; padding: .95rem 1.5rem; border-radius: 999px; font-size: .9rem; font-weight: 500; letter-spacing: .01em; transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease); }
.btn i { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--light { background: var(--on-dark); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(87, 160, 224, .55); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost { color: var(--on-dark); border: 1px solid var(--on-dark-line); }
.btn--ghost:hover { border-color: var(--accent-bright); color: #fff; }
.link { display: inline-flex; gap: .4rem; font-size: .88rem; font-weight: 500; color: var(--accent); border-bottom: 1px solid rgba(10, 61, 110, .25); padding-bottom: 2px; transition: border-color .3s; }
.link:hover { border-color: var(--accent); }
.link i { font-style: normal; }

/* ── Menu (brand pattern: blur the page behind a paper drawer) ── */
.menu-trigger { position: fixed; top: clamp(1rem, 2.4vw, 1.9rem); left: clamp(1rem, 2.4vw, 2rem); z-index: 120; display: inline-flex; flex-direction: column; align-items: center; gap: .5rem; padding: .55rem .45rem; color: var(--on-dark); border-radius: 12px; transition: color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.menu-trigger__bars { position: relative; width: 30px; height: 16px; }
.menu-trigger__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .25s, width .4s var(--ease), top .4s var(--ease); }
.menu-trigger__bars span:nth-child(1) { top: 0; }
.menu-trigger__bars span:nth-child(2) { top: 7px; width: 70%; }
.menu-trigger__bars span:nth-child(3) { top: 14px; }
.menu-trigger:hover .menu-trigger__bars span:nth-child(2) { width: 100%; }
.menu-trigger__label { font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
body.on-light .menu-trigger { color: var(--ink); background: rgba(244, 248, 252, .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 6px 24px -14px rgba(10, 26, 43, .35); }
body.menu-open .menu-trigger { color: var(--ink); z-index: 320; background: transparent; box-shadow: none; }
body.menu-open .menu-trigger__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
body.menu-open .menu-trigger__bars span:nth-child(2) { opacity: 0; width: 0; }
body.menu-open .menu-trigger__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.shell { transition: filter .55s var(--ease), transform .55s var(--ease); }
body.menu-open { overflow: hidden; }
body.menu-open .shell { filter: blur(9px) brightness(.92); transform: scale(1.015); pointer-events: none; }
.scrim { position: fixed; inset: 0; z-index: 200; background: rgba(7, 22, 38, .32); opacity: 0; transition: opacity .55s var(--ease); }
body.menu-open .scrim { opacity: 1; }
.side-menu { position: fixed; top: 0; left: 0; z-index: 300; width: min(420px, 88vw); height: 100%; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(-102%); transition: transform .55s var(--ease); visibility: hidden; }
body.menu-open .side-menu { transform: none; visibility: visible; }
.side-menu__inner { display: flex; flex-direction: column; height: 100%; padding: clamp(1.6rem, 3vw, 2.4rem); padding-top: clamp(5rem, 8vw, 6.5rem); }
.side-menu__brand { align-self: flex-end; margin-bottom: 2rem; }
.side-menu__brand img { width: clamp(150px, 20vw, 190px); height: auto; }
.side-menu ul { flex: 1; }
.side-menu li { border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
body.menu-open .side-menu li { opacity: 1; transform: none; }
.side-menu li a { display: flex; align-items: baseline; gap: 1rem; padding: .85rem .25rem; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.9rem); color: var(--ink-soft); transition: color .3s, padding .3s var(--ease); }
.side-menu li a span { font-family: var(--sans); font-size: .66rem; font-weight: 600; color: var(--faint); letter-spacing: .1em; min-width: 1.6rem; }
.side-menu li a:hover { color: var(--accent); padding-left: .7rem; }
.side-menu__foot { display: grid; gap: .3rem; font-size: .86rem; color: var(--muted); padding-top: 1.5rem; }

/* ── 1. Hero ─────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(1200px 700px at 72% 45%, rgba(87, 160, 224, .14), transparent 60%),
    linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 70%); }
.hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__globe.is-live { opacity: 1; }
.hero__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 22, 38, .55) 0%, rgba(7, 22, 38, 0) 48%), linear-gradient(0deg, rgba(7, 22, 38, .6), transparent 22%); }
.hero__brand { position: absolute; top: clamp(1.1rem, 2.4vw, 1.9rem); right: clamp(1rem, 2.4vw, 2rem); z-index: 3; opacity: .92; transition: opacity .3s; }
.hero__brand:hover { opacity: 1; }
.hero__brand img { width: clamp(110px, 11vw, 150px); height: auto; }
.hero__inner { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 6rem; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.9rem, 6.1vw, 5.7rem); line-height: .98; letter-spacing: -.005em; color: var(--on-dark); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .09s; }
.hero__title .line:nth-child(3) > span { transition-delay: .18s; }
.hero__title .accent { color: var(--accent-bright); }
html.ready .hero__title .line > span { transform: none; }
.hero__sub { max-width: 46ch; margin-top: 1.8rem; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--on-dark-mut); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.hero__sub, .hero__cta, .hero__eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; }
.hero__cta { transition-delay: .6s; }
.hero__eyebrow { transition-delay: .2s; }
html.ready .hero__sub, html.ready .hero__cta, html.ready .hero__eyebrow { opacity: 1; transform: none; }
.hero__coords { position: absolute; z-index: 2; right: clamp(1rem, 2.4vw, 2rem); bottom: clamp(1.2rem, 3vw, 2.2rem); display: flex; gap: 1.4rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--on-dark-mut); }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: clamp(1.2rem, 3vw, 2.2rem); transform: translateX(-50%); display: grid; justify-items: center; gap: .5rem; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-mut); }
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(var(--on-dark-mut), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent-bright); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ── 2. Why ─────────────────────────────────────────── */
.why { background: var(--surface); }
.why__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.why__copy p:not(.eyebrow):not(.lead) { margin-top: 1rem; color: var(--muted); max-width: 58ch; font-size: .95rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stats > div { padding: 1.6rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(odd) { padding-right: 1.4rem; border-right: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 1.6rem; }
.stats dt { font-size: .74rem; color: var(--muted); letter-spacing: .02em; order: 2; }
.stats dd { font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; color: var(--ink); margin-bottom: .5rem; font-variant-numeric: lining-nums; }
.stats > div { display: flex; flex-direction: column-reverse; }
.stats__word { font-style: italic; color: var(--accent) !important; font-size: clamp(2rem, 3.4vw, 2.7rem) !important; }

/* ── 3. Services ────────────────────────────────────── */
.services { background: var(--surface); }
.services > .wrap { position: relative; }
.services__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); }
.services__list { display: grid; gap: 0; padding: 12vh 0 30vh; }
.svc { position: relative; padding: 2.2rem 0 2.2rem 4.2rem; min-height: 46vh; border-top: 1px solid var(--line); transition: opacity .5s var(--ease); opacity: .38; }
.svc.is-active { opacity: 1; }
.svc__n { position: absolute; left: 0; top: 2.35rem; font-family: var(--mono); font-size: .78rem; color: var(--accent-bright); letter-spacing: .06em; }
.svc::before { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .9s var(--ease); }
.svc.is-active::before { width: 100%; }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--ink); }
.svc p { margin-top: .9rem; color: var(--muted); max-width: 46ch; }
.svc .tags { margin-top: 1.2rem; }
.svc__from { font-size: .84rem; color: var(--muted); }
.svc__from b { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--accent); }
.services__stage { position: relative; }
.stack-stage { position: sticky; top: 10vh; height: 80vh; width: 100%; }
.stack-caption { position: sticky; top: calc(90vh - 2.4rem); margin-top: -2.4rem; text-align: right; font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; transition: opacity .4s; }

/* ── 4. Products ────────────────────────────────────── */
.products { background: var(--surface-alt); }
.products__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 1080px; margin: 0 auto; }
.product { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line-soft), 0 24px 60px -40px rgba(10, 26, 43, .4); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line-soft), 0 40px 80px -40px rgba(10, 26, 43, .5); }
.product__viz { position: relative; height: 210px; background: linear-gradient(180deg, #f7fafd, #eef4fa); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.product__body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.product h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--ink); line-height: 1; }
.product p { font-size: .93rem; color: var(--muted); }
.product__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.product__nums div { display: flex; flex-direction: column-reverse; }
.product__nums dd { font-family: var(--serif); font-size: 1.55rem; color: var(--accent); line-height: 1.1; }
.product__nums dt { font-size: .68rem; color: var(--faint); }
.product .link { align-self: flex-start; }

/* Product flows: each card plays its real user flow, step by step (data-step on the article) */
.product__viz { height: 250px; }
.flow-steps { position: absolute; left: 1.4rem; right: 1.4rem; top: 1.1rem; display: flex; gap: .4rem; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); counter-reset: st; }
.flow-steps li { flex: 1; padding-top: .55rem; border-top: 2px solid var(--line); transition: color .4s, border-color .4s; counter-increment: st; }
.flow-steps li::before { content: counter(st) ' · '; font-family: var(--mono); }
.product[data-phase="0"] .flow-steps li:nth-child(1),
.product[data-phase="1"] .flow-steps li:nth-child(-n+2),
.product[data-phase="2"] .flow-steps li { color: var(--accent); border-color: var(--accent-bright); }

/* Omni Taxi: route → quote → car */
.tx { position: absolute; left: 1.4rem; right: 1.4rem; top: 3.4rem; bottom: 1.2rem; }
.tx > div { position: absolute; inset: 0; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: 0 10px 28px -20px rgba(10, 26, 43, .45); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); font-size: .78rem; }
.product--taxi[data-step="0"] .tx-route, .product--taxi[data-step="1"] .tx-quote, .product--taxi[data-step="2"] .tx-live { opacity: 1; transform: none; }
.tx-row { display: grid; grid-template-columns: 14px 2.2rem 1fr; align-items: center; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--line-soft); }
.tx-row span { color: var(--faint); font-size: .7rem; }
.tx-row b { font-weight: 500; color: var(--ink); }
.tx-pin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); background: #fff; }
.tx-pin--b { background: var(--accent); }
.tx-dist { margin-top: .6rem; font-family: var(--mono); font-size: .7rem; color: var(--accent); }
.tx-quote p, .tx-live p { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line-soft); }
.tx-quote span, .tx-live span { color: var(--muted); }
.tx-quote b { font-weight: 500; color: var(--ink); text-align: right; }
.tx-sur b { color: var(--muted); }
.tx-quote .tx-btn { display: inline-block; margin-top: .75rem; padding: .45rem 1rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.tx-eta { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--accent); line-height: 1; }
.tx-track { position: relative; height: 54px; margin: .6rem 0 .5rem; border-radius: 8px; background: linear-gradient(90deg, var(--surface-alt), var(--surface)); }
.tx-track::before { content: ''; position: absolute; left: 12px; right: 30px; top: 50%; border-top: 2px dashed #b9cde2; }
.tx-track .tx-pin { position: absolute; right: 22px; top: calc(50% - 5px); }
.tx-track span { position: absolute; right: 10px; bottom: 3px; font-size: .6rem; color: var(--faint); }
.tx-car { position: absolute; left: 6px; top: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(87, 160, 224, .25); }
.product--taxi[data-step="2"] .tx-car { left: calc(100% - 64px); transition: left 3.2s cubic-bezier(.45, 0, .2, 1); }
.tx-live small { color: var(--faint); font-size: .68rem; }

/* Trufflepoint: listing → manual review → published */
.tp { position: absolute; left: 1.4rem; right: 1.4rem; top: 3.4rem; bottom: 1.2rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: 0 10px 28px -20px rgba(10, 26, 43, .45); font-size: .76rem; }
.tp-item { display: flex; gap: .75rem; align-items: center; padding-bottom: .6rem; border-bottom: 1px solid var(--line-soft); }
.tp-swatch { width: 30px; height: 30px; border-radius: 46% 54% 50% 50%; background: radial-gradient(circle at 35% 30%, #6b5a4a, #2c241d 70%); flex: none; }
.tp-item p { display: grid; line-height: 1.3; }
.tp-item b { font-weight: 600; color: var(--ink); }
.tp-item span { color: var(--faint); font-size: .68rem; font-family: var(--mono); }
.tp-checks { display: grid; gap: .28rem; margin-top: .6rem; }
.tp-checks li { display: flex; align-items: center; gap: .5rem; color: var(--faint); transition: color .4s; }
.tp-checks li::before { content: ''; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: background .3s, border-color .3s; }
.product--truffle[data-step="1"] .tp-checks li:nth-child(-n+1), .product--truffle[data-step="2"] .tp-checks li:nth-child(-n+3), .product--truffle[data-step="3"] .tp-checks li, .product--truffle[data-step="4"] .tp-checks li { color: var(--ink-soft); }
.product--truffle[data-step="1"] .tp-checks li:nth-child(-n+1)::before, .product--truffle[data-step="2"] .tp-checks li:nth-child(-n+3)::before, .product--truffle[data-step="3"] .tp-checks li::before, .product--truffle[data-step="4"] .tp-checks li::before { background: var(--accent-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8.2 9 4' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--accent-bright); }
.tp-checks { transition: opacity .35s; }
.tp-stamp { text-align: center; position: absolute; left: 1rem; right: 1rem; bottom: .9rem; top: 4.4rem; display: grid; place-content: center; justify-items: center; gap: .5rem; color: var(--accent); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: scale(.96); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.tp-stamp::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8.2 9 4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") center / 22px no-repeat; }
.product--truffle[data-step="4"] .tp-stamp { opacity: 1; transform: none; }
.product--truffle[data-step="4"] .tp-checks { opacity: 0; }

/* ── 5. Pricing ─────────────────────────────────────── */
.pricing { background: var(--paper); }
.formula-def { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .7rem 1rem; margin-top: 2rem; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--ink); }
.formula-def span { padding: .35rem 1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); }
.formula-def i { font-style: normal; color: var(--accent-bright); }
.pricing__note { margin-top: 2rem; text-align: center; font-size: .82rem; color: var(--faint); }

/* ── 6. About ───────────────────────────────────────── */
.about { background: var(--surface); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; padding-top: 1.6rem; }
.process::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.process::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process li { position: relative; }
.process li::before { content: ''; position: absolute; top: calc(-1.6rem - 5px); left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--faint); transition: border-color .4s, background .4s; }
.process li.on::before { border-color: var(--accent); background: var(--accent-bright); }
.process__n { font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.process b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--ink); margin: .2rem 0 .4rem; }
.process p { font-size: .92rem; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values li { padding: 1.8rem 1.8rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .4); transition: background .4s var(--ease); }
.values li:hover { background: #fff; }
.values span { font-family: var(--mono); font-size: .7rem; color: var(--accent-bright); }
.values b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); margin: .5rem 0 .5rem; }
.values p { font-size: .9rem; color: var(--muted); }

/* ── 7. Clients ─────────────────────────────────────── */
.clients { background: var(--surface-alt); }
.clients__row { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 1.2rem; }
.clients__row a { display: grid; justify-items: center; gap: .3rem; padding: 2rem 1.2rem 1.6rem; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 0 var(--line-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); height: 100%; }
.clients__row a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.clients__row img { height: 96px; max-width: 200px; width: auto; object-fit: contain; margin-bottom: .8rem; filter: grayscale(.2); }
.clients__row span { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.clients__row small { font-size: .74rem; color: var(--faint); }

/* ── 8. Contact (navy) ──────────────────────────────── */
.contact { color: var(--on-dark); padding: var(--section-y) 0 2rem; background: radial-gradient(900px 500px at 85% 0%, rgba(87, 160, 224, .14), transparent 60%), linear-gradient(170deg, var(--hero-a), var(--hero-b)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact__list { margin-top: 2.4rem; display: grid; border-top: 1px solid var(--on-dark-line); }
.contact__list div { display: grid; grid-template-columns: 9rem 1fr; padding: .95rem 0; border-bottom: 1px solid var(--on-dark-line); font-size: .95rem; }
.contact__list dt { color: var(--on-dark-mut); font-size: .8rem; }
.contact__list a:hover { color: var(--accent-bright); }
.open-now { display: inline-flex; align-items: center; gap: .4rem; margin-left: .6rem; font-size: .72rem; color: var(--on-dark-mut); }
.open-now::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.open-now.is-open::before { background: #5fd38d; box-shadow: 0 0 0 3px rgba(95, 211, 141, .2); }
.contact__form { background: rgba(234, 242, 250, .045); border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.contact__form h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact__form label { display: grid; gap: .35rem; }
.contact__form label span { font-size: .74rem; color: var(--on-dark-mut); letter-spacing: .02em; }
.contact__form input, .contact__form select, .contact__form textarea { width: 100%; background: rgba(7, 22, 38, .45); border: 1px solid var(--on-dark-line); border-radius: 10px; padding: .75rem .9rem; color: var(--on-dark); transition: border-color .3s, background .3s; }
.contact__form select option { color: var(--ink); }
.contact__form textarea { resize: vertical; min-height: 7rem; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--accent-bright); background: rgba(7, 22, 38, .7); }
.contact__form .btn { justify-self: start; border: 0; }
.form__note { font-size: .74rem; color: var(--on-dark-mut); }
.form__note.ok { color: #8fd6a9; }
.footer__base { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.6rem; border-top: 1px solid var(--on-dark-line); font-size: .78rem; color: var(--on-dark-mut); }
.footer__base img { width: 110px; height: auto; }
.footer__base p { margin-left: auto; }

/* ── Reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1020px) {
  .products__grid { grid-template-columns: 1fr; max-width: 560px; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero { align-items: flex-end; }
  .hero__inner { padding-bottom: 7.5rem; }
  .hero__veil { background: linear-gradient(0deg, rgba(7, 22, 38, .92) 0%, rgba(7, 22, 38, .55) 45%, rgba(7, 22, 38, 0) 80%); }
  .hero__coords { left: var(--gutter); right: auto; gap: .9rem; font-size: .62rem; }
  .hero__scroll { display: none; }
  .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; gap: 0; }
  .services__stage { order: -1; position: relative; height: 54vh; height: 54svh; margin: 0 calc(-1 * var(--gutter)); }
  .stack-stage { position: relative; top: 0; height: 100%; }
  .stack-caption { position: absolute; top: auto; bottom: .6rem; right: var(--gutter); margin: 0; }
  .services__list { padding: 1rem 0 2rem; }
  .svc { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .svc:not(.is-active) .tags, .svc:not(.is-active) > p:not(.svc__from) { display: none; }
  .svc { min-height: 0; padding: 2rem 0 2rem 3rem; }
  .svc__n { top: 2.15rem; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
  .clients__row { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .row2 { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 7rem 1fr; }
  .footer__base p { margin-left: 0; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .stats > div:nth-child(odd) { padding-right: .8rem; }
  .stats > div:nth-child(even) { padding-left: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.clients__row img.wide { height: 66px; margin: 15px 0 calc(.8rem + 15px); }

/* No-WebGL fallback: a still frame of the same globe, rendered from globe.js */
.hero.no-gl::before { content: ''; position: absolute; width: 97vh; height: 97vh; left: calc(67.3% - 48.5vh); top: calc(50% - 48.5vh); background: url(../img/globe-still.webp) center / contain no-repeat; animation: still-in 1.4s var(--ease) both; }
@keyframes still-in { from { opacity: 0; transform: scale(.94); } }
@media (max-width: 820px) {
  .hero.no-gl::before { width: 130vw; height: 130vw; left: -15vw; top: calc(25% - 65vw); opacity: .85; }
}
.stack-stage.is-nogl { background: url(../img/stack-still.webp) center / contain no-repeat; }

@media (max-width: 820px) {
  .hero__veil { background: linear-gradient(0deg, rgba(7, 22, 38, .9) 0%, rgba(7, 22, 38, .45) 38%, rgba(7, 22, 38, 0) 62%); }
  /* process becomes a vertical timeline */
  .process { grid-template-columns: 1fr; row-gap: 1.8rem; padding: 0 0 0 1.8rem; }
  .process::before { left: 5px; right: auto; top: .5rem; bottom: .5rem; width: 1px; height: auto; }
  .process::after { left: 4px; top: .5rem; width: 3px; height: calc(100% - 1rem); transform: scaleY(var(--p, 0)); transform-origin: top; }
  .process li::before { top: .35rem; left: calc(-1.8rem); }
}

/* Reserve the formula's space before its module loads (no layout shift). */
#formula { min-height: 843px; }
@media (max-width: 760px) { #formula { min-height: 980px; } }

/* Phones / touch: the page scrolls like a plain document. No sticky stages, no blur on fixed
   layers, no fade-in on scroll. Animations only run on their own clock, never on scroll. */
html.lite body.on-light .menu-trigger { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(244, 248, 252, .96); }
html.lite .contact__form { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.lite .product, html.lite .product:hover { transform: none; transition: none; }
html.lite .formula__visual { position: relative; top: 0; }
@media (max-width: 560px) {
  .product__viz { height: 272px; }
  .flow-steps { font-size: .56rem; letter-spacing: .08em; }
  .flow-steps li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tx-quote p, .tx-live p { flex-direction: column; gap: .1rem; }
  .tx-quote b { text-align: left; }
  .tx-live p { flex-direction: row; align-items: center; }
}

/* ── Language switch (side menu + footer) ─────────────────── */
.side-menu li a b { font-weight: inherit; }
.lang-switch { display: inline-flex; gap: .25rem; padding: .25rem; margin-bottom: .9rem; border: 1px solid var(--line); border-radius: 999px; justify-self: start; }
.lang-switch button { display: inline-flex; align-items: baseline; gap: .45rem; padding: .45rem .95rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); transition: background .3s var(--ease), color .3s var(--ease); }
.lang-switch button small { font-size: .74rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.is-active { background: var(--accent); color: var(--on-dark); cursor: default; }
.lang-switch--dark { margin: 0; border-color: var(--on-dark-line); }
.lang-switch--dark button { padding: .3rem .7rem; font-size: .66rem; color: var(--on-dark-mut); }
.lang-switch--dark button:hover { color: var(--on-dark); }
.lang-switch--dark button.is-active { background: rgba(234, 242, 250, .14); color: var(--on-dark); }

/* ── Contact form status (mailto confirmation / errors) ───── */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { border: 1px solid var(--on-dark-line); border-radius: 12px; padding: .9rem 1rem; background: rgba(7, 22, 38, .35); font-size: .84rem; }
.form__status[data-variant="ok"] { border-color: rgba(95, 211, 141, .4); background: rgba(95, 211, 141, .07); }
.form__status[data-variant="error"] { border-color: rgba(240, 128, 112, .45); background: rgba(240, 128, 112, .07); }
.form__status-title { font-weight: 600; color: var(--on-dark); margin-bottom: .15rem; }
.form__status-body { color: var(--on-dark-mut); }
.form__fallback { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .7rem; }
.form__fallback[hidden] { display: none; }
.form__fallback a { color: var(--on-dark); border-bottom: 1px solid var(--accent-bright); }
.form__fallback button { padding: .3rem .8rem; border: 1px solid var(--on-dark-line); border-radius: 999px; font-size: .74rem; color: var(--on-dark-mut); transition: border-color .3s, color .3s, background .3s; }
.form__fallback button:hover { border-color: var(--accent-bright); color: var(--on-dark); }
.form__fallback button.is-copied { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--ink); }
.contact__form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
