/* ==========================================================================
   Royal RS Conglomerate — redesign stylesheet
   Zero-framework, design-token driven. Edit tokens in :root to re-theme.
   ========================================================================== */

:root {
  --nav-h: 124px;
  --nav-h-compact: 92px;
  /* Palette carried over from royal-rs.com: bg #0a0a10, cyan #00b4ff, orange #ff6a00, gold #ffd700, text #fff7ef */
  --bg: #0d1226;
  --bg-2: #111831;
  --bg-3: #172040;
  --surface: rgba(255, 247, 239, 0.07);
  --surface-2: rgba(255, 247, 239, 0.11);
  --line: rgba(255, 247, 239, 0.14);
  --line-2: rgba(255, 247, 239, 0.26);
  --text: #fff7ef;
  --text-2: #d9d3cc;
  --text-3: #a39d95;
  --brand: #00b4ff;
  --brand-2: #5ad8ff;
  --accent: #ff6a00;
  --gold: #ffd700;
  --danger: #ff3b5c;
  --warn: #ff6a00;
  --ok: #2ee6a6;
  --grad: linear-gradient(120deg, #00b4ff 0%, #4fd1ff 45%, #ff6a00 100%);
  --grad-cool: linear-gradient(120deg, #00b4ff 0%, #7fe0ff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  --scene: #0d1226; --scene-glow-a: rgba(0,180,255,0.30); --scene-glow-b: rgba(255,106,0,0.20);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- utilities ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--brand); color: #fff; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand-2); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; overflow: clip; background: transparent; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 52px); margin-top: 14px; }
.section-head p { color: var(--text-2); font-size: 18px; margin-top: 18px; max-width: 60ch; }
.grad-text { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--grad-cool); color: #061018; box-shadow: 0 10px 30px -10px rgba(0, 180, 255, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 106, 0, 0.6); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; z-index: 1001; background: transparent; pointer-events: none; }
.progress > span { display: block; height: 100%; width: 0; background: var(--grad); transform-origin: left; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(5, 8, 15, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.header .container { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em; }
.logo svg { width: 42px; height: 42px; }
.logo span small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--text-3); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: static; }
.nav > li > a, .nav > li > button { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-2); background: none; border: 0; transition: color .2s, background .2s; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li > button[aria-expanded="true"] { color: var(--text); background: rgba(255,255,255,0.06); }
.nav .icon { width: 14px; height: 14px; transition: transform .25s; }
.nav button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }

/* mega menu */
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(960px, calc(100vw - 40px)); background: rgba(10, 15, 28, 0.92); backdrop-filter: blur(24px); border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px; }
.mega.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.mega a:hover { background: rgba(255,255,255,0.06); }
.mega a .icon { width: 20px; height: 20px; color: var(--brand-2); margin-top: 2px; }
.mega a strong { display: block; font-size: 14px; font-weight: 600; }
.mega a span { display: block; font-size: 12.5px; color: var(--text-3); }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-3); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; width: 100%; contain: layout; z-index: 890; background: rgba(5,8,15,0.96); backdrop-filter: blur(20px); padding: 100px 24px 40px; overflow: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer .drawer-services { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 14px 0 20px; }
.drawer .drawer-services a { font-family: var(--font-body); font-size: 14px; font-weight: 500; padding: 8px 0; border: 0; color: var(--text-2); }
.drawer a.btn { display: flex; margin-top: 24px; width: 100%; justify-content: center; padding: 16px 24px; font-family: var(--font-body); font-size: 16px; line-height: 1.2; border: 1px solid transparent; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: clip; display: grid; place-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 80px; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 50% 40%, rgba(0,180,255,0.16), transparent 70%),
  radial-gradient(30% 30% at 85% 20%, rgba(255,106,0,0.14), transparent 70%),
  linear-gradient(180deg, rgba(10,10,16,0.45) 0%, rgba(10,10,16,0.15) 40%, var(--scene) 100%); }
.hero-inner { text-align: center; max-width: 960px; }
.hero h1 { font-size: clamp(34px, 5vw, 66px); font-weight: 700; margin-top: 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero .lede { font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 66ch; margin: 26px auto 0; opacity: 0; animation: fade 1s .5s forwards; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; opacity: 0; animation: fade 1s .7s forwards; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); opacity: 0; animation: fade 1s .9s forwards; }
.hero-stats > div { background: rgba(5,8,15,0.55); padding: 22px 16px; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 700; }
.hero-stats strong em { font-style: normal; color: var(--brand-2); }
.hero-stats > div > span { font-size: 13px; color: var(--text-3); letter-spacing: .04em; }
.scroll-cue { margin-top: 44px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--text-3); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--brand-2), transparent); animation: cue 1.8s infinite; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.eyebrow.hero-eyebrow { justify-content: center; opacity: 0; animation: fade .8s .2s forwards; }
.eyebrow.hero-eyebrow::before, .eyebrow.hero-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- marquee ---------- */
.marquee-wrap { border: 0; background: transparent; padding: 28px 0 8px; overflow: hidden; position: relative; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--scene), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(-90deg, var(--scene), transparent); }
.marquee-label { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 64s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee li { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--text-2); white-space: nowrap; display: flex; align-items: center; gap: 10px; transition: color .3s; }
.marquee li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .6; }
.marquee li:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,180,255,0.14), transparent 45%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { border-color: var(--line-2); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,180,255,0.25), rgba(255,106,0,0.12)); border: 1px solid rgba(0,180,255,0.35); color: var(--brand-2); margin-bottom: 22px; }
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255,255,255,0.03); }
.card .num { position: absolute; top: 20px; right: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

/* ---------- services explorer ---------- */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.domain-tabs { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 4px; }
.domain-tabs button { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text-2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.domain-tabs button .icon { width: 18px; height: 18px; color: var(--text-3); transition: color .2s; }
.domain-tabs button:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.domain-tabs button[aria-selected="true"] { background: linear-gradient(90deg, rgba(0,180,255,0.18), rgba(0,180,255,0.04)); border-color: rgba(0,180,255,0.35); color: var(--text); }
.domain-tabs button[aria-selected="true"] .icon { color: var(--brand-2); }
.domain-tabs button i { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.panel { display: none; animation: panel .5s var(--ease); }
.panel.is-active { display: block; }
@keyframes panel { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.panel-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.panel-head p { color: var(--text-2); margin-top: 6px; max-width: 58ch; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service { position: relative; display: flex; gap: 16px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.service:hover { border-color: rgba(255,106,0,0.4); transform: translateY(-3px); background: var(--surface-2); }
.service .card-icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.service .card-icon .icon { width: 22px; height: 22px; }
.service h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.service p { color: var(--text-3); font-size: 13.5px; }
.service a.ask { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-3); opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s, color .25s, border-color .25s; }
.service a.ask .icon { width: 14px; height: 14px; }
.service:hover a.ask, .service a.ask:focus-visible { opacity: 1; transform: none; }
.service a.ask:hover { color: var(--brand-2); border-color: var(--brand-2); }
.domain-select { display: none; width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-3); color: var(--text); border: 1px solid var(--line-2); font: inherit; margin-bottom: 20px; }

/* ---------- defence-in-depth infographic ---------- */
.depth { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.rings { width: 100%; max-width: 560px; margin-inline: auto; }
.rings .ring { fill: none; stroke-width: 22; stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease), opacity .3s; opacity: .9; }
.rings .ring-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 22; }
.rings text { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; fill: var(--text-2); text-transform: uppercase; }
.rings .core { fill: url(#coreGrad); }
.rings .core-text { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px; text-anchor: middle; letter-spacing: 0; text-transform: none; }
.rings .core-sub { fill: rgba(255,255,255,0.75); font-size: 9px; text-anchor: middle; }
.rings.is-visible .ring { stroke-dashoffset: 0 !important; }
.legend { display: grid; gap: 10px; }
.legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s; cursor: default; }
.legend li:hover, .legend li.is-hot { border-color: var(--line-2); transform: translateX(4px); }
.legend li i { width: 14px; height: 14px; border-radius: 4px; }
.legend li strong { font-size: 14.5px; font-weight: 600; display: block; }
.legend li span { font-size: 12.5px; color: var(--text-3); display: block; }
.legend li em { font-family: var(--font-mono); font-style: normal; font-size: 11px; color: var(--text-3); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent); opacity: .7; }
.step { position: relative; padding: 0 6px; }
.step .dot { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 20px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); position: relative; color: var(--brand-2); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.step .dot::after { content: counter(step, decimal-leading-zero); counter-increment: step; position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.step .dot .icon { width: 32px; height: 32px; }
.step:hover .dot { transform: translateY(-6px) scale(1.04); border-color: var(--brand-2); box-shadow: 0 0 0 8px rgba(255,106,0,0.08), 0 20px 40px -20px rgba(255,106,0,0.5); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); }
.step .out { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--brand-2); letter-spacing: .06em; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.why-list .card-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.why-list .card-icon .icon { width: 20px; height: 20px; }
.why-list strong { display: block; font-size: 16px; }
.why-list span { font-size: 14px; color: var(--text-2); }
.frameworks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.frameworks .tag { padding: 8px 14px; font-size: 12px; }
.quote { margin-top: 40px; padding: 28px; border-radius: var(--radius); border: 1px solid rgba(255,215,0,0.3); background: linear-gradient(135deg, rgba(255,215,0,0.08), transparent); }
.quote p { font-family: var(--font-display); font-size: 22px; line-height: 1.35; }
.quote footer { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.quote footer b { color: var(--gold); }

/* ---------- situation room ---------- */
.situation { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.terminal { background: #07070d; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-family: var(--font-mono); font-size: 12.5px; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; color: var(--text-3); font-size: 11.5px; }
.term-bar .live { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: 11px; letter-spacing: .1em; }
.term-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.term-body { height: 380px; overflow: hidden; padding: 12px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; position: relative; }
.term-body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 80px; background: linear-gradient(#07070d, transparent); pointer-events: none; z-index: 1; }
.log { display: grid; grid-template-columns: 74px 60px 1fr 70px 46px; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.025); animation: logIn .45s var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateY(10px); } }
.log time { color: var(--text-3); }
.sev { font-weight: 700; font-size: 10.5px; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; text-align: center; }
.sev-CRIT { color: #fff; background: var(--danger); } .sev-HIGH { color: #1a0b00; background: var(--warn); } .sev-MED { color: #1a1300; background: var(--gold); } .sev-LOW { color: #012a1c; background: var(--ok); }
.log .msg { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .msg b { color: var(--text); font-weight: 600; }
.log .ms { color: var(--text-3); text-align: right; }
.log .ok { color: var(--ok); text-align: right; }
.soc-side { display: grid; gap: 16px; }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.kpi span { font-size: 12px; color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-mono); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 28px; margin-top: 6px; }
.kpi strong small { font-size: 13px; color: var(--text-3); font-family: var(--font-mono); font-weight: 400; margin-left: 4px; }
.kpi .spark { height: 34px; margin-top: 10px; }
.kpi .spark path { fill: none; stroke: var(--brand-2); stroke-width: 2; stroke-linecap: round; }
.kpi .spark .fill { fill: url(#sparkGrad); stroke: none; }
.coverage { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.coverage h3 { font-size: 14px; margin-bottom: 14px; display: flex; justify-content: space-between; }
.coverage h3 span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); font-weight: 400; }
.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 110px 1fr 36px; gap: 10px; align-items: center; font-size: 12px; color: var(--text-2); }
.bar i { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; display: block; }
.bar i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.is-visible .bar i::after { transform: none; }
.bar em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); text-align: right; }

/* ---------- partners ---------- */
.partner-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pgroup { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pgroup h3 { font-size: 15px; display: flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 600; margin-bottom: 14px; }
.pgroup h3 .icon { width: 18px; height: 18px; color: var(--brand-2); }
.pgroup ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pgroup li { font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--text-2); transition: color .2s, border-color .2s, transform .2s; }
.pgroup li:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px); background: linear-gradient(120deg, #0c2740 0%, #0e0e17 60%); border: 1px solid rgba(0,180,255,0.35); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,106,0,0.25), transparent 60%); filter: blur(30px); pointer-events: none; }
.band > * { position: relative; z-index: 1; }
.band h2 { font-size: clamp(28px, 3.6vw, 44px); }
.band p { color: var(--text-2); margin-top: 14px; font-size: 17px; }
.band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-info .card { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info .card-icon { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.contact-info .card-icon .icon { width: 20px; height: 20px; }
.contact-info strong { display: block; font-size: 13px; color: var(--text-3); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 4px; }
.contact-info a:hover { color: var(--brand-2); }
.form { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,180,255,0.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field select option { background: var(--bg-3); }
.form .note { grid-column: 1 / -1; font-size: 12.5px; color: var(--text-3); }
.form .btn { grid-column: 1 / -1; justify-content: center; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.4); color: var(--ok); font-size: 14px; display: none; }
.form-status.is-shown { display: block; }

/* ---------- footer ---------- */
.footer { border: 0; padding: 24px 0 56px; overflow: clip; }
.footer::before { display: none; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; padding-bottom: 0; margin-bottom: 0; border: 0; }
.footer-brand { display: flex; gap: 24px; align-items: center; }
.footer-marks { display: flex; align-items: center; gap: 20px; flex: none; }
.footer-marks img { height: 120px; width: auto; filter: drop-shadow(0 0 16px rgba(0,180,255,0.25)); }
.footer-tagline strong { display: block; font-family: var(--font-display); letter-spacing: .08em; font-size: 14px; line-height: 1.35; }
.footer-tagline span { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.footer-tagline p { margin-top: 12px; max-width: 40ch; }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.footer-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.footer-address { display: flex; align-items: flex-start; gap: 12px; }
.footer-address .footer-pin { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,180,255,0.12); border: 1px solid rgba(0,180,255,0.35); color: var(--brand-2); }
.footer-address .footer-pin .icon { width: 20px; height: 20px; }
.footer-contact p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.footer-contact a:hover { color: var(--brand-2); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; }
.footer p { color: var(--text-3); font-size: 14px; }
.footer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-family: var(--font-mono); font-weight: 500; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; font-size: 14px; color: var(--text-2); }
.footer li a { color: var(--text-2); transition: color .2s; }
.footer li a:hover { color: var(--brand-2); }
.footer-bottom { margin-top: 44px; padding: 22px 80px 0 0; border: 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.footer-bottom a:hover { color: var(--text); }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(14,14,23,0.85); backdrop-filter: blur(10px); color: var(--text); display: grid; place-items: center; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s, border-color .2s; pointer-events: none; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--brand-2); color: var(--brand-2); }
.to-top .icon { width: 18px; height: 18px; transform: rotate(-90deg); }
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-brand { flex-direction: column; align-items: flex-start; } .footer-marks img { height: 96px; } .footer-contact { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .to-top { bottom: 84px; right: 14px; } .footer-bottom { padding-right: 0; } }

/* ---------- sticky mobile CTA ---------- */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(5,8,15,0) 0%, rgba(5,8,15,0.82) 38%, rgba(5,8,15,0.96) 100%); backdrop-filter: blur(14px); opacity: 0; transform: translateY(100%); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.mobile-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.mobile-cta .btn { width: 100%; justify-content: center; font-size: 15px; padding: 15px 18px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- decorative ---------- */
.bg-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 70%); opacity: .5; pointer-events: none; }
.glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: .18; pointer-events: none; z-index: -1; }
.glow-a { background: var(--brand); top: -200px; right: -200px; }
.glow-b { background: var(--brand-2); bottom: -300px; left: -200px; }

/* ---------- responsive ---------- */
@media (max-width: 1380px) { .logo-marks img { height: 86px; } .logo-marks { gap: 14px; margin-right: 18px; } .nav > li > a, .nav > li > button { padding: 10px 9px; font-size: 14px; } .header-cta .btn-sm { padding: 10px 14px; font-size: 13.5px; } }
@media (max-width: 1240px) { .logo > span:not(.logo-marks) { display: none; } }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  :root { --nav-h: 96px; --nav-h-compact: 76px; }
  .logo-marks img { height: 74px; } .header.is-scrolled .logo-marks img { height: 56px; }
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .pillars { grid-template-columns: 1fr; }
  .explorer { grid-template-columns: 1fr; }
  .domain-tabs { display: none; }
  .domain-select { display: block; }
  .depth, .why, .situation, .contact, .band { grid-template-columns: 1fr; }
  .band .actions { justify-content: flex-start; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .process::before { display: none; }
  .partner-groups { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 92svh; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .service-grid, .partner-groups, .kpi-grid, .form, .process { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form .btn, .form .note, .form-status { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .footer { padding-bottom: 90px; }
  .log { grid-template-columns: 58px 50px 1fr; }
  .log .ms, .log .ok { display: none; }
  .term-body { height: 320px; }
  .marquee { animation-duration: 42s; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .hero .lede, .hero-actions, .hero-stats, .eyebrow.hero-eyebrow { opacity: 1; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .rings .ring { stroke-dashoffset: 0 !important; }
  .is-visible .bar i::after, .bar i::after { transform: none; }
}

/* ---------- explorer outcomes strip ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.outcomes div { padding: 16px 18px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgba(0,180,255,0.04); }
.outcomes span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 6px; }
.outcomes p { font-size: 13.5px; color: var(--text-2); }
@media (max-width: 640px) { .outcomes { grid-template-columns: 1fr; } }

/* ---------- brand & new sections ---------- */
.logo-marks { display: inline-flex; align-items: center; gap: 18px; margin-right: 28px; }
.logo-marks img { height: 100px; width: auto; filter: drop-shadow(0 0 14px rgba(0,180,255,0.35)); transition: height .35s var(--ease); }
.header { transition: height .35s var(--ease), background .35s, border-color .35s; }
.header.is-scrolled { height: var(--nav-h-compact); }
.header.is-scrolled .logo-marks img { height: 74px; }
.logo > span { margin-left: 4px; }
.logo > span strong { display: block; font-size: 20px; letter-spacing: .06em; }
.footer-marks { display: flex; align-items: center; gap: 28px; margin-bottom: 0; padding-bottom: 0; border: 0; }
.footer-marks img { height: 150px; width: auto; }
.footer-tagline { margin-left: 10px; }
.footer-tagline strong { display: block; font-family: var(--font-display); letter-spacing: .12em; font-size: 15px; }
.footer-tagline span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) { .logo-marks img { height: 60px; } .logo-marks { gap: 10px; } .header.is-scrolled .logo-marks img { height: 48px; } .logo > span:not(.logo-marks) { display: none; } .footer-marks img { height: 110px; } }
.hero-seal { position: absolute; left: 50%; top: 50%; width: min(120vmin, 1100px); height: auto; transform: translate(-50%, -50%); opacity: .06; z-index: -1; pointer-events: none; animation: sealSpin 140s linear infinite; }
@keyframes sealSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.flow { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.flow svg { width: 100%; height: auto; }
.flow-links path { stroke-dasharray: 6 8; animation: dashFlow 1.4s linear infinite; opacity: .75; }
.flow-links path.loop { stroke-dasharray: 3 8; opacity: .45; }
@keyframes dashFlow { to { stroke-dashoffset: -28; } }
.flow-nodes rect { fill: rgba(255,247,239,0.04); stroke: var(--line-2); }
.flow-nodes .hub rect { fill: rgba(0,180,255,0.08); stroke: rgba(0,180,255,0.45); }
.flow-nodes text { fill: var(--text-2); font-family: var(--font-body); font-size: 13px; text-anchor: middle; }
.flow-nodes .big { fill: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.flow-nodes .sub { fill: var(--text-3); font-size: 11px; font-family: var(--font-mono); }
.turnstile { min-height: 65px; }
.form-status.is-error { background: rgba(255,59,92,0.12); border-color: rgba(255,59,92,0.45); color: #ff8fa3; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none !important; }
.hud { position: absolute; inset: 0; pointer-events: none; z-index: -1; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,247,239,0.012) 3px 4px); }
.eyebrow.hero-eyebrow { color: var(--gold); }
@media (max-width: 900px) { .flow { padding: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; } .flow svg { min-width: 900px; } .flow::after { content: "Swipe to view the full diagram"; display: block; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 10px 0 2px; } }
@media (prefers-reduced-motion: reduce) { .hero-seal { animation: none; } .flow-links path { animation: none; } .flow-dots { display: none; } }

/* ---------- scroll-driven scene colour ---------- */
.backdrop { position: fixed; inset: 0; z-index: -10; background: var(--scene); transition: background 1.4s ease; pointer-events: none; overflow: hidden; }
.backdrop i { position: absolute; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; border-radius: 50%; filter: blur(120px); transition: background 1.4s ease, transform 1.4s ease; }
.backdrop .glow-a { background: var(--scene-glow-a); top: -25vw; right: -20vw; }
.backdrop .glow-b { background: var(--scene-glow-b); bottom: -30vw; left: -20vw; }
.footer, .marquee-wrap { position: relative; }
.marquee-wrap { background: transparent; }
.footer { background: transparent; }
body { background: var(--scene); transition: background 1.4s ease; }
@media (prefers-reduced-motion: reduce) { .backdrop, .backdrop i, body { transition: none; } }

/* ---------- demo labels ---------- */
.kpi span .demo, .live { font-style: normal; }
.kpi span .demo { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 9.5px; letter-spacing: .12em; background: rgba(255,215,0,0.14); color: var(--gold); border: 1px solid rgba(255,215,0,0.35); vertical-align: middle; }
.term-bar .live { color: var(--gold); }
.term-bar .live::before { background: var(--gold); box-shadow: 0 0 0 0 rgba(255,215,0,.6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,215,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); } }

/* ---------- process output line ---------- */
.step .out { font-size: 11px; letter-spacing: .04em; }
.bar { grid-template-columns: 124px 1fr 40px; }

/* ---------- contact buttons, software band, simplified footer ---------- */
.contact-info .contact-btn { margin-top: 6px; }
.contact-info .card > div { min-width: 0; }
.band-software { background: linear-gradient(120deg, #17103a 0%, #0e0e17 60%); border-color: rgba(120,80,255,0.35); }
.band-software::before { background: radial-gradient(circle, rgba(0,180,255,0.25), transparent 60%); }
.footer-top { grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.footer-contact { grid-template-columns: 1fr; }
.footer-buttons { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.rings .core-text { font-size: 12px; }
.rings .core-sub { font-size: 6.6px; letter-spacing: .02em; text-transform: none; font-family: var(--font-body); }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } .footer-marks { justify-content: flex-start; } }

/* ---------- typewriter ---------- */
.typewriter { display: inline-block; min-width: 1ch; }
.typewriter::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -0.08em; background: var(--brand-2); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typewriter::after { display: none; } }

/* ---------- layer explorer (replaces rings) ---------- */
.layers { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.layer-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.layer-stack button { position: relative; width: var(--w); min-width: 300px; padding: 12px 18px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--text); font: inherit; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s; }
.layer-stack button .layer-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); white-space: nowrap; flex: none; }
.layer-stack button .layer-name { white-space: nowrap; }
.layer-stack button .layer-name { font-weight: 600; font-size: 15px; }
.layer-stack button:hover { transform: scale(1.03); background: color-mix(in srgb, var(--c) 30%, transparent); }
.layer-stack button[aria-selected="true"] { background: color-mix(in srgb, var(--c) 42%, transparent); border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 18px 40px -20px var(--c); transform: scale(1.05); }
.layer-stack button:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.layer-panel { display: none; padding: 30px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, transparent), var(--surface)); animation: panel .5s var(--ease); }
.layer-panel.is-active { display: block; }
.layer-panel .eyebrow { color: var(--c); }
.layer-panel h3 { font-size: 26px; margin: 12px 0 10px; }
.layer-panel p { color: var(--text-2); }
.layer-panel ul { display: grid; gap: 10px; margin: 20px 0 22px; }
.layer-panel li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; }
.layer-panel li .icon { width: 18px; height: 18px; color: var(--c); }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; } .layer-stack button { width: 100%; min-width: 0; } }

/* ---------- partner marquee: uniform monochrome marks ---------- */
.marquee { gap: 76px; }
.marquee li.partner { display: inline-flex; align-items: center; height: 64px; color: #bfe9ff; opacity: .92; transition: opacity .2s, transform .2s; }
.marquee li.partner:hover { opacity: 1; transform: scale(1.06); }
.marquee li.partner::before { display: none; }
.partner-mark { display: inline-flex; align-items: center; justify-content: center; }
.partner-mark.is-mask { background: currentColor; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.partner-mark svg { width: 100%; height: 100%; display: block; }
.marquee li.partner { height: 72px; }
.marquee-wrap { padding: 36px 0 12px; }
.footer { padding-top: 64px; }
@media (max-width: 760px) { body.has-mobile-cta { padding-bottom: 86px; } .to-top { bottom: 96px; } }
.partner-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .01em; white-space: nowrap; }
.partner-wordmark { text-transform: uppercase; letter-spacing: .08em; font-size: 17px; }
.marquee-wrap { padding: 24px 0 0; }

/* ---------- operating model pipeline ---------- */
.pipeline { display: grid; gap: 22px; }
.pipe-sources { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 22px; border-radius: 16px; border: 1px dashed var(--line-2); background: var(--surface); }
.pipe-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.pipe-sources ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pipe-sources li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(0,180,255,0.12); border: 1px solid rgba(0,180,255,0.35); font-size: 13.5px; }
.pipe-sources li .icon { width: 16px; height: 16px; color: var(--brand-2); }
.pipe-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: none; }
.pipe-stages { container-type: inline-size; }
.stage-icon::after { content: ""; position: absolute; top: calc(50% - 1.5px); left: calc(100% + 18px); width: calc(25cqw - 88px - 36px); height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--brand) 0 12px, transparent 12px 22px); background-size: 22px 3px; animation: pipeFlow 1s linear infinite; opacity: .85; pointer-events: none; }
.stage:last-child .stage-icon::after { display: none; }
@keyframes pipeFlow { to { background-position: 22px 0; } }
.stage { position: relative; padding: 0 14px; text-align: center; transition: transform .35s var(--ease); }
.stage:hover { transform: translateY(-6px); }
.stage-icon { width: 88px; height: 88px; margin: 14px auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 2px solid var(--c); color: var(--c); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 14%, transparent), 0 20px 50px -20px var(--c); position: relative; z-index: 1; }
.stage-icon .icon { width: 36px; height: 36px; }
.stage-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--c); }
.stage h3 { font-size: 22px; margin: 0 0 8px; }
.stage p { color: var(--text-2); font-size: 14px; min-height: 42px; }
.stage ul { margin-top: 14px; display: grid; gap: 6px; }
.stage li { font-size: 13px; color: var(--text-2); padding: 7px 10px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.pipe-loop { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(255,215,0,0.35); background: rgba(255,215,0,0.08); color: var(--text-2); font-size: 14px; margin: 6px auto 0; }
.pipe-loop .icon { width: 20px; height: 20px; color: var(--gold); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .pipe-stages { grid-template-columns: 1fr 1fr; gap: 28px 0; } .stage-icon::after { display: none; } }
@media (max-width: 560px) { .pipe-stages { grid-template-columns: 1fr; } .stage p { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .stage-icon::after, .pipe-loop .icon { animation: none; } }
