/* ============================================================
   POWERBOY ELECTRICAL — design system
   Palette: near-black navy field, electric blue circuit accent,
   brand red reserved for CTAs + the bolt. Engineering-grade.
   ============================================================ */

:root {
  --bg: #05070c;
  --bg-2: #090d16;
  --bg-3: #0d1320;
  --line: #1a2436;
  --line-bright: #24344f;
  --ink: #eef2f7;
  --ink-dim: #93a3ba;
  --ink-faint: #7d8ca4;   /* 5.2:1 on --bg-2 — keep ≥4.5 (small mono labels use this) */
  --blue: #59b7ff;
  --blue-deep: #1d6fd1;
  --red: #dd2a20;         /* 4.65:1 with white button text — keep ≥4.5 */
  --red-hot: #ff4438;
  --red-press: #c9231a;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { left: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: #8ccfff; }

a, button, summary, input, label { touch-action: manipulation; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 0.02em; line-height: 1;
  padding: 14px 22px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-red {
  background: var(--red); color: #fff;
  box-shadow: 0 0 0 0 rgba(230, 51, 41, 0);
}
.btn-red:hover {
  background: var(--red-press); color: #fff;   /* darken, not lighten — white text stays ≥4.5:1 */
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(230, 51, 41, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02); color: var(--ink);
  border-color: var(--line-bright);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  border-color: var(--blue); color: #fff;
  background: rgba(89, 183, 255, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(89, 183, 255, 0.35);
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(5, 7, 12, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1380px; margin: 0 auto; height: 100%;
  padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px rgba(230,51,41,0.25)); }
.brand-word {
  font-weight: 900; font-stretch: 118%; font-size: 19px; letter-spacing: 0.04em;
  line-height: 1; display: inline-flex; flex-direction: column; gap: 3px;
}
.brand-word em { font-style: normal; color: var(--red); }
.brand-word small {
  font-family: var(--font-mono); font-weight: 500; font-size: 8.5px;
  letter-spacing: 0.34em; color: var(--ink-faint);
}
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  color: var(--ink-dim); font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; position: relative; padding: 12px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 6px; height: 1px; width: 0;
  background: var(--blue); transition: width 0.3s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 600; font-size: 14px;
  color: var(--ink); letter-spacing: 0.02em;
  padding: 14px 6px;   /* ≥44px touch target */
}
.header-phone:hover { color: var(--blue); }
.btn-callback { padding: 15px 16px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-media, .hero-media > * { position: absolute; inset: 0; }
.hero-video, .hero-canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5,7,12,0.88) 0%, rgba(5,7,12,0.55) 46%, rgba(5,7,12,0.25) 100%),
    linear-gradient(180deg, rgba(5,7,12,0.5) 0%, rgba(5,7,12,0) 30%, rgba(5,7,12,0.1) 70%, var(--bg) 100%);
}
.grain {
  opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
  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.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1380px; width: 100%; margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 32px 96px;
}
.kicker {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--blue);
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.kicker-line { width: 48px; height: 1px; background: var(--blue); display: inline-block; }

.hero h1 {
  font-weight: 900; font-stretch: 115%;
  font-size: clamp(42px, 6.4vw, 92px);
  line-height: 0.98; letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.accent-word {
  color: var(--blue);   /* fallback if text-stroke unsupported — never invisible */
  text-shadow: 0 0 42px rgba(89, 183, 255, 0.28);
}
@supports (-webkit-text-stroke: 1px #000) {
  .accent-word { color: transparent; -webkit-text-stroke: 1.5px rgba(89, 183, 255, 0.9); }
}
.hero-sub {
  max-width: 620px; font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-dim); margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero-stats {
  display: flex; gap: 56px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px; max-width: 940px;
}
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-stats dd {
  font-weight: 900; font-stretch: 112%; font-size: 38px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stats dt {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint);
}

.hero-scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 1px; height: 56px; overflow: hidden;
}
.hero-scroll-cue span {
  display: block; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--blue));
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.trust-bar ul {
  list-style: none; max-width: 1380px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.trust-bar li {
  padding: 26px 24px; display: flex; flex-direction: column; gap: 3px;
  border-left: 1px solid var(--line);
}
.trust-bar li:last-child { border-right: 1px solid var(--line); }
.trust-bar strong {
  font-weight: 800; font-stretch: 108%; font-size: 16.5px; letter-spacing: 0.02em;
}
.trust-bar span {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint);
  letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
.section { padding: 130px 32px; max-width: 1380px; margin: 0 auto; }
.section-head { max-width: 880px; margin-bottom: 72px; }
.section-label {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.28em; color: var(--blue); margin-bottom: 22px;
}
.section-head h2, .contact-copy h2 {
  font-weight: 900; font-stretch: 113%; text-transform: uppercase;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -0.01em;
}
.section-answer {
  margin-top: 26px; color: var(--ink-dim); font-size: 17.5px; max-width: 780px;
}
.section-answer strong { color: var(--ink); }

/* ---------- Capabilities ---------- */
.cap-flagship {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line-bright); border-radius: 8px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(29, 111, 209, 0.12), transparent 55%),
    var(--bg-2);
  overflow: hidden; margin-bottom: 28px;
  position: relative;
}
.cap-flagship::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.7;
}
.cap-flagship-media {
  border-right: 1px solid var(--line);
  display: grid; place-items: center; padding: 40px 28px;
  background:
    linear-gradient(rgba(89,183,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,183,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.dc-visual { width: 100%; max-width: 540px; }
.oneline { width: 100%; height: auto; display: block; }
.ol-flow path {
  stroke-dasharray: 6 14;
  animation: flow 1.6s linear infinite;
  filter: drop-shadow(0 0 4px rgba(89, 183, 255, 0.7));
}
@keyframes flow { to { stroke-dashoffset: -40; } }

.cap-flagship-body { padding: 56px 56px 48px; }
.cap-tag {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.3em; color: var(--red-hot); margin-bottom: 18px;
}
.cap-flagship-body h3 {
  font-weight: 900; font-stretch: 113%; text-transform: uppercase;
  font-size: clamp(30px, 3vw, 44px); line-height: 1; margin-bottom: 18px;
}
.cap-lede { color: var(--ink-dim); margin-bottom: 26px; font-size: 17px; }
.cap-scope { list-style: none; margin-bottom: 32px; }
.cap-scope li {
  padding: 10px 0 10px 26px; position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink);
}
.cap-scope li::before {
  content: ""; position: absolute; left: 2px; top: 50%; translate: 0 -50%;
  width: 9px; height: 9px; border: 1.5px solid var(--blue); rotate: 45deg;
}
.cap-proof { display: flex; flex-wrap: wrap; gap: 12px; }
.cap-proof span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--ink-dim);
  border: 1px solid var(--line-bright); border-radius: 100px;
  padding: 8px 14px;
}
.cap-proof strong { color: var(--blue); font-weight: 600; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cap-card {
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg-2);
  padding: 40px 34px; position: relative;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.cap-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(89, 183, 255, 0.12);
}
.cap-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
  letter-spacing: 0.2em; display: block; margin-bottom: 22px;
}
.cap-card h3 {
  font-weight: 800; font-stretch: 110%; font-size: 22px; text-transform: uppercase;
  line-height: 1.15; margin-bottom: 14px;
}
.cap-card p { color: var(--ink-dim); font-size: 15px; margin-bottom: 20px; }
.cap-card ul { list-style: none; }
.cap-card li {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim);
  padding: 7px 0 7px 18px; position: relative; letter-spacing: 0.02em;
}
.cap-card li::before { content: "//"; position: absolute; left: 0; color: var(--blue); }

/* ---------- Scale / proof ---------- */
.scale { position: relative; }
.stat-wall {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  margin-bottom: 80px; background: var(--bg-2);
}
.stat {
  padding: 44px 40px; border: 0.5px solid var(--line);
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; left: 40px; bottom: 34px; width: 34px; height: 2px;
  background: var(--red);
}
.stat .count {
  font-weight: 900; font-stretch: 114%;
  font-size: clamp(44px, 4.6vw, 68px); line-height: 1;
  display: block; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #9fc5eb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); padding-bottom: 22px;
}

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--bg-2);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.project:hover { transform: translateY(-5px); border-color: var(--line-bright); }
.project-art { aspect-ratio: 640 / 300; position: relative; overflow: hidden; }
.project-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,7,12,0.85));
}
/* Drawing-sheet art panels — generative placeholders tagged data-media-slot.
   Shared engineering-drawing language with the flagship one-line diagram. */
.project-art {
  background:
    linear-gradient(rgba(89,183,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,183,255,0.03) 1px, transparent 1px),
    radial-gradient(120% 130% at 50% 0%, #0b1220 0%, #070b13 70%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}
.project-art svg { width: 100%; height: 100%; display: block; }
.project-art .ln { stroke: #2a3d5e; fill: none; stroke-width: 1.3; }
.project-art .ln-strong { stroke: #3a5480; fill: none; stroke-width: 1.6; }
.project-art .ln-dash { stroke: #2a3d5e; fill: none; stroke-width: 1.2; stroke-dasharray: 5 6; }
.project-art .ln-amber { stroke: rgba(255, 176, 84, 0.75); fill: none; stroke-width: 2; filter: drop-shadow(0 0 5px rgba(255, 176, 84, 0.5)); }
.project-art .ln-amberbox { stroke: rgba(255, 176, 84, 0.65); fill: rgba(255, 176, 84, 0.05); stroke-width: 1.3; }
.project-art .ln-red { stroke: rgba(230, 51, 41, 0.8); fill: none; stroke-width: 1.6; filter: drop-shadow(0 0 4px rgba(230, 51, 41, 0.45)); }
.project-art .led-b { fill: #59b7ff; filter: drop-shadow(0 0 4px rgba(89, 183, 255, 0.9)); }
.project-art .led-a { fill: #ffb054; filter: drop-shadow(0 0 4px rgba(255, 176, 84, 0.9)); }
.project-art .glow-b { fill: rgba(89, 183, 255, 0.07); }
.project-art .glow-r { fill: rgba(230, 51, 41, 0.06); }
.project-art .glowline-b { stroke: rgba(89, 183, 255, 0.55); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(89, 183, 255, 0.6)); }
.project-art .sh-title, .project-art .sh-note, .project-art .sh-rev {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  fill: #5f7391;
}
.project-art .sh-title { fill: #8ba3c2; }
.project-art .sh-red { fill: rgba(230, 51, 41, 0.9); }
.project figcaption { padding: 22px 26px 26px; }
.project figcaption strong {
  display: block; font-weight: 800; font-stretch: 108%; font-size: 17px;
  margin-bottom: 6px;
}
.project figcaption span {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ---------- Why us ---------- */
.why {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(29,111,209,0.08), transparent 60%),
    var(--bg);
  max-width: none;
}
.why > * { max-width: 1316px; margin-inline: auto; }
.why .section-head { margin-bottom: 72px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.why-card { background: var(--bg-2); padding: 48px 44px; position: relative; transition: background 0.3s; }
.why-card:hover { background: var(--bg-3); }
.why-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--red-hot);
  letter-spacing: 0.2em; display: inline-block; margin-bottom: 20px;
  border: 1px solid rgba(230,51,41,0.35); border-radius: 3px; padding: 4px 9px;
}
.why-card h3 {
  font-weight: 800; font-stretch: 110%; font-size: 21px; text-transform: uppercase;
  margin-bottom: 12px; line-height: 1.2;
}
.why-card p { color: var(--ink-dim); font-size: 15.5px; }

/* ---------- Pricing ---------- */
.pricing-table-wrap { overflow-x: auto; margin-bottom: 56px; border: 1px solid var(--line-bright); border-radius: 8px; }
.pricing-table { width: 100%; border-collapse: collapse; background: var(--bg-2); min-width: 560px; }
.pricing-table th, .pricing-table td { text-align: left; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.pricing-table thead th {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  background: var(--bg-3);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover td { background: rgba(89,183,255,0.03); }
.pricing-table td:nth-child(2) {
  font-weight: 800; font-stretch: 110%; font-size: 18px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pricing-table td:nth-child(3) { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); white-space: nowrap; }

.pricing-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pricing-drivers, .pricing-scenarios {
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2);
  padding: 40px 38px;
}
.pricing-cols h3 {
  font-weight: 800; font-stretch: 110%; font-size: 19px; text-transform: uppercase;
  margin-bottom: 22px;
}
.pricing-drivers ul, .pricing-scenarios ol { list-style: none; counter-reset: sc; }
.pricing-drivers li, .pricing-scenarios li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-dim); font-size: 15px;
}
.pricing-drivers li:last-child, .pricing-scenarios li:last-child { border-bottom: 0; }
.pricing-drivers strong, .pricing-scenarios strong { color: var(--ink); }
.pricing-note { margin-top: 20px; font-size: 15px; color: var(--ink-dim); }
.pricing-note a { font-family: var(--font-mono); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2);
  margin-bottom: 12px; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-list details[open] { border-color: var(--line-bright); }
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: 20px 56px 20px 26px; position: relative;
  font-weight: 700; font-size: 16.5px; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; translate: 0 -50%;
  font-weight: 400; font-size: 22px; color: var(--blue);
  transition: rotate 0.3s var(--ease-out);
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p {
  padding: 0 26px 24px; color: var(--ink-dim); font-size: 15.5px; max-width: 760px;
}

/* ---------- Contact ---------- */
.contact {
  max-width: none;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 15% 10%, rgba(230,51,41,0.07), transparent 55%),
    radial-gradient(60% 80% at 90% 90%, rgba(29,111,209,0.1), transparent 60%),
    var(--bg-2);
}
.contact-inner {
  max-width: 1316px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
.contact-copy > p { color: var(--ink-dim); margin: 22px 0 34px; font-size: 17px; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 14px; }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line-bright); border-radius: 10px;
  padding: 44px 40px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(89,183,255,0.05);
}
.field { margin-bottom: 22px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 9px;
}
.field label::after { content: " *"; color: var(--red-hot); }  /* all fields required */
.field input[aria-invalid="true"] { border-color: var(--red-hot); }
.field input {
  width: 100%; background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line-bright); border-radius: 5px;
  font-family: var(--font-head); font-size: 17px;
  padding: 15px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(89, 183, 255, 0.18);
}
.form-status { margin-top: 16px; font-size: 14.5px; min-height: 1.4em; color: var(--ink-dim); }
.form-status.ok { color: #4ade80; }
.form-status.err { color: var(--red-hot); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner {
  max-width: 1380px; margin: 0 auto; padding: 72px 32px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.7fr; gap: 48px;
}
.footer-brand .brand-word { font-size: 21px; }
.footer-nap { margin-top: 22px; color: var(--ink-dim); font-size: 15px; line-height: 1.8; }
.footer-hours { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.footer-col h3 {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint);
  margin-bottom: 18px;
}
.footer-col p { color: var(--ink-dim); font-size: 14.5px; }
.footer-col nav { display: flex; flex-direction: column; gap: 2px; }
.footer-col nav a { color: var(--ink-dim); font-size: 14.5px; padding: 10px 0; }  /* ≥44px targets */
.footer-col nav a:hover { color: var(--blue); }
.footer-legal {
  border-top: 1px solid var(--line);
  max-width: 1380px; margin: 0 auto; padding: 24px 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
}

/* ---------- Callback modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 8, 0.78); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: 100%; max-width: 440px;
  background: var(--bg-2); border: 1px solid var(--line-bright); border-radius: 10px;
  padding: 40px 38px 32px;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.9);
  animation: modalIn 0.45s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-card h3 {
  font-weight: 900; font-stretch: 112%; font-size: 26px; text-transform: uppercase;
  line-height: 1.1; margin-bottom: 26px;
}
.modal-x {
  position: absolute; top: 6px; right: 8px;
  background: none; border: 0; color: var(--ink-faint); font-size: 26px;
  cursor: pointer; line-height: 1; padding: 12px;   /* ≥44px touch target */
}
.modal-x:hover { color: var(--ink); }
.modal-alt { margin-top: 20px; font-size: 14px; color: var(--ink-faint); text-align: center; }
.modal-alt a { font-family: var(--font-mono); font-weight: 600; }

/* ---------- Subpages: page hero, breadcrumbs, CTA band ---------- */
.page-hero {
  max-width: 1380px; margin: 0 auto;
  padding: calc(var(--header-h) + 76px) 32px 72px;
  position: relative;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(29, 111, 209, 0.12), transparent 60%),
    linear-gradient(rgba(89,183,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,183,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 34px 34px, 34px 34px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.breadcrumbs {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-faint); margin-bottom: 30px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.breadcrumbs a { color: var(--ink-faint); padding: 8px 0; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { color: var(--line-bright); }
.breadcrumbs [aria-current] { color: var(--ink-dim); }
.page-hero h1 {
  font-weight: 900; font-stretch: 113%; text-transform: uppercase;
  font-size: clamp(36px, 5vw, 68px); line-height: 1.0; letter-spacing: -0.01em;
  margin-bottom: 26px; max-width: 980px;
}
.page-hero .section-answer { margin-top: 0; }
.page-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.page-chips span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em;
  color: var(--ink-dim); border: 1px solid var(--line-bright); border-radius: 100px;
  padding: 8px 14px;
}
.page-chips strong { color: var(--blue); font-weight: 600; }

.cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 100% at 20% 0%, rgba(230, 51, 41, 0.08), transparent 55%),
    radial-gradient(50% 90% at 85% 100%, rgba(29, 111, 209, 0.12), transparent 60%),
    var(--bg-2);
  padding: 96px 32px;
}
.cta-band-inner { max-width: 1316px; margin: 0 auto; }
.cta-band h2 {
  font-weight: 900; font-stretch: 113%; text-transform: uppercase;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.03; margin-bottom: 14px;
}
.cta-band p { color: var(--ink-dim); max-width: 640px; margin-bottom: 32px; }
.cta-band .contact-direct { display: flex; flex-wrap: wrap; gap: 14px; }

.cap-more { margin-top: 30px; }
.cap-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px; padding: 10px 0;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}
.cap-link:hover { color: #8ccfff; gap: 12px; }
.cap-link svg { transition: transform 0.25s var(--ease-out); }
.cap-link:hover svg { transform: translateX(3px); }
.teaser-cta { margin-top: 34px; }

.content-block { margin-bottom: 72px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
  font-weight: 800; font-stretch: 111%; text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; margin-bottom: 18px;
}
.content-block > p { color: var(--ink-dim); max-width: 780px; margin-bottom: 18px; }
.scope-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; max-width: 1000px; }
.scope-cols .cap-scope { margin-bottom: 0; }

@media (max-width: 900px) {
  .scope-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: calc(var(--header-h) + 44px) 20px 56px; }
  .cta-band { padding: 72px 20px; }
  .cta-band .contact-direct .btn { width: 100%; justify-content: center; }
}

/* ---------- Scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ol-flow path, .pulse-dot, .hero-scroll-cue span { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .cap-flagship { grid-template-columns: 1fr; }
  .cap-flagship-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .cap-grid { grid-template-columns: 1fr; }
  .stat-wall { grid-template-columns: repeat(2, 1fr); }
  .pricing-cols { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trust-bar ul { grid-template-columns: repeat(2, 1fr); }
  .trust-bar li:last-child { border-right: 0; grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 88px 20px; }
  .header-inner { padding: 0 16px; gap: 12px; }
  .header-phone span { display: none; }        /* icon-only phone on small screens (aria-label carries the name) */
  .header-phone { padding: 15px; border: 1px solid var(--line-bright); border-radius: 4px; }
  .btn-callback { font-size: 12.5px; padding: 15px 12px; }
  .brand-word { font-size: 16px; }
  .brand-word small { font-size: 7px; }
  .hero-content { padding: calc(var(--header-h) + 24px) 20px 72px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; }
  .hero-stats dd { font-size: 30px; }
  .project-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stat-wall { grid-template-columns: 1fr; }
  .stat { padding: 34px 28px; }
  .cap-flagship-body { padding: 36px 26px; }
  .contact-form { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .trust-bar ul { grid-template-columns: 1fr; }
  .trust-bar li { border-left: 0; border-top: 1px solid var(--line); padding: 18px 4px; }
}
