/* ==========================================================================
   Oranian — site stylesheet
   Palette taken from the logo: midnight navy + sun gold on warm daylight paper.
   ========================================================================== */

/* Glacial Indifference by Alfredo Marco Pradil (SIL Open Font License), self-hosted in /assets/fonts. */
@font-face {
  font-family: "Glacial Indifference";
  src: local("Glacial Indifference"), local("GlacialIndifference-Regular"),
       url("../fonts/GlacialIndifference-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: local("Glacial Indifference Bold"), local("GlacialIndifference-Bold"),
       url("../fonts/GlacialIndifference-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: local("Glacial Indifference Italic"), local("GlacialIndifference-Italic"),
       url("../fonts/GlacialIndifference-Italic.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ink: #22215e;          /* logo navy */
  --ink-2: #3b3a78;
  --ink-soft: #5d5c8c;
  --muted: #5f5e86;
  --night: #15143f;        /* deep sky */
  --night-2: #1d1c52;
  --sun: #fddf6b;          /* logo gold */
  --sun-deep: #f4c43a;
  --sun-pale: #fff6d2;
  --gold-text: #7a5a00;    /* gold that passes 4.5:1 as text on light backgrounds */
  --paper: #fbf8f1;        /* warm daylight */
  --paper-2: #f5f0e3;
  --card: #ffffff;
  --line: rgba(34, 33, 94, .12);
  --line-strong: rgba(34, 33, 94, .22);
  --ok: #2f9e6a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(34,33,94,.06), 0 12px 32px -12px rgba(34,33,94,.18);
  --shadow-lg: 0 2px 4px rgba(34,33,94,.05), 0 30px 60px -24px rgba(34,33,94,.28);
  --font: "Glacial Indifference", "Century Gothic", "Avenir Next", "Futura", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--sun-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink-2); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-night :focus-visible, .skymap :focus-visible, .cta-band :focus-visible, .case-side :focus-visible, .mobile-nav :focus-visible, .topbar :focus-visible, .menu-open .site-header :focus-visible { outline-color: var(--sun); }
::selection { background: var(--sun); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 3px var(--sun-pale), 0 0 14px 2px rgba(253,223,107,.9);
}
.on-night .eyebrow { color: #b9b8e6; }
.on-night .eyebrow::before { box-shadow: 0 0 0 3px rgba(253,223,107,.18), 0 0 16px 3px rgba(253,223,107,.8); }
.display { font-size: clamp(44px, 7vw, 88px); letter-spacing: -.025em; line-height: 1; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.02em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lede { font-size: clamp(19px, 1.7vw, 22px); color: var(--ink-soft); max-width: 640px; }
.muted { color: var(--muted); }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .38em;
  background: var(--sun); border-radius: 999px; z-index: -1; opacity: .9;
}
.dot-sun { color: var(--sun-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: .02em; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(34,33,94,.6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); background: var(--ink-2); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 0 0 0 rgba(253,223,107,.6), 0 10px 30px -8px rgba(244,196,58,.8); }
.btn-sun:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(253,223,107,.25), 0 14px 34px -8px rgba(244,196,58,.9); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.on-night .btn-ghost, .cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); background: transparent; }
.on-night .btn-ghost:hover, .cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #d8d7f3; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-note { display: flex; align-items: center; gap: 10px; }
.topbar .tb-note .flag { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.topbar .tb-links { display: flex; gap: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,.86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(34,33,94,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 58px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: .02em; color: var(--ink);
}
.nav a:hover { background: rgba(34,33,94,.06); }
.nav a[aria-current]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--sun-deep); box-shadow: 0 0 10px var(--sun);
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 20px; font-size: 15px; }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  background: #fff; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 0; top: 0; z-index: 45; background: var(--night); color: #fff;
  padding: 140px var(--gutter) 40px; overflow-y: auto;
}
.mobile-nav::before { content: ""; position: absolute; inset: 0; background: var(--stars); opacity: .7; pointer-events: none; }
.mobile-nav ol { list-style: none; margin: 0; padding: 0; position: relative; }
.mobile-nav li a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: 36px; font-weight: 700; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav li a small { font-size: 14px; color: var(--sun); letter-spacing: .1em; }
.mobile-nav .mn-foot { position: relative; margin-top: 32px; display: grid; gap: 10px; color: #c9c8ee; }
.mobile-nav .mn-foot a { color: #fff; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p { margin: 0; color: var(--ink-soft); font-size: 19px; }
.sec-head .sh-actions { margin-top: 20px; }
.alt { background: var(--paper-2); }
.on-night { background: var(--night); color: #fff; overflow: hidden; }
.on-night::before { content: ""; position: absolute; inset: 0; background: var(--stars); pointer-events: none; opacity: .9; }
.on-night > * { position: relative; }
.on-night .sec-head p, .on-night .lede { color: #c7c6ea; }
:root {
  --stars:
    radial-gradient(1.5px 1.5px at 8% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 68%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 37% 28%, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 82%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 61% 18%, var(--sun) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 54%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 30%, rgba(255,255,255,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 76%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 15% 90%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 3% 50%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 92%, rgba(255,255,255,.7) 50%, transparent 51%);
}

.glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(10px);
  background: radial-gradient(circle closest-side, rgba(253,223,107,.75) 0%, rgba(253,223,107,.35) 45%, rgba(253,223,107,0) 100%); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero .glow.g1 { width: 820px; height: 820px; right: -260px; top: -60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .soft { color: var(--ink-soft); }
.rotator { display: flex; align-items: center; gap: 12px; font-size: 19px; color: var(--ink-soft); margin-bottom: 30px; min-height: 30px; }
.rotator .rot-label { font-weight: 700; color: var(--ink); white-space: nowrap; }
.rotator .rot-text { position: relative; display: inline-block; color: var(--ink); font-style: italic; transition: opacity .35s, transform .35s; }
.rotator .rot-text.out { opacity: 0; transform: translateY(8px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: var(--muted); font-size: 15px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--sun-deep); }

/* Constellation map (hero right) */
.skymap {
  position: relative; background: var(--night); border-radius: 32px; padding: 26px; color: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate;
}
.skymap::before { content: ""; position: absolute; inset: 0; background: var(--stars); opacity: .8; z-index: -1; }
.skymap-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #b9b8e6; }
.skymap-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--sun); }
.skymap-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.skymap svg.map { width: 100%; height: auto; margin: 6px 0 4px; overflow: visible; }
.skymap .edge { stroke: rgba(255,255,255,.28); stroke-width: 1.4; stroke-dasharray: 5 6; fill: none; }
.skymap .node { cursor: pointer; }
.skymap .node circle.halo { fill: rgba(253,223,107,.16); transition: r .3s, fill .3s; }
.skymap .node circle.core { fill: var(--sun); filter: drop-shadow(0 0 8px rgba(253,223,107,.9)); }
.skymap .node text { fill: #fff; font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.skymap .node text.n { fill: #b9b8e6; font-weight: 400; font-size: 12px; }
.skymap .node:hover circle.halo, .skymap .node:focus circle.halo, .skymap .node.active circle.halo { fill: rgba(253,223,107,.35); }
.skymap .node:focus { outline: none; }
.skymap .node:focus-visible circle.halo { stroke: var(--sun); stroke-width: 3; }
.skymap-detail { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px 18px; min-height: 104px; }
.skymap-detail h3 { font-size: 20px; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.skymap-detail h3 small { font-size: 13px; color: var(--sun); letter-spacing: .1em; text-transform: uppercase; }
.skymap-detail p { font-size: 15px; color: #c7c6ea; margin: 0 0 8px; }
.skymap-detail .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.skymap-detail .chips a { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(253,223,107,.12); color: var(--sun-pale); text-decoration: none; border: 1px solid rgba(253,223,107,.25); }
.skymap-detail .chips a:hover { background: rgba(253,223,107,.25); }
.skymap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.skymap-stats div { border-top: 1px solid rgba(255,255,255,.14); padding-top: 10px; }
.skymap-stats b { display: block; font-size: 28px; color: var(--sun); line-height: 1.1; }
.skymap-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #b9b8e6; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.stat .v { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; line-height: 1.1; margin: 6px 0 2px; }
.stat .v sup { font-size: .45em; color: var(--gold-text); top: -.9em; }
.stat .s { font-size: 15px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee-wrap { padding: 44px 0 8px; }
.marquee-title { text-align: center; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--sun-deep); margin-right: 8px; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat-card { grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(253,223,107,.55), rgba(253,223,107,0) 70%); opacity: .7; transition: opacity .3s; }
.cat-card:hover::after { opacity: 1; }
.cat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
.cat-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); display: grid; place-items: center; color: var(--sun); }
.cat-icon svg { width: 26px; height: 26px; }
.cat-count { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.cat-card h3 { font-size: 28px; margin-bottom: 8px; position: relative; z-index: 1; }
.cat-card > p { color: var(--ink-soft); font-size: 17px; position: relative; z-index: 1; }
.cat-card ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.cat-card li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 16px; }
.cat-card li:last-child a { border-bottom: 0; }
.cat-card li a:hover { color: var(--ink-2); }
.cat-card li a svg { width: 16px; height: 16px; opacity: .35; transition: .2s; flex: none; }
.cat-card li a:hover svg { opacity: 1; transform: translateX(3px); color: var(--sun-deep); }
.badge-new { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--sun); color: var(--ink); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }

/* ---------- FAQ / accordion ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary { list-style: none; display: grid; grid-template-columns: 48px 1fr 32px; align-items: center; gap: 12px; padding: 22px 24px; cursor: pointer; font-weight: 700; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num { font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--sun-pale); display: grid; place-items: center; transition: transform .25s, background .2s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--sun); }
.faq .ans { padding: 0 24px 24px 84px; color: var(--ink-soft); font-size: 17px; }
.faq .ans p:last-child { margin: 0; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-layout .sticky { position: sticky; top: 120px; }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.arch-points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.arch-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.arch-points li::before { content: "✦"; color: var(--sun-deep); font-size: 16px; line-height: 1.6; }
.arch-diagram { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: var(--shadow-lg); }
.tier { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 14px 0; position: relative; }
.tier + .tier { border-top: 1px dashed var(--line-strong); }
.tier .t-name { font-weight: 700; font-size: 18px; }
.tier .t-name small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tier .t-boxes { display: flex; flex-wrap: wrap; gap: 8px; }
.tier .t-boxes span { padding: 9px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.tier.ai .t-boxes span { background: var(--sun-pale); border-color: rgba(244,196,58,.55); }
.tier.data .t-boxes span { background: var(--ink); color: #fff; border-color: var(--ink); }
.arch-band { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: repeating-linear-gradient(-45deg, var(--paper-2), var(--paper-2) 8px, var(--paper) 8px, var(--paper) 16px); border: 1.5px dashed var(--ink-soft); text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Partner vs vendor ---------- */
.journey { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; padding: 30px; margin-bottom: 48px; }
.journey-steps { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #b9b8e6; font-weight: 700; margin-bottom: 16px; }
.journey-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 18px; margin: 12px 0; }
.journey-row b { font-size: 16px; }
.jbar { position: relative; height: 14px; border-radius: 999px; background: rgba(255,255,255,.08); }
.jbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.jbar.vendor i { width: 60%; background: rgba(255,255,255,.35); }
.jbar.vendor::after { content: ""; position: absolute; left: 60%; top: -5px; width: 2px; height: 24px; background: rgba(255,255,255,.5); }
.jbar.partner i { width: 100%; background: linear-gradient(90deg, rgba(253,223,107,.5), var(--sun)); box-shadow: 0 0 20px rgba(253,223,107,.5); }
.journey-note { margin-top: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); text-align: right; font-weight: 700; }
.commit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.commit { padding: 28px 24px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.commit .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 700; margin-bottom: 18px; }
.commit h3 { font-size: 21px; margin-bottom: 10px; }
.commit p { font-size: 16px; color: #c7c6ea; margin: 0; }
.alt .commit, .paper .commit { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.alt .commit p, .paper .commit p { color: var(--ink-soft); }

/* ---------- Phases ---------- */
.phase-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.phase-tab { text-align: left; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: .2s; }
.phase-tab .pn { font-size: 13px; color: var(--muted); letter-spacing: .12em; font-weight: 700; }
.phase-tab .pt { font-size: 22px; font-weight: 700; }
.phase-tab .pd { font-size: 14px; color: var(--muted); }
.phase-tab:hover { border-color: var(--line-strong); }
.phase-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.phase-tab[aria-selected="true"] .pn, .phase-tab[aria-selected="true"] .pd { color: var(--sun); }
.phase-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.phase-panel[hidden] { display: none; }
.phase-panel .meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.phase-panel h3 { font-size: 34px; margin-bottom: 8px; }
.phase-panel .tag { font-size: 20px; font-style: italic; color: var(--ink-2); margin-bottom: 14px; }
.phase-panel p { color: var(--ink-soft); }
.deliverables { background: var(--paper); border-radius: 18px; padding: 22px; }
.deliverables h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.deliverables ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.deliverables li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.deliverables li svg { width: 20px; height: 20px; color: var(--sun-deep); flex: none; }
.gantt { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.gantt .g-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.g-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; margin: 8px 0; font-weight: 700; font-size: 15px; }
.g-track { position: relative; height: 18px; background: var(--paper); border-radius: 999px; }
.g-track i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--ink); transition: background .2s; }
.g-row.on .g-track i { background: var(--sun-deep); box-shadow: 0 0 16px rgba(244,196,58,.7); }
.g-track i.open { border-top-right-radius: 0; border-bottom-right-radius: 0; background: linear-gradient(90deg, var(--ink) 70%, rgba(34,33,94,0)); }
.g-row.on .g-track i.open { background: linear-gradient(90deg, var(--sun-deep) 70%, rgba(244,196,58,0)); }
.g-axis { display: flex; justify-content: space-between; margin-left: 134px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 8px; }

/* ---------- Case studies ---------- */
.case-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.case-tab { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; display: inline-flex; gap: 10px; align-items: center; }
.case-tab small { color: var(--muted); font-size: 13px; }
.case-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-tab[aria-selected="true"] small { color: var(--sun); }
.case { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.case[hidden] { display: none; }
.case-main { padding: clamp(24px, 4vw, 44px); }
.case-main .sector { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.case-main h3 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 20px; }
.case-main h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.case-main ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.case-main ol li { counter-increment: s; display: flex; gap: 14px; font-size: 17px; }
.case-main ol li::before { content: counter(s, decimal-leading-zero); font-weight: 700; color: var(--gold-text); }
.case-side { background: var(--night); color: #fff; padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.case-side::before { content: ""; position: absolute; inset: 0; background: var(--stars); opacity: .7; }
.case-side > * { position: relative; }
.case-side h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #b9b8e6; margin: 0 0 16px; }
.results { display: grid; gap: 18px; margin-bottom: 28px; }
.results div b { display: block; font-size: 44px; line-height: 1; color: var(--sun); }
.results div span { color: #c7c6ea; font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span, .pills a { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; background: #fff; }
.case-side .pills span, .case-side .pills a { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); color: #fff; }
.case-side .spacer { flex: 1; }

/* ---------- Testimonials ---------- */
.voices { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.rating { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.rating b { font-size: 64px; line-height: 1; }
.rating .stars { color: var(--sun-deep); font-size: 22px; letter-spacing: 3px; }
.quote-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); }
.quote-card::before { content: "\201C"; position: absolute; top: -34px; left: 28px; font-size: 140px; line-height: 1; color: var(--sun); font-weight: 700; }
.quote { display: none; }
.quote.active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.quote blockquote { margin: 0 0 26px; font-size: clamp(20px, 2vw, 25px); line-height: 1.45; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.quote .who b { display: block; }
.quote .who span { color: var(--muted); font-size: 15px; }
.q-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.q-dots { display: flex; gap: 8px; }
.q-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--muted); transition: width .25s, background .25s; }
.q-dots button[aria-current="true"] { width: 28px; background: var(--sun-deep); }
.q-arrows { display: flex; gap: 8px; }
.q-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; }
.q-arrows button:hover { border-color: var(--ink); }
.q-arrows svg { width: 18px; height: 18px; }

/* ---------- Tech layers ---------- */
.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.layer-list { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); text-align: left; color: #fff; transition: .2s; }
.layer small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #b9b8e6; }
.layer b { font-size: 20px; }
.layer em { font-style: normal; font-weight: 700; color: var(--sun); }
.layer:hover, .layer:focus-visible, .layer.active { background: var(--sun); color: var(--ink); border-color: var(--sun); transform: translateX(6px); }
.layer:hover small, .layer.active small, .layer:hover em, .layer.active em { color: var(--ink); }
.layer-view { border-radius: 24px; border: 1px solid rgba(255,255,255,.12); padding: 28px; background: rgba(255,255,255,.03); display: flex; flex-direction: column; }
.layer-view .lv-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); font-weight: 700; margin-bottom: 18px; }
.tool-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-cloud span { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: 15px; transition: .25s; }
.tool-cloud span.dim { opacity: .55; }
.tool-cloud span.lit { background: var(--sun); color: var(--ink); border-color: var(--sun); box-shadow: 0 0 20px rgba(253,223,107,.45); }
.layer-view p { margin: auto 0 0; padding-top: 24px; color: #c7c6ea; font-size: 16px; }

/* ---------- Clocks ---------- */
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.clock { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.clock .tz { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.clock .time { font-size: clamp(56px, 6vw, 76px); font-weight: 700; line-height: 1; margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.clock h3 { font-size: 26px; margin-bottom: 4px; }
.clock p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.clock .status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper); }
.clock .status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #b3b2c9; }
.clock .status.open { background: #e6f5ec; color: #1f6e49; }
.clock .status.open::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.clock .sunicon { position: absolute; right: 24px; top: 24px; width: 64px; height: 64px; border-radius: 50%; }
.clock .sunicon.day { background: radial-gradient(circle, var(--sun) 40%, rgba(253,223,107,0) 70%); }
.clock .sunicon.night { background: radial-gradient(circle at 60% 40%, transparent 32%, var(--ink) 33%, var(--ink) 45%, transparent 46%); opacity: .5; }
.overlap { margin-top: 20px; padding: 18px 22px; border-radius: 18px; background: var(--sun-pale); border: 1px solid rgba(244,196,58,.5); display: flex; gap: 14px; align-items: center; font-size: 16px; }
.overlap svg { width: 24px; height: 24px; flex: none; color: var(--sun-deep); }

/* ---------- Insights ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post[hidden] { display: none; }
.post-art { height: 150px; background: var(--night); position: relative; overflow: hidden; }
.post-art::before { content: ""; position: absolute; inset: 0; background: var(--stars); }
.post-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.post-meta .topic { color: var(--ink); }
.post h3 { font-size: 23px; margin-bottom: 10px; line-height: 1.2; }
.post p { color: var(--ink-soft); font-size: 16px; }
.post .read { margin-top: auto; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.post .read svg { width: 16px; height: 16px; }
.post.featured { grid-column: 1 / -1; flex-direction: row; }
.post.featured .post-art { height: auto; flex: 1 1 45%; min-height: 260px; }
.post.featured .post-body { flex: 1 1 55%; padding: 36px; }
.post.featured h3 { font-size: 34px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 36px; background: var(--night); color: #fff; padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--stars); }
.cta-band .glow { width: 600px; height: 600px; right: -180px; bottom: -300px; }
.cta-band > *:not(.glow) { position: relative; }
.cta-band h2 { font-size: clamp(34px, 4.5vw, 56px); margin: 16px 0 16px; }
.cta-band p { color: #c7c6ea; font-size: 19px; margin: 0; max-width: 560px; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero .glow { width: 640px; height: 640px; right: -160px; top: -120px; }
.page-hero .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.page-hero .crumbs a { text-decoration: none; }
.page-hero h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.025em; margin: 16px 0 22px; max-width: 920px; }
.page-hero .lede { max-width: 720px; }
.orion-deco { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(340px, 30vw); opacity: .9; pointer-events: none; }
.orion-deco .l { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 4 6; fill: none; opacity: .5; }
.orion-deco .s { fill: var(--ink); }
.orion-deco .s.big { fill: var(--sun-deep); filter: drop-shadow(0 0 6px rgba(244,196,58,.8)); }

/* ---------- Solutions page ---------- */
.coverage { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.coverage-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; gap: 3px; margin: 14px 0 18px; }
.coverage-bar i { display: block; height: 100%; }
.coverage-legend { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.coverage-legend a { text-decoration: none; font-size: 15px; }
.coverage-legend b { display: flex; align-items: center; gap: 8px; }
.coverage-legend b::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.coverage-legend span { color: var(--muted); font-size: 14px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.filters button small { color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button[aria-pressed="true"] small { color: var(--sun); }
.search { position: relative; }
.search input { font: inherit; font-size: 16px; padding: 12px 18px 12px 44px; border-radius: 999px; border: 1.5px solid #86859f; background: #fff; width: 280px; max-width: 100%; color: var(--ink); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(253,223,107,.5); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 14px; font-weight: 700; letter-spacing: .06em; }
.practice-list { display: grid; gap: 14px; }
.practice { background: var(--card); border: 1px solid var(--line); border-radius: 22px; scroll-margin-top: 110px; transition: box-shadow .2s, border-color .2s; }
.practice[open] { box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.practice summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 40px; gap: 20px; align-items: center; padding: 22px 26px; }
.practice summary::-webkit-details-marker { display: none; }
.practice .p-kicker { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.practice .p-title { font-size: 24px; font-weight: 700; margin: 2px 0; }
.practice .p-tag { color: var(--ink-soft); font-size: 17px; }
.practice .p-dur { font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; }
.practice .p-dur b { display: block; color: var(--ink); font-size: 16px; }
.practice .pm { width: 40px; height: 40px; border-radius: 50%; background: var(--sun-pale); display: grid; place-items: center; transition: transform .25s, background .2s; }
.practice .pm svg { width: 16px; height: 16px; }
.practice[open] .pm { transform: rotate(45deg); background: var(--sun); }
.p-body { padding: 0 26px 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; border-top: 1px solid var(--line); padding-top: 24px; margin: 0 0 0; }
.p-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 22px; }
.p-facts div { background: var(--paper); border-radius: 14px; padding: 12px 14px; }
.p-facts small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.p-facts b { font-size: 15px; }
.p-caps h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.p-caps ol { list-style: none; padding: 0; margin: 0; counter-reset: c; }
.p-caps li { counter-increment: c; display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.p-caps li::before { content: counter(c, decimal-leading-zero); font-weight: 700; color: var(--gold-text); }
.empty { text-align: center; padding: 48px; color: var(--muted); display: none; }

/* ---------- Case study page ---------- */
.case-hero-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.case-hero-results div { background: var(--night); color: #fff; border-radius: 22px; padding: 24px; position: relative; overflow: hidden; }
.case-hero-results div::before { content: ""; position: absolute; inset: 0; background: var(--stars); opacity: .6; }
.case-hero-results b { position: relative; display: block; font-size: clamp(40px, 5vw, 60px); color: var(--sun); line-height: 1; margin-bottom: 8px; }
.case-hero-results span { position: relative; color: #c7c6ea; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.prose { max-width: 720px; font-size: 19px; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 24px; margin: 1.4em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold-text); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--sun); background: var(--card); border-radius: 0 16px 16px 0; font-size: 21px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-link { text-decoration: none; display: block; transition: transform .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card-link small { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.article-aside { position: sticky; top: 120px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.direct { display: grid; gap: 12px; }
.direct a, .direct div.item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.direct small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.direct b { font-size: 18px; }
.direct a:hover { border-color: var(--ink); }
.direct svg { width: 20px; height: 20px; flex: none; color: var(--sun-deep); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 17px; }
.steps li::before { content: counter(st); width: 36px; height: 36px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 700; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 30px; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid #86859f; background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(253,223,107,.5); }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c2413b; }
.field .err { display: none; color: #b3322c; font-size: 14px; margin-top: 6px; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot p { margin: 0; color: var(--muted); font-size: 15px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .sunburst { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: radial-gradient(circle, var(--sun) 45%, rgba(253,223,107,0) 72%); display: grid; place-items: center; }
.form-success .sunburst svg { width: 34px; height: 34px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 72px 0 32px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.foot-brand img { height: 64px; width: auto; mix-blend-mode: multiply; margin-bottom: 16px; }
.foot-brand p { color: var(--ink-soft); font-size: 16px; max-width: 340px; }
.site-footer .foot-h { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; font-size: 16px; }
.site-footer ul a:hover { text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bottom a { text-decoration: none; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; background: #fff; }
.socials a:hover { border-color: var(--ink); background: var(--sun); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-open .mobile-nav { display: block; }
  .menu-open .site-header { background: transparent; backdrop-filter: none; border-color: transparent; box-shadow: none; }
  .menu-open .site-header .brand img { mix-blend-mode: normal; background: #fff; border-radius: 14px; padding: 4px 8px; }
  .menu-open { overflow: hidden; }
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .arch, .voices, .layers, .faq-layout, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .faq-layout .sticky, .article-aside { position: static; }
  .commit-grid { grid-template-columns: 1fr 1fr; }
  .cat-card, .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
  .cat-card:nth-child(5) { grid-column: 1 / -1; }
  .post-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .orion-deco { opacity: .35; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .topbar .tb-links { display: none; }
  .site-header .wrap { height: 72px; }
  .brand img { height: 46px; }
  .header-cta .btn-primary { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card, .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: auto; }
  .commit-grid, .post-grid, .card-grid, .clocks, .two-col, .case-hero-results { grid-template-columns: 1fr; }
  .post.featured { flex-direction: column; }
  .post.featured .post-art { min-height: 160px; }
  .post.featured .post-body { padding: 24px; }
  .post.featured h3 { font-size: 26px; }
  .phase-tabs { grid-template-columns: 1fr 1fr; }
  .phase-panel, .case, .p-body { grid-template-columns: 1fr; }
  .journey-steps { font-size: 10px; letter-spacing: .06em; }
  .journey-row { grid-template-columns: 70px 1fr; }
  .tier { grid-template-columns: 1fr; gap: 8px; }
  .faq summary { grid-template-columns: 32px 1fr 32px; padding: 18px; font-size: 18px; }
  .faq .ans { padding: 0 18px 20px 62px; }
  .practice summary { grid-template-columns: 1fr 40px; padding: 18px 20px; }
  .practice .p-dur { display: none; }
  .p-body { padding: 20px; }
  .p-facts { grid-template-columns: 1fr; }
  .coverage-legend { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .g-row { grid-template-columns: 76px 1fr; font-size: 13px; }
  .g-axis { margin-left: 90px; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .orion-deco { display: none; }
  .layer { grid-template-columns: 70px 1fr auto; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep content above decorative glows */
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }
.rotator { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 760px) { .rotator { flex-direction: column; align-items: flex-start; } .rotator .rot-text { min-height: 3.2em; } html { scroll-padding-top: 88px; } }
.p-body > div, .case > div, .contact-grid > div, .faq-layout > div { min-width: 0; }
.mobile-nav .mn-foot a.btn-sun { color: var(--ink); }

/* Pause controls for moving content (WCAG 2.2.2) */
.rot-pause, .marquee-toggle {
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft);
  background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 3px 12px; cursor: pointer;
}
.rot-pause:hover, .marquee-toggle:hover { border-color: var(--ink); color: var(--ink); }
.marquee-ctl { display: flex; justify-content: center; margin-top: 14px; }
.marquee.paused .marquee-track { animation-play-state: paused; }

/* Contact form feedback */
.form-alert { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #8a211b; font-size: 15px; }
.form-alert a { color: inherit; font-weight: 700; }
.form-success h2:focus { outline: none; }

/* No-JS: show all testimonials and every tab panel */
.no-js .quote { display: block; margin-bottom: 24px; }
.no-js .q-nav, .no-js .rot-pause, .no-js .marquee-ctl, .no-js .motion-toggle { display: none; }
.no-js .phase-panel[hidden], .no-js .case[hidden] { display: grid; margin-top: 16px; }

@media print { .reveal { opacity: 1 !important; transform: none !important; } .marquee-wrap, .site-header, .topbar, .motion-toggle { display: none; } .jbar i, .g-track i { transform: none !important; } .sky-draw polyline { stroke-dashoffset: 0 !important; } .sky-draw circle { opacity: .85 !important; } }

@media (prefers-reduced-motion: reduce) { .marquee-ctl, .rot-pause { display: none; } }
/* Keep the hero height stable while the phrase changes (label + button don't shrink; the phrase wraps to ≤2 lines) */
@media (min-width: 761px) { .rotator { flex-wrap: nowrap; min-height: 3.2em; } .rotator .rot-text { min-width: 0; } .rotator .rot-label, .rotator .rot-pause { flex: none; } }

/* No-JS form feedback after contact.php redirects back to #form-sent / #form-error */
.form-alert-nojs { display: none; }
.no-js .form-alert-nojs:target { display: block; }
.no-js .form-success:target { display: block; }
.no-js .form-card:has(.form-success:target) form { display: none; }

/* =====================================================================
   v3 — Motion layer & new sections
   Entrance animations live inside (prefers-reduced-motion: no-preference);
   loops pause under html.motion-paused (the "Pause motion" switch).
   ===================================================================== */

/* ---------- Night-sky hero ---------- */
.hero-night { background: linear-gradient(180deg, #0e0d31 0%, var(--night) 55%, #1d1c52 100%); padding: clamp(56px, 8vw, 110px) 0 36px; min-height: min(92vh, 920px); display: flex; flex-direction: column; justify-content: center; }
.hero-night::before { display: none; }
.hero-night > canvas.sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-night > .sunrise { position: absolute; left: 0; right: 0; bottom: -10%; height: 85%; pointer-events: none;
  background: radial-gradient(55% 55% at var(--sx, 62%) 100%, rgba(253,223,107,.36), rgba(244,196,58,.12) 42%, rgba(244,196,58,0) 72%); }
.hero-night .hero-grid { position: relative; z-index: 1; }
.hero-night h1 { color: #fff; }
.hero-night h1 .line { display: block; }
.hero-night .gold { background: linear-gradient(100deg, #f4c43a 0%, #fddf6b 30%, #fff3c4 50%, #fddf6b 70%, #f4c43a 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (forced-colors: active) { .hero-night .gold { background: none; color: CanvasText; } }
.hero-night .rotator { color: #c7c6ea; }
.hero-night .rotator .rot-label { color: #fff; }
.hero-night .rotator .rot-text { color: var(--sun-pale); }
.hero-night .lede { color: #c7c6ea; }
.hero-night .hero-trust { color: #c7c6ea; }
.hero-night .hero-trust svg { color: var(--sun); }
.hero-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.scroll-cue { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sun); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Orion capability map (glass card on the night sky) */
.orion-map { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.orion-map::before { display: none; }
.orion .oline { stroke: rgba(255,255,255,.38); stroke-width: 1.3; stroke-linecap: round; }
.orion .mstar { fill: #fff; transform-box: fill-box; transform-origin: center; animation: twinkle 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * .37s); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.orion .node circle.halo { transform-box: fill-box; transform-origin: center; animation: halo 3.8s ease-in-out infinite; }
.orion .node:nth-of-type(2) circle.halo { animation-delay: .7s; } .orion .node:nth-of-type(3) circle.halo { animation-delay: 1.4s; }
.orion .node:nth-of-type(4) circle.halo { animation-delay: 2.1s; } .orion .node:nth-of-type(5) circle.halo { animation-delay: 2.8s; }
@keyframes halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.orion .node text { font-size: 14px; paint-order: stroke; stroke: rgba(14,13,49,.85); stroke-width: 4px; stroke-linejoin: round; }

/* ---------- Scroll progress under the header ---------- */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; overflow: hidden; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--sun-deep), var(--sun)); transform-origin: left; transform: scaleX(0); }

/* ---------- Motion switch ---------- */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid #86859f; background: transparent; color: var(--ink-soft); cursor: pointer; }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle:hover { border-color: var(--ink); color: var(--ink); }
.motion-toggle.on-dark { color: #d8d7f3; border-color: rgba(255,255,255,.35); }
.motion-toggle.on-dark:hover { color: #fff; border-color: #fff; }
.motion-toggle.is-paused svg { display: none; }
.foot-bottom .motion-toggle { padding: 4px 12px; }
.marquee-ctl .motion-toggle { margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }

/* ---------- Constellations that draw themselves on night sections ---------- */
.on-night > .sky-draw { position: absolute; top: 18px; right: 3%; width: min(560px, 62%); height: auto; pointer-events: none; opacity: .85; }
.sky-draw polyline { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.2; stroke-linecap: round; }
.sky-draw circle { fill: #fff; opacity: .85; }
.sky-draw circle.g { fill: var(--sun); filter: drop-shadow(0 0 6px rgba(253,223,107,.9)); }

/* ---------- Gold spotlight that follows the pointer ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(253,223,107,.22), rgba(253,223,107,0) 62%); }
.spot:hover::before { opacity: 1; }

/* ---------- Architecture: data pulses flowing through the tiers ---------- */
.arch-diagram { position: relative; }
.arch-flow { position: absolute; left: 174px; top: 40px; bottom: 100px; width: 2px; background: linear-gradient(to bottom, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent); }
.arch-flow i { position: absolute; left: -4px; top: 0; width: 10px; height: 100%; animation: flow 3.6s cubic-bezier(.45,0,.55,1) infinite; opacity: 0; }
.arch-flow i::before { content: ""; position: absolute; left: 0; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--sun-deep);
  box-shadow: 0 0 0 4px rgba(253,223,107,.25), 0 0 14px var(--sun); }
.arch-flow i:nth-child(2) { animation-delay: 1.2s; } .arch-flow i:nth-child(3) { animation-delay: 2.4s; }
@keyframes flow { 0% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
.tier .t-boxes span { position: relative; }
.tier .t-boxes span::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 3px rgba(253,223,107,.6); opacity: 0; pointer-events: none;
  animation: tierglow 3.6s ease-in-out infinite; animation-delay: calc(var(--t) * .72s); }
@keyframes tierglow { 0%, 40%, 100% { opacity: 0; } 12% { opacity: 1; } }
@media (max-width: 760px) { .arch-flow { display: none; } .tier .t-boxes span::after { animation: none; } }

/* ---------- Industries teaser (home) ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind-tile { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); text-decoration: none; transition: opacity .7s ease, transform .25s, box-shadow .25s; }
.ind-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.ind-tile .cat-icon { margin-bottom: 6px; }
.ind-tile h3 { font-size: 22px; }
.ind-tile p { color: var(--ink-soft); font-size: 16px; margin: 0; flex: 1; }
.chips-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chips-mini span { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--sun-pale); color: var(--ink); }

/* ---------- Industries page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid #86859f; background: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.jump a:hover { border-color: var(--ink); background: var(--sun-pale); }
.industries { display: grid; gap: 28px; padding-bottom: clamp(72px, 10vw, 120px); }
.industry { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.ind-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.ind-head .cat-icon { flex: none; }
.ind-num { font-size: 13px; letter-spacing: .14em; font-weight: 700; color: var(--muted); margin: 0 0 4px; }
.ind-head h2 { font-size: clamp(26px, 3vw, 36px); }
.ind-tag { font-size: 19px; color: var(--ink-soft); margin: 8px 0 0; max-width: 760px; }
.ind-body { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 32px; }
.ind-body h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.ind-see, .ind-build { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 17px; }
.ind-see li { padding-left: 22px; position: relative; }
.ind-see li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-text); font-size: 13px; top: 3px; }
.ind-build li { display: flex; gap: 10px; }
.ind-build li svg { width: 20px; height: 20px; flex: none; color: var(--gold-text); margin-top: 2px; }
.ind-side { background: var(--paper); border-radius: 18px; padding: 22px; }
.ind-side h3 + .pills { margin-bottom: 20px; }
.pills.links a:hover { border-color: var(--ink); background: var(--sun-pale); }
.ind-case { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-top: 4px; padding: 16px 18px; border-radius: 16px; background: var(--night); color: #fff; text-decoration: none; }
.ind-case small { grid-column: 1; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); font-weight: 700; }
.ind-case b { grid-column: 1; font-size: 16px; line-height: 1.3; }
.ind-case span { grid-column: 1; font-size: 14px; color: #c7c6ea; }
.ind-case svg { grid-column: 2; grid-row: 1 / span 3; width: 20px; height: 20px; color: var(--sun); transition: transform .2s; }
.ind-case:hover { color: #fff; } .ind-case:hover svg { transform: translateX(4px); }

/* ---------- Engagement models ---------- */
.eg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eg-grid.detailed { grid-template-columns: repeat(2, 1fr); }
.eg-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.eg-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
.eg-top .cat-icon { flex: none; }
.eg-len { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: var(--sun-pale); }
.eg-card h3 { font-size: 23px; }
.eg-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.eg-card p b { color: var(--ink); }
.eg-bill { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto !important; }
.eg-card .link-arrow { align-self: flex-start; font-size: 15px; }
.eg-how { font-size: 17px !important; }
.eg-gets { list-style: none; padding: 0; margin: 4px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.eg-gets li { display: flex; gap: 8px; font-weight: 700; font-size: 15px; }
.eg-gets li svg { width: 18px; height: 18px; flex: none; color: var(--gold-text); margin-top: 2px; }
.start-band { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: 26px; background: var(--sun-pale); border: 1px solid rgba(244,196,58,.55); }
.start-band p { margin: 8px 0 0; color: var(--ink-soft); }
.start-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 700; }
.start-band li { display: flex; gap: 8px; align-items: center; }
.start-band li svg { width: 20px; height: 20px; color: var(--gold-text); }
.chooser-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.chooser { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.chooser fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.chooser legend { font-weight: 700; font-size: 19px; margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #86859f; cursor: pointer; font-weight: 700; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.opt span:hover { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.chooser-result { border-top: 1px solid var(--line); padding-top: 20px; min-height: 90px; }
.rec { background: var(--sun-pale); border-radius: 18px; padding: 20px 22px; animation: fade .4s ease; }
.rec small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.rec h3 { font-size: 26px; margin: 4px 0 8px; }
.rec p { margin: 0 0 8px; }
.rec .pair { font-weight: 700; }
.rec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 14px; }

/* ---------- Comparison table ---------- */
.compare-title { font-size: 24px; margin: 56px 0 18px; }
.compare-wrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { background: var(--sun); color: var(--ink); }
.compare td.us { background: rgba(253,223,107,.18); font-weight: 700; }
.compare tbody th { font-weight: 700; position: sticky; left: 0; background: var(--card); z-index: 1; }
.compare thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--card); }
.mk { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; }
.mk svg { width: 20px; height: 20px; }
.mk.yes { color: #1f7a4d; } .mk.part { color: #7a5a00; } .mk.no { color: #b3322c; }
.compare-wrap.dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); box-shadow: none; }
.compare-wrap.dark .compare { color: #e6e5f7; }
.compare-wrap.dark th, .compare-wrap.dark td { border-color: rgba(255,255,255,.1); }
.compare-wrap.dark thead th { color: #b9b8e6; }
.compare-wrap.dark thead th.us { background: var(--sun); color: var(--ink); }
.compare-wrap.dark td.us { background: rgba(253,223,107,.1); color: #fff; }
.compare-wrap.dark tbody th { background: #1a1948; color: #fff; }
.compare-wrap.dark thead th:first-child { background: #1a1948; }
.compare-wrap.dark .mk.yes { color: #7fe0b0; } .compare-wrap.dark .mk.part { color: var(--sun); } .compare-wrap.dark .mk.no { color: #ff9a92; }

/* ---------- Security & trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item { padding: 26px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.t-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--sun); margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--sun-pale); }
.t-icon svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 20px; margin-bottom: 8px; }
.trust-item p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- Desktop nav fits six links ---------- */
@media (max-width: 1280px) { .nav a { padding: 10px 11px; font-size: 15px; } }

/* ---------- Responsive for new sections ---------- */
@media (max-width: 1080px) {
  .ind-grid, .trust-grid { grid-template-columns: 1fr 1fr; }
  .eg-grid { grid-template-columns: 1fr 1fr; }
  .ind-body { grid-template-columns: 1fr 1fr; }
  .ind-side { grid-column: 1 / -1; }
  .chooser-layout, .start-band { grid-template-columns: 1fr; }
  .eg-grid.detailed .eg-gets { grid-template-columns: 1fr; }
  .hero-night { min-height: 0; }
}
@media (max-width: 760px) {
  .ind-grid, .trust-grid, .eg-grid, .eg-grid.detailed, .ind-body, .eg-gets { grid-template-columns: 1fr; }
  .ind-head { flex-direction: column; gap: 14px; }
  .on-night > .sky-draw { width: 90%; opacity: .5; }
  .hero-foot .scroll-cue { display: none; }
  .hero-foot { justify-content: flex-end; }
  .orion .node text { font-size: 18px; } .skymap .orion .node text.n { font-size: 15px; }
}

/* ---------- Entrance choreography (only when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-night h1 .line { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero-night h1 .line:nth-child(2) { animation-delay: .15s; } .hero-night h1 .line:nth-child(3) { animation-delay: .3s; }
  .hero-copy > :not(h1) { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: .5s; }
  .hero-copy > .eyebrow { animation-delay: 0s; }
  .hero-copy > .hero-actions { animation-delay: .65s; } .hero-copy > .hero-trust { animation-delay: .8s; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  .orion .oline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawline 1s cubic-bezier(.6,.1,.3,1) forwards; animation-delay: calc(.5s + var(--i) * .11s); }
  @keyframes drawline { to { stroke-dashoffset: 0; } }
  .orion .mstar { animation: starin .6s cubic-bezier(.2,.7,.2,1.4) both, twinkle 3.4s ease-in-out infinite; animation-delay: calc(.3s + var(--i) * .1s), calc(1.6s + var(--i) * .37s); }
  @keyframes starin { from { transform: scale(0); } to { transform: scale(1); } }
  .orion .node { animation: nodein .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: 1.3s; }
  .orion .node:nth-of-type(2) { animation-delay: 1.45s; } .orion .node:nth-of-type(3) { animation-delay: 1.6s; }
  .orion .node:nth-of-type(4) { animation-delay: 1.75s; } .orion .node:nth-of-type(5) { animation-delay: 1.9s; }
  @keyframes nodein { from { opacity: 0; } to { opacity: 1; } }

  :root:not(.no-js) .sky-draw polyline { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.6,.1,.3,1) .2s; }
  :root:not(.no-js) .sky-draw circle { opacity: 0; transition: opacity .6s ease; transition-delay: calc(.3s + var(--i) * .3s); }
  :root:not(.no-js) .sky-draw.in polyline { stroke-dashoffset: 0; }
  :root:not(.no-js) .sky-draw.in circle { opacity: .85; }

  .journey .jbar i { transform-origin: left; transition: transform 1.8s cubic-bezier(.2,.7,.2,1) .35s; }
  :root:not(.no-js) .journey:not(.in) .jbar i { transform: scaleX(0); }
  .journey .jbar.partner i { transition-delay: .6s; }

  .g-track i { transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), background .2s; }
  :root:not(.no-js) .reveal:not(.in) .g-track i { transform: scaleX(0); }
  .g-row:nth-of-type(2) .g-track i { transition-delay: .15s, 0s; } .g-row:nth-of-type(3) .g-track i { transition-delay: .3s, 0s; }
  .g-row:nth-of-type(4) .g-track i { transition-delay: .45s, 0s; } .g-row:nth-of-type(5) .g-track i { transition-delay: .6s, 0s; }

  .cta-band .glow { transition: transform 2.4s cubic-bezier(.2,.7,.2,1); animation: breathe 7s ease-in-out infinite; }
  :root:not(.no-js) .cta-band:not(.in) .glow { transform: translateY(45%); }
  @keyframes breathe { 50% { opacity: .75; scale: 1.06; } }

  .orion-deco .l { opacity: 0; animation: lineIn .6s ease forwards; animation-delay: calc(.2s + var(--i) * .08s); }
  @keyframes lineIn { to { opacity: .5; } }
  .orion-deco .s { transform-box: fill-box; transform-origin: center; animation: starin .5s cubic-bezier(.2,.7,.2,1.4) both; animation-delay: calc(.1s + var(--i) * .07s); }
  .orion-deco .s.big { animation: starin .5s cubic-bezier(.2,.7,.2,1.4) both, twinkle 3s ease-in-out infinite; animation-delay: calc(.1s + var(--i) * .07s), 1.5s; }

  /* Staggered reveals inside grids */
  .cat-grid > .reveal:nth-child(2), .ind-grid > .reveal:nth-child(2), .trust-grid > .reveal:nth-child(2), .eg-grid > .reveal:nth-child(2), .commit-grid > .reveal:nth-child(2) { transition-delay: .08s; }
  .cat-grid > .reveal:nth-child(3), .ind-grid > .reveal:nth-child(3), .trust-grid > .reveal:nth-child(3), .eg-grid > .reveal:nth-child(3), .commit-grid > .reveal:nth-child(3) { transition-delay: .16s; }
  .cat-grid > .reveal:nth-child(4), .ind-grid > .reveal:nth-child(4), .trust-grid > .reveal:nth-child(4), .eg-grid > .reveal:nth-child(4), .commit-grid > .reveal:nth-child(4) { transition-delay: .24s; }
  .cat-grid > .reveal:nth-child(5), .ind-grid > .reveal:nth-child(5), .trust-grid > .reveal:nth-child(5) { transition-delay: .32s; }
  .ind-grid > .reveal:nth-child(6), .trust-grid > .reveal:nth-child(6) { transition-delay: .4s; }

  /* Cross-page fade (supporting browsers) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .22s ease both vt-out; }
  ::view-transition-new(root) { animation: .38s cubic-bezier(.2,.7,.2,1) both vt-in; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
}
.site-header { view-transition-name: site-header; }

/* ---------- Pause switch: freeze every loop ---------- */
:is(.motion-paused, .no-js) :is(.marquee-track, .orion .node circle.halo, .hero-night .gold, .arch-flow i, .scroll-cue i, .cta-band .glow) { animation-play-state: paused; }
:is(.motion-paused, .no-js) .tier .t-boxes span::after, :is(.motion-paused, .no-js) .skymap-top .live::before { animation-play-state: paused; }
:is(.motion-paused, .no-js) :is(.orion .mstar, .orion-deco .s.big) { animation-play-state: running, paused; }
@media (prefers-reduced-motion: reduce) { .orion .mstar, .orion-deco .s.big { animation: none; } }

@media (forced-colors: active) { .opt input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; } }
