/* ============================================================
   TECHTICS AI — OPERATOR'S CONSOLE
   ============================================================ */

:root {
  --bg: #05070A;
  --bg-1: #0A0E13;
  --bg-2: #0F141B;
  --surface: #0B0F14;
  --line: rgba(0, 229, 255, 0.12);
  --line-strong: rgba(0, 229, 255, 0.28);
  --line-soft: rgba(255, 255, 255, 0.06);
  --ink: #E6F1F5;
  --ink-2: #9AAAB3;
  --ink-3: #5C6B75;
  --ink-4: #2E3942;
  --accent: #00E5FF;
  --accent-2: #00B8D4;
  --accent-soft: rgba(0, 229, 255, 0.08);
  --accent-glow: 0 0 24px rgba(0, 229, 255, 0.45);
  --warn: #FF6A00;
  --ok: #9EFF00;

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  font-feature-settings: "calt" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

::selection { background: var(--accent); color: #000; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

/* ====== Blueprint grid background ====== */
.blueprint {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
}

/* ====== Layout ====== */
.shell { position: relative; z-index: 2; }
.container {
  max-width: 1440px;
  padding: 0 48px;
  margin: 0 auto;
  position: relative;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

section { position: relative; padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* ====== Typography ====== */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--ink);
}
.h1 { font-size: clamp(48px, 8vw, 132px); }
.h2 { font-size: clamp(36px, 5.5vw, 80px); }
.h3 { font-size: clamp(24px, 3vw, 40px); }
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ""; width: 24px; height: 1px; background: var(--accent);
}
.tag-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}
.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

/* ====== Bracket / corner motifs ====== */
.bracketed { position: relative; padding: 24px; }
.bracketed::before, .bracketed::after,
.bracketed > .bk-tl, .bracketed > .bk-br {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-color: var(--accent);
}
.bracketed::before { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.bracketed::after { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.bracketed > .bk-bl { position:absolute; bottom:0; left:0; width:14px; height:14px; border-bottom:1px solid var(--accent); border-left:1px solid var(--accent); }
.bracketed > .bk-br { position:absolute; bottom:0; right:0; border-bottom:1px solid var(--accent); border-right:1px solid var(--accent); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.16em;
  padding: 16px 22px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  position: relative;
  transition: all .25s ease;
}
.btn:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
  background: rgba(0, 229, 255, 0.06);
}
.btn--primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn--primary:hover { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 32px rgba(255,255,255,0.25); }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ====== Nav ====== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5, 7, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 720px) { .nav { padding: 14px 20px; } }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.nav__logo img { height: 28px; width: auto; }
.nav__logo .dot { width: 6px; height: 6px; background: var(--ok); border-radius: 50%; box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.nav__links { display: flex; gap: 28px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
@media (max-width: 900px) { .nav__links { display: none; } }
.nav__cta {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 10px 16px; border: 1px solid var(--accent); color: var(--accent);
  transition: all .2s;
}
.nav__cta:hover { background: var(--accent); color: #000; }

@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}

/* ====== HUD overlay (live status indicators on screen edges) ====== */
.hud {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--ink-3); text-transform: uppercase;
}
.hud > * { position: absolute; }
.hud .left-rail { left: 14px; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: left top; white-space: nowrap; }
.hud .right-rail { right: 14px; top: 50%; transform: rotate(90deg) translateX(-50%); transform-origin: right top; white-space: nowrap; }
@media (max-width: 1100px) { .hud { display: none; } }

/* ====== Hero ====== */
.hero { min-height: 100vh; padding-top: 140px; padding-bottom: 80px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.hero__top {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 48px;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 156px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero__headline .accent { color: var(--accent); }
.hero__headline .strike { position: relative; color: var(--ink-3); }
.hero__headline .strike::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 4px; background: var(--warn); transform: scaleX(0); transform-origin: left; }
.hero__sub {
  margin-top: 36px;
  max-width: 620px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}
.hero__meta { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.hero__meta-cell { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-3); }
.hero__meta-cell strong { display: block; color: var(--ink); font-size: 22px; font-family: var(--font-display); letter-spacing: -0.02em; margin-top: 4px; }
.hero__cta-row { margin-top: 56px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__pipeline { margin-top: 80px; position: relative; }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ink-3); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 2s infinite; }
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ====== Section header ====== */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }
.sec-head__title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.03em; }
.sec-head__title .accent { color: var(--accent); }
.sec-head__desc { color: var(--ink-2); max-width: 480px; font-size: 14px; line-height: 1.7; }

/* ====== SDLC stage cards ====== */
.stage-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) { .stage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .stage-grid { grid-template-columns: repeat(2, 1fr); } }
.stage {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  background: transparent;
  transition: background .25s;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.stage:last-child { border-right: none; }
@media (max-width: 1100px) { .stage:nth-child(3n) { border-right: none; } }
@media (max-width: 700px) { .stage:nth-child(3n) { border-right: 1px solid var(--line); } .stage:nth-child(2n) { border-right: none; } }
.stage:hover { background: var(--accent-soft); }
.stage__num { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.2em; }
.stage__title { font-family: var(--font-display); font-size: 22px; line-height: 1.05; letter-spacing: -0.01em; margin-top: 10px; color: var(--ink); }
.stage__desc { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); line-height: 1.6; margin-top: 12px; }
.stage__ai { font-family: var(--font-mono); font-size: 10px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 16px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }

/* ====== Differentiators ====== */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
@media (max-width: 800px) { .diff-grid { grid-template-columns: 1fr; } }
.diff {
  padding: 36px 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative;
}
.diff:nth-child(2n) { border-right: none; }
.diff:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 800px) { .diff { border-right: none; } .diff:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); } .diff:last-child { border-bottom: none; } }
.diff__big { font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); line-height: 0.95; color: var(--accent); letter-spacing: -0.03em; }
.diff__small { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.diff__txt { color: var(--ink); margin-top: 28px; font-family: var(--font-mono); font-size: 15px; line-height: 1.55; }

/* ====== Services ====== */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 80px 1fr 2fr 180px; gap: 32px; align-items: center;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: padding .3s;
  position: relative;
}
.svc:hover { padding-left: 24px; }
.svc:hover .svc__name { color: var(--accent); }
.svc__num { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.16em; }
.svc__name { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.02em; line-height: 1; transition: color .25s; }
.svc__desc { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.svc__time { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; text-align: right; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 60px 1fr; gap: 20px; }
  .svc__desc, .svc__time { grid-column: 2; }
}

/* ====== Case studies bento ====== */
.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }
.case {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  transition: all .3s;
}
.case:hover { border-color: var(--accent); background: rgba(0, 229, 255, 0.04); }
.case--lg { grid-column: span 6; min-height: 400px; }
.case--md { grid-column: span 4; min-height: 320px; }
.case--sm { grid-column: span 3; min-height: 240px; }
.case--w8 { grid-column: span 8; min-height: 320px; }
@media (max-width: 900px) { .case, .case--lg, .case--md, .case--sm, .case--w8 { grid-column: span 1; min-height: 260px; } }
.case__top { display: flex; justify-content: space-between; align-items: flex-start; }
.case__name { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; margin-top: 12px; }
.case__desc { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); line-height: 1.6; margin-top: 10px; max-width: 380px; }
.case__metric { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 64px); color: var(--accent); letter-spacing: -0.03em; line-height: 1; }
.case__metric-label { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 8px; }
.case__placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,229,255,0.03) 12px 13px);
  opacity: 0.7; pointer-events: none;
}
.case > * { position: relative; z-index: 1; }

/* ====== Stats ====== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 48px 28px; border-right: 1px solid var(--line);
  position: relative;
}
.stat:last-child { border-right: none; }
@media (max-width: 900px) { .stat:nth-child(2n) { border-right: none; } .stat { border-bottom: 1px solid var(--line); } }
.stat__num { font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); color: var(--ink); letter-spacing: -0.04em; line-height: 0.9; }
.stat__num .accent { color: var(--accent); }
.stat__label { font-family: var(--font-mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 16px; }
.stat__bar { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--accent); width: 0%; }

/* ====== Global presence ====== */
.globe-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .globe-wrap { grid-template-columns: 1fr; } }
.events-list { border-top: 1px solid var(--line); }
.event-row {
  padding: 24px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: baseline;
}
.event-row__name { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.02em; }
.event-row__city { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.event-row__year { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.16em; }

/* ====== Tech stack ====== */
.stack-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.stack-track { display: flex; gap: 64px; animation: marq 30s linear infinite; white-space: nowrap; }
.stack-track:hover { animation-play-state: paused; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stack-chip { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 10px; }
.stack-chip::before { content: "▣"; color: var(--accent); }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
@media (max-width: 700px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
.stack-cell { background: var(--bg); padding: 32px 20px; text-align: center; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); transition: all .25s; }
.stack-cell:hover { background: var(--accent-soft); color: var(--accent); }

/* ====== Clients ====== */
.cli-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
@media (max-width: 800px) { .cli-grid { grid-template-columns: 1fr; } }
.cli {
  padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cli:nth-child(3n) { border-right: none; }
.cli:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 800px) { .cli { border-right: none; } .cli:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .cli:last-child { border-bottom: none; } }
.cli__icon {
  width: 40px; height: 40px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); color: var(--accent); font-size: 16px;
  margin-bottom: 20px;
}
.cli__name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.01em; }
.cli__desc { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); line-height: 1.6; margin-top: 10px; }

/* ====== Testimonials ====== */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .tst-grid { grid-template-columns: 1fr; } }
.tst {
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  background: var(--surface);
  position: relative;
}
.tst__q { font-family: var(--font-display); font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.tst__attr { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.tst__name { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.tst__role { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ====== CTA ====== */
.cta {
  padding: 160px 0 120px;
  position: relative;
  border-top: 1px solid var(--line);
}
.cta__hook {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.cta__hook .accent { color: var(--accent); }
.cta__row { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
@media (max-width: 800px) { .cta__row { grid-template-columns: 1fr; } }
.cta__addr { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.cta__addr strong { color: var(--ink); display: block; font-weight: 500; }

/* ====== Footer ====== */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; }
.footer__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ====== Tweaks panel ====== */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--bg-1); border: 1px solid var(--line-strong);
  padding: 18px; min-width: 280px;
  font-family: var(--font-mono); font-size: 12px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(0, 229, 255, 0.08);
}
.tweaks.is-open { display: block; }
.tweaks__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tweaks__title { color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; }
.tweaks__close { color: var(--ink-3); cursor: pointer; }
.tweaks__group { margin-bottom: 14px; }
.tweaks__label { color: var(--ink-3); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.tweaks__row { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__swatch { width: 22px; height: 22px; border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.tweaks__swatch.is-on { border-color: #fff; box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 3px var(--accent); }
.tweaks__opt {
  flex: 1; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; text-align: center;
  transition: all .2s;
}
.tweaks__opt.is-on { background: var(--accent); color: #000; border-color: var(--accent); }

/* ====== Pipeline canvas ====== */
.pipeline-canvas { width: 100%; height: 320px; position: relative; }
.pipeline-canvas svg { width: 100%; height: 100%; }
.pipe-node {
  fill: var(--surface); stroke: var(--accent); stroke-width: 1.2;
}
.pipe-node-bg { fill: var(--bg-1); }
.pipe-edge { stroke: var(--accent); stroke-width: 1.2; fill: none; opacity: 0.6; }
.pipe-pulse { fill: var(--accent); }
.pipe-label { font-family: var(--font-mono); font-size: 10px; fill: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase; }
.pipe-label--active { fill: var(--accent); }

/* ====== 3D Hero variant ====== */
[data-hero-mode="scene3d"] { min-height: 720px; position: relative; padding-bottom: 40px; }
[data-hero-mode="scene3d"] { min-height: 720px; position: relative; padding-bottom: 40px; }
.hero3d {
  position: absolute;
  top: -120px; left: -5%; right: -5%; bottom: -40px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  height: 900px;
}
.hero3d canvas { display: block; width: 100%; height: 100%; }
.hero3d__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(5,7,10,0.75) 80%),
    radial-gradient(ellipse at 30% 40%, rgba(0,229,255,0.10), transparent 40%);
}
.hero3d__copy {
  position: relative; z-index: 2;
  padding: 40px 0 60px;
  max-width: 780px;
}
.hero3d__chip {
  position: absolute; right: 0; top: 40px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: rgba(10, 14, 19, 0.75);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono);
}
.hero3d__chip button {
  font: inherit; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 10px; color: var(--ink-2); background: transparent;
  border: 1px solid transparent; cursor: pointer; transition: all .2s;
}
.hero3d__chip button:hover { color: var(--accent); border-color: var(--line); }
.hero3d__chip button.is-on { color: #000; background: var(--accent); border-color: var(--accent); }
@media (max-width: 720px) {
  .hero3d__chip { position: static; margin-top: 24px; flex-wrap: wrap; }
}
.sdlc-vert { display: grid; grid-template-columns: 360px 1fr; gap: 64px; }
@media (max-width: 900px) { .sdlc-vert { grid-template-columns: 1fr; } }
.sdlc-vert__nav { position: sticky; top: 100px; align-self: start; }
.sdlc-vert__nav-item {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; gap: 12px; align-items: baseline;
  transition: color .2s;
}
.sdlc-vert__nav-item.is-active { color: var(--accent); }
.sdlc-vert__nav-item.is-active .sdlc-vert__bar { background: var(--accent); }
.sdlc-vert__bar { display: inline-block; width: 24px; height: 1px; background: var(--ink-4); }

/* Hidden initially for animation */
.reveal { opacity: 0; transform: translateY(30px); }
.reveal-x { opacity: 0; transform: translateX(-20px); }

/* Helpers */
.divider { height: 1px; background: var(--line); margin: 0; }
.flex { display: flex; }
.between { justify-content: space-between; }
.gap-12 { gap: 12px; }
.center { align-items: center; }

/* ====== Highlight bracket cursor for headings ====== */
.cursor-blink::after {
  content: "_"; color: var(--accent); margin-left: 6px;
  animation: blink 1s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ====== ASCII divider ====== */
.ascii-div { font-family: var(--font-mono); font-size: 10px; color: var(--ink-4); letter-spacing: 0; overflow: hidden; white-space: nowrap; padding: 24px 0; }

/* ====== Accent variants ====== */
[data-accent="cyan"]   { --accent: #00E5FF; --accent-2: #00B8D4; --accent-soft: rgba(0, 229, 255, 0.08); --accent-glow: 0 0 24px rgba(0, 229, 255, 0.45); --line: rgba(0, 229, 255, 0.12); --line-strong: rgba(0, 229, 255, 0.28); }
[data-accent="violet"] { --accent: #9D7CFF; --accent-2: #7C5CFF; --accent-soft: rgba(157, 124, 255, 0.08); --accent-glow: 0 0 24px rgba(157, 124, 255, 0.45); --line: rgba(157, 124, 255, 0.12); --line-strong: rgba(157, 124, 255, 0.28); }
[data-accent="lime"]   { --accent: #B6FF3A; --accent-2: #9EFF00; --accent-soft: rgba(182, 255, 58, 0.08); --accent-glow: 0 0 24px rgba(182, 255, 58, 0.45); --line: rgba(182, 255, 58, 0.12); --line-strong: rgba(182, 255, 58, 0.28); }
[data-accent="amber"]  { --accent: #FFB547; --accent-2: #FF8A00; --accent-soft: rgba(255, 181, 71, 0.08); --accent-glow: 0 0 24px rgba(255, 181, 71, 0.45); --line: rgba(255, 181, 71, 0.12); --line-strong: rgba(255, 181, 71, 0.28); }
