/* ================================================================
   OMNIAGENT  —  Page Components v2  |  Cinematic Enterprise
   ================================================================ */

/* ── Hero ─────────────────────────────────────────────────────── */
.c-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle grid behind hero */
.c-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(240,240,234,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,240,234,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 110% 80% at 50% 0%, rgba(0,0,0,0.7) 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 110% 80% at 50% 0%, rgba(0,0,0,0.7) 0%, transparent 80%);
  animation: c-grid-breathe 8s ease-in-out infinite;
}
@keyframes c-grid-breathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .c-hero__bg { animation: none; }
}

/* ══════════════════════════════════════════════════
   PAGE-LEVEL DECORATIONS (inner pages)
══════════════════════════════════════════════════ */
.pg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Services: integration node-network ──────────────── */
.pg-nodes {
  position: absolute;
  right: clamp(1.5rem, 6vw, 5rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 42vw, 440px);
  height: auto;
  opacity: 0.72;
}

/* ── Capabilities: radar ─────────────────────────────── */
.pg-radar {
  position: absolute;
  right: clamp(-3rem, -1vw, 0rem);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 40vw, 420px);
  height: auto;
  opacity: 0.62;
}

/* ── About: gradient orbs ──────────────────────────── */
.pg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
}
.pg-orb--1 {
  width: clamp(200px, 30vw, 400px);
  height: clamp(160px, 22vw, 300px);
  background: radial-gradient(circle, rgba(93,115,255,0.5) 0%, transparent 70%);
  right: 6%; top: -25%;
  opacity: 0.2;
  animation: pg-orb-drift 14s ease-in-out infinite;
}
.pg-orb--2 {
  width: clamp(160px, 24vw, 320px);
  height: clamp(160px, 24vw, 320px);
  background: radial-gradient(circle, rgba(74,222,128,0.5) 0%, transparent 70%);
  right: 26%; top: 10%;
  opacity: 0.13;
  animation: pg-orb-drift 18s ease-in-out infinite reverse;
  animation-delay: -6s;
}
.pg-orb--3 {
  width: clamp(180px, 28vw, 360px);
  height: clamp(140px, 20vw, 280px);
  background: radial-gradient(circle, rgba(130,80,255,0.45) 0%, transparent 70%);
  right: 3%; bottom: -15%;
  opacity: 0.16;
  animation: pg-orb-drift 20s ease-in-out infinite;
  animation-delay: -11s;
}
@keyframes pg-orb-drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(-16px, 10px); }
  66%       { transform: translate(12px, -7px); }
}

/* ── Contact: ECG signal ───────────────────────────── */
.pg-signal {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 50vw, 560px);
  height: auto;
  opacity: 0.5;
}

/* ── 404: glitch fragments ─────────────────────────── */
.pg-frag {
  position: absolute;
  height: 2px;
  background: rgba(93,115,255,0.25);
  opacity: 0;
}
.pg-frag--a { width: 88px;  top: 20%; right: 18%; animation: pg-frag-flick 4.1s steps(1) infinite 0.2s; }
.pg-frag--b { width: 52px;  top: 38%; right: 30%; animation: pg-frag-flick 3.7s steps(1) infinite 1.1s; }
.pg-frag--c { width: 130px; top: 54%; right: 11%; animation: pg-frag-flick 5.0s steps(1) infinite 0.6s; }
.pg-frag--d { width: 44px;  top: 68%; right: 36%; animation: pg-frag-flick 3.2s steps(1) infinite 2.0s; }
.pg-frag--e { width: 76px;  top: 29%; right: 7%;  animation: pg-frag-flick 4.8s steps(1) infinite 0.9s; background: rgba(74,222,128,0.2); }
.pg-frag--f { width: 100px; top: 47%; right: 22%; animation: pg-frag-flick 3.9s steps(1) infinite 1.5s; }
@keyframes pg-frag-flick {
  0%, 87%, 100% { opacity: 0;   transform: none; }
  88%           { opacity: 1;   transform: translateX(-7px); }
  89%           { opacity: 0.5; transform: translateX(6px); }
  90%, 93%      { opacity: 1;   transform: none; }
  91%           { opacity: 0.3; transform: translateX(-3px); }
  92%           { opacity: 0; }
  94%           { opacity: 0.8; transform: translateX(2px); }
}
@media (max-width: 900px) {
  .pg-nodes, .pg-radar, .pg-signal { display: none; }
  .pg-orb { opacity: 0.08; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-orb { animation: none; }
  .pg-frag { display: none; }
}

/* Bottom vignette */
.c-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--black), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ── Particle stream canvas ──────────────────────────────────── */
.c-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
}
@media (max-width: 900px) { .c-particles { display: none; } }
@media (prefers-reduced-motion: reduce) { .c-particles { display: none; } }

/* ── Hero globe ───────────────────────────────────────────────── */
.c-hero__globe {
  position: absolute;
  right: clamp(-160px, -8vw, -40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(400px, 58vw, 600px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
body.page-ready .c-hero__globe {
  animation: c-globe-in 2s var(--ease-expo) 300ms both;
}
@keyframes c-globe-in {
  from { opacity: 0; transform: translateY(-50%) scale(0.88); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}
.c-globe-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Spinning meridians */
.c-globe-mer {
  animation: globe-spin 50s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes globe-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .c-globe-mer { animation: none; }
}

.c-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-inline: var(--pad);
  padding-top: clamp(4rem, 12vw, 140px);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Scramble: suppress CSS line-up animation when JS scramble runs */
.c-hero__title[data-scramble] .c-line-wrap > span {
  animation: none !important;
}

.c-hero__label { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.c-hero__label .c-eyebrow {
  opacity: 0;
  animation: none;
}
body.page-ready .c-hero__label .c-eyebrow {
  animation: c-line-up 0.9s var(--ease-expo) 0ms both;
}

.c-hero__title {
  font-size: clamp(2rem, 7vw, 9rem);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.9;
  margin: 0 0 clamp(1.5rem, 3vw, 3rem);
  color: var(--white);
}

/* Third line is dimmed */
.c-hero__title .c-line-wrap:nth-child(3) > span {
  color: rgba(240,240,234,0.22);
}

.c-hero__footer {
  display: flex;
  align-items: flex-end;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}

.c-hero__sub {
  font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 48ch;
  --delay: 600ms;
}

.c-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
  --delay: 800ms;
}

/* Animated scroll indicator */
.c-hero__scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(60px, 9vh, 90px);
  overflow: hidden;
  z-index: 3;
  opacity: 0;
  transition: opacity 400ms;
  pointer-events: none;
}
body.page-ready .c-hero__scroll {
  animation: c-scroll-appear 0.6s var(--ease-expo) 1.4s both;
}
@keyframes c-scroll-appear { from { opacity: 0; } to { opacity: 1; } }

.c-hero__scroll-line {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(240,240,234,0.55), transparent);
  animation: c-scroll-drop 2.4s var(--ease-out) 1.8s infinite;
}
@keyframes c-scroll-drop {
  0%   { top: -100%; opacity: 1; }
  90%  { top: 200%; opacity: 1; }
  100% { top: 200%; opacity: 0; }
}

/* ── Hero canvas (floating node network) ─────────────────────── */
.c-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: c-hero-canvas-fade 3s ease 0.8s both;
}
@keyframes c-hero-canvas-fade { to { opacity: 1; } }

/* ── Hero terminal widget ─────────────────────────────────────── */
.c-terminal {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3.5rem);
  bottom: clamp(5.5rem, 12vh, 8rem);
  width: clamp(260px, 25vw, 370px);
  background: rgba(13,13,18,0.9);
  border: 1px solid var(--line-mid);
  border-radius: 12px;
  overflow: hidden;
  z-index: 5;
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  opacity: 0;
}
body.page-ready .c-terminal {
  animation: c-terminal-appear 0.8s var(--ease-expo) 1.2s both;
}
@keyframes c-terminal-appear {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.c-terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.875rem;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--line);
}
.c-terminal__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.c-terminal__dot:nth-child(1) { background: rgba(255,95,87,0.8); }
.c-terminal__dot:nth-child(2) { background: rgba(255,189,46,0.8); }
.c-terminal__dot:nth-child(3) { background: rgba(40,200,64,0.8); }
.c-terminal__label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.c-terminal__body {
  padding: 0.75rem;
  list-style: none;
  min-height: 162px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.1rem;
  overflow: hidden;
}
.c-terminal__row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  animation: c-term-in 260ms var(--ease-expo) both;
}
@keyframes c-term-in {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}
.c-terminal__ic {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  flex-shrink: 0;
  width: 10px;
}
.c-terminal__ic--ok      { color: #4ade80; }
.c-terminal__ic--pending { color: var(--accent); }
.c-terminal__lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(240,240,234,0.4);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c-terminal__val {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.c-terminal__val--ok      { color: rgba(240,240,234,0.82); }
.c-terminal__val--pending { color: rgba(93,115,255,0.92); }
.c-terminal__cursor {
  display: inline-block;
  width: 6px; height: 0.75em;
  background: var(--accent);
  border-radius: 1px;
  margin-left: 3px;
  animation: c-blink 1.1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes c-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
@media (max-width: 1100px) { .c-terminal { display: none; } }

/* ── CTA availability badge ───────────────────────────────────── */
.c-avail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.c-avail__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: c-avail-pulse 2.4s ease-in-out infinite;
}
@keyframes c-avail-pulse {
  0%,100% { box-shadow: 0 0 4px rgba(74,222,128,0.35); }
  50%     { box-shadow: 0 0 14px rgba(74,222,128,0.8); }
}

/* ── Process step numbers glow on scroll-reveal ─────────────────*/
.c-step.c-reveal.is-visible .c-step__n {
  color: rgba(93,115,255,0.22);
  text-shadow: 0 0 80px rgba(93,115,255,0.28);
  transition: color 1s var(--ease-expo) 0.25s, text-shadow 1s var(--ease-expo) 0.25s;
}

/* ── Hero integration dashboard ──────────────────────────────── */
.c-hero__viz {
  padding-bottom: 0.25rem;
  opacity: 0;
  align-self: center;
}
body.page-ready .c-hero__viz {
  animation: c-fade-up 0.9s var(--ease-expo) 650ms both;
}
.c-hviz {
  background: rgba(13,13,18,0.9);
  border: 1px solid var(--line-mid);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.045),
    0 0 0 1px rgba(93,115,255,0.07);
}
.c-hviz__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.c-hviz__live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ade80;
  font-weight: 500;
}
.c-hviz__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: c-avail-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.c-hviz__title {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
}
.c-hviz__feed {
  list-style: none;
  padding: 0.5rem 0;
  min-height: 216px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.c-hviz__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 1.25rem;
  animation: c-term-in 260ms var(--ease-expo) both;
}
.c-hviz__row--ok  .c-hviz__ic { color: #4ade80; }
.c-hviz__row--run .c-hviz__ic { color: var(--accent); }
.c-hviz__ic {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  flex-shrink: 0;
  width: 12px;
}
.c-hviz__lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(240,240,234,0.48);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c-hviz__val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.c-hviz__row--ok  .c-hviz__val { color: rgba(240,240,234,0.85); }
.c-hviz__row--run .c-hviz__val { color: rgba(93,115,255,0.95); }
.c-hviz__metrics {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.c-hviz__metric { flex: 1; text-align: center; }
.c-hviz__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.c-hviz__metric span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.c-hviz__sep {
  width: 1px;
  height: 28px;
  background: var(--line);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .c-hero__content { grid-template-columns: 1fr; }
  .c-hero__viz     { display: none; }
}

.c-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 4;
  background: rgba(13,13,18,0.7);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.c-hero__stat {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
  border-right: 1px solid var(--line);
}
.c-hero__stat:last-child { border-right: 0; }
.c-hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.c-hero__stat span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Ticker ───────────────────────────────────────────────────── */
.c-ticker {
  overflow: hidden;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.c-ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: c-ticker 38s linear infinite;
  align-items: center;
  white-space: nowrap;
}
.c-ticker__track span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.c-ticker__track span[aria-hidden="true"] { color: var(--line-mid); }
@keyframes c-ticker { to { transform: translateX(-50%); } }

/* ── Section head ─────────────────────────────────────────────── */
.c-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.c-section-head h2 {
  font-size: clamp(2.5rem, 6.5vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.056em;
  line-height: 0.9;
  color: var(--white);
}

/* ── Orbit (scroll-driven 2-D carousel) ─────────────────────── */
.c-orbit {
  height: 500vh;
  position: relative;
  border-bottom: 1px solid var(--line);
}
/* sticky viewport — cards absolutely positioned inside, NO overflow:hidden
   (overflow:hidden on a preserve-3d ancestor kills 3D; for 2D this just
   creates an unnecessary clip. Keep it visible so side cards show.) */
.c-orbit__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black); /* explicit bg so page below never shows through */
  isolation: isolate;       /* own stacking context — cards z-index is self-contained */
}
.c-orbit__hd {
  position: absolute;
  top: clamp(5.5rem, 10vh, 7.5rem);
  left: var(--pad);
  z-index: 10;
  pointer-events: none;
}
.c-orbit__hd .c-eyebrow { margin-bottom: 0.5rem; }
.c-orbit__hd h2 {
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
}
/* Scene fills the sticky viewport; no perspective needed for 2-D approach */
.c-orbit__scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
/* Ring is a zero-size anchor at scene center; cards overflow it */
.c-orbit__ring {
  position: relative;
  width: 0;
  height: 0;
  overflow: visible;
}
/* Cards: position relative to ring center.
   JS sets:  translateX(calc(Xpx - 50%)) translateY(-50%) scale(S)
   where 50% == half the card's own width/height, centering the card. */
.c-orbit__card {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(320px, 36vw, 520px);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(2rem, 3.5vw, 3.25rem);
  will-change: transform, opacity;
  transition: border-color 450ms, box-shadow 450ms;
}
.c-orbit__card.is-active {
  border-color: rgba(93,115,255,0.4);
  box-shadow:
    0 0 0 1px rgba(93,115,255,0.15),
    0 0 70px rgba(93,115,255,0.14);
}
.c-orbit__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.c-orbit__card h3 {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.c-orbit__card p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.c-orbit__card-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.875rem;
}
.c-orbit__card-ft span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,240,234,0.22);
}
.c-orbit__card-ft a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(240,240,234,0.48);
  transition: color 200ms;
}
.c-orbit__card-ft a:hover { color: var(--white); }
.c-orbit__pips {
  position: absolute;
  bottom: clamp(1.75rem, 3.5vh, 2.75rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.c-orbit__pips button {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240,240,234,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 300ms, width 300ms;
}
.c-orbit__pips button.is-active {
  width: 20px;
  border-radius: 3px;
  background: var(--white);
}

/* ── Services ─────────────────────────────────────────────────── */
.c-services {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}
/* Full-bleed: remove max-width from inner wrappers */
.c-services .wrap,
.c-process .wrap,
.c-proof .wrap,
.c-cta .wrap {
  max-width: none;
}
.c-svc {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: center;
  gap: 3rem;
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  transition: background 300ms;
  position: relative;
  cursor: default;
}
.c-svc:last-child { border-bottom: 1px solid var(--line); }
.c-svc:hover { background: rgba(255,255,255,0.016); }

/* Left accent line on hover */
.c-svc::before {
  content: '';
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 380ms var(--ease-expo);
}
.c-svc:hover::before { transform: scaleY(1); }

.c-svc__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(240,240,234,0.18);
  padding-top: 0.35rem;
}
.c-svc__title {
  font-size: clamp(1.35rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.c-svc__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}
.c-svc__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 130px;
  padding-top: 0.25rem;
  flex-shrink: 0;
}
.c-svc__meta span {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,240,234,0.22);
}
.c-svc__meta a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(240,240,234,0.5);
  transition: color 200ms;
}
.c-svc__meta a:hover { color: var(--white); }

/* ── Process ──────────────────────────────────────────────────── */
.c-process {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.c-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.c-step {
  padding: 2.5rem clamp(1.5rem, 2.5vw, 2.5rem) 2.5rem 0;
  border-right: 1px solid var(--line);
}
.c-step:last-child { border-right: 0; padding-right: 0; }
.c-step__n {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  color: rgba(240,240,234,0.06);
  line-height: 1;
  margin-bottom: 1.75rem;
  letter-spacing: -0.04em;
}
.c-step h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.65rem;
}
.c-step p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Proof ────────────────────────────────────────────────────── */
.c-proof {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}
.c-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.c-proof__item {
  background: var(--black);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background 250ms;
}
.c-proof__item:hover { background: var(--surface); }
.c-proof__item--wide { grid-column: span 2; }
.c-proof__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.c-proof__stat {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.85rem;
}
.c-proof__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ── CTA ──────────────────────────────────────────────────────── */
.c-cta {
  padding-block: clamp(6rem, 14vw, 12rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.c-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(93,115,255,0.065) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.c-cta__inner { position: relative; z-index: 1; }
.c-cta__title {
  font-size: clamp(2rem, 6vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.058em;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.c-cta__sub {
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.c-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Nav override (dark neutral) ──────────────────────────────── */
.nav {
  /* Always-on subtle glass — visible even before scroll */
  background: rgba(6,6,9,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav.is-scrolled {
  background: rgba(6,6,9,0.9);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border-bottom-color: var(--line);
}
/* Tight padding so logo sits at the screen edge */
.nav .nav__inner {
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .c-proof__grid { grid-template-columns: 1fr 1fr; }
  .c-proof__item--wide { grid-column: span 2; }
  .c-process__steps { grid-template-columns: 1fr 1fr; }
  .c-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .c-step:nth-child(odd) { border-right: 1px solid var(--line); padding-right: clamp(1.5rem,2.5vw,2.5rem); }
  .c-step:nth-last-child(-n+2):nth-child(odd),
  .c-step:nth-last-child(1) { border-bottom: 0; }
}
@media (max-width: 900px) {
  .c-hero__stats { grid-template-columns: 1fr 1fr; }
  .c-hero__stat:nth-child(2) { border-right: 0; }
  .c-svc { grid-template-columns: 3rem 1fr; }
  .c-svc__meta { display: none; }
  .c-hero__footer { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  /* Globe: smaller and more transparent on tablet */
  .c-hero__globe { width: clamp(260px, 46vw, 400px); opacity: 0.45; }
  /* Orbit: horizontal swipe tray (tablet + mobile) */
  .c-orbit { height: auto; }
  .c-orbit__sticky {
    position: static;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4rem 0 3rem;
    gap: 0;
  }
  .c-orbit__hd {
    position: static;
    top: auto;
    left: auto;
    pointer-events: auto;
    margin-bottom: 2.5rem;
    padding-inline: var(--pad);
  }
  .c-orbit__scene {
    height: auto;
    width: 100%;
    display: block;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding-left: var(--pad);
  }
  .c-orbit__scene::-webkit-scrollbar { display: none; }
  .c-orbit__ring {
    position: static;
    display: flex;
    flex-direction: row;
    width: max-content;
    height: auto;
    gap: 1rem;
    padding: 0.25rem var(--pad) 1.25rem;
  }
  /* Card: leaves ~3rem of next card peeking on the right */
  .c-orbit__card {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 calc(100vw - 2 * var(--pad) - 3rem);
    width: calc(100vw - 2 * var(--pad) - 3rem);
    border-radius: 1.25rem;
    scroll-snap-align: start;
    will-change: auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: auto !important;
    transition: border-color 450ms, box-shadow 450ms;
  }
  .c-orbit__pips {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    justify-content: center;
    margin-top: 0;
    padding-block: 1rem;
  }
}
@media (max-width: 640px) {
  /* ─ Orbit: phone overrides (inherits tray layout from 900px) ─ */
  .c-orbit__hd { margin-bottom: 2rem; }
  /* Slightly narrower on phones — shows ~2.5rem peek of next card */
  .c-orbit__card {
    flex: 0 0 calc(100vw - 2 * var(--pad) - 2.5rem);
    width: calc(100vw - 2 * var(--pad) - 2.5rem);
    border-radius: 1rem;
  }
  .c-hero { min-height: auto; }
  .c-svc { grid-template-columns: 1fr; gap: 0.6rem; }
  .c-svc__num { padding-top: 0; }
  .c-process__steps { grid-template-columns: 1fr; }
  .c-step { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .c-step:nth-child(odd) { border-right: 0; }
  .c-step:last-child { border-bottom: 0; }
  .c-proof__grid { grid-template-columns: 1fr; }
  .c-proof__item--wide { grid-column: span 1; }
}
@media (max-width: 420px) {
  .c-hero__stats { grid-template-columns: 1fr; }
  .c-hero__stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .c-hero__stat:last-child { border-bottom: 0; }
}
