/* ============================================================
   Forged Systems — modern scroll-driven site
   Bright, clean SaaS · Forged blue
   ============================================================ */
:root {
  --brand: #2563eb;
  --brand-700: #1d4ed8;
  --brand-50: #eff4ff;

  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6eaf2;
  --line-2: #eef1f7;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-grid: rgba(37, 99, 235, 0.06);

  --card: #ffffff;
  --card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -12px rgba(16,24,40,.18);
  --card-shadow-lg: 0 30px 80px -30px rgba(37,99,235,.28), 0 8px 24px -8px rgba(16,24,40,.12);

  --hot: #ef4444; --warm: #f59e0b; --cool: #10b981; --up: #16a34a;

  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --ease: cubic-bezier(.16,1,.3,1);
  --t: 200ms var(--ease);

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter Tight", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1120px;
}

[data-theme="dark"] {
  --ink: #f1f5fb; --ink-2: #c5cfe0; --muted: #8b97ad;
  --line: #1e293b; --line-2: #172033;
  --bg: #0a0f1c; --bg-soft: #0d1424; --bg-grid: rgba(96,165,250,.07);
  --card: #111a2e; --brand: #3b82f6; --brand-50: #14213d;
  --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --card-shadow-lg: 0 30px 80px -30px rgba(59,130,246,.35), 0 8px 24px -8px rgba(0,0,0,.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.05; }
.accent { color: var(--brand); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brand); color:#fff; padding:.6rem 1rem; border-radius: 0 0 var(--r-sm) 0; z-index: 999; }
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.hdr[data-scrolled] {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.hdr__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { display: block; height: 40px; width: auto; }
/* logo is navy on transparent; in dark mode brighten it so it stays legible */
[data-theme="dark"] .brand__logo { filter: brightness(0) invert(1) brightness(1.6); }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .94rem; transition: color var(--t); }
.nav a:hover { color: var(--brand); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); cursor: pointer;
  display: grid; place-items: center; transition: var(--t);
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.i-sun { display: none; }
[data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .94rem; padding: 11px 18px; border-radius: var(--r-sm);
  cursor: pointer; border: 1px solid transparent; transition: var(--t); white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px var(--brand); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-1px); box-shadow: 0 12px 26px -8px var(--brand); }
.btn--primary span { transition: transform var(--t); }
.btn--primary:hover span { transform: translateX(3px); }
.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn--lg { padding: 14px 24px; font-size: 1rem; }

/* ============================================================
   SCROLLYTELLING HERO
   ============================================================ */
.scrollytell { position: relative; height: 600vh; background: var(--bg); }
.scrollytell__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}

/* live video background — visible at the top, fades out as you scroll into the dashboard */
.hero-video {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  will-change: opacity; pointer-events: none;
}
.hero-video__el {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* scrim keeps the navy title + sub text readable over the bright-blue video */
.hero-video__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 46%, rgba(255,255,255,.62), rgba(255,255,255,.18) 55%, transparent 80%),
    linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.05) 30%, transparent 60%);
}
[data-theme="dark"] .hero-video__scrim {
  background:
    radial-gradient(70% 60% at 50% 46%, rgba(7,12,24,.55), rgba(7,12,24,.30) 55%, transparent 82%),
    linear-gradient(180deg, rgba(7,12,24,.45) , rgba(7,12,24,.10) 35%, transparent 65%);
}
/* grid + glow backdrops sit behind the dashboard, above the video; they fade in with the dash */
.scrollytell__sticky::before, .scrollytell__sticky::after { z-index: 2; opacity: 0; transition: opacity .5s var(--ease); }
.scrollytell__sticky.is-built::before, .scrollytell__sticky.is-built::after { opacity: 1; }
/* subtle grid backdrop */
.scrollytell__sticky::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--bg-grid) 1px, transparent 1px), linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 35%, transparent 75%);
  pointer-events: none;
}
.scrollytell__sticky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 40%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%);
  pointer-events: none;
}

/* floating title overlay */
.hero-overlay {
  position: absolute; z-index: 8; text-align: center; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 24px; will-change: opacity, transform;
}
.hero-overlay__tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 7px 14px; border-radius: 100px;
}
.hero-overlay__title { font-size: clamp(3rem, 11vw, 7.5rem); font-weight: 800; letter-spacing: -.04em; }
.hero-overlay__sub { font-size: clamp(1rem, 2.2vw, 1.3rem); color: var(--ink-2); max-width: 30ch; font-weight: 500; }
.hero-overlay__scrollcue {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted); letter-spacing: .04em;
}
.hero-overlay__scrollcue svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* stage holds dashboard */
.stage {
  position: relative; z-index: 5; width: min(92vw, 980px);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  will-change: transform;
}

/* the dashboard */
.dash {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--card-shadow-lg); overflow: hidden;
  transform-origin: center top; will-change: transform, opacity;
}
.dash__logo img { display: block; flex: none; }
.dash__chrome {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-bottom: 1px solid var(--line-2); background: var(--bg-soft);
}
.dash__chrome .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.dash__chrome .dot:nth-child(1){ background:#ff5f57; } .dash__chrome .dot:nth-child(2){ background:#febc2e; } .dash__chrome .dot:nth-child(3){ background:#28c840; }
.dash__urlbar { flex: 1; margin: 0 10px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 12px; }
.dash__url { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.dash__tier { font-family: var(--font-mono); font-size: .66rem; font-weight: 600; color: var(--brand); background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); padding: 3px 9px; border-radius: 100px; white-space: nowrap; transition: color .3s, background .3s; }
.dash__live { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; color: var(--up); letter-spacing: .06em; opacity: 0; transition: opacity .4s var(--ease); margin-left: 8px; }
.dash__live[data-on] { opacity: 1; }

.dash__body { display: grid; grid-template-columns: 180px 1fr; min-height: 420px; }
.dash__side { border-right: 1px solid var(--line-2); padding: 18px 14px; background: var(--bg-soft); opacity: 0; transition: opacity .5s var(--ease); }
.dash__side[data-on] { opacity: 1; }
.dash__logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; margin-bottom: 18px; }
.dash__nav { display: flex; flex-direction: column; gap: 4px; }
.dash__nav span { font-size: .85rem; color: var(--muted); padding: 7px 10px; border-radius: 8px; transition: opacity .4s var(--ease); }
.dash__nav span.on { color: var(--brand); background: var(--brand-50); font-weight: 600; }
.dash__nav span[data-nav-adv] { opacity: .25; }
.dash__nav span[data-nav-adv][data-on] { opacity: 1; }
.dash__ai { margin-top: 18px; padding: 10px; border-radius: 10px; background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); font-size: .78rem; font-weight: 600; color: var(--brand); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.dash__ai[data-on] { opacity: 1; transform: none; }
.dash__ai small { width: 100%; font-weight: 500; color: var(--muted); font-size: .68rem; }
.dash__ai-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--up) 55%,transparent)} 70%{box-shadow:0 0 0 7px transparent} 100%{box-shadow:0 0 0 0 transparent} }

.dash__main { padding: 20px 22px; }
.dash__head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; opacity: 0; transition: opacity .5s var(--ease); }
.dash__head[data-on] { opacity: 1; }
.dash__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.dash__date { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.dash__pill { font-size: .74rem; font-weight: 600; color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); border: 1px solid color-mix(in srgb, var(--up) 26%, transparent); padding: 5px 11px; border-radius: 100px; opacity: 0; transition: opacity .4s var(--ease); }
.dash__pill[data-on] { opacity: 1; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px;
  opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.kpi[data-on] { opacity: 1; transform: none; }
.kpi__label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi__value { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; margin: 4px 0 2px; letter-spacing: -.02em; }
.kpi__delta { font-size: .72rem; font-weight: 600; }
.kpi__delta.up { color: var(--up); }

.dash__row { display: grid; gap: 12px; margin-top: 12px; }
.dash__row--charts { grid-template-columns: 1.5fr 1fr; }
.dash__row--detail { grid-template-columns: 1.3fr .9fr 1.1fr; }
.panel { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.panel[data-on] { opacity: 1; transform: none; }
.panel__head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; margin-bottom: 10px; }
.panel__tag { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); font-weight: 400; }

.spark { width: 100%; height: 96px; display: block; }
.spark__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.spark__area { opacity: 0; transition: opacity .6s var(--ease); }
.spark__target { opacity: 0; transition: opacity .5s var(--ease); }
.spark__target[data-on] { opacity: 1; }

/* gauges */
.gauges { display: flex; justify-content: space-around; gap: 6px; padding-top: 4px; }
.gauge { text-align: center; position: relative; }
.gauge svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.gauge .g-bg { fill: none; stroke: var(--line); stroke-width: 6; }
.gauge .g-fg { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 151; stroke-dashoffset: 151; transition: stroke-dashoffset 1s var(--ease); }
.gauge .g-fg.warn { stroke: var(--warm); }
.gauge[data-on] .g-fg { stroke-dashoffset: calc(151 - (151 * var(--val) / 100)); }
.gauge b { position: absolute; top: 20px; left: 0; right: 0; font-family: var(--font-display); font-size: .82rem; font-weight: 700; }
.gauge span { display: block; font-size: .68rem; color: var(--muted); margin-top: 2px; }

/* work order table */
.otable { width: 100%; border-collapse: collapse; font-size: .76rem; }
.otable th { text-align: left; color: var(--muted); font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; padding: 4px 6px; border-bottom: 1px solid var(--line-2); }
.otable td { padding: 7px 6px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); }
.otable tr[data-row-i] { opacity: 0; transform: translateY(5px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.otable tr[data-row-i][data-on] { opacity: 1; transform: none; }
.badge { font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.badge.hot { color: var(--hot); background: color-mix(in srgb, var(--hot) 12%, transparent); }
.badge.warm { color: var(--warm); background: color-mix(in srgb, var(--warm) 14%, transparent); }
.badge.cool { color: var(--cool); background: color-mix(in srgb, var(--cool) 12%, transparent); }

/* mini stats */
.ministats { list-style: none; display: flex; flex-direction: column; gap: 0; }
.ministats li { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; padding: 7px 0; border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ministats li:last-child { border-bottom: 0; }
.ministats li[data-on] { opacity: 1; transform: none; }
.ministats span { color: var(--muted); }
.ministats b { font-family: var(--font-display); font-weight: 700; }
.ministats b.warn { color: var(--warm); } .ministats b.good { color: var(--up); }

/* AI insights feed */
.ai-feed { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ai-feed li { display: flex; gap: 8px; font-size: .76rem; line-height: 1.4; color: var(--ink-2); padding: 8px 10px; background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent); border-radius: 8px; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ai-feed li[data-on] { opacity: 1; transform: none; }
.ai-ico { flex: none; }

/* stage caption */
.stage__caption { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stage__step { font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.stage__desc { font-size: .98rem; color: var(--ink-2); font-weight: 500; }

/* ---------- generic band ---------- */
.band { padding: clamp(80px, 12vw, 160px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.eyebrow { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.band__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin: 14px 0 20px; max-width: 18ch; }
.band__lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 60ch; line-height: 1.65; }

/* band variants */
.band--alt { background: var(--bg); }
.band--intro { background: var(--bg-soft); }

/* scroll reveal (opacity + clip only — no CLS) */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- services grid ---------- */
.svc-head { margin: clamp(56px, 8vw, 96px) 0 28px; }
.svc-head__title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; max-width: 24ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px 26px; box-shadow: var(--card-shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.svc__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.svc__num { font-family: var(--font-mono); font-size: .82rem; font-weight: 600; color: #fff; background: var(--brand); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.svc__kicker { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc__title { font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.svc__body { font-size: .92rem; color: var(--ink-2); line-height: 1.6; }

/* ---------- process ---------- */
.proc { list-style: none; margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 0; }
.proc__step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.proc__rail { position: relative; display: flex; justify-content: center; }
.proc__rail::before {
  content: ""; position: absolute; top: 44px; bottom: -28px; width: 2px;
  background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 12%, transparent));
}
.proc__step:last-child .proc__rail::before { display: none; }
.proc__num {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: #fff; background: var(--brand); box-shadow: 0 8px 20px -8px var(--brand); z-index: 1;
}
.proc__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; margin-bottom: 28px; box-shadow: var(--card-shadow); position: relative;
}
.proc__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.proc__body { font-size: .94rem; color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.proc__tag { position: absolute; top: 20px; right: 22px; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; color: var(--brand); background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); padding: 3px 10px; border-radius: 100px; }

/* ---------- service areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
.area-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 840px; }
.area {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px; box-shadow: var(--card-shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.area__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.area__badge { align-self: flex-start; font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); padding: 3px 10px; border-radius: 100px; }
.area__title { font-size: 1.18rem; font-weight: 700; }
.area__cities { font-size: .82rem; color: var(--muted); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); line-height: 1.5; }
.area__list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.area__list li { font-size: .88rem; color: var(--ink-2); padding-left: 20px; position: relative; line-height: 1.45; }
.area__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }

/* ---------- packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px; box-shadow: var(--card-shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); }
.pkg--feature { border-color: var(--brand); box-shadow: var(--card-shadow-lg); }
.pkg__flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 4px 12px; border-radius: 100px; white-space: nowrap; }
.pkg__name { font-size: 1.05rem; font-weight: 700; }
.pkg__price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: -.02em; margin: 10px 0 4px; }
.pkg__price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.pkg__note { font-size: .8rem; color: var(--muted); line-height: 1.5; min-height: 3.2em; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.pkg__feat { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.pkg__feat li { font-size: .85rem; color: var(--ink-2); padding-left: 24px; position: relative; line-height: 1.4; }
.pkg__feat li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.pkg__cta { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- contact ---------- */
.band--contact { background: var(--bg-soft); }
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__left .band__title { margin-top: 14px; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 4px 18px; transition: border-color var(--t), box-shadow var(--t);
}
.faq__item[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--card-shadow); }
.faq__item summary {
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; font-size: 1.3rem; color: var(--brand); transition: transform var(--t); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { font-size: .9rem; color: var(--ink-2); line-height: 1.6; padding: 0 0 16px; }

/* ---------- footer ---------- */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) 0 32px; }
.foot__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot__logo { display: block; height: 42px; width: auto; margin-bottom: 14px; }
[data-theme="dark"] .foot__logo { filter: brightness(0) invert(1) brightness(1.6); }
.foot__tag { font-size: .9rem; color: var(--muted); max-width: 42ch; line-height: 1.6; }
.foot__nav { display: flex; flex-direction: column; gap: 10px; }
.foot__nav a { font-size: .9rem; color: var(--ink-2); font-weight: 500; transition: color var(--t); }
.foot__nav a:hover { color: var(--brand); }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .kpi, .panel, .pipe li, .dash__side, .dash__pill { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .spark__line { stroke-dashoffset: 0 !important; }
  .spark__area { opacity: 1 !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__row--charts, .dash__row--detail { grid-template-columns: 1fr; }
  .scrollytell { height: 520vh; }
  .svc-grid, .area-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .hdr__right .btn { display: none; }
  .pkg-grid { grid-template-columns: 1fr; }
  .proc__step { grid-template-columns: 48px 1fr; gap: 14px; }
  .proc__num { width: 38px; height: 38px; font-size: 1rem; }
  .proc__rail::before { top: 38px; }
  .proc__tag { position: static; display: inline-block; margin-top: 10px; }
  .contact__cta .btn { width: 100%; justify-content: center; }
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   Multi-page additions — About & Contact pages
   ============================================================ */

/* current nav item */
.nav a.is-current { color: var(--brand); font-weight: 600; }

/* ---------- page hero (sub-pages) ---------- */
.page-hero {
  padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 90px);
  background:
    radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero__inner { max-width: 760px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.02em;
  margin: 16px 0 18px;
}
.page-hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink-2); line-height: 1.6; max-width: 60ch; margin: 0 auto; }

/* ---------- about: story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.story__col p { font-size: 1.05rem; color: var(--ink-2); line-height: 1.75; margin: 0 0 18px; }
.story__col p:last-child { margin-bottom: 0; }
.story__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.7rem) !important; color: var(--ink) !important; line-height: 1.5 !important; }

/* ---------- about: values grid ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 64px); }
.value {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.value:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.value__icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--brand); margin-bottom: 16px;
}
.value__icon svg { width: 22px; height: 22px; }
.value h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin: 0 0 8px; }
.value p { font-size: .94rem; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ---------- about: founder bio ---------- */
.bio {
  display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 56px); align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--card-shadow);
}
.bio__photo {
  aspect-ratio: 1; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #0b1220));
  display: grid; place-items: center; color: #fff;
}
.bio__initials { font-family: var(--font-display); font-weight: 800; font-size: 4rem; letter-spacing: -0.02em; }
.bio__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 4px; }
.bio__role { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 18px; }
.bio__body p { font-size: 1.02rem; color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.bio__body p:last-child { margin-bottom: 0; }

/* ---------- contact page ---------- */
.cpage { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.cpage__methods { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.cmethod {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; transition: border-color var(--t), box-shadow var(--t);
}
.cmethod:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); box-shadow: var(--card-shadow); }
.cmethod__icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); color: var(--brand);
}
.cmethod__icon svg { width: 20px; height: 20px; }
.cmethod h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.cmethod p { font-size: .92rem; color: var(--ink-2); line-height: 1.55; margin: 0 0 10px; }
.cmethod__link { font-weight: 600; font-size: .92rem; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.cmethod__link span { transition: transform var(--t); }
.cmethod__link:hover span { transform: translateX(3px); }
.cmethod__note { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.cside {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px); box-shadow: var(--card-shadow); position: sticky; top: 100px;
}
.cside__step { display: inline-block; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: var(--brand-50); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); padding: 4px 11px; border-radius: 100px; margin-bottom: 14px; }
.cside h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0 0 8px; }
.cside p { font-size: .94rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 20px; }
.cside__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cside__list li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-2); line-height: 1.5; }
.cside__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700;
}
.cside .btn { width: 100%; justify-content: center; }

/* ---------- mobile nav (hamburger) ---------- */
.nav-toggle { display: none; }
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink);
    cursor: pointer; transition: color var(--t), border-color var(--t);
  }
  .nav-toggle:hover { color: var(--brand); border-color: var(--brand); }
  .nav {
    display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--card-shadow-lg);
    padding: 8px 0; margin: 0; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--t), transform var(--t); z-index: 60;
  }
  .nav[data-open] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 24px; font-size: 1rem; border-bottom: 1px solid var(--line-2); }
  .nav a:last-child { border-bottom: none; }
}

/* ---------- responsive: sub-pages ---------- */
@media (max-width: 920px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .values { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; text-align: center; }
  .bio__photo { max-width: 200px; margin: 0 auto; }
  .cpage { grid-template-columns: 1fr; }
  .cside { position: static; }
}

/* ---------- about: founders (3-up team grid) ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(32px, 5vw, 52px); }
.member {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.member__photo {
  width: 84px; height: 84px; border-radius: 18px; overflow: hidden; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #0b1220));
  display: grid; place-items: center; color: #fff;
}
.member__initials { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.01em; }
.member__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0 0 4px; }
.member__role { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 4px; }
.member__loc { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin: 0 0 16px; }
.member__loc svg { width: 14px; height: 14px; flex: none; }
.member__bio { font-size: .94rem; color: var(--ink-2); line-height: 1.62; margin: 0; }

@media (max-width: 920px) {
  .team { grid-template-columns: 1fr; }
}
