/* ==========================================================================
   VISUALIZA+ — Your business, built for digital.
   Design system: black / off-white / acid signal color. Editorial, bold.
   ========================================================================== */

:root {
  --bg: #060606;
  --bg-2: #0c0c0b;
  --ink: #ededea;
  --dim: #8b8b84;
  --line: rgba(237, 237, 234, 0.14);
  --line-strong: rgba(237, 237, 234, 0.3);
  --acid: #d8ff3d;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --pad: clamp(5rem, 13vh, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--acid) var(--bg);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--acid); color: #060606; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; color: var(--acid); }
button, a { -webkit-tap-highlight-color: transparent; }

.acid { color: var(--acid); }
.dim { color: var(--dim); }
.mono { font-family: var(--font-mono); }

a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--acid); outline-offset: 3px;
}

/* ---- ambient grid + noise ---- */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), var(--line) calc(25% - 1px), var(--line) 25%);
  opacity: 0.5;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, footer { position: relative; z-index: 2; }

/* ==========================================================================
   LOADER
   ========================================================================== */
#loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--ease), visibility 0s linear 0.9s;
}
html:not(.js) #loader { display: none; }
#loader.done { transform: translateY(-101%); visibility: hidden; }
.loader-grid { width: min(560px, 84vw); }
.loader-monobrand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}
.loader-line { height: 2px; background: var(--line); overflow: hidden; }
.loader-line-fill { display: block; height: 100%; width: 0; background: var(--acid); }
.loader-meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--dim); margin-top: 0.8rem; letter-spacing: 0.08em;
}

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 300;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor#cursorDot {
  width: 8px; height: 8px; background: #fff;
}
.cursor#cursorRing {
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.9);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.35s;
}
.cursor.grow #cursorRing { width: 84px; height: 84px; border-color: var(--acid); }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

@media (pointer: coarse) {
  .cursor { display: none; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 150; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0%;
  background: var(--acid);
  transition: width 0.1s linear;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--gutter);
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 6, 6, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--line);
  padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); }
.nav-brand-plus {
  display: grid; place-items: center;
  width: 26px; height: 26px; background: var(--acid); color: #060606;
  font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700;
  transition: transform 0.5s var(--ease);
}
.nav-brand:hover .nav-brand-plus { transform: rotate(90deg); }
.nav-brand-text { font-size: 1.05rem; letter-spacing: 0.04em; }
.nav-links {
  display: flex; gap: clamp(1.2rem, 3vw, 2.6rem);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
}
.nav-links a { color: var(--dim); position: relative; padding: 0.3rem 0; transition: color 0.3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--acid); transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  border: 1px solid var(--line-strong); padding: 0.6rem 0.95rem;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
  display: inline-flex; gap: 0.5rem; align-items: center;
  background: transparent;
}
.nav-cta:hover { background: var(--acid); color: #060606; border-color: var(--acid); }
.nav-cta .arr, .btn .arr { transition: transform 0.35s var(--ease); }
.nav-cta:hover .arr, .btn:hover .arr { transform: translateX(5px); }

/* ---- language switch ---- */
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em;
}
.lang-btn { padding: 0.55rem 0.7rem; color: var(--dim); transition: background 0.3s, color 0.3s; }
.lang-btn + .lang-btn { border-left: 1px solid var(--line-strong); }
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background: var(--acid); color: #060606; font-weight: 700; }

/* ==========================================================================
   GENERIC SECTION + META
   ========================================================================== */
.section { padding: var(--pad) var(--gutter); }
.sec-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; letter-spacing: 0.16em; color: var(--dim);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.sec-meta span:last-child { color: var(--acid); }

/* ==========================================================================
   REVEAL SYSTEM
   ========================================================================== */
.js .reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* split-line reveals: each visual line is a .line-wrap > .js-lines pair */
.line-wrap { display: block; overflow: hidden; }
.js .js-lines {
  display: block;
  transform: translateY(115%);
  transition: transform 1.15s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js-lines.in { transform: translateY(0); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); letter-spacing: 0.12em; font-size: 0.8rem;
  padding: 1rem 1.5rem; position: relative; overflow: hidden;
}
.btn-primary { background: var(--acid); color: #060606; font-weight: 700; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: #060606; transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
}
.btn-primary:hover { color: var(--acid); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--acid); color: var(--acid); }
.btn-big { padding: 1.3rem 2rem; font-size: clamp(0.85rem, 1.4vw, 1rem); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(5rem + 2vh) var(--gutter) 2rem;
  display: flex; flex-direction: column;
  justify-content: space-between; gap: 2rem;
}
.hero-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em;
  color: var(--dim); border-bottom: 1px solid var(--line); padding-bottom: 0.9rem;
}
.hero-meta span:first-child { color: var(--ink); }
.hero-meta .mono { color: var(--acid); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.1rem, 11.5vw, 12rem);
  line-height: 0.93;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: clamp(1rem, 4vh, 2.5rem) 0 0;
}
.hero-title .line-wrap:last-child {
  display: flex; justify-content: flex-end;
  margin-top: clamp(-0.4rem, -1vw, 0rem);
}
.hero-title em { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.blink { animation: blink 1.1s steps(1) infinite; color: var(--acid); -webkit-text-stroke: 0; font-size: 0.8em; }
@keyframes blink { 50% { opacity: 0; } }

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding-bottom: 0.5rem;
}
.hero-sub {
  max-width: 42ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--dim); font-weight: 300;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

/* ---- pipeline ---- */
.pipeline { border: 1px solid var(--line); padding: 1.2rem clamp(0.8rem, 2vw, 1.8rem) 1rem; }
.pipeline-label {
  font-size: 0.66rem; letter-spacing: 0.14em; color: var(--dim);
  margin-bottom: 1.3rem;
}
.pipeline-track {
  position: relative;
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding-top: 1rem;
}
.pipeline-track::before {
  content: ""; position: absolute; top: 1.15rem; left: 0; right: 0;
  height: 1px; background: var(--line-strong);
}
.pulse {
  position: absolute; top: 1.15rem; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--acid);
  transform: translateY(-50%);
  box-shadow: 0 0 16px var(--acid), 0 0 40px rgba(216, 255, 61, 0.5);
  animation: pulse-run 9s linear infinite;
  z-index: 2;
}
@keyframes pulse-run {
  0%   { left: 0%;  opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: calc(100% - 9px); opacity: 0; }
}
.node {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  width: 20%; text-align: center;
  animation: node-glow 9s linear infinite;
  animation-delay: calc(var(--i) * 1.8s - 1.8s);
}
@keyframes node-glow {
  0%, 17% { opacity: 0.35; }
  21%, 40% { opacity: 1; }
  100% { opacity: 0.35; }
}
.node-box {
  width: 1.5rem; height: 1.5rem; border: 1px solid var(--acid);
  transform: rotate(45deg);
  display: grid; place-items: center;
  transition: background 0.3s;
}
.node:hover .node-box { background: var(--acid); }
.node-box::after { content: ""; width: 5px; height: 5px; background: var(--bg); }
.node-name {
  font-family: var(--font-display); font-size: clamp(0.7rem, 1.3vw, 1rem);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 0.3rem; white-space: nowrap;
}
.node-sub {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em;
  color: var(--dim); text-transform: uppercase;
}
.node:nth-child(odd) .node-name { color: var(--ink); }

.hero-scroll {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.65rem; letter-spacing: 0.22em; color: var(--dim);
  align-self: flex-end;
}
.hero-scroll-line {
  width: 60px; height: 1px; background: var(--line-strong);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; left: -100%; top: 0;
  width: 100%; height: 100%; background: var(--acid);
  animation: scroll-line-h 2.2s var(--ease) infinite;
}
@keyframes scroll-line-h { 0% { left: -60%; } 100% { left: 110%; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 2.2rem; white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.marquee-track i { color: var(--acid); font-style: normal; font-size: 0.8rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { padding-top: var(--pad); }
.intro-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 10.5vw, 11rem);
  line-height: 0.94; text-transform: uppercase;
  margin: 2.5rem 0 3rem;
}
.intro-title em { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.intro-kicker { display: flex; gap: 1rem; align-items: baseline; }
.intro-arrow { color: var(--acid); font-family: var(--font-mono); font-size: 1.6rem; }
.intro-kicker p { font-size: clamp(1.2rem, 2.2vw, 1.9rem); font-weight: 400; }
.strike { position: relative; }
.strike::after {
  content: ""; position: absolute; left: -2%; top: 52%; width: 104%; height: 2px;
  background: var(--acid); transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease) 0.4s;
}
.in .strike::after { transform: scaleX(1); }
.intro-copy {
  max-width: 52ch; color: var(--dim); font-size: 1.1rem; font-weight: 300;
  margin-top: 2.4rem; padding-left: clamp(1rem, 10vw, 12rem);
  border-left: 2px solid var(--acid);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { position: relative; }
.services-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 3rem; }
.services-intro { align-self: start; position: sticky; top: 110px; }

.services-heading {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 0.95; text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.outline { color: transparent; -webkit-text-stroke: 2px var(--acid); }
.services-blurb { color: var(--dim); font-weight: 300; max-width: 34ch; }
.services-scan {
  margin-top: 3rem; color: var(--acid); font-size: 0.66rem; letter-spacing: 0.2em;
}
.services-scan::after { content: "▊"; animation: blink 1s steps(1) infinite; }

.services-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative;
  display: grid; grid-template-columns: 70px 1fr; grid-template-rows: auto auto;
  column-gap: 1rem; row-gap: 0.4rem; align-items: baseline;
  padding: 1.4rem 0.4rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: padding-left 0.45s var(--ease), background 0.45s;
}
.svc-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--acid); transition: width 0.5s var(--ease);
}
.svc-row:hover::before { width: 4px; }
.svc-row:hover { padding-left: 1.2rem; background: rgba(216, 255, 61, 0.04); }
.svc-num {
  grid-row: 1; grid-column: 1;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--dim);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.svc-row:hover .svc-num { color: var(--acid); transform: translateX(4px); }
.svc-name {
  grid-row: 1; grid-column: 2;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  text-transform: uppercase; line-height: 1;
  transition: color 0.3s, transform 0.4s var(--ease);
  transform-origin: left;
}
.svc-row:hover .svc-name { color: var(--acid); transform: skewX(-4deg); }
.svc-desc {
  grid-row: 2; grid-column: 2;
  color: var(--dim); font-weight: 300; max-width: 52ch;
  font-size: 0.95rem;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.5s, max-height 0.6s var(--ease), margin 0.5s;
}
.svc-row:hover .svc-desc { opacity: 1; max-height: 6rem; margin-top: 0.3rem; }
.svc-tags {
  grid-row: 3; grid-column: 2;
  font-size: 0.66rem; letter-spacing: 0.14em; color: var(--acid);
  opacity: 0; transition: opacity 0.4s 0.1s; text-transform: uppercase;
}
.svc-row:hover .svc-tags { opacity: 1; }
.svc-arrow {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--acid);
  opacity: 0; transform: translateY(-50%) translateX(-14px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.svc-row:hover .svc-arrow { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ghost follower word */
.ghost {
  position: fixed; top: 0; left: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 11rem);
  text-transform: uppercase; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--acid);
  opacity: 0; pointer-events: none; z-index: 90;
  transform: translate(-50%, -50%) rotate(-6deg);
  transition: opacity 0.25s;
  white-space: nowrap;
  contain: paint;
}
.ghost.on { opacity: 0.85; }

/* ==========================================================================
   BIG STATEMENT
   ========================================================================== */
.statement { height: 240vh; position: relative; }
.statement-pin {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
}
.statement-line {
  font-family: var(--font-display); font-weight: 400;
  overflow: hidden;
  font-size: clamp(2.6rem, 8.5vw, 9.5rem);
  line-height: 0.95; text-transform: uppercase; text-align: center;
  white-space: nowrap;
}
.statement-line .js-lines { display: inline-block; }
.statement-line em { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.statement-a, .statement-b {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2em;
  will-change: transform;
}
.statement-b { transform: translateY(130vh); }
.stamp {
  display: inline-block;
  border: 3px solid var(--acid); color: var(--acid);
  font-family: var(--font-display); font-size: 0.28em; letter-spacing: 0.05em;
  padding: 0.2em 0.5em 0.1em;
  transform: rotate(-12deg);
  opacity: 0; transform: rotate(-12deg) scale(1.6);
  transition: opacity 0.4s, transform 0.5s var(--ease);
  flex-shrink: 0;
}
.stamp.in { opacity: 1; transform: rotate(-12deg) scale(1); }
.statement-bg {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: clamp(8rem, 30vw, 30rem);
  color: transparent; -webkit-text-stroke: 1px rgba(216, 255, 61, 0.12);
  white-space: nowrap; pointer-events: none;
  overflow: hidden;
}

/* ==========================================================================
   SOLUTIONS
   ========================================================================== */
.solutions { }
.solutions-heading {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 8rem);
  line-height: 0.95; text-transform: uppercase;
  margin: 2.5rem 0 4rem;
}
.solutions-heading em { color: transparent; -webkit-text-stroke: 2px var(--acid); }

.sol {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 4rem 0;
  position: relative;
}
.sol:last-child { border-bottom: 1px solid var(--line); }
.sol-rev .sol-copy { order: 2; }
.sol-rev .sol-visual { order: 1; }

.sol-num { color: var(--acid); font-size: 0.8rem; letter-spacing: 0.2em; display: block; margin-bottom: 1rem; }
.sol-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  text-transform: uppercase; line-height: 0.92;
  margin-bottom: 1.4rem;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
  transform-origin: left center;
}
.sol:hover .sol-title { color: var(--acid); transform: translateX(8px); }
.sol-rev:hover .sol-title { transform: translateX(-8px); }
.sol-points { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.sol-points li { color: var(--dim); font-size: 0.82rem; letter-spacing: 0.06em; }
.sol-points li::before { content: "+ "; color: var(--acid); }
.sol-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; letter-spacing: 0.16em; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 0.3rem;
  transition: color 0.3s, border-color 0.3s;
}
.sol-link:hover { color: var(--acid); border-color: var(--acid); }

.sol-visual {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  will-change: transform;
}
.sol-visual.reveal { transform: none; transition: opacity 0.9s var(--ease); }
.sol:hover .sol-visual { border-color: var(--line-strong); }

/* --- skyscraper (real estate) --- */
.svg-skyscraper {
  width: 46%; height: 86%;
  background: repeating-linear-gradient(to right,
    transparent 0, transparent calc(33.33% - 2px), var(--line-strong) calc(33.33% - 2px), var(--line-strong) 33.33%);
  background-size: 100% 100%;
  position: relative;
}
.svg-skyscraper::before {
  content: ""; position: absolute; inset: 8% 10%;
  background: repeating-linear-gradient(to right,
    rgba(237,237,234,0.14) 0, rgba(237,237,234,0.14) 2px, transparent 2px, transparent 18%),
    repeating-linear-gradient(to bottom,
    rgba(237,237,234,0.14) 0, rgba(237,237,234,0.14) 2px, transparent 2px, transparent 14%);
}
.svg-skyscraper::after {
  content: ""; position: absolute;
  width: 8px; height: 8px; background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
  animation: sky-move 5s var(--ease) infinite alternate;
}
@keyframes sky-move {
  0%   { top: 12%; left: 12%; opacity: 1; }
  40%  { opacity: 0.4; }
  100% { top: 78%; left: 72%; opacity: 1; }
}

/* --- radar (hospitality) --- */
.svg-radar {
  width: min(70%, 300px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  background:
    radial-gradient(circle, transparent 32%, var(--line) 33%, transparent 34%),
    radial-gradient(circle, transparent 62%, var(--line) 63%, transparent 64%),
    linear-gradient(to right, transparent 49.8%, var(--line) 50%, transparent 50.2%),
    linear-gradient(to bottom, transparent 49.8%, var(--line) 50%, transparent 50.2%);
}
.svg-radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(216,255,61,0.9), rgba(216,255,61,0) 60deg, transparent 60deg);
  animation: spin 4.5s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 62%, transparent 63%);
          mask: radial-gradient(circle, #000 62%, transparent 63%);
}
.svg-radar::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acid);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px var(--acid);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- pulse (clinics) --- */
.svg-pulse {
  width: min(80%, 340px); height: 46%;
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, var(--line) 0, var(--line) 1px, transparent 1px, transparent 25%);
}
.svg-pulse::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='200' viewBox='0 0 600 200'%3E%3Cpath d='M0 100 L150 100 L180 100 L200 40 L230 160 L255 100 L400 100 L430 100 L450 60 L475 150 L500 100 L600 100' fill='none' stroke='%23D8FF3D' stroke-width='3'/%3E%3C/svg%3E") repeat-x;
  background-size: 600px 100%;
  animation: ekg 2.4s linear infinite;
}
@keyframes ekg { to { background-position-x: -600px; } }

/* --- doc (professional services) --- */
.svg-doc {
  width: 52%; height: 82%;
  border: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(to bottom,
      rgba(237,237,234,0.12) 0, rgba(237,237,234,0.12) 2px, transparent 2px, transparent 12%);
  position: relative;
}
.svg-doc::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 22%; height: 12%;
  background: var(--acid); border: 1px solid var(--acid);
}
.svg-doc::after {
  content: "SIGN"; position: absolute; right: -8px; bottom: -8px;
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.2em;
  color: var(--acid); border: 1px solid var(--acid); padding: 0.4em 0.8em;
  transform: rotate(-8deg);
  transition: transform 0.4s var(--ease);
}
.sol:hover .svg-doc::after { transform: rotate(0deg) scale(1.08); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding-bottom: calc(var(--pad) * 1.2); }
.process-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 4rem;
}
.process-line-wrap {
  position: absolute; top: 0.95rem; left: 3%; right: 3%; height: 1px;
  background: var(--line); z-index: 0;
}
.process-line {
  display: block; height: 100%; width: 0; background: var(--acid);
  transition: width 1.6s var(--ease);
}
.step { position: relative; z-index: 1; padding-top: 2.6rem; }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 1px solid var(--acid); background: var(--bg);
  display: grid; place-items: center;
  font-size: 0.7rem; color: var(--acid);
  transition: background 0.3s, color 0.3s;
}
.step:hover .step-num { background: var(--acid); color: #060606; }
.step-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}
.step-desc { color: var(--dim); font-weight: 300; font-size: 0.95rem; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cta {
  position: relative;
  padding: var(--pad) var(--gutter) calc(var(--pad) * 0.8);
  overflow: hidden;
}
.cta-grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(216, 255, 61, 0.08), transparent 55%),
    repeating-linear-gradient(var(--line) 0, var(--line) 1px, transparent 1px, transparent 12%);
  opacity: 0.5;
}
.cta > *:not(.cta-grid-bg) { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 10.5vw, 11rem);
  line-height: 0.93; text-transform: uppercase;
  margin: 3rem 0 3.5rem; text-align: center;
}
.cta-title em { color: transparent; -webkit-text-stroke: 2px var(--acid); }
.cta-actions {
  display: flex; justify-content: center; align-items: center;
  gap: 1.2rem; flex-wrap: wrap;
}
.cta-note {
  text-align: center; margin-top: 3rem;
  color: var(--dim); font-size: 0.7rem; letter-spacing: 0.2em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 8vw, 7rem) var(--gutter) 1.6rem;
  background: var(--bg-2);
}
.footer-brand {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display); text-transform: uppercase;
}
.footer-plus {
  display: grid; place-items: center;
  width: clamp(44px, 6vw, 72px); aspect-ratio: 1;
  background: var(--acid); color: #060606;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700;
}
.footer-word {
  font-size: clamp(2.6rem, 8vw, 8rem);
  letter-spacing: 0.01em; line-height: 0.9;
}
.footer-tagline {
  margin-top: 1.6rem; color: var(--dim); font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--dim); margin-bottom: 0.4rem; }
.footer-col a {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
  width: max-content; max-width: 100%; position: relative;
}
.footer-col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--acid); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.footer-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-col button {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em;
  width: max-content; max-width: 100%; position: relative; text-transform: none;
}
.footer-col button::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--acid); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.footer-col button:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.66rem; letter-spacing: 0.14em; color: var(--dim);
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   PROTOTYPE PAGES
   ========================================================================== */
.proto-hero {
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding: 9rem clamp(1.2rem, 5vw, 5rem) 4rem;
  position: relative; overflow: hidden;
}
.proto-hero-bg {
  position: absolute; right: -4%; top: 12%; font-family: var(--font-display);
  font-size: clamp(14rem, 40vw, 34rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(216, 255, 61, 0.08);
  pointer-events: none; user-select: none; z-index: 0;
}
.proto-hero > * { position: relative; z-index: 1; }
.proto-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--dim); margin-bottom: 2.5rem;
}
.proto-meta .dot { color: var(--acid); }
.proto-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 7rem); text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.01em; margin-bottom: 1.8rem;
}
.proto-title em { font-style: normal; color: var(--acid); }
.proto-desc {
  max-width: 52ch; font-weight: 300; font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--dim); margin-bottom: 2.6rem;
}
.proto-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.proto-section { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.2rem, 5vw, 5rem); }
.proto-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem;
}
.proto-section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem); text-transform: uppercase;
}
.proto-section-index { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--dim); }

.proto-stack { border-top: 1px solid var(--line-strong); }
.proto-row {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.5rem 1.8rem;
  padding: 1.9rem 0; border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s;
}
.proto-row:hover { background: rgba(216, 255, 61, 0.03); padding-left: 0.8rem; }
.proto-row-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--acid); padding-top: 0.35rem; }
.proto-row-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: 0.01em;
}
.proto-row-desc { grid-column: 2; max-width: 62ch; color: var(--dim); font-weight: 300; font-size: 0.98rem; }

.proto-dash {
  border: 1px solid var(--line-strong); background: #0a0a09;
  padding: clamp(1.4rem, 3vw, 2.4rem); margin-top: 1.5rem;
}
.proto-dash-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.18em; color: var(--dim); padding-bottom: 1.1rem;
  margin-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.proto-dash-bar .led { color: var(--acid); }
.proto-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-bottom: 1.6rem; }
.proto-kpi { background: #0a0a09; padding: 1.3rem 1.1rem; }
.proto-kpi-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--dim); margin-bottom: 0.6rem; }
.proto-kpi-value { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--acid); }
.proto-kpi-unit { font-family: var(--font-mono); font-size: 0.7rem; color: var(--dim); }
.proto-table { display: flex; flex-direction: column; }
.proto-table-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.proto-table-row:last-child { border-bottom: 0; }
.proto-table-name { font-family: var(--font-mono); letter-spacing: 0.06em; color: var(--ink); }
.proto-table-name small { color: var(--dim); font-size: 0.72rem; letter-spacing: 0.1em; }
.proto-table-val { font-family: var(--font-mono); font-size: 0.72rem; color: var(--acid); }

.proto-cta {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 5rem); text-align: center;
  border-top: 1px solid var(--line-strong); position: relative; overflow: hidden;
}
.proto-cta h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 5rem); text-transform: uppercase; line-height: 0.95;
  margin-bottom: 2rem;
}
.proto-cta h2 em { font-style: normal; color: var(--acid); }

@media (max-width: 720px) {
  .proto-kpis { grid-template-columns: repeat(2, 1fr); }
  .proto-row { grid-template-columns: 2.5rem 1fr; }
  .proto-hero { min-height: auto; padding-top: 8rem; }
}

/* ==========================================================================
   GET IN TOUCH MODAL + FLOATING CTA
   ========================================================================== */
.floating-cta {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 120;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--acid); color: #060606;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 1.2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.floating-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(216, 255, 61, 0.25); }
.floating-cta i { font-style: normal; transition: transform 0.35s var(--ease); }
.floating-cta:hover i { transform: translateX(4px); }

.modal-wrap { position: fixed; inset: 0; z-index: 400; display: none; }
.modal-wrap.open { display: block; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(6, 6, 6, 0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease;
}
.modal {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw);
  max-height: 88vh; overflow-y: auto;
  background: #0c0c0b; border: 1px solid var(--line-strong);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  animation: modal-in 0.45s var(--ease);
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%, -46%); } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 1rem; color: var(--dim); width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border: 1px solid var(--line); transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.modal-close:hover { color: var(--acid); border-color: var(--acid); transform: rotate(90deg); }
.modal-meta { font-size: 0.66rem; letter-spacing: 0.2em; color: var(--acid); margin-bottom: 1rem; }
.modal-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); text-transform: uppercase;
  line-height: 0.95; margin-bottom: 0.6rem;
}
.modal-sub { color: var(--dim); font-weight: 300; font-size: 0.95rem; margin-bottom: 1.8rem; }
.modal-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label { font-size: 0.66rem; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  color: var(--ink); font-family: var(--font-body); font-size: 1rem; padding: 0.5rem 0;
  outline: none; border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23d8ff3d' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.2rem center;
  cursor: pointer;
}
.field select option { background: #0c0c0b; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acid); }
.field input.error, .field textarea.error { border-color: #ff4d4d; }
.field input::placeholder, .field textarea::placeholder { color: rgba(139, 139, 132, 0.5); }
.modal-submit { justify-content: center; margin-top: 0.4rem; }
.modal-note { text-align: center; color: var(--dim); font-size: 0.62rem; letter-spacing: 0.16em; margin-top: 0.2rem; }

@media (max-width: 560px) {
  .floating-cta { right: 0.8rem; bottom: 0.8rem; font-size: 0.64rem; padding: 0.75rem 1rem; }
}

/* ==========================================================================
   SERVICE PAGES
   ========================================================================== */

/* ---- service hero ---- */
.sv-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(6rem + 3vh) var(--gutter) 3.5rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem;
  overflow: hidden;
}
.sv-hero-bg {
  position: absolute; right: -2%; top: 5rem;
  font-family: var(--font-display);
  font-size: clamp(11rem, 32vw, 30rem);
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  z-index: 0; pointer-events: none; user-select: none;
  white-space: nowrap;
}
.sv-hero > * { position: relative; z-index: 1; }
.sv-breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em;
  color: var(--dim); text-transform: uppercase;
}
.sv-breadcrumbs a:hover { color: var(--acid); }
.sv-meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 1.4rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--dim); text-transform: uppercase;
}
.sv-meta .dot { color: var(--acid); }
.sv-meta .sv-meta-right { margin-left: auto; color: var(--acid); }
.sv-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 7.5vw, 6.8rem);
  line-height: 0.92; letter-spacing: 0.01em;
  max-width: 20ch;
}
.sv-title em { font-style: normal; color: var(--acid); }
.sv-example {
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.15rem); letter-spacing: 0.08em;
  color: var(--acid); margin-top: -1rem;
}
.sv-lead {
  color: var(--dim); font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 58ch;
}
.sv-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.sv-backlink { color: var(--dim); }
.sv-backlink:hover { color: var(--acid); }

/* ---- service sections ---- */
.sv-section { padding: clamp(3.5rem, 9vw, 8rem) var(--gutter); }
.sv-section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.sv-section-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem); line-height: 1;
}
.sv-section-index { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; color: var(--acid); }

/* ---- problem / solution split ---- */
.sv-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sv-split-label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em;
  color: var(--dim); text-transform: uppercase; display: block; margin-bottom: 1.2rem;
}
.sv-split-label b { color: var(--acid); }
.sv-block p { color: var(--dim); font-weight: 300; font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 1rem; max-width: 62ch; }
.sv-block .sv-big {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem); line-height: 1.02; color: var(--ink);
  margin-bottom: 1.2rem;
}
.sv-problem { border-left: 2px solid var(--line-strong); padding-left: 1.4rem; }
.sv-solution { border-left: 2px solid var(--acid); padding-left: 1.4rem; }
.sv-solution .sv-big { color: var(--acid); }

/* ---- included grid ---- */
.sv-inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sv-inc-item { background: #0a0a09; padding: 1.6rem 1.4rem; display: flex; gap: 1rem; align-items: baseline; }
.sv-inc-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--acid); }
.sv-inc-body h3 { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.sv-inc-body p { color: var(--dim); font-weight: 300; font-size: 0.9rem; }

/* ---- sequence diagram ---- */
.sv-diagram { display: flex; flex-direction: column; }
.sv-dnode {
  display: grid; grid-template-columns: 4rem 1fr; column-gap: 1.2rem; row-gap: 0.3rem;
  padding: 1.4rem 0.4rem; border-bottom: 1px solid var(--line-strong);
}
.sv-dnode:first-child { border-top: 1px solid var(--line-strong); }
.sv-dnum { font-family: var(--font-mono); font-size: 0.78rem; color: var(--acid); }
.sv-dname { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.2rem, 3vw, 2rem); line-height: 1; transition: color 0.3s, transform 0.4s var(--ease); }
.sv-dnode:hover .sv-dname { color: var(--acid); transform: translateX(8px); }
.sv-ddesc { grid-column: 2; color: var(--dim); font-weight: 300; font-size: 0.95rem; max-width: 60ch; }
.sv-flow {
  font-family: var(--font-mono); color: var(--acid); font-size: 0.95rem;
  text-align: right; padding: 0.2rem 0.4rem;
}

/* ---- formula row (infrastructure) ---- */
.sv-formula {
  display: flex; flex-wrap: wrap; gap: 0.9rem 0.6rem; align-items: center;
  font-family: var(--font-mono); letter-spacing: 0.06em; font-size: clamp(0.85rem, 2vw, 1.1rem);
}
.sv-formula span { color: var(--dim); }
.sv-formula .sv-op { color: var(--acid); font-size: 1.15em; }
.sv-formula b { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--ink); letter-spacing: 0.03em; font-size: 1.05em; transition: color 0.3s; }
.sv-formula a b:hover { color: var(--acid); }

/* ---- use cases ---- */
.sv-cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sv-case { background: #0a0a09; padding: 1.8rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.sv-case-tag { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--acid); text-transform: uppercase; }
.sv-case h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.05; }
.sv-case p { color: var(--dim); font-weight: 300; font-size: 0.9rem; }
.sv-case .sol-link { margin-top: auto; }

/* ---- FAQ ---- */
.sv-faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.sv-faq details { border-bottom: 1px solid var(--line); }
.sv-faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.4rem 0.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-mono); font-size: clamp(0.85rem, 1.5vw, 1rem); letter-spacing: 0.06em;
  transition: color 0.3s, padding-left 0.4s var(--ease);
}
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: "+"; color: var(--acid); font-size: 1.2rem; transition: transform 0.35s var(--ease); }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details[open] summary { color: var(--acid); padding-left: 0.8rem; }
.sv-faq details p { color: var(--dim); font-weight: 300; padding: 0 0.4rem 1.4rem; max-width: 72ch; }

/* ---- related services ---- */
.sv-related { display: flex; flex-direction: column; }
.sv-rel { display: flex; align-items: baseline; gap: 1.5rem; padding: 1.5rem 0.4rem; border-top: 1px solid var(--line); }
.sv-rel:last-child { border-bottom: 1px solid var(--line); }
.sv-rel:hover { background: rgba(216,255,61,0.03); }
.sv-rel-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--dim); }
.sv-rel-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 2.2rem); line-height: 1; transition: color 0.3s; }
.sv-rel:hover .sv-rel-name { color: var(--acid); }
.sv-rel-desc { margin-left: auto; color: var(--dim); font-weight: 300; font-size: 0.9rem; max-width: 42ch; }
.sv-rel-arrow { color: var(--acid); font-size: 1.4rem; transition: transform 0.35s var(--ease); }
.sv-rel:hover .sv-rel-arrow { transform: translateX(6px); }

/* ---- services index (directory page) ---- */
.sv-index { display: flex; flex-direction: column; }
.sv-index-row {
  position: relative; display: block;
  padding: 1.8rem 0.5rem; border-bottom: 1px solid var(--line-strong);
  overflow: hidden; transition: background 0.4s;
}
.sv-index-row:first-of-type { border-top: 1px solid var(--line-strong); }
.sv-index-row:hover { background: rgba(216,255,61,0.03); }
.sv-num { font-family: var(--font-mono); color: var(--acid); font-size: 0.74rem; display: block; margin-bottom: 0.5rem; letter-spacing: 0.2em; }
.sv-row-name {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 5rem); line-height: 0.95; letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease);
}
.sv-index-row:hover .sv-row-name { transform: translateX(10px); }
.sv-arr { color: var(--acid); font-size: 0.8em; transition: transform 0.4s var(--ease); }
.sv-index-row:hover .sv-arr { transform: translateX(8px); }
.sv-index-tags { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; margin-top: 0.6rem; display: block; }

/* ---- final CTA strip ---- */
.sv-cta {
  padding: clamp(4rem, 10vw, 9rem) var(--gutter);
  text-align: center; border-top: 1px solid var(--line);
}
.sv-cta h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 5.5rem); line-height: 0.95; margin-bottom: 2.2rem;
}
.sv-cta h2 em { font-style: normal; color: var(--acid); }
.sv-cta .sv-actions { justify-content: center; }

/* ---- service page responsive ---- */
@media (max-width: 900px) {
  .sv-split { grid-template-columns: 1fr; }
  .sv-cases { grid-template-columns: 1fr; }
  .sv-inc-grid { grid-template-columns: 1fr; }
  .sv-rel { flex-wrap: wrap; gap: 0.6rem 1.5rem; }
  .sv-rel-desc { margin-left: 0; max-width: 100%; width: 100%; order: 5; }
  .sv-hero-bg { top: 4rem; }
}
@media (max-width: 560px) {
  .sv-hero { min-height: auto; padding-top: 7rem; justify-content: flex-start; }
  .sv-meta .sv-meta-right { margin-left: 0; }
  .sv-title { max-width: 14ch; }
  .sv-index-tags { display: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .sol { grid-template-columns: 1fr; }
  .sol-rev .sol-copy { order: 1; }
  .sol-rev .sol-visual { order: 2; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-line-wrap { display: none; }
  .hero-title .line-wrap:last-child { justify-content: flex-start; }
  .hero-meta span:nth-child(2) { display: none; }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3.4rem); }
  .process-track { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-foot { align-items: flex-start; flex-direction: column; }
  .hero-meta span:last-child { display: none; }
  .node-name { font-size: 0.62rem; }
  .node-sub { font-size: 0.5rem; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .js-lines { transform: none; }
  #loader { display: none; }
  .cursor { display: none; }
}
