
/* Base reset (matches the artifact skeleton so every page behaves the same) */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: night-time circuit board. Deep black ground, a lit "globe" carrying the logo, and cards that glow faintly from inside
   in the logo's four ink colours (teal, magenta, violet, orange). Deliberately dark-only, like the reference sites. */
:root {
  --bg: #06080B;
  --bg-2: #090D12;
  --surface: #0C1117;
  --line: #19212A;
  --line-strong: #27323D;
  --ink: #EDF2F5;
  --muted: #8C99A6;
  --teal: #1ED6AE;
  --magenta: #E04AA8;
  --violet: #8C6CFF;
  --orange: #FF7D3A;
  --on-accent: #05080A;
  --orb: #F1F4F2;
  --red: #F0444F;
  --grad: linear-gradient(95deg, #FF7468 0%, #F23A45 50%, #D3122E 100%);
  --grad-btn: linear-gradient(95deg, #EE3B45 0%, #C8102E 55%, #9E0B22 100%);
  --on-btn: #FFFFFF;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --step-4: clamp(2.7rem, 1.5rem + 5.2vw, 5.4rem);

  --wrap: 1200px;
  --radius: 22px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative; z-index: 0; isolation: isolate;
}
/* Etched backdrop: the scene is pre-rendered as a carved relief (etched.webp), pinned behind the whole site,
   then pressed into the page with an inner shadow and a vignette so it reads as engraved rather than pasted on. */
.etch {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("etched.webp") center 30% / cover no-repeat;
  opacity: 0.75;
}
.etch::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(6,8,11,0.85) 100%),
    linear-gradient(180deg, rgba(6,8,11,0.25), rgba(6,8,11,0.55));
  box-shadow: inset 0 0 140px 40px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.04);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 40; background: var(--bg);
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 60;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- Pills & buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); color: var(--muted); font-size: 0.9rem;
}
.pill b {
  font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-accent); background: var(--teal); border-radius: 999px; padding: 3px 9px;
}
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 var(--step-0)/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--grad-btn); color: var(--on-btn);
  box-shadow: 0 10px 30px -10px rgba(238,59,69,0.6), 0 10px 40px -12px rgba(158,11,34,0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(238,59,69,0.75), 0 14px 46px -12px rgba(158,11,34,0.75); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.play {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(30,214,174,0.14); color: var(--teal); margin-left: -12px;
}
.play svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; padding-block: 14px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 12px; border-radius: 999px;
  background: rgba(9,13,18,0.72); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-chip {
  width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFFFFF, var(--orb) 60%, #D9E0DC);
  display: grid; place-items: center; box-shadow: 0 0 18px -2px rgba(30,214,174,0.45);
}
.brand-chip img { width: 30px; height: auto; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  text-decoration: none; color: var(--muted); font-weight: 500; padding: 10px 16px; border-radius: 999px; display: inline-flex; min-height: 44px; align-items: center;
}
.nav-links a:not(.btn):hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-links .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
  }
  .nav-links:not(.open) { display: none; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 110px); isolation: isolate; }
.hero-bg { position: absolute; inset: -120px 0 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; }
.blob.b1 { width: 520px; height: 520px; left: -160px; top: 40px; background: radial-gradient(circle, rgba(30,214,174,0.55), transparent 65%); }
.blob.b2 { width: 600px; height: 600px; right: -200px; top: 120px; background: radial-gradient(circle, rgba(224,74,168,0.45), transparent 65%); }
.blob.b3 { width: 420px; height: 420px; right: 20%; top: 520px; background: radial-gradient(circle, rgba(140,108,255,0.35), transparent 65%); }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.typeline { font-family: var(--display); font-size: var(--step-2); font-weight: 500; color: var(--muted); min-height: 1.3em; }
.typeline .typed { color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--teal); margin-left: 3px; vertical-align: -0.12em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-lede { font-size: var(--step-1); color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.95rem; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Globe + floating panels */
.stage { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1 / 1; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); }
.ring.r1 { inset: 0; border-style: dashed; border-color: rgba(255,255,255,0.10); animation: spin 60s linear infinite; }
.ring.r2 { inset: 9%; animation: spin 38s linear infinite reverse; }
.ring.r3 { inset: 18%; border-color: rgba(30,214,174,0.18); }
.ring .node {
  position: absolute; width: 12px; height: 12px; border-radius: 50%; top: 50%; left: -6px; margin-top: -6px;
  background: var(--c); box-shadow: 0 0 14px 3px var(--c);
}
.ring.r1 .node.n2 { left: auto; right: -6px; }
.ring.r2 .node { top: -6px; left: 50%; margin: 0 0 0 -6px; }
.ring.r2 .node.n2 { top: auto; bottom: -6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb {
  position: absolute; inset: 24%; border-radius: 50%;
  /* Transparent glass sphere: the etched background shows through */
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 38%, transparent 62%),
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(240,68,79,0.10) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(4px) brightness(0.7); -webkit-backdrop-filter: blur(4px) brightness(0.7);
  box-shadow:
    0 0 50px 4px rgba(240,68,79,0.22),
    inset 0 0 40px rgba(240,68,79,0.18),
    inset 0 -20px 50px rgba(0,0,0,0.35);
  display: grid; place-items: center;
}
.orb { overflow: hidden; }
/* Logo in its true colors, no outline */
.orb img { width: 84%; height: auto; position: relative; z-index: 1; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; border-radius: 50%; pointer-events: none; }

.float {
  position: absolute; z-index: 2; border-radius: 16px;
  background: rgba(12,17,23,0.82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.06);
}
.editor { left: -6%; bottom: -2%; width: min(330px, 70%); animation: bob 7s ease-in-out infinite; }
.editor-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.editor-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.editor-bar span { margin-left: 8px; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.editor pre {
  margin: 0; padding: 14px 16px 16px; font-family: var(--mono); font-size: 0.78rem; line-height: 1.7; color: var(--ink);
  overflow-x: auto; white-space: pre;
}
.tk-k { color: var(--magenta); } .tk-p { color: var(--teal); } .tk-s { color: #FFB38A; } .tk-c { color: #5D6B78; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { max-width: 480px; margin-top: 8px; }
}
@media (max-width: 520px) {
  .editor { left: 0; width: 78%; }
  .editor pre { font-size: 0.7rem; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee ul { display: flex; gap: clamp(36px, 6vw, 72px); padding-right: clamp(36px, 6vw, 72px); list-style: none; margin: 0; padding-left: 0; }
.marquee li { display: inline-flex; align-items: center; color: #5F6C79; transition: color .25s ease; }
.marquee li svg { width: 40px; height: 40px; }
.marquee li { --c: var(--red); }
.marquee:hover li { color: var(--c); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.head h2 { font-size: var(--step-3); font-weight: 700; }
.head p { color: var(--muted); font-size: var(--step-1); max-width: 56ch; }
.eyebrow { color: var(--teal); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }

/* Glow card: faint light pooled inside the top of the card, tinted by --c */
.glow {
  --c: var(--red);
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008) 40%), var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 0 70px -30px color-mix(in srgb, var(--c) 45%, transparent);
  transition: border-color .3s ease, transform .3s ease;
}
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 75% 55% at 50% -8%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%);
}
.glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 16%, transparent), transparent 60%);
}
.glow:hover { border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.glow:hover::after { opacity: 1; }
/* Tiles all glow red; the four groups use close shades so they still read as separate */
.c-teal { --c: #F0444F; } .c-magenta { --c: #E2263F; } .c-violet { --c: #FF5A4E; } .c-orange { --c: #FF7058; }

/* ---------- Services ---------- */
.disciplines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.disc { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.disc-top { display: flex; align-items: flex-start; gap: 18px; }
.icon-tile {
  flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  box-shadow: 0 0 30px -6px color-mix(in srgb, var(--c) 55%, transparent);
}
.icon-tile svg { width: 26px; height: 26px; }
.disc-top .mono { color: var(--c); margin-bottom: 6px; }
.disc-top h3 { font-size: var(--step-2); font-weight: 700; }
.disc > p { color: var(--muted); }
.svc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: 26px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc svg { width: 22px; height: 22px; color: var(--c); margin-top: 2px; grid-row: span 2; }
.svc h4 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.svc p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .disciplines { grid-template-columns: 1fr; } }

/* ---------- Stack feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.feature-copy h2 { font-size: var(--step-3); font-weight: 700; }
.feature-copy > p { color: var(--muted); font-size: var(--step-1); }
.feature-copy ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feature-copy li { display: flex; gap: 12px; align-items: flex-start; }
.feature-copy li svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 1px; }
.stack { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
/* Connector: a short trace from each layer's icon down to the next layer's icon, drawn in the gaps only */
.layer:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; left: 40px; width: 2px;
  top: calc(50% + 23px); height: calc(100% - 46px + 14px);
  background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 30%, transparent));
  border-radius: 2px; box-shadow: 0 0 8px color-mix(in srgb, var(--c) 60%, transparent);
}
.layer {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--line);
}
.layer .icon-tile { width: 46px; height: 46px; border-radius: 13px; }
.layer .icon-tile svg { width: 22px; height: 22px; }
.layer div { min-width: 0; }
.layer strong { display: block; font-weight: 600; }
.layer span { color: var(--muted); font-size: 0.92rem; }
.layer em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.7rem; letter-spacing: .08em; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .layer em { display: none; } .stack { padding: 18px; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; counter-increment: step; min-width: 0; }
.step::marker { content: none; }
.num {
  font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 80%, transparent);
}
.num::before { content: "0" counter(step); }
.step h3 { font-family: var(--body); font-weight: 600; font-size: var(--step-1); letter-spacing: 0; }
.step p { color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 18px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; font-size: var(--step-1); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: 1.1rem; color: var(--red); border: 1px solid var(--line-strong); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 24px 22px; max-width: 65ch; }

/* ---------- Contact ---------- */
.contact-panel { padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px 64px; }
.contact-panel::before { background: radial-gradient(ellipse 60% 60% at 0% 0%, rgba(240,68,79,0.22), transparent 70%), radial-gradient(ellipse 60% 70% at 100% 100%, rgba(200,16,46,0.2), transparent 70%); }
.contact-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.contact-info h2 { font-size: var(--step-3); font-weight: 700; }
.contact-info > p { color: var(--muted); font-size: var(--step-1); }
.details { display: grid; gap: 16px; margin: 0; }
.details div { display: flex; flex-direction: column; gap: 4px; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.contact-link { font-family: var(--display); font-weight: 700; font-size: var(--step-2); letter-spacing: -0.01em; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; user-select: text; }
.contact-link:hover { color: var(--red); }
.ph { display: inline-block; border: 1px dashed var(--orange); color: var(--orange); border-radius: 8px; padding: 2px 10px; font-size: 0.95rem; }
form.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: rgba(6,8,11,0.7); width: 100%;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 50px;
}
.field select option { background: var(--bg-2); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5E6B77; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,214,174,0.2); }
.field [aria-invalid="true"] { border-color: var(--orange); }
.err { color: var(--orange); font-size: 0.85rem; min-height: 1.2em; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-status { color: var(--muted); font-size: 0.95rem; flex: 1 1 240px; }
.form-status.ok { color: var(--teal); }
@media (max-width: 900px) { .contact-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.quote { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: rgba(9,13,18,0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.foot-brand p { color: var(--muted); max-width: 34ch; }
.foot-col h3 { font-family: var(--mono); font-weight: 500; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { text-decoration: none; color: var(--ink); opacity: .85; }
.foot-col a:hover { opacity: 1; color: var(--teal); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===================== Multi-page additions ===================== */
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.07); }
.ph { line-height: 1.5; }

/* ---------- Reviews (home) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.review { padding: 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.review.tall { grid-row: span 2; }
.review .quote-mark { width: 34px; height: 34px; color: var(--c); opacity: .9; }
.review blockquote { margin: 0; font-size: var(--step-1); line-height: 1.55; color: var(--ink); }
.review.tall blockquote { font-family: var(--display); font-size: var(--step-2); line-height: 1.3; letter-spacing: -0.01em; }
.who { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: #fff; background: var(--grad-btn);
  box-shadow: 0 0 20px -4px rgba(240,68,79,0.6);
}
.who strong { display: block; font-weight: 600; }
.who span { color: var(--muted); font-size: 0.92rem; }
.review-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.review-meta .tag-svc { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-radius: 999px; padding: 3px 10px; }
.reviews-cta { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 960px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .review.tall { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.story .glow { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.story h2 { font-size: var(--step-2); font-weight: 700; }
.story p { color: var(--muted); }
.founder { flex-direction: row !important; align-items: flex-start; gap: 22px !important; }
.founder .brand-chip { width: 72px; height: 72px; flex: none; }
.founder .brand-chip img { width: 52px; }
.founder h3 { font-size: var(--step-2); }
.founder .mono { color: var(--c); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.principle h3 { font-family: var(--body); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; }
.principle p { color: var(--muted); }
.mini-disc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-disc a { padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-width: 0; }
.mini-disc .icon-tile { width: 46px; height: 46px; border-radius: 13px; }
.mini-disc .icon-tile svg { width: 22px; height: 22px; }
.mini-disc h3 { font-size: var(--step-1); }
.mini-disc p { color: var(--muted); font-size: 0.95rem; }
.mini-disc .go { margin-top: auto; color: var(--c); font-weight: 600; font-size: 0.95rem; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 960px) { .mini-disc { grid-template-columns: repeat(2, minmax(0, 1fr)); } .principles { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mini-disc { grid-template-columns: 1fr; } .founder { flex-direction: column !important; } }

/* Hero visual for About: the logo orb on its own */
.about-orb { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; justify-self: center; }
.about-orb .orb { inset: 14%; }

/* ---------- Servers ---------- */
.rack { padding: 22px; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 480px; justify-self: center; }
.rack-head { display: flex; justify-content: space-between; color: var(--muted); padding: 2px 4px 8px; }
.unit {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px; background: linear-gradient(180deg, #121821, #0B1016);
  border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.leds { display: flex; gap: 6px; }
.leds i { width: 7px; height: 7px; border-radius: 50%; background: #2A333D; display: inline-block; }
.leds i.on { background: var(--red); box-shadow: 0 0 8px var(--red); animation: led 2.4s ease-in-out infinite; }
.leds i.on:nth-child(2) { animation-delay: .6s; } .leds i.on:nth-child(3) { animation-delay: 1.3s; }
@keyframes led { 0%, 100% { opacity: 1; } 45% { opacity: .35; } }
.unit strong { font-weight: 600; font-size: 0.98rem; }
.unit span { display: block; color: var(--muted); font-size: 0.85rem; }
.vents { width: 64px; height: 18px; background: repeating-linear-gradient(90deg, #26303A 0 3px, transparent 3px 7px); border-radius: 3px; opacity: .8; }

.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.option { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.option h3 { font-size: var(--step-2); }
.option > p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; color: var(--c); margin-top: 2px; }
.option .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .options { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.plan .mono { color: var(--c); }
.plan h3 { font-size: var(--step-2); }
.plan .price { display: flex; align-items: baseline; gap: 8px; min-height: 40px; }
.plan .price small { color: var(--muted); }
.spec { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; }
.plan .btn { margin-top: auto; }
.plan-note { text-align: center; color: var(--muted); margin-top: 22px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: var(--step-1); }
.compare tbody th { color: var(--muted); font-weight: 500; width: 26%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td:nth-child(3) { background: rgba(240,68,79,0.05); }

.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps-3 { grid-template-columns: 1fr; } }

.cta-band { padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: var(--step-3); font-weight: 700; max-width: 18ch; }
.cta-band p { color: var(--muted); margin-top: 10px; max-width: 46ch; }
.cta-band::before { background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(240,68,79,0.25), transparent 70%), radial-gradient(ellipse 50% 70% at 100% 100%, rgba(200,16,46,0.2), transparent 70%); }
.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; }
.plan-note a { color: var(--ink); }
.foot-contact { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.9; }
.foot-contact:hover { color: var(--red); }
.review.tall { align-self: stretch; }
.review.tall .who { margin-top: auto; }

/* ---------- Reviews wall: columns that drift upward ---------- */
.reviews-wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  height: clamp(560px, 70vh, 720px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.rcol { min-width: 0; }
.rtrack { display: flex; flex-direction: column; animation: rise var(--dur, 40s) linear infinite; }
.rcol-1 { --dur: 38s; } .rcol-2 { --dur: 48s; } .rcol-3 { --dur: 43s; }
.rcol-2 .rtrack { margin-top: -90px; }
.reviews-wall:hover .rtrack, .reviews-wall:focus-within .rtrack { animation-play-state: paused; }
.rgroup { display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; }
@keyframes rise { to { transform: translateY(-50%); } }
.rcard { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.rcard .quote-mark { width: 30px; height: 30px; color: var(--c); }
.rcard blockquote { margin: 0; font-size: var(--step-1); line-height: 1.55; }
.rcard .who { padding-top: 16px; }
@media (max-width: 960px) { .reviews-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rcol-3 { display: none; } }
@media (max-width: 620px) { .reviews-wall { grid-template-columns: 1fr; height: 600px; } .rcol-2 { display: none; } }
@media (prefers-reduced-motion: reduce) { .reviews-wall { height: auto; -webkit-mask-image: none; mask-image: none; } .rgroup[aria-hidden="true"] { display: none; } }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--grad-btn); border-color: transparent; box-shadow: 0 8px 24px -8px rgba(240,68,79,0.7); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.copyright { color: var(--muted); font-size: 0.9rem; }
footer { padding-block: 56px 40px; }
.foot-end { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot-end .socials { justify-content: center; }

/* Diagonal "Coming soon" band across each plan */
.plan .soon {
  position: absolute; z-index: 3; left: 50%; top: 46%; width: 160%;
  transform: translate(-50%, -50%) rotate(-24deg);
  padding: 12px 0; text-align: center; pointer-events: none;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.45rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: #fff;
  background: var(--grad-btn);
  border-block: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 12px 34px -8px rgba(240,68,79,0.65), 0 -12px 34px -8px rgba(158,11,34,0.45);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.plan .soon::before, .plan .soon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.35);
}
.plan .soon::before { top: 5px; } .plan .soon::after { bottom: 5px; }
.plan > :not(.soon) { opacity: 0.55; }
.plan .amount { font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; }

/* ---------- Certifications inside the founder tile ---------- */
.founder-certs { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.founder-certs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.founder-certs li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 12px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.founder-certs .cert-badge {
  flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; padding: 8px;
  background: radial-gradient(circle at 40% 35%, #FFFFFF, #ECEFED 70%);
  box-shadow: 0 0 24px -6px rgba(240,68,79,0.6);
}
.founder-certs .cert-badge img { width: 100%; height: auto; }
.founder-certs li > span:last-child { min-width: 0; }
.founder-certs strong { display: block; font-weight: 600; line-height: 1.3; }
.founder-certs li span span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 1100px) { .founder-certs ul { grid-template-columns: 1fr; } }
.page-hero, .hero { overflow-x: clip; }
.founder-certs ul { grid-template-columns: 1fr; }

/* ---------- E.S.A Servers: one rack unit per server ---------- */
.srv-rack {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 18px clamp(14px, 3vw, 34px); border-radius: 26px;
  background: linear-gradient(180deg, rgba(14,19,26,0.85), rgba(8,11,15,0.92));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 40px 80px -40px rgba(0,0,0,0.9);
}
.srv-rack::before, .srv-rack::after {
  content: ""; position: absolute; top: 18px; bottom: 18px; width: 8px; border-radius: 4px;
  background: repeating-linear-gradient(180deg, #1C242D 0 6px, #0A0E13 6px 14px);
}
.srv-rack::before { left: clamp(4px, 1vw, 12px); } .srv-rack::after { right: clamp(4px, 1vw, 12px); }
.rail { display: none; }
.srv { display: grid; grid-template-columns: minmax(260px, 1.1fr) 1.3fr auto; gap: 24px 32px; align-items: center; padding: 18px; min-width: 0; }
.chassis { display: grid; grid-template-columns: 16px 1fr 16px; gap: 0; min-width: 0; }
.ear { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 10px 0; background: #161D25; border: 1px solid var(--line-strong); }
.ear:first-child { border-radius: 8px 0 0 8px; border-right: 0; } .ear:last-child { border-radius: 0 8px 8px 0; border-left: 0; }
.ear i { width: 6px; height: 6px; border-radius: 50%; background: #05080A; box-shadow: inset 0 1px 1px rgba(255,255,255,0.15); }
.face {
  display: flex; flex-direction: column; gap: 10px; padding: 12px 14px;
  background: linear-gradient(180deg, #151C25, #0C1118); border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 0 30px -12px color-mix(in srgb, var(--c) 50%, transparent);
}
.face-top, .face-bot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.face-top .mono { font-size: 0.7rem; color: var(--muted); }
.bays { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.bays i { height: 22px; border-radius: 3px; background: linear-gradient(180deg, #1E2731, #10161D); border: 1px solid #26303A; position: relative; }
.bays i::after { content: ""; position: absolute; left: 4px; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--c); box-shadow: 0 0 6px var(--c); animation: led 3s ease-in-out infinite; }
.bays i:nth-child(2)::after { animation-delay: .4s; } .bays i:nth-child(3)::after { animation-delay: 1.1s; }
.bays i:nth-child(4)::after { animation-delay: .7s; } .bays i:nth-child(5)::after { animation-delay: 1.6s; } .bays i:nth-child(6)::after { animation-delay: 2.1s; }
.face .vents { width: 55%; }
.pwr { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent); }
.srv-body { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.srv-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.srv-text .mono { color: var(--c); }
.srv-text h2 { font-size: var(--step-2); font-weight: 700; }
.srv-text p:last-child { color: var(--muted); }
.srv-link {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-decoration: none; min-width: 0;
}
.srv-link .mono { font-size: 0.72rem; color: var(--muted); text-transform: none; letter-spacing: 0.02em; overflow-wrap: anywhere; text-align: right; }
.srv-go {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; color: #fff; background: var(--grad-btn); box-shadow: 0 10px 26px -10px rgba(240,68,79,0.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.srv-go svg { width: 16px; height: 16px; }
.srv-link:hover .srv-go { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(240,68,79,0.85); }
.srv-link:hover .mono { color: var(--ink); }
@media (max-width: 1080px) {
  .srv { grid-template-columns: 1fr 1fr; }
  .srv-link { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .srv-link .mono { text-align: left; }
}
@media (max-width: 700px) {
  .srv { grid-template-columns: 1fr; }
  .srv-link { flex-direction: column; align-items: stretch; }
  .srv-go { justify-content: center; }
  .srv-rack { padding-inline: 22px; }
}
@media (min-width: 1081px) { .srv { grid-template-columns: 340px minmax(0, 1fr) 230px; } }
.srv-link { justify-content: center; }
@media (max-width: 1080px) { .srv-link { justify-content: flex-start; } }

.brand-name { white-space: nowrap; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.err-msg { color: var(--orange); }
.turnstile-wrap { min-height: 0; }
.turnstile-wrap .cf-turnstile:empty { display: none; }





/* Monster Rocker (Letterafa Studio, personal-use demo) on four home page headings */
@font-face {
  font-family: "Monster Rocker";
  src: url("monster-rocker.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
.hero h1, #stack-title, #process-title, #contact-title, .rocker {
  font-family: "Monster Rocker", var(--display);
  font-weight: 400; letter-spacing: 0.01em; line-height: 1.08;
}

/* Terminal Vision (Igor Ovsyannykov) on the hero typing line */
@font-face {
  font-family: "Terminal Vision";
  src: url("terminal-vision.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
.typeline, .typeline .typed { font-family: "Terminal Vision", var(--mono); }
