/* ========================================================
   CADRIS: design tokens
   ======================================================== */
:root {
  --bg: #0A0A0A;
  --bg-1: #101010;
  --bg-2: #141414;
  --accent: #C6E11A;
  --accent-hi: #D4E120;
  --accent-rgb: 198, 225, 26;
  --cream: #F2EFE6;
  --grey: #A8A6A0;        /* body copy on cards, minimum contrast */
  --grey-2: #B8B5AC;      /* hero sub */
  --grey-dim: #5A5A54;    /* unrevealed thesis words */
  --line: rgba(255, 255, 255, 0.10);
  --line-hi: rgba(198, 225, 26, 0.45);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --cut: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* type scale */
  --t-display: clamp(44px, 6.4vw, 88px);
  --t-h2: clamp(34px, 4.4vw, 58px);
  --t-h3: clamp(26px, 2.8vw, 38px);
  --t-mid: clamp(21px, 1.7vw, 24px);   /* intermediate: card titles, sub-headlines */
  --t-body: 15px;
  /* rhythm */
  --sec-pad: clamp(72px, 7.5vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--grey);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--cream); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.12; }
h4, .t-mid { font-size: var(--t-mid); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
.accent { color: var(--accent); }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
section { position: relative; padding: var(--sec-pad) 0; }
main { position: relative; z-index: 1; }
.footer { position: relative; z-index: 1; }

.label {
  display: inline-block;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.lede { font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; line-height: 1.6; max-width: 640px; color: var(--grey-2); }
.section-head { position: relative; margin-bottom: clamp(36px, 4.5vw, 60px); max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin: 18px auto 0; }
.section-head h2 + .lede { margin-top: 18px; }
/* localized glow behind every section headline */
.section-head::before {
  content: ""; position: absolute; left: -10%; top: -40%; width: 70%; height: 180%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), 0.05), transparent 65%);
  filter: blur(6px);
}
.section-head--center::before { left: 15%; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn--solid { background: var(--accent); color: #0A0A0A; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
.btn--solid:hover { background: var(--accent-hi); transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(var(--accent-rgb), 0.55); }
.btn--ghost { color: var(--cream); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.02); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--full { width: 100%; }

/* ========================================================
   AMBIENT LAYER (fixed, runs the whole page)
   ======================================================== */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient__grid {
  position: absolute; left: -20%; right: -20%; top: 35%; bottom: -10%;
  background-image: linear-gradient(rgba(var(--accent-rgb), 0.9) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), 0.9) 1px, transparent 1px);
  background-size: 90px 90px;
  transform: perspective(900px) rotateX(62deg);
  transform-origin: 50% 0;
  opacity: 0.05;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}
.ambient__glow { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(60px); opacity: .5; }
.ambient__glow--a { left: -20vw; top: -15vw; background: radial-gradient(circle, rgba(var(--accent-rgb), .06), transparent 62%); }
.ambient__glow--b { right: -25vw; bottom: -20vw; background: radial-gradient(circle, rgba(var(--accent-rgb), .05), transparent 62%); }
#ambient-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

/* ---------- Per-section ambient field: sits BEHIND the glass surfaces so backdrop-blur has depth to work on ---------- */
.outcomes, .deep, .gov, .measure, .contact, .thesis { isolation: isolate; }
.outcomes > .container, .deep > .container, .gov > .container, .measure > .container, .contact > .container, .thesis > .container { position: relative; z-index: 1; }
.sfield { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
/* faint wireframe grid with a soft mask */
.sfield::before { content: ""; position: absolute; inset: -10% 0;
  background-image:
    radial-gradient(ellipse 40% 50% at 18% 30%, rgba(var(--accent-rgb), .09), transparent 70%),
    radial-gradient(ellipse 36% 46% at 82% 72%, rgba(var(--accent-rgb), .07), transparent 70%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 20%, transparent 95%); mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, #000 20%, transparent 95%); }
/* light streaks + scattered particles */
.sfield::after { content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(112deg, transparent 46%, rgba(var(--accent-rgb), .12) 50%, transparent 54%),
    linear-gradient(112deg, transparent 47.5%, rgba(255,255,255,.07) 50%, transparent 52.5%),
    radial-gradient(circle, rgba(var(--accent-rgb), .55) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(242,239,230,.35) 0 1px, transparent 1.6px);
  background-size: 900px 100%, 1300px 100%, 210px 170px, 340px 260px;
  background-position: 18% 0, 70% 0, 30px 40px, 120px 90px;
  opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 30%, transparent 100%); }
.sfield--flip::after { background-position: 78% 0, 25% 0, 90px 20px, 40px 140px; }
.sfield--soft::before { background-size: 100% 100%, 100% 100%, 90px 90px, 90px 90px; }

/* ---------- Section dividers with travelling highlight ---------- */
.divider { position: relative; z-index: 1; height: 1px; width: min(var(--container), 100% - var(--gutter) * 2); margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent); overflow: visible; }
.divider::after { content: ""; position: absolute; top: -1px; left: 0; width: 18%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .9), transparent); filter: blur(1px); box-shadow: 0 0 18px 2px rgba(var(--accent-rgb), .35); animation: travel 7s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes travel { 0% { left: -18%; opacity: 0 } 10% { opacity: 1 } 90% { opacity: 1 } 100% { left: 100%; opacity: 0 } }

/* ---------- Glass panels ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: #121212; /* solid fallback */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 18%),
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02) 55%, rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.02),
    inset 0 0 48px rgba(var(--accent-rgb), 0.035);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), background .4s;
}
/* light sweep from the top-left corner */
.glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 22%, transparent 48%);
}
/* cursor-following glow: painted only while hovered (no hidden default state) */
.glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.glass:hover::before { background: radial-gradient(600px 240px at var(--mx, 50%) var(--my, 0%), rgba(var(--accent-rgb), 0.12), transparent 60%); }
.glass:hover { border-color: var(--line-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 0 48px rgba(var(--accent-rgb), 0.05), 0 30px 60px -30px rgba(0,0,0,0.8), 0 0 40px -10px rgba(var(--accent-rgb), 0.25); }

/* ========================================================
   NAV
   ======================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.brand .hex { width: 34px; height: 34px; color: var(--accent); }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.32em; color: var(--cream); }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 500; color: rgba(242,239,230,0.78); position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--accent); transition: right .4s var(--ease); }
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { right: 0; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.burger span { display: block; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; transform-origin: center; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,10,10,0.96);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 120px var(--gutter) 60px;
  display: none;
}
.menu.open { display: flex; animation: menuIn .45s var(--ease); }
@keyframes menuIn { from { opacity: 0 } }
.menu__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); opacity: .5; }
.menu__links { position: relative; display: flex; flex-direction: column; gap: 6px; }
.menu__links a { display: flex; align-items: baseline; gap: 18px; font-family: var(--font-display); font-size: clamp(38px, 10vw, 60px); font-weight: 600; color: var(--cream); }
.menu.open .menu__links a { animation: menuLink .6s var(--ease) both; }
@keyframes menuLink { from { transform: translateY(24px); opacity: 0 } }
.menu.open .menu__links a:nth-child(2) { animation-delay: .06s } .menu.open .menu__links a:nth-child(3) { animation-delay: .12s } .menu.open .menu__links a:nth-child(4) { animation-delay: .18s } .menu.open .menu__links a:nth-child(5) { animation-delay: .24s }
.menu__links small { font-family: var(--font-body); font-size: 12px; color: var(--accent); letter-spacing: .2em; }
.menu__cta { position: relative; margin-top: 40px; }

/* ========================================================
   HERO
   ======================================================== */
/* height is clamped so a very tall viewport (full-page capture) cannot stretch the hero into a void */
.hero { min-height: clamp(640px, 100svh, 900px); display: flex; align-items: center; padding: 112px 0 96px; overflow: hidden; background: var(--bg); }
/* gradient falloff bridging the wave into the thesis instead of a hard stop */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(10,10,10,.6) 60%, var(--bg)); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* ambient depth above the wave: wireframe geometry + glow behind the type */
.hero__geo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.hero__geo line, .hero__geo polygon, .hero__geo circle { fill: none; stroke: rgba(var(--accent-rgb), .21); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__geo .geo-fill { fill: rgba(var(--accent-rgb), .03); stroke: rgba(var(--accent-rgb), .14); }
.hero__geo .geo-dot { fill: var(--accent); stroke: none; }
.hero__geo .geo-orbit { stroke: rgba(255,255,255,.07); stroke-dasharray: 3 8; }
.hero__geo .geo-spin { animation: spin 90s linear infinite; } /* transform-origin set inline in user space */
.hero__geo .geo-spin--rev { animation-direction: reverse; animation-duration: 140s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__glow { position: absolute; left: -10%; top: -20%; width: 70%; height: 90%; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 40% 40%, rgba(var(--accent-rgb), .10), rgba(var(--accent-rgb), .03) 40%, transparent 68%); filter: blur(30px); }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, transparent 0%, rgba(10,10,10,0.25) 60%, rgba(10,10,10,0.75) 100%),
              linear-gradient(to bottom, rgba(10,10,10,0.25), transparent 25%, transparent 72%, var(--bg) 100%); }
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 980px; }
/* every element is visible by default; GSAP animates FROM hidden states at runtime, never the stylesheet */
.hero__title { font-size: var(--t-display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; max-width: 14ch; word-spacing: normal; }
/* inline-block words separated by the single space in the markup; no extra margin, so spacing stays even */
.hero__title .w { display: inline-block; will-change: transform, opacity; }
.hero__sub { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 300; line-height: 1.55; color: var(--grey-2); }
.hero__ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-cue__line { width: 1px; height: 54px; background: linear-gradient(to bottom, rgba(var(--accent-rgb), .25), var(--accent)); position: relative; overflow: hidden; box-shadow: 0 0 10px rgba(var(--accent-rgb), .5); }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, var(--cream)); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.scroll-cue__text { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ========================================================
   THESIS
   ======================================================== */
.thesis { padding: clamp(48px, 5vw, 80px) 0 clamp(48px, 5vw, 72px); margin-top: -60px; }
.thesis .container { position: relative; }
.thesis .container::before { content: ""; position: absolute; left: -8%; top: -30%; width: 60%; height: 160%; background: radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), .05), transparent 65%); filter: blur(10px); pointer-events: none; }
.thesis__text { position: relative; font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 64px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; max-width: 1100px; color: var(--cream); }
.thesis__text .tw { display: inline-block; color: var(--cream); }
.thesis__text .tw.hi { color: var(--accent); }

/* ========================================================
   CARDS (generic + phases)
   ======================================================== */
.cards { display: grid; gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 34px 30px 32px; will-change: transform; }
.card:hover { transform: translateY(-8px); }
.card .icon { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .35)); }
.card h3 { font-size: var(--t-mid); margin-bottom: 12px; line-height: 1.2; }
.card p { font-size: var(--t-body); line-height: 1.6; color: var(--grey); }
.card--phase .num { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 22px; letter-spacing: -0.03em; }
.card--phase .phase-track { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.card--phase .phase-track i { position: absolute; inset: 0; width: var(--fill, 0%); background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), .3)); box-shadow: 0 0 10px var(--accent); transition: width 1.4s var(--ease); }

/* ========================================================
   OUTCOMES (editorial asymmetric layout)
   ======================================================== */
.outcomes { padding-top: clamp(40px, 4vw, 64px); }
.oc-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.oc { padding: 30px 30px 28px; display: flex; flex-direction: column; will-change: transform; }
.oc h3 { font-size: var(--t-mid); margin-bottom: 10px; }
.oc p { font-size: var(--t-body); color: var(--grey); line-height: 1.6; max-width: 46ch; }
.oc__viz { margin-top: auto; padding-top: 22px; }
.oc--feature { grid-column: 1 / 8; grid-row: 1 / 4; padding: 40px 40px 36px; --cut: 24px; }
.oc--feature h3 { font-size: clamp(26px, 2.6vw, 34px); max-width: 12ch; }
.oc--feature p { font-size: 16px; max-width: 42ch; }
.oc--feature .oc__viz { padding-top: 40px; }
.oc--a { grid-column: 8 / 13; grid-row: 1; }
.oc--b { grid-column: 8 / 13; grid-row: 2; }
.oc--c { grid-column: 8 / 13; grid-row: 3; }
.oc--a, .oc--b, .oc--c { flex-direction: row; align-items: center; gap: 22px; }
.oc--a .oc__viz, .oc--b .oc__viz, .oc--c .oc__viz { margin: 0 0 0 auto; padding: 0; flex: none; }
.oc:hover { transform: translateY(-6px); }
.oc--feature:hover { transform: translateY(-4px) scale(1.005); }
.oc--a:hover { border-color: rgba(var(--accent-rgb), .55); }
.oc--b:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 1px rgba(var(--accent-rgb), .25), 0 30px 60px -30px rgba(0,0,0,.8); }
.oc--c:hover .oc-bars i { background: var(--accent); }
/* sparkline */
.spark { width: 100%; height: auto; overflow: visible; }
.spark__grid line { stroke: rgba(255,255,255,.06); }
.spark__area { fill: url(#sparkFill); }
.spark__line { fill: none; stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.spark__pt { fill: var(--cream); filter: drop-shadow(0 0 8px var(--accent)); }
.spark__pt-ring { fill: none; stroke: var(--accent); stroke-width: 1; animation: ring 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ring { 0% { transform: scale(.4); opacity: 1 } 100% { transform: scale(2.4); opacity: 0 } }
.spark__stats { display: flex; gap: 36px; margin-top: 22px; }
.spark__stats em, .kpi em { display: block; font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 38px; letter-spacing: -0.03em; color: var(--cream); line-height: 1; white-space: nowrap; }
.spark__stats em + span, .kpi em + span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); display: block; margin-top: 6px; }
.spark__stats em .count, .kpi em .count { display: inline; font-size: inherit; color: inherit; letter-spacing: inherit; text-transform: none; margin: 0; }
.spark__stats em b, .kpi em b { color: var(--accent); font-weight: 600; }
/* radial gauge */
.gauge { width: 92px; height: 92px; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 6; }
.gauge__arc { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 226; stroke-dashoffset: var(--off, 60); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.gauge__val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--cream); letter-spacing: -0.02em; }
.gauge__val small { font-size: 9px; letter-spacing: .14em; color: var(--grey); display: block; text-align: center; margin-top: 2px; }
/* node cluster */
.cluster { width: 118px; height: 88px; overflow: visible; }
.cluster line { stroke: rgba(var(--accent-rgb), .35); stroke-width: 1; stroke-dasharray: 60; stroke-dashoffset: 0; }
.cluster circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.2; filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .5)); transform-box: fill-box; transform-origin: center; animation: nodeBreath 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.cluster circle.core { fill: var(--accent); }
.cluster .cl-pulse { fill: var(--cream); stroke: none; filter: drop-shadow(0 0 6px var(--accent)); offset-path: var(--op); animation: clPulse 3.2s linear infinite; }
@keyframes clPulse { 0% { offset-distance: 0%; opacity: 0 } 15% { opacity: 1 } 85% { opacity: 1 } 100% { offset-distance: 100%; opacity: 0 } }
@keyframes nodeBreath { 50% { transform: scale(1.15) } }
/* mini bar counter */
.oc-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.oc-bars i { width: 9px; height: var(--h, 20%); background: rgba(var(--accent-rgb), .45); border-radius: 2px; transform-origin: bottom; transition: background .3s; }
.oc-bars i:last-child { background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), .6); }
.kpi { text-align: right; }
.kpi em { font-size: 30px; white-space: nowrap; }

/* ========================================================
   ARCHITECTURE HUB (composes within one viewport at 1440)
   ======================================================== */
.arch { padding: clamp(44px, 4.5vw, 64px) 0 clamp(40px, 4vw, 56px); background: linear-gradient(to bottom, transparent, rgba(16,16,16,.6) 40%, transparent); }
.arch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 55% 60% at 50% 55%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 55%, #000, transparent 75%); }
.arch .section-head { margin-bottom: 18px; }
.arch h2 { font-size: clamp(30px, 3.4vw, 46px); }
.arch .lede { font-size: 16px; max-width: 560px; }
.hub { position: relative; width: min(640px, 100%); aspect-ratio: 1; margin: 0 auto; }
/* budget at 1440x900: 72 pad + ~170 head + 540 hub + 64 pad = ~846px, inside one viewport */
.hub__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__orbit { fill: none; stroke: rgba(255,255,255,0.09); stroke-width: 1; stroke-dasharray: 3 9; }
.hub__orbit--inner { stroke: rgba(var(--accent-rgb), 0.14); stroke-dasharray: none; }
.hub__core { fill: #0e0e0e; stroke: var(--accent); stroke-width: 1.2; filter: url(#glow); }
.hub__core-ring { fill: none; stroke: rgba(var(--accent-rgb), 0.3); stroke-width: 1; stroke-dasharray: 2 6; }
.hub__line { fill: none; stroke: rgba(var(--accent-rgb), 0.55); stroke-width: 1.4; filter: drop-shadow(0 0 3px rgba(var(--accent-rgb), 0.35)); }
.hub__pulse { fill: var(--accent); filter: url(#glow); }
.hub__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 160px; text-align: center; pointer-events: none; z-index: 2; }
.hub__center-label { display: block; font-size: 9.5px; letter-spacing: .32em; color: var(--accent); font-weight: 600; }
.hub__center strong { display: block; font-family: var(--font-display); color: var(--cream); font-size: 14px; font-weight: 600; margin: 3px 0 7px; line-height: 1.2; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.tags li { font-size: 8.5px; letter-spacing: .08em; padding: 2px 7px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 999px; color: var(--grey); }
.node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -9px); z-index: 3; display: flex; flex-direction: column; align-items: center; text-align: center; width: 176px; cursor: default; outline: 0; }
.node__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .08), 0 0 20px rgba(var(--accent-rgb), .35); position: relative; transition: transform .5s var(--ease), box-shadow .5s; }
.node__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.node__name { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--cream); background: rgba(10,10,10,.78); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; transition: border-color .4s, color .4s, box-shadow .4s; }
/* node description is a hover/focus/tap tooltip: not rendered at all until requested, so it can never float detached */
.node__desc { display: none; position: absolute; top: calc(100% + 8px); width: 210px; font-size: 13px; line-height: 1.5; color: var(--grey); background: rgba(14,14,14,.94); border: 1px solid var(--line-hi); padding: 11px 13px; border-radius: 10px; pointer-events: none; z-index: 5; animation: tipIn .35s var(--ease); }
@keyframes tipIn { from { opacity: 0 } }
/* tooltips always open AWAY from the hub so they never sit on a connector:
   top node opens upward, side nodes open outward, lower nodes open downward (default) */
.node--up .node__desc { top: auto; bottom: calc(100% + 8px); }
.node--right .node__desc, .node--left .node__desc { top: 50%; transform: translateY(-50%); }
.node--right .node__desc { left: calc(100% + 6px); }
.node--left .node__desc { right: calc(100% + 6px); }
.node:hover .node__dot, .node:focus-visible .node__dot, .node.active .node__dot { transform: scale(1.25); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .12), 0 0 34px rgba(var(--accent-rgb), .6); }
.node:hover .node__name, .node:focus-visible .node__name, .node.active .node__name { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), .5); }
.node:hover .node__desc, .node:focus-visible .node__desc, .node.active .node__desc { display: block; }

/* ========================================================
   DEEP DIVE ROWS
   ======================================================== */
.deep { padding-top: 0; padding-bottom: clamp(40px, 4vw, 60px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding: clamp(56px, 6.5vw, 96px) 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: clamp(40px, 5vw, 72px); }
.row--flip .row__text { order: 2; }
.row h3 { margin-bottom: 26px; max-width: 520px; }
.row__visual { position: relative; }
.row__visual::before { content: ""; position: absolute; left: 10%; top: 10%; width: 80%; height: 80%; background: radial-gradient(ellipse, rgba(var(--accent-rgb), .06), transparent 65%); filter: blur(30px); pointer-events: none; }
.list li { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--cream); font-size: 16px; font-weight: 400; }
.list li::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex: none; box-shadow: 0 0 8px var(--accent); }
.visual { padding: 34px; }
.visual__foot { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-top: 26px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); display: inline-block; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3 } }

.funnel { display: flex; flex-direction: column; gap: 12px; }
.funnel__bar { position: relative; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; width: var(--w); border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,0.03); transform-origin: left; }
.funnel__bar span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.funnel__bar em { font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--cream); font-size: 17px; margin-left: 12px; }
.funnel__bar--hot { border-color: var(--line-hi); background: rgba(var(--accent-rgb), .10); box-shadow: 0 0 30px -8px rgba(var(--accent-rgb), .5); }
.funnel__bar--hot em { color: var(--accent); }

/* Digital Presence: pipeline dashboard mock */
.dash { padding: 22px 24px 20px; }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.dash__title { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); font-weight: 500; }
.dash__tabs { display: flex; gap: 4px; }
.dash__tabs b { font-weight: 500; font-size: 11px; padding: 4px 9px; border-radius: 999px; color: var(--grey); border: 1px solid transparent; }
.dash__tabs b.on { color: var(--accent); border-color: rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .08); }
.dash__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 20px; align-items: stretch; }
.dash__side { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.dash__kpi em { display: block; font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.03em; color: var(--cream); line-height: 1; white-space: nowrap; }
.dash__kpi em b { display: inline-block; color: var(--accent); font-weight: 600; font-size: 15px; margin-left: 8px; transform: translateY(-8px); }
.dash__kpi span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 6px; }
.dash__chart { width: 100%; height: auto; overflow: visible; }
.dash__chart .grid line { stroke: rgba(255,255,255,.07); }
.dash__chart .area { fill: rgba(var(--accent-rgb), .12); stroke: none; }
.dash__chart .line { fill: none; stroke: var(--accent); stroke-width: 1.6; filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .6)); }
.dash__chart .pt { fill: var(--cream); }
.dash__table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 12px; }
.dash__table th { text-align: left; font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.dash__table td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--cream); }
.dash__table td + td, .dash__table th + th { text-align: right; }
.dash__table td .bar { display: inline-block; vertical-align: middle; width: 54px; height: 3px; margin-right: 8px; border-radius: 2px; background: rgba(255,255,255,.08); position: relative; }
.dash__table td .bar::after { content: ""; position: absolute; inset: 0; width: var(--p); border-radius: 2px; background: var(--accent); }
.dash__table td.hot { color: var(--accent); font-weight: 500; }
.dash .visual__foot { margin-top: 16px; }

.growth { width: 100%; height: auto; overflow: visible; }
.growth__grid line { stroke: rgba(255,255,255,.06); }
.growth__area { fill: rgba(var(--accent-rgb), .08); }
.growth__line { fill: none; stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.growth__pt { fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
.growth__stats { display: flex; gap: 40px; margin-top: 30px; }
.growth__stats em { display: block; font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 42px; letter-spacing: -0.03em; color: var(--cream); line-height: 1; white-space: nowrap; }
.growth__stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }

.control { padding: 26px 28px; max-width: 440px; }
.control .label { margin-bottom: 14px; }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--cream); font-size: 15px; }
.checklist li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1px solid var(--accent); background: radial-gradient(circle, var(--accent) 0 3px, transparent 3.5px); }

/* chat mockup */
.chat { padding: 0; max-width: 460px; margin-left: auto; --cut: 14px; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #0A0A0A; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; }
.chat__head strong { display: block; color: var(--cream); font-size: 14px; }
.chat__head small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--grey); }
.chat__body { padding: 22px; min-height: 250px; }
.chat__typing { display: inline-flex; gap: 5px; padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.06); }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey); animation: typing 1.2s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s } .chat__typing i:nth-child(3) { animation-delay: .3s }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4 } 30% { transform: translateY(-4px); opacity: 1 } }
.chat__msg { display: inline-block; padding: 12px 16px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.06); color: var(--cream); font-size: 14px; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chat__chips button { font: inherit; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .06); color: var(--cream); cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.chat__chips button:hover { background: var(--accent); color: #0A0A0A; border-color: var(--accent); }
.chat__user { display: block; margin: 16px 0 0 auto; width: max-content; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: rgba(var(--accent-rgb), .16); border: 1px solid rgba(var(--accent-rgb), .3); color: var(--cream); font-size: 13.5px; }
.chat__typing { margin-top: 12px; }
.chat__input { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--grey); }
.chat__input i { width: 28px; height: 28px; border-radius: 50%; background: rgba(var(--accent-rgb), .15); border: 1px solid rgba(var(--accent-rgb), .4); }

/* ---------- Internal Intelligence bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(120px, auto); gap: 14px; }
.tile { --cut: 12px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; min-height: 150px; }
.tile:hover { transform: translateY(-5px); }
.tile__head { display: flex; align-items: center; gap: 9px; }
.tile__head svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__head span { font-size: 13.5px; font-weight: 500; color: var(--cream); }
.tile__ui { margin-top: auto; }
.tile--docs { grid-column: 1 / 4; }
.tile--search { grid-column: 4 / 7; }
.tile--sales { grid-column: 1 / 3; }
.tile--ops { grid-column: 3 / 5; }
.tile--report { grid-column: 5 / 7; }
.tile--lead { grid-column: 1 / 7; flex-direction: row; align-items: center; min-height: 0; }
.tile--lead .tile__ui { margin: 0 0 0 auto; }
/* document lines skeleton */
.ui-doc { display: flex; gap: 10px; }
.ui-doc__page { flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; gap: 6px; }
.ui-doc__page i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); width: var(--w, 80%); }
.ui-doc__page i.hot { background: rgba(var(--accent-rgb), .7); box-shadow: 0 0 6px rgba(var(--accent-rgb), .5); }
/* search bar mock */
.ui-search { border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.03); padding: 9px 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--cream); }
.ui-search svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.ui-search .caret { width: 1px; height: 14px; background: var(--accent); animation: blink 1s steps(2) infinite; }
.ui-search__q { white-space: nowrap; overflow: hidden; }
.ui-results { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.ui-results i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.10); width: var(--w, 70%); }
.ui-results i:first-child { background: rgba(var(--accent-rgb), .55); }
/* mini chart */
.ui-chart { width: 100%; height: 48px; overflow: visible; }
.ui-chart path { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.ui-chart .area { fill: rgba(var(--accent-rgb), .12); stroke: none; }
/* checklist */
.ui-check { display: flex; flex-direction: column; gap: 7px; }
.ui-check li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--grey); }
.ui-check li::before { content: ""; width: 11px; height: 11px; border-radius: 3px; border: 1px solid rgba(var(--accent-rgb), .6); background: var(--accent); flex: none; }
.ui-check li.todo::before { background: transparent; }
.ui-check li.todo { color: var(--grey); }
/* bar report */
.ui-bars { display: flex; align-items: flex-end; gap: 4px; height: 46px; }
.ui-bars i { flex: 1; height: var(--h); background: rgba(var(--accent-rgb), .35); border-radius: 2px 2px 0 0; }
.ui-bars i:nth-child(odd) { background: rgba(var(--accent-rgb), .6); }
/* leadership: signal strip */
.ui-signal { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--grey); }
.ui-signal b { font-family: var(--font-display); color: var(--cream); font-weight: 600; font-size: 18px; }
.ui-signal .up { color: var(--accent); font-weight: 600; }

/* ========================================================
   GOVERNANCE
   ======================================================== */
.gov { padding-top: clamp(64px, 7vw, 100px); background: linear-gradient(to bottom, transparent, rgba(16,16,16,.6) 50%, transparent); }
.flow { position: relative; margin: 0 auto 40px; }
.flow__svg { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; overflow: visible; }
#flow-path { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
#flow-path-draw { fill: none; stroke: rgba(var(--accent-rgb), .7); stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .6)); }
.flow__pulse { position: absolute; top: 60px; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 14px 3px rgba(var(--accent-rgb), .9); pointer-events: none; }
.flow__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.step { position: relative; text-align: center; padding-top: 44px; }
.step__ring { position: absolute; left: 50%; top: 60px; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: var(--bg-1); border: 1.5px solid var(--accent); box-shadow: 0 0 0 8px rgba(var(--accent-rgb), .06); }
.step__ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.step strong { display: block; margin-top: 44px; color: var(--cream); font-family: var(--font-display); font-size: 16px; }
.step small { display: block; font-size: 12.5px; color: var(--grey); margin-top: 4px; }
.motto { text-align: center; font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); color: var(--cream); font-weight: 500; letter-spacing: -0.01em; margin: 0 auto clamp(44px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 32px; }
.motto span { position: relative; }
.motto span:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }

/* ========================================================
   MEASUREMENT (live metrics band)
   ======================================================== */
.measure { padding-top: clamp(64px, 7vw, 100px); }
.band { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 90%); pointer-events: none; }
.band::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .6), transparent); animation: bandScan 5s linear infinite; pointer-events: none; }
@keyframes bandScan { to { top: 100% } }
.chips { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.chip { --cut: 10px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; color: var(--cream); font-size: 14.5px; font-weight: 500; overflow: hidden; animation: chipBreath 4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.chip--wide, .chip--mid, .chip--tight { flex: none; }
@keyframes chipBreath { 50% { border-color: rgba(var(--accent-rgb), .3); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 24px -8px rgba(var(--accent-rgb), .35) } }
.chip i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: chipPulse 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes chipPulse { 0%, 100% { opacity: .35; transform: scale(.8) } 50% { opacity: 1; transform: scale(1.15) } }
.chip__val { margin-left: auto; font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.chip__val svg { width: 12px; height: 12px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip__val .arrow { animation: nudge 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes nudge { 50% { transform: translateY(-2px) } }
.chip__spark { width: 46px; height: 16px; overflow: visible; }
.chip__spark path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }

/* ========================================================
   CONTACT
   ======================================================== */
.contact { overflow: hidden; }
.contact__glow { position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); height: min(900px, 120vw); transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(var(--accent-rgb), .10), transparent 60%); pointer-events: none; filter: blur(20px); }
.contact__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; position: relative; }
.contact__text h2 { margin-bottom: 24px; }
.steps { margin-top: 24px; }
.steps li { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--cream); font-size: 16px; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font-family: var(--font-display); color: var(--accent); font-size: 13px; letter-spacing: .1em; }
.form { padding: 40px; --cut: 22px; }
.form:hover { transform: none; }
.field { position: relative; margin-bottom: 22px; }
.field label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--cream); background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; outline: 0; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.field .err { display: none; font-size: 12px; color: #E8A33A; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #E8A33A; }
.field.invalid .err { display: block; }
.form__success { display: none; position: absolute; inset: 0; z-index: 2; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; background: rgba(12,12,12,.96); animation: menuIn .5s; }
.form.sent .form__success { display: flex; }
.form__success svg { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), .6)); }
.form__success strong { color: var(--cream); font-family: var(--font-display); font-size: var(--t-mid); margin-bottom: 8px; }

/* ========================================================
   FOOTER
   ======================================================== */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: rgba(10,10,10,.6); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__tag { margin-top: 16px; font-size: 14px; color: var(--grey); max-width: 260px; line-height: 1.6; }
.footer__col h4 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; font-size: 13.5px; color: var(--grey); margin-bottom: 10px; transition: color .3s; }
.footer__col a:hover { color: var(--accent); }
.footer__col a.btn, .footer__col a.btn:hover { color: #0A0A0A; font-size: 14px; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__micro { font-size: 10.5px; letter-spacing: .24em; color: var(--grey); }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a { font-size: 12px; color: var(--grey); transition: color .3s; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- WhatsApp inquiry ---------- */
.form__wa { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.form__wa .wa-ico { width: 18px; height: 18px; fill: currentColor; }
#wa-float { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0A0A0A; box-shadow: 0 6px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08), 0 0 28px -6px rgba(var(--accent-rgb), .55); transition: transform .3s var(--ease), box-shadow .3s; }
#wa-float svg { width: 28px; height: 28px; fill: currentColor; }
#wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 36px -4px rgba(var(--accent-rgb), .7); }
@media (max-width: 560px) { #wa-float { right: 18px; bottom: 18px; width: 52px; height: 52px; } }
/* horizon glow: a reprise of the hero wave at the foot of the page */
.footer { overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: 140%; height: 240px; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(ellipse 45% 100% at 50% 0%, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .04) 45%, transparent 70%),
    repeating-radial-gradient(ellipse 60% 120% at 50% -20%, transparent 0 22px, rgba(var(--accent-rgb), .07) 22px 23px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.footer__inner { position: relative; }

/* ========================================================
   CAPTURE MODE (?capture=1 or reduced motion)
   Nothing here hides content. Content is always visible by default; this block only
   freezes the decorative CSS keyframe loops so a screenshot is deterministic.
   ======================================================== */
html.capture *, html.capture *::before, html.capture *::after { animation: none !important; transition: none !important; }
html.capture .divider::after { left: 40%; }
html.capture .band::after { top: 30%; }
html.capture .cluster .cl-pulse { offset-distance: 50%; }
html.capture .chat__typing i { transform: none; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .oc--feature { grid-column: 1 / 13; grid-row: auto; }
  .oc--a, .oc--b, .oc--c { grid-column: span 4; grid-row: auto; flex-direction: column; align-items: flex-start; }
  .oc--a .oc__viz, .oc--b .oc__viz, .oc--c .oc__viz { margin: auto 0 0; padding-top: 18px; }
  .kpi { text-align: left; }
  .flow__steps { gap: 6px; }
  .step strong { font-size: 14px; }
  .step small { display: none; }
}
@media (max-width: 860px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  .row, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .row--flip .row__text { order: 0; }
  .chat { margin-left: 0; }
  .hub { width: min(560px, 100%); }
  .node { width: 150px; }
  /* no horizontal room for side tooltips on narrow screens: open below instead */
  .node--right .node__desc, .node--left .node__desc { left: auto; right: auto; top: calc(100% + 8px); transform: none; }
  .dash__grid { grid-template-columns: 1fr; }
  .node__name { font-size: 13px; padding: 5px 10px; }
  .node__desc { width: 190px; font-size: 12px; }
  .hub__center { width: 140px; }
  .hub__center strong { font-size: 13px; }
  .tags li { font-size: 8px; }
  .flow__svg { display: none; }
  .flow { margin-bottom: 40px; }
  .flow__steps { grid-template-columns: 1fr; gap: 0; }
  .flow__steps::before { content: ""; position: absolute; left: 15px; top: 20px; bottom: 20px; width: 1.5px; background: linear-gradient(to bottom, var(--accent), rgba(var(--accent-rgb), .15)); box-shadow: 0 0 8px rgba(var(--accent-rgb), .5); }
  .step { text-align: left; padding: 14px 0 14px 48px; }
  .step__ring { left: 16px; top: 50%; }
  .step strong { margin-top: 0; }
  .step small { display: block; }
  .flow__pulse { display: none; }
  .oc--a, .oc--b, .oc--c { grid-column: 1 / 13; flex-direction: row; align-items: center; }
  .oc--a .oc__viz, .oc--b .oc__viz, .oc--c .oc__viz { margin: 0 0 0 auto; padding: 0; }
  .tile--docs, .tile--search { grid-column: 1 / 7; }
  .tile--sales, .tile--ops, .tile--report { grid-column: span 3; }
  .tile--report { grid-column: 1 / 7; }
  .ambient__grid { background-size: 60px 60px; }
}
@media (max-width: 560px) {
  .chips { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  :root { --cut: 14px; --sec-pad: 64px; }
  .cards--4 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 100px; }
  .hero__title { max-width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .card { padding: 28px 24px; }
  .oc { padding: 24px 22px; }
  .oc--feature { padding: 28px 22px; }
  .oc--a, .oc--b, .oc--c { flex-direction: column; align-items: flex-start; }
  .oc--a .oc__viz, .oc--b .oc__viz, .oc--c .oc__viz { margin: 0; padding-top: 16px; }
  .kpi { text-align: left; }
  .hub { width: 100%; aspect-ratio: 1; }
  .node { width: 120px; }
  .node__name { font-size: 12.5px; padding: 4px 8px; margin-top: 8px; }
  .node__dot { width: 14px; height: 14px; }
  .node__desc { width: 170px; }
  .hub__center { width: 118px; }
  .hub__center strong { font-size: 12px; }
  .tags { display: none; }
  .tile--sales, .tile--ops, .tile--report { grid-column: 1 / 7; }
  .tile--lead { flex-direction: column; align-items: flex-start; }
  .tile--lead .tile__ui { margin: 0; }
  .visual { padding: 24px; }
  .dash { padding: 18px 16px; }
  .dash__table th:nth-child(3), .dash__table td:nth-child(3) { display: none; }
  .growth__stats em { font-size: 34px; }
  .form { padding: 28px 22px; }
  .footer__links { margin-left: 0; flex-wrap: wrap; gap: 16px; }
  .motto { flex-direction: column; gap: 6px; }
  .motto span:not(:last-child)::after { display: none; }
  .scroll-cue { display: none; }
  .band { padding: 16px; border-radius: 14px; }
  .chip { width: 100%; }
}

/* ========================================================
   REDUCED MOTION
   ======================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  #hero-canvas { display: none; }
  .hero { background: radial-gradient(ellipse at 30% 50%, rgba(var(--accent-rgb), .08), transparent 60%); }
}
