/* ============================================================
   TWIPSI DIGITAL — v3 "Engineered, not imagined"
   Light industrial · gray / orange / white
   Barlow Condensed + Barlow + JetBrains Mono
   ============================================================ */

:root {
  /* light surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f5f1;
  --bg-gray: #edecE7;
  /* ink */
  --ink: #191917;
  --ink-2: #2c2c29;
  --muted: #6e6e69;
  --line: rgba(25, 25, 23, 0.12);
  --line-strong: rgba(25, 25, 23, 0.24);
  /* brand */
  --orange: #f4511e;
  --orange-2: #ff7a3c;
  --orange-dim: rgba(244, 81, 30, 0.12);
  /* charcoal bands */
  --charcoal: #171715;
  --charcoal-2: #1f1f1c;
  --charcoal-3: #282825;
  --c-text: #f3f2ed;
  --c-muted: #9c9c95;
  --c-line: rgba(255, 255, 255, 0.13);
  --c-line-strong: rgba(255, 255, 255, 0.22);
  /* misc */
  --err: #d23f3f;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-3%,2%); }
  30% { transform: translate(2%,-4%); } 50% { transform: translate(-4%,-2%); }
  70% { transform: translate(3%,4%); } 90% { transform: translate(-2%,3%); }
}

::selection { background: var(--orange); color: #fff; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.76em; letter-spacing: 0.02em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

section { position: relative; padding: clamp(90px, 12vh, 150px) 0; }

/* charcoal band scope — components inside auto-adapt via vars */
.band-dark {
  background: var(--charcoal);
  color: var(--c-text);
  --ink: var(--c-text);
  --muted: var(--c-muted);
  --line: var(--c-line);
  --line-strong: var(--c-line-strong);
  --bg-soft: var(--charcoal-2);
}

/* hairline divider between consecutive light sections */
section.light + section.light::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: min(var(--wrap), calc(100% - 48px)); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ============ Preloader ============ */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { width: min(420px, 80vw); text-align: left; }
.pre-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 34px; letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pre-logo span { color: var(--orange); }
.pre-line { height: 2px; background: var(--line); overflow: hidden; }
.pre-bar { display: block; height: 100%; width: 0%; background: var(--orange); }
.pre-meta { margin-top: 14px; color: var(--muted); font-size: 12px; }
html:not(.js) #preloader { display: none; }

/* ============ Cursor ============ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9500;
  border-radius: 50%;
  display: none;
}
.cursor-dot { width: 6px; height: 6px; background: var(--orange); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(25, 25, 23, 0.35);
  transition: transform 0.18s var(--ease-out), border-color 0.18s, background 0.18s;
}
.cursor-ring.is-hover {
  transform: translate(-50%, -50%) scale(1.7) !important;
  background: var(--orange-dim);
  border-color: var(--orange);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}

/* ============ Header ============ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background 0.4s, border-color 0.4s, transform 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
#header.hidden { transform: translateY(-110%); }

/* light header text while over a dark hero (mngr page) */
body.hero-dark #header:not(.scrolled) .brand { color: var(--c-text); }
body.hero-dark #header:not(.scrolled) #navbar a { color: var(--c-muted); }
body.hero-dark #header:not(.scrolled) #navbar a:hover,
body.hero-dark #header:not(.scrolled) #navbar a.active { color: #fff; }
body.hero-dark #header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 23px; letter-spacing: 0.03em; text-transform: uppercase;
}
.brand img { height: 36px; width: auto; }
.brand em { font-style: normal; color: var(--orange); }
#navbar { margin-left: auto; }
#navbar ul { display: flex; gap: 30px; list-style: none; }
#navbar a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  position: relative; padding: 6px 0;
  transition: color 0.25s;
}
#navbar a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--orange); transition: width 0.3s var(--ease-out);
}
#navbar a:hover, #navbar a.active { color: var(--ink); }
#navbar a:hover::after, #navbar a.active::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 38px; height: 38px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 7px; right: 7px; height: 2px; background: var(--ink);
  transition: transform 0.3s var(--ease-out), top 0.3s;
}
.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { top: 22px; }
body.nav-open .nav-toggle span:first-child { top: 18px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:last-child { top: 18px; transform: rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--orange); color: #fff;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 17px 30px; border: 1px solid var(--orange);
  border-radius: 3px; cursor: pointer;
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink-2);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.band-dark .btn::before { background: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: #fff; border-color: var(--ink-2); }
.band-dark .btn:hover { color: var(--charcoal); border-color: #fff; }
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn i { transition: transform 0.3s var(--ease-out); }
.btn:hover i { transform: translateX(5px); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); border-color: var(--ink); }
.band-dark .btn-ghost::before { background: #fff; }
.band-dark .btn-ghost:hover { color: var(--charcoal); border-color: #fff; }
.btn-small { padding: 12px 20px; font-size: 11.5px; }
.btn:disabled { opacity: 0.55; pointer-events: none; }

/* ============ Hero ============ */
#hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
#hero.band-dark { background: var(--charcoal); }
#net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 25%, transparent 75%);
  opacity: 0.45;
}
#hero::before {
  content: ""; position: absolute; pointer-events: none;
  width: 760px; height: 760px; top: -220px; right: -180px;
  background: radial-gradient(circle, rgba(244, 81, 30, 0.1), transparent 65%);
}
.hero-wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--orange); font-size: 12px; letter-spacing: 0.18em;
  margin-bottom: 26px;
}
#hero h1 {
  font-size: clamp(58px, 8.6vw, 138px);
  font-weight: 800;
  line-height: 0.92;
  margin-bottom: 30px;
}
.hero-sub {
  color: var(--muted); font-size: clamp(17px, 1.5vw, 21px);
  max-width: 560px; margin-bottom: 42px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero ops card — always charcoal, on any page */
.hero-ops {
  background: var(--charcoal);
  border: 1px solid var(--charcoal-3);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(25, 25, 23, 0.28);
  color: var(--c-text);
}
.ops-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; font-size: 11.5px; color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
  letter-spacing: 0.08em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.ok { background: var(--orange-2); box-shadow: 0 0 10px var(--orange-2); animation: blink 2.4s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.ops-body {
  padding: 18px; height: 248px; overflow: hidden;
  font-size: 12px; line-height: 2.1; color: var(--c-muted);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ops-body .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ops-body .t { color: #5d5d57; margin-right: 10px; }
.ops-body .ok { color: var(--orange-2); }
.ops-body .ev { color: var(--c-text); }
.ops-body .warm { color: var(--orange-2); }
.ops-body .acc { color: var(--c-muted); }
.ops-foot {
  padding: 12px 18px; font-size: 11px; color: var(--orange-2);
  border-top: 1px solid var(--c-line); letter-spacing: 0.08em;
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span {
  width: 1px; height: 44px; background: var(--line-strong);
  position: relative; overflow: hidden; display: block;
}
.scroll-hint span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--orange);
  animation: drip 1.8s var(--ease-out) infinite;
}
@keyframes drip { 0% { top: -50%; } 100% { top: 110%; } }

/* ============ Marquee ============ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden; padding: 22px 0;
  position: relative; z-index: 3;
}
.marquee-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600;
  font-size: 19px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.marquee-track i { color: var(--orange); font-style: normal; font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Section headers ============ */
.sec-head { margin-bottom: clamp(48px, 7vh, 80px); max-width: 920px; }
.sec-index {
  display: inline-block; font-size: 12px; letter-spacing: 0.22em;
  color: var(--orange); margin-bottom: 20px;
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 3px;
}
.sec-head h2, .contact-copy h2 {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 800;
  margin-bottom: 22px;
}
.sec-sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 760px; }

/* split-text line masking */
.js .split .sw { display: inline-block; overflow: hidden; vertical-align: bottom; }
.js .split .sw > i { display: inline-block; font-style: normal; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; }
.split .sw > i.accent { color: var(--orange); }

/* generic reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ============ Services ============ */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
  gap: 1px;
}
.svc {
  background: var(--bg);
  padding: 42px 34px 46px;
  position: relative;
  transition: background 0.35s;
}
.svc:hover { background: var(--bg-soft); }
.svc-num { font-size: 11px; letter-spacing: 0.2em; color: var(--orange); }
.svc h4 { font-size: 30px; margin: 18px 0 12px; font-weight: 700; }
.svc p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.svc::after {
  content: "→"; position: absolute; right: 28px; top: 36px;
  color: var(--orange); opacity: 0; transform: translateX(-8px);
  font-size: 22px;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.svc:hover::after { opacity: 1; transform: translateX(0); }

/* ============ Flagship teaser / stats ============ */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-strong); border-radius: 6px;
  overflow: hidden;
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line-strong);
  transition: background 0.4s;
}
.stat:hover { background: rgba(244, 81, 30, 0.07); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 6.4vw, 110px); font-weight: 800;
  line-height: 0.9; color: var(--orange);
}
.stat-label { margin-top: 14px; color: var(--muted); font-size: 11.5px; line-height: 1.7; letter-spacing: 0.06em; text-transform: uppercase; }

/* mini pipeline chips (index teaser) */
.flow-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 44px 0;
}
.flow-chips span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em;
  border: 1px solid var(--line-strong); border-radius: 3px;
  padding: 10px 16px; color: var(--ink);
  background: var(--charcoal-2);
  transition: border-color 0.3s, color 0.3s;
}
.flow-chips span:hover { border-color: var(--orange); color: var(--orange-2); }
.flow-chips i { color: var(--orange); font-style: normal; font-family: var(--font-mono); }
.teaser-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ============ Pipeline (pinned, mngr page) ============ */
#pipeline {
  background: var(--charcoal-2);
  padding: 0;
  border-block: 1px solid var(--c-line);
}
.pipe-pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 0 60px;
  overflow: hidden;
}
.pipe-head { margin-bottom: 48px; }
.pipe-head h3 { font-size: clamp(36px, 4.4vw, 64px); margin-top: 18px; }
.pipe-progress {
  margin-top: 28px; height: 2px; background: var(--c-line);
  border-radius: 2px; overflow: hidden;
}
#pipe-bar {
  display: block; height: 100%; width: 100%;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
}
.pipe-track {
  display: flex; gap: 28px;
  padding-left: max(24px, calc((100vw - var(--wrap)) / 2));
  padding-right: 10vw;
  width: max-content;
  will-change: transform;
  position: relative;
}
.pipe-rail {
  position: absolute; top: 50%; left: 0; right: -10vw;
  border-top: 1px dashed var(--c-line-strong);
  z-index: 0; pointer-events: none;
}
.pipe-pulse {
  position: absolute; top: 50%; left: 0;
  width: 14px; height: 14px; margin-top: -7px;
  border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 16px var(--orange-2), 0 0 44px rgba(255, 122, 60, 0.5);
  z-index: 0; pointer-events: none;
}
.stage {
  width: min(540px, 78vw);
  flex-shrink: 0;
  background: var(--charcoal);
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  padding: 36px 36px 30px;
  position: relative; z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.stage.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 24px 70px rgba(244, 81, 30, 0.18);
  transform: translateY(-6px);
}
.stage-wide { width: min(620px, 82vw); }
.stage-num {
  font-size: 11px; letter-spacing: 0.24em; color: var(--orange-2);
  display: inline-block; margin-bottom: 18px;
}
.stage h4 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 16px; color: var(--c-text); }
.stage p { color: var(--c-muted); font-size: 15px; line-height: 1.75; }
.stage p em { color: var(--c-text); font-style: normal; font-weight: 600; }
.stage-notes {
  list-style: none; margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--c-line-strong);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.stage-notes li { font-size: 11px; color: var(--orange-2); letter-spacing: 0.04em; }
.stage-notes li::before { content: "▸ "; color: var(--c-muted); }
.pipe-log {
  margin-top: 40px;
  font-size: 13px; color: var(--orange-2); letter-spacing: 0.03em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pipe-log::before { content: "$ "; color: var(--c-muted); }
@media (min-width: 901px) {
  .pipe-track .stage { opacity: 0.45; transition: opacity 0.45s, border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out); }
  .pipe-track .stage.active { opacity: 1; }
}
@media (max-width: 900px) {
  .pipe-rail, .pipe-pulse { display: none; }
}

/* ============ Comms / SVG (mngr page, dark band) ============ */
.comms-svg {
  border: 1px solid var(--c-line-strong); border-radius: 8px;
  background:
    radial-gradient(ellipse 60% 80% at 40% 40%, rgba(244, 81, 30, 0.07), transparent),
    var(--charcoal-2);
  padding: clamp(12px, 3vw, 36px);
  margin-bottom: 56px;
}
.comms-svg svg { width: 100%; height: auto; display: block; }
.wire {
  fill: none; stroke: #8a8a83; stroke-width: 1.4;
  stroke-dasharray: 6 6; opacity: 0.7;
  animation: wireflow 1.5s linear infinite;
}
@keyframes wireflow { to { stroke-dashoffset: -24; } }
.wire.thin { stroke-width: 1; opacity: 0.5; }
.wire.thick {
  stroke: var(--orange); stroke-width: 2.4; stroke-dasharray: 8 6; opacity: 0.9;
  animation: wireflow-thick 1s linear infinite;
}
@keyframes wireflow-thick { to { stroke-dashoffset: -28; } }
.node { fill: rgba(244, 81, 30, 0.08); stroke: var(--orange); stroke-width: 1.2; }
.svg-label {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  fill: var(--c-text); letter-spacing: 0.08em;
}
.svg-mono { font-family: var(--font-mono); font-size: 11px; fill: var(--c-muted); letter-spacing: 0.05em; }
.svg-mono.caption { fill: var(--orange-2); font-size: 12px; }
.chips rect { fill: var(--charcoal-3); stroke: var(--c-line-strong); }
.chips text { font-family: var(--font-mono); font-size: 12px; fill: var(--c-text); }
.pins text { fill: var(--orange-2); }
.pulse { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.pulse-warm { fill: var(--orange-2); filter: drop-shadow(0 0 6px var(--orange-2)); }

.comms-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.comms-col h4 {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.14em;
  color: var(--ink); margin-bottom: 16px; text-transform: none;
}
.comms-col h4 span { color: var(--muted); font-weight: 400; }
.comms-col p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.comms-col p em { color: var(--orange-2); font-style: normal; }

/* ============ Cards (inventory) ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 34px 30px;
  position: relative; overflow: hidden;
  transition: border-color 0.4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 81, 30, 0.09), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(244, 81, 30, 0.55); }
.card-tag {
  display: inline-block; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(244, 81, 30, 0.4); border-radius: 3px;
  padding: 4px 9px; margin-bottom: 20px;
}
.card h4 { font-size: 28px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.card p em { color: var(--ink); font-style: normal; font-weight: 600; }

/* ============ Work ============ */
.work-list { display: flex; flex-direction: column; }
.work-item {
  padding: 52px 0;
  border-top: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 200px 1fr; gap: 12px 56px;
  position: relative; overflow: hidden;
  transition: background 0.4s, padding-left 0.4s var(--ease-out);
}
.work-item:last-child { border-bottom: 1px solid var(--line-strong); }
.work-item:hover { background: linear-gradient(90deg, var(--orange-dim), transparent 60%); padding-left: 18px; }
.work-meta { color: var(--orange); font-size: 11.5px; letter-spacing: 0.18em; padding-top: 8px; grid-row: 1 / span 3; }
.work-item h3 { font-size: clamp(32px, 3.4vw, 54px); margin-bottom: 14px; grid-column: 2; }
.work-item p { color: var(--muted); max-width: 720px; font-size: 15.5px; grid-column: 2; }
.work-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.work-tags span {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
  border: 1px solid var(--line-strong); border-radius: 30px; padding: 6px 14px;
}
.work-item::after {
  content: attr(data-idx);
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%) translateX(20px);
  font-family: var(--font-display);
  font-size: clamp(110px, 13vw, 220px);
  font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 81, 30, 0.35);
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s, transform 0.55s var(--ease-out);
}
.work-item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ============ Process ============ */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  padding-top: 56px;
  border-top: 2px solid var(--ink);
}
.band-dark .process { border-top-color: var(--c-text); }
.proc-step span {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1.4px var(--orange);
  display: block; line-height: 1;
}
.proc-step h5 { font-size: 24px; margin: 18px 0 10px; }
.proc-step p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ============ Engineering ============ */
.eng-cols { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.eng-log {
  background: #101010;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  padding: 30px 28px;
  font-size: 13px; line-height: 2.2;
}
.log-line { color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-line span {
  display: inline-block; width: 52px; margin-right: 14px;
  font-weight: 700; letter-spacing: 0.06em;
}
.log-line .ok { color: var(--orange-2); }
.log-line .warn { color: #fff; }
.log-line .info { color: #8a8a83; }
.eng-stack h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: var(--orange-2); margin-bottom: 22px; text-transform: none; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-wrap span {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 4px;
  padding: 8px 14px; background: var(--bg-soft);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.chips-wrap span:hover { border-color: var(--orange); color: var(--orange-2); transform: translateY(-3px); }
.eng-note { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ============ Pricing ============ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 34px 28px; background: var(--bg);
  position: relative;
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(244, 81, 30, 0.6); }
.price-card h4 { font-size: 27px; margin-bottom: 14px; }
.price-range { font-family: var(--font-mono); color: var(--orange); font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.price-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.price-card.featured { border-color: var(--orange); background: linear-gradient(180deg, var(--orange-dim), var(--bg) 60%); }
.feat-tag {
  position: absolute; top: -11px; left: 24px;
  background: var(--orange); color: #fff;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.price-note { margin-top: 36px; color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }

/* ============ Ticker strip ============ */
.ticker {
  overflow: hidden;
  padding: clamp(44px, 9vh, 100px) 0;
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  position: relative;
}
.ticker.band-dark { background: var(--charcoal); border-color: var(--c-line); }
.ticker-row {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(70px, 12vw, 200px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(25, 25, 23, 0.3);
  letter-spacing: 0.02em;
  will-change: transform;
  width: max-content;
  text-transform: uppercase;
}
.ticker.band-dark .ticker-row { -webkit-text-stroke-color: rgba(244, 81, 30, 0.5); }

/* ============ FAQ ============ */
.faq-list { max-width: 880px; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  color: var(--ink); text-align: left;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(21px, 2.2vw, 29px); letter-spacing: 0.01em;
  padding: 24px 56px 24px 0;
  position: relative;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--orange); }
.faq-q i {
  position: absolute; right: 4px; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; background: var(--orange);
  transition: transform 0.4s var(--ease-out);
}
.faq-q i::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq-q i::after { top: 0; bottom: 0; left: 8px; width: 2px; }
.faq-item.open .faq-q i::after { transform: scaleY(0); }
.faq-item.open .faq-q i::before { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p {
  color: var(--muted); font-size: 15.5px; line-height: 1.8;
  padding: 0 40px 28px 0; max-width: 760px;
}
.faq-a p em { color: var(--ink); font-style: normal; font-weight: 600; }

/* ============ CTA band (mngr page) ============ */
.cta-band {
  background: var(--orange);
  color: #fff;
  padding: clamp(80px, 11vh, 130px) 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(48px, 6.4vw, 100px); font-weight: 800; margin-bottom: 18px; }
.cta-band p { font-size: clamp(16px, 1.4vw, 19px); opacity: 0.9; max-width: 640px; margin: 0 auto 38px; }
.cta-band .btn { background: var(--charcoal); border-color: var(--charcoal); }
.cta-band .btn::before { background: #fff; }
.cta-band .btn:hover { color: var(--charcoal); border-color: #fff; }

/* ============ Contact ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info { list-style: none; margin-top: 36px; }
.contact-info li {
  display: flex; gap: 22px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 13px; color: var(--ink);
}
.contact-info li span:first-child { color: var(--orange); font-size: 11px; letter-spacing: 0.2em; width: 44px; flex-shrink: 0; }
.contact-info a:hover { color: var(--orange); }

#contact-form label {
  display: block; margin-bottom: 20px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
#contact-form input, #contact-form textarea {
  display: block; width: 100%; margin-top: 9px;
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 4px; padding: 14px 16px;
  color: var(--ink); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
#contact-form input:focus, #contact-form textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-dim);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-size: 12px; color: var(--muted); }
.form-status.ok { color: var(--orange); }
.form-status.err { color: var(--err); }

/* ============ Footer ============ */
#footer {
  border-top: 1px solid var(--c-line);
  background: var(--charcoal);
  color: var(--c-text);
  padding: 40px 0 48px;
  overflow: hidden;
  position: relative;
}
.footer-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(130px, 24vw, 380px);
  line-height: 0.8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  user-select: none;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.f-col { display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.f-col a { color: var(--c-muted); transition: color 0.25s; width: fit-content; }
.f-col a:hover { color: var(--orange-2); }
.f-col .dim { color: #5d5d57; }
.f-col p { color: var(--c-muted); }

/* ============ Mobile nav ============ */
@media (max-width: 1000px) {
  #navbar {
    position: fixed; inset: 76px 0 auto 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-strong);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease-out);
    padding: 10px 24px 30px;
  }
  body.nav-open #navbar { transform: translateY(0); }
  #navbar ul { flex-direction: column; gap: 0; }
  #navbar a { display: block; padding: 15px 0; font-size: 15px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  /* mobile panel is white — keep links dark even over a dark hero */
  body.hero-dark #header:not(.scrolled) #navbar a { color: var(--ink-2); }
  .nav-toggle { display: block; }
  .nav-wrap > .btn { display: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .card-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-ops { max-width: 560px; }
  .comms-cols, .eng-cols, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .work-item { grid-template-columns: 1fr; gap: 8px; }
  .work-item h3, .work-item p, .work-tags { grid-column: 1; }
  .work-meta { grid-row: auto; margin-bottom: 6px; }

  /* pipeline: vertical fallback */
  #pipeline { padding: 90px 0; }
  .pipe-pin { min-height: 0; padding: 0; display: block; }
  .pipe-head { margin-bottom: 36px; }
  .pipe-progress { display: none; }
  .pipe-track { flex-direction: column; width: 100%; padding-inline: 24px; }
  .stage, .stage-wide { width: 100%; }
  .pipe-log { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .card-grid, .svc-grid, .price-grid, .process, .form-row { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  section { padding: 72px 0; }
  .log-line { white-space: normal; line-height: 1.7; padding: 6px 0; }
  .log-line span { width: auto; margin-right: 10px; }
}

/* ============================================================
   ROUND 3 — go crazy (professionally)
   ============================================================ */

/* orange page-wipe transition */
.wipe {
  position: fixed; inset: 0; z-index: 9800;
  background: var(--orange);
  transform: scaleY(0); transform-origin: bottom;
  pointer-events: none;
}

/* live ops HUD chip */
.hud {
  position: fixed; right: 18px; bottom: 16px; z-index: 880;
  display: flex; align-items: center; gap: 12px;
  font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 14px;
}
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: blink 2.4s infinite; }
#hud-sec { color: var(--ink); }
@media (max-width: 900px) { .hud { display: none; } }

/* scanline sweep over charcoal bands */
section.band-dark::after {
  content: ""; position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(255, 122, 60, 0.06) 50%, transparent 58%);
  background-size: 100% 320%;
  animation: scan 9s linear infinite;
}
@keyframes scan { 0% { background-position: 0 0%; } 100% { background-position: 0 100%; } }

/* status-LED blip on buttons */
.btn::after {
  content: ""; position: absolute; top: 8px; right: 8px;
  width: 4px; height: 4px; border-radius: 1px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1;
  animation: blink 2.2s infinite;
}
.btn-ghost::after { background: var(--orange); }

/* marquee hover */
.marquee-track span { transition: color 0.3s; }
.marquee-track span:hover { color: var(--orange); }

/* slot-machine stat digits */
.count.rolling { display: inline-block; height: 1em; overflow: hidden; vertical-align: bottom; }
.count.rolling .dcol { display: flex; flex-direction: column; }
.count.rolling .dcol span { display: block; height: 1em; line-height: 1; }

/* process rail fill */
.process { position: relative; --procw: 0%; }
.process::after {
  content: ""; position: absolute; top: -2px; left: 0;
  height: 2px; width: var(--procw);
  background: var(--orange);
}

/* footer word scrub-fill */
.footer-word { position: relative; --fill: 0%; }
.footer-word::after {
  content: attr(data-text);
  position: absolute; left: 0; right: 0; top: 0;
  color: var(--orange);
  -webkit-text-stroke: 0;
  clip-path: inset(calc(100% - var(--fill)) 0 0 0);
}

/* double-decker ticker */
.ticker-inner { display: flex; flex-direction: column; gap: 8px; }
.ticker-row-b {
  -webkit-text-stroke: 0;
  color: var(--orange);
  font-size: clamp(34px, 5.4vw, 84px);
  opacity: 0.95;
}

/* barcode brand motif */
.barcode {
  height: 30px; width: 170px;
  background: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 5px,
    currentColor 5px 6px, transparent 6px 11px,
    currentColor 11px 13px, transparent 13px 16px,
    currentColor 16px 17px, transparent 17px 23px);
  transform-origin: left;
}
.js .barcode { transform: scaleX(0); }
.footer-meta {
  display: flex; align-items: center; gap: 18px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 36px;
}
.footer-meta span {
  font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--c-muted);
}

/* ============================================================
   ROUND 4 — JARVIS mode: telemetry, rings, crosshair
   ============================================================ */

/* top scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  z-index: 950; pointer-events: none;
}

/* rotating HUD rings in hero */
.hero-rings {
  position: absolute; z-index: 1; pointer-events: none;
  width: min(680px, 56vw); height: auto;
  right: -180px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
}
.hero-rings circle { fill: none; }
.hero-rings .r-main { stroke: var(--orange); stroke-width: 1; stroke-dasharray: 90 40 8 40; opacity: 0.5; }
.hero-rings .r-fine { stroke: var(--muted); stroke-width: 0.6; stroke-dasharray: 2 7; opacity: 0.55; }
.hero-rings .r-tick { stroke: var(--orange); stroke-width: 10; stroke-dasharray: 1.2 14; opacity: 0.4; }
.hero-rings .r-arc  { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 160 420; opacity: 0.3; }
.hero-rings .rr { transform-box: fill-box; transform-origin: center; animation: spin 44s linear infinite; }
.hero-rings .rr-2 { animation-duration: 30s; animation-direction: reverse; }
.hero-rings .rr-3 { animation-duration: 70s; }
.hero-rings .rr-4 { animation-duration: 22s; animation-direction: reverse; }
.hero-rings text { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); letter-spacing: 0.3em; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero-rings { display: none; } }

/* crosshair tracker (hero, desktop) */
.xhair { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.5s; }
#hero:hover .xhair { opacity: 1; }
.xh-h, .xh-v { position: absolute; background: var(--ink); opacity: 0.1; }
.xh-h { left: 0; right: 0; height: 1px; top: 0; }
.xh-v { top: 0; bottom: 0; width: 1px; left: 0; }
.xh-label {
  position: absolute; top: 0; left: 0;
  font-size: 10px; color: var(--muted); letter-spacing: 0.1em;
  transform: translate(14px, 14px);
  white-space: nowrap;
}
@media (hover: none), (max-width: 900px) { .xhair { display: none; } }

/* eyebrow typing caret */
.eyebrow.typing::after { content: "_"; animation: blink 0.7s steps(1) infinite; }

/* sparkline inside ops card */
.ops-spark {
  display: block; width: 100%; height: 54px;
  border-bottom: 1px solid var(--c-line);
}

/* ============ Telemetry / mission control ============ */
.tele-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "chart chart gauge radar"
    "chart chart eq    radar"
    "feed  feed  feed  stats";
}
.tele-panel {
  background: #101010;
  border: 1px solid var(--c-line-strong);
  border-radius: 8px;
  padding: 16px 16px 14px;
  position: relative; overflow: hidden;
  min-width: 0;
}
.tele-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent 60%);
  opacity: 0.5;
}
.tp-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 12px;
}
.tp-head b { margin-left: auto; color: var(--orange-2); font-size: 15px; font-weight: 700; }
.tp-chart { grid-area: chart; }
.tp-chart canvas { display: block; width: 100%; height: 252px; }
.tp-gauge { grid-area: gauge; }
.tp-radar { grid-area: radar; }
.tp-radar canvas { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 330px; margin-inline: auto; }
.tp-eq { grid-area: eq; }
.tp-stats { grid-area: stats; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.tp-feed { grid-area: feed; }
.tele-feed { height: 150px; padding: 0; }

/* gauge */
.gauge-wrap { position: relative; width: 150px; margin: 4px auto 0; }
.gauge-wrap svg { display: block; width: 100%; }
.gauge-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 7; stroke-dasharray: 216.8 289.0; stroke-linecap: round; }
.gauge-ticks { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 5; stroke-dasharray: 1 12.3; }
.gauge-arc {
  fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(244, 81, 30, 0.6));
}
.gauge-val {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; font-weight: 700;
}

/* equalizer */
.eq { display: flex; flex-direction: column; gap: 11px; }
.eq-row { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--c-muted); }
.eq-row > span { width: 76px; flex-shrink: 0; letter-spacing: 0.08em; }
.eq-bar { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.07); border-radius: 3px; overflow: hidden; }
.eq-bar i {
  display: block; height: 100%; width: 30%;
  background: linear-gradient(90deg, rgba(244, 81, 30, 0.5), var(--orange-2));
  border-radius: 3px;
  transition: width 0.9s var(--ease-out);
}
.eq-row b { width: 38px; text-align: right; color: var(--c-text); font-weight: 500; }

/* readouts */
.ro { display: flex; flex-direction: column; gap: 4px; }
.ro-num { font-size: 24px; color: #fff; font-weight: 700; transition: color 0.3s; }
.ro-num.flash { color: var(--orange-2); }
.ro label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }

/* comms node ring decorations */
.ring-deco { fill: none; stroke: var(--orange); stroke-width: 1; stroke-dasharray: 10 14; opacity: 0.35; }

@media (max-width: 1100px) {
  .tele-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "chart chart"
      "gauge radar"
      "eq    radar"
      "stats stats"
      "feed  feed";
  }
}
@media (max-width: 640px) {
  .tele-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "chart" "gauge" "eq" "radar" "stats" "feed";
  }
}

/* ============================================================
   ROUND 5 — real brands, spec-sheet services, pricing matrix
   ============================================================ */

/* brand logo marquee */
.brands-marquee { padding: 26px 0; background: var(--bg); }
.brand-chip {
  display: inline-flex; align-items: center; gap: 14px;
  white-space: nowrap;
}
.brand-chip img {
  height: 38px; width: auto;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.75;
  transition: filter 0.35s, opacity 0.35s, transform 0.35s var(--ease-out);
}
.brand-chip:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.brand-chip i {
  font-style: normal; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

/* work-case logos */
.work-logo { height: 42px; width: auto; margin-top: 12px; }

/* service spec sheets */
.svc { cursor: pointer; }
.svc-spec {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.svc.open .svc-spec { grid-template-rows: 1fr; }
.svc-spec > div { overflow: hidden; min-height: 0; }
.svc-spec ul {
  list-style: none;
  margin: 18px 0 0; padding: 18px 0 0;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px; line-height: 2.1; color: var(--ink-2);
}
.svc-spec li::before { content: "▸ "; color: var(--orange); }
.svc-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 16px 0 4px;
}
.svc-meta span {
  font-size: 11px; letter-spacing: 0.08em;
  border: 1px solid rgba(244, 81, 30, 0.45); border-radius: 30px;
  color: var(--orange); padding: 5px 13px;
  background: var(--orange-dim);
}
.svc-toggle {
  margin-top: 18px;
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.3s;
}
.svc:hover .svc-toggle, .svc.open .svc-toggle { color: var(--orange); }
.svc-toggle i {
  font-style: normal; font-size: 15px; line-height: 1;
  transition: transform 0.4s var(--ease-out);
}
.svc.open .svc-toggle i { transform: rotate(45deg); }

/* pricing tabs */
.ptabs {
  position: relative;
  display: flex; gap: 6px; flex-wrap: wrap;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 6px;
  width: fit-content;
  margin-bottom: 44px;
}
.ptab {
  position: relative; z-index: 1;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  padding: 11px 22px;
  transition: color 0.3s;
}
.ptab.active { color: #fff; }
.ptab-ind {
  position: absolute; top: 6px; bottom: 6px; left: 0;
  background: var(--orange);
  border-radius: 3px;
  width: 80px;
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out);
}
.pgroup { display: none; }
.pgroup.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ptier {
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.ptier:hover { transform: translateY(-6px); border-color: rgba(244, 81, 30, 0.6); box-shadow: 0 24px 50px rgba(25, 25, 23, 0.08); }
.ptier.featured { border-color: var(--orange); background: linear-gradient(180deg, var(--orange-dim), var(--bg) 55%); }
.ptier h4 { font-size: 26px; margin-bottom: 8px; }
.ptier .tier-price {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 2.6vw, 38px); color: var(--orange);
  line-height: 1;
}
.tier-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 14px 0 6px;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.tier-meta b { color: var(--ink); font-weight: 600; }
.tier-feats {
  list-style: none;
  margin: 16px 0 22px; padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px; line-height: 2; color: var(--ink-2);
  flex: 1;
}
.tier-feats li { padding-left: 20px; position: relative; }
.tier-feats li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--orange); font-weight: 700;
}
.tier-feats li.plus { color: var(--muted); font-style: italic; padding-left: 0; }
.tier-feats li.plus::before { content: none; }
.ptier .btn { justify-content: center; }

/* included-in-every-project strip */
.pinc {
  margin-top: 44px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--bg-soft);
  padding: 34px 34px 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.pinc h5 { font-size: 19px; color: var(--orange); margin-bottom: 12px; }
.pinc ul { list-style: none; font-size: 13.5px; line-height: 2; color: var(--ink-2); }
.pinc li::before { content: "— "; color: var(--orange); }

@media (max-width: 1000px) {
  .pgroup.active { grid-template-columns: 1fr; max-width: 560px; }
  .pinc { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal], .js .split .sw > i { opacity: 1 !important; transform: none !important; }
  .js .barcode { transform: none !important; }
  #preloader { display: none; }
  body::after { display: none; }
  section.band-dark::after { display: none; }
}
