/* ============================================================
   Aeon Logic design system v2
   One file, shared by every page. Chrome + Electric Blue + Ice White
   on Midnight Navy, with a Neon Yellow consultation CTA.

   Palette (brand brief, Option 2):
     Midnight Navy  #07111E  primary background
     Graphite Blue  #20384F  panels / contrast surfaces
     Chrome Silver  #AEBBCB  metallic accents, body text
     Electric Blue  #12C8FF  network graphics, icons, borders
     Neon Yellow    #F4F500  primary consultation CTA only
     Ice White      #F1F7FC  headlines and primary text
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces */
  --bg: #07111E;             /* midnight navy, primary background */
  --bg-navy: #0B1B2C;        /* alternate section background */
  --bg-panel: #0F1E31;       /* graphite-blue panel */
  --bg-raise: #16293F;       /* raised card */

  /* Lines (chrome) */
  --line: rgba(174, 187, 203, 0.14);
  --line-strong: rgba(174, 187, 203, 0.30);

  /* Text */
  --text: #F1F7FC;           /* ice white */
  --muted: #AEBBCB;          /* chrome silver */
  --faint: rgba(174, 187, 203, 0.62);

  /* Accents */
  --accent: #12C8FF;         /* electric blue */
  --accent-deep: #0A8FBE;
  --accent-soft: rgba(18, 200, 255, 0.13);

  /* CTA */
  --cta: #F4F500;            /* neon yellow */
  --cta-hover: #FBFC57;
  --cta-ink: #141504;

  /* Chrome (metallic, for gradients) */
  --chrome-hi: #E9EFF5;
  --chrome: #AEBBCB;
  --chrome-lo: #5E6C7E;

  /* Type */
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --container: 1140px;
  --space-section: clamp(72px, 10vw, 128px);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--text);
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--space-section); }

/* Graphite-blue contrast band between sections */
.section-alt {
  background: linear-gradient(180deg, rgba(32, 56, 79, 0.30) 0%, rgba(11, 27, 44, 0.55) 100%);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }

.section-head h2 { font-size: clamp(27px, 3.6vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: clamp(15.5px, 1.6vw, 18px); }

/* Eyebrow: used sparingly (hero + one section per page) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(18, 200, 255, 0.7);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #06121c;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* Glass panel: graphite interface surface (fallback kept solid) */
.panel-glass {
  background: rgba(15, 30, 49, 0.55);
  border: 1px solid rgba(174, 187, 203, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
@supports (backdrop-filter: blur(1px)) {
  .panel-glass {
    background: rgba(15, 30, 49, 0.45);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .panel-glass {
    background: var(--bg-panel);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 30, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #07111E; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 27px; height: 27px; flex: none; }
.brand-name b { color: var(--accent); font-weight: 700; }
.brand-name b::before { content: "\00a0"; }

.site-nav { display: none; }
.site-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 2px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); }

.header-cta { margin-left: auto; }
.header-cta .btn { white-space: nowrap; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Neon yellow: consultation CTA only, per brand rules */
.btn-cta {
  background: linear-gradient(180deg, #F7F94E 0%, var(--cta) 100%);
  color: var(--cta-ink);
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(244, 245, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-cta:hover {
  background: linear-gradient(180deg, var(--cta-hover) 0%, var(--cta) 100%);
  box-shadow: 0 12px 32px rgba(244, 245, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* Electric blue: secondary/primary actions that are not the consultation CTA */
.btn-primary {
  background: linear-gradient(180deg, #2BD2FF 0%, var(--accent) 55%, #08A6D8 100%);
  color: #05131D;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(18, 200, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(18, 200, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-ghost {
  background: rgba(18, 200, 255, 0.05);
  border-color: rgba(18, 200, 255, 0.55);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(18, 200, 255, 0.10);
}

.btn-sm { padding: 9px 18px; font-size: 14.5px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 88% -6%, rgba(18, 200, 255, 0.10), transparent 62%),
    radial-gradient(640px 420px at 8% 0%, rgba(32, 56, 79, 0.55), transparent 60%),
    linear-gradient(180deg, #0A1830 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

/* Blend the hero into the page background on short mobile viewports */
@media (max-width: 768px) {
  .hero {
    background:
      radial-gradient(520px 300px at 88% -4%, rgba(18, 200, 255, 0.10), transparent 62%),
      linear-gradient(180deg, #0A1830 0%, #0A1830 46%, var(--bg) 100%);
  }
}

/* Slow ambient aurora (single layered glow, opacity only) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 480px at 72% 34%, rgba(18, 200, 255, 0.10), transparent 70%);
  opacity: 0.7;
  animation: hero-aurora 11s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hero-aurora {
  from { opacity: 0.45; transform: translateY(-10px); }
  to   { opacity: 0.95; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; opacity: 0.6; } }

.hero::before {
  /* faint engineering grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(174, 187, 203, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 187, 203, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(880px 560px at 70% 30%, #000 26%, transparent 78%);
  -webkit-mask-image: radial-gradient(880px 560px at 70% 30%, #000 26%, transparent 78%);
  pointer-events: none;
}

/* ---------- Hero environment: living AI backdrop ----------
   Layered behind the content, concentrated around the emblem and the
   right half of the hero, fading out toward the headline text. */

.hero-env {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 30%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 30%, #000 52%);
}

/* Atmospheric light pooled around the emblem */
.env-glow {
  position: absolute;
  top: -30%;
  right: 4%;
  width: min(760px, 64%);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(18, 200, 255, 0.10), rgba(18, 200, 255, 0.04) 55%, transparent 76%);
  animation: env-breathe 12s ease-in-out infinite alternate;
}
@keyframes env-breathe {
  from { opacity: 0.55; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(10px) scale(1.03); }
}

/* Very faint dimensional grid plane, lower right */
.env-grid-deep {
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 78%;
  height: 88%;
  background-image:
    linear-gradient(rgba(18, 200, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 200, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(720px) rotateX(56deg);
  transform-origin: top center;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 55% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 70% at 55% 30%, #000 20%, transparent 72%);
  opacity: 0.55;
}

/* Fine electric-blue neural mesh around the emblem */
.env-net {
  position: absolute;
  top: 0;
  right: 0;
  width: min(900px, 80%);
  height: 100%;
  opacity: 0.9;
  /* Fades the mesh toward its container edges so it never draws a
     visible rectangle of its own. */
  -webkit-mask-image: radial-gradient(ellipse 68% 62% at 55% 46%, #000 40%, transparent 78%);
  mask-image: radial-gradient(ellipse 68% 62% at 55% 46%, #000 40%, transparent 78%);
}
.env-net line { stroke: #12C8FF; stroke-width: 1; }
.env-net line.chrome { stroke: #AEBBCB; }
.env-net circle { fill: #12C8FF; }
.env-net circle.chrome { fill: #AEBBCB; }
.env-net .tw  { animation: env-twinkle 6s ease-in-out infinite; }
.env-net .tw2 { animation: env-twinkle 8.5s ease-in-out infinite; animation-delay: -3s; }
.env-net .tw3 { animation: env-twinkle 11s ease-in-out infinite; animation-delay: -5s; }
@keyframes env-twinkle {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.95; }
}

/* Gentle light trails crossing the environment */
.env-trail {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 200, 255, 0.5), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.env-trail-a {
  top: 26%;
  right: 6%;
  width: 46%;
  animation: env-drift-a 16s ease-in-out infinite alternate;
}
.env-trail-b {
  top: 62%;
  right: 0;
  width: 34%;
  animation: env-drift-b 19s ease-in-out infinite alternate;
}
@keyframes env-drift-a {
  from { transform: translateX(-36px) rotate(-3deg); opacity: 0.35; }
  to   { transform: translateX(30px) rotate(-1deg); opacity: 0.8; }
}
@keyframes env-drift-b {
  from { transform: translateX(26px); opacity: 0.7; }
  to   { transform: translateX(-30px); opacity: 0.35; }
}

/* Softly illuminated floating particles */
.env-particles { position: absolute; inset: 0; }
.env-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(18, 200, 255, 0.8);
  box-shadow: 0 0 8px rgba(18, 200, 255, 0.55);
  opacity: 0.4;
  animation: env-float 9s ease-in-out infinite alternate;
}
@keyframes env-float {
  from { transform: translateY(6px); opacity: 0.22; }
  to   { transform: translateY(-14px); opacity: 0.85; }
}
.env-particles span:nth-child(1)  { top: 16%; right: 10%; animation-duration: 11s; animation-delay: -2s; }
.env-particles span:nth-child(2)  { top: 34%; right: 22%; width: 2px; height: 2px; animation-duration: 13s; animation-delay: -6s; }
.env-particles span:nth-child(3)  { top: 8%;  right: 34%; opacity: 0.55; animation-duration: 9s;  animation-delay: -1s; }
.env-particles span:nth-child(4)  { top: 52%; right: 8%;  animation-duration: 14s; animation-delay: -4s; }
.env-particles span:nth-child(5)  { top: 66%; right: 26%; width: 2px; height: 2px; animation-duration: 10s; animation-delay: -7s; }
.env-particles span:nth-child(6)  { top: 28%; right: 44%; animation-duration: 12s; animation-delay: -3s; }
.env-particles span:nth-child(7)  { top: 74%; right: 14%; animation-duration: 16s; animation-delay: -5s; }
.env-particles span:nth-child(8)  { top: 44%; right: 38%; width: 4px; height: 4px; opacity: 0.5; background: rgba(174, 187, 203, 0.75); box-shadow: 0 0 8px rgba(174, 187, 203, 0.4); animation-duration: 13s; animation-delay: -8s; }
.env-particles span:nth-child(9)  { top: 12%; right: 52%; animation-duration: 15s; animation-delay: -6s; }
.env-particles span:nth-child(10) { top: 58%; right: 48%; animation-duration: 11s; animation-delay: -2s; }
.env-particles span:nth-child(11) { top: 82%; right: 34%; width: 2px; height: 2px; animation-duration: 12s; animation-delay: -9s; }
.env-particles span:nth-child(12) { top: 22%; right: 60%; width: 2px; height: 2px; opacity: 0.5; animation-duration: 14s; animation-delay: -4s; }
.env-particles span:nth-child(13) { top: 68%; right: 58%; animation-duration: 10s; animation-delay: -7s; }
.env-particles span:nth-child(14) { top: 40%; right: 66%; width: 4px; height: 4px; opacity: 0.4; background: rgba(174, 187, 203, 0.6); box-shadow: 0 0 6px rgba(174, 187, 203, 0.35); animation-duration: 17s; animation-delay: -3s; }

.hero-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(32px, 4vw, 48px);
  padding-block: clamp(34px, 4.6vw, 56px) clamp(38px, 5vw, 62px);
  z-index: 1;
}

/* Hero image filled headline (three lines, last in cyan) */
.hero-copy h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 20ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* Eyebrow with horizontal accent rule */
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.eyebrow-rule {
  display: inline-block;
  width: clamp(40px, 6vw, 74px);
  height: 2px;
  background: var(--cta);
  border-radius: 2px;
}

.hero .lede {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 17.5px);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.62;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Play glyph inside the ghost CTA */
.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
  margin-right: 2px;
}

/* Hero visual: full 3D scene with floating glass module cards */
.hero-visual { position: relative; }

.hero-stage { position: relative; }
/* Dark atmosphere plate around the emblem: bridges the artwork's own
   night-sky tone into the page navy, so the rectangle has no seam. */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: -16% -10%;
  z-index: 0;
  background: radial-gradient(ellipse 62% 66% at 50% 47%,
    rgba(4, 9, 20, 0.9) 46%,
    rgba(6, 13, 26, 0.55) 68%,
    rgba(7, 17, 30, 0.25) 84%,
    transparent 97%);
  pointer-events: none;
}
/* The scene ships with soft transparent edges (baked alpha), so it
   sits on the page with no card and no frame. The emblem column stays
   fully opaque. */
.hero-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: brightness(1.05) saturate(1.03);
  animation: hero-drift 12s ease-in-out infinite alternate;
}
/* Soft dark vignette: fades the artwork's own rim into the page. */
.hero-stage::after {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: 2;
  background: radial-gradient(ellipse 70% 88% at 50% 47%, transparent 58%, rgba(7, 17, 30, 0.5) 80%, rgba(7, 17, 30, 0.72) 92%, transparent 100%);
  pointer-events: none;
}
@keyframes hero-drift {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px); }
}
@keyframes hero-glow {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

.hero-float {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px 15px;
  min-width: 186px;
  border-radius: 16px;
  border: 1px solid rgba(18, 200, 255, 0.28);
  background: rgba(10, 25, 45, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(3, 10, 18, 0.5);
}
.float-head { display: flex; align-items: center; gap: 10px; }
.float-head strong { display: block; color: var(--text); font-size: 14px; letter-spacing: 0.01em; }
.float-head span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.glyph-sm {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(18, 200, 255, 0.34);
}
.glyph-sm svg { width: 16px; height: 16px; stroke: var(--accent); }

.float-voice { top: 30%; left: 1%; animation: float-a 7.5s ease-in-out infinite alternate; }
.float-lead  { top: 8%; right: 3%; animation: float-a 9s ease-in-out infinite alternate-reverse; }
.float-grow  { top: 46%; right: 6%; animation: float-a 8s ease-in-out infinite alternate; }

.float-voice .wave { height: 30px; margin-top: 2px; gap: 3px; }
.float-voice .wave span { width: 3px; }
.float-voice .wave span:nth-child(1)  { animation-delay: 0s; }
.float-voice .wave span:nth-child(2)  { animation-delay: 0.08s; }
.float-voice .wave span:nth-child(3)  { animation-delay: 0.16s; }
.float-voice .wave span:nth-child(4)  { animation-delay: 0.24s; }
.float-voice .wave span:nth-child(5)  { animation-delay: 0.32s; }
.float-voice .wave span:nth-child(6)  { animation-delay: 0.4s; }
.float-voice .wave span:nth-child(7)  { animation-delay: 0.48s; }
.float-voice .wave span:nth-child(8)  { animation-delay: 0.56s; }
.float-voice .wave span:nth-child(9)  { animation-delay: 0.64s; }
.float-voice .wave span:nth-child(10) { animation-delay: 0.72s; }
.float-voice .wave span:nth-child(11) { animation-delay: 0.8s; }
.float-voice .wave span:nth-child(12) { animation-delay: 0.88s; }

@keyframes float-a {
  from { transform: translateY(-5px); }
  to   { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float { animation: none; }
  .hero-stage img, .hero-stage::before,
  .env-particles span, .env-trail, .env-glow,
  .env-net .tw, .env-net .tw2, .env-net .tw3 { animation: none; }
  .hero-stage img { transform: none; }
}

/* Hero ribbon: benefits left, market sectors right */
.hero-ribbon {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding-block: clamp(28px, 3.4vw, 38px);
  border-top: 1px solid var(--line);
  background: rgba(5, 12, 24, 0.72);
  box-shadow: 0 -1px 0 rgba(18, 200, 255, 0.10) inset;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.benefit:first-child { border-left: none; padding-left: 0; }
.benefit svg { width: 17px; height: 17px; stroke: var(--accent); flex: none; }

.ribbon-divider { display: none; }

.sectors-title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.sectors-title em { font-style: normal; color: var(--cta); }

.sector-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 14px;
}
.sector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
.sector:hover { color: var(--text); text-decoration: none; }
.sector-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(174, 187, 203, 0.28);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.sector-ring svg { width: 19px; height: 19px; stroke: var(--text); }
.sector:hover .sector-ring { border-color: rgba(18, 200, 255, 0.55); background: rgba(18, 200, 255, 0.08); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-raise) 0%, var(--bg-panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
/* Chrome hairline along the top edge */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 239, 245, 0.55), transparent);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.card .glyph {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(18, 200, 255, 0.32);
  margin-bottom: 16px;
}
.card .glyph svg { width: 20px; height: 20px; stroke: var(--accent); }
/* Guardrail: glyph icons are always icon-sized, never intrinsic-size SVGs */
.glyph svg { width: 20px; height: 20px; }

/* Solutions page: four cards balanced as a two-up grid (border-left divider) */
@media (min-width: 640px) {
  #lead-capture, #workflow-automation, #crm-integrations, #engagement { border-left: 1px solid var(--line); }
}
@media (max-width: 639px) {
  #lead-capture, #workflow-automation, #crm-integrations, #engagement { border-left: none; }
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
}
.card-link svg { width: 15px; height: 15px; stroke: var(--accent); }

/* ---------- Solution pillars ---------- */

.pillar-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
/* Connecting data line between pillars (desktop) */
@media (min-width: 900px) {
  .pillar-grid::before {
    content: "";
    position: absolute;
    top: 96px;
    left: 4%;
    right: 4%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(18, 200, 255, 0.35), transparent);
    z-index: 0;
  }
}

.pillar {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg-raise) 0%, var(--bg-panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 239, 245, 0.6), transparent);
}
.pillar:hover { border-color: rgba(18, 200, 255, 0.4); transform: translateY(-2px); }
.pillar.featured { border-color: rgba(18, 200, 255, 0.38); }

.pillar .glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(18, 200, 255, 0.34);
  margin-bottom: 18px;
}
.pillar .glyph svg { width: 21px; height: 21px; stroke: var(--accent); }

.pillar h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  background: linear-gradient(180deg, var(--chrome-hi) 0%, var(--chrome) 55%, var(--chrome-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--chrome);
}
.pillar .pillar-tag {
  color: var(--text);
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar > p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }

.pillar ul { list-style: none; display: grid; gap: 8px; }
.pillar li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 14.5px;
}
.pillar li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312C8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat,
    rgba(18, 200, 255, 0.10);
  border: 1px solid rgba(18, 200, 255, 0.3);
}

/* ---------- Voice agent showcase ---------- */

.voice-show {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}.voice-copy h2 { font-size: clamp(27px, 3.4vw, 40px); margin-bottom: 16px; }
.voice-copy p { color: var(--muted); font-size: clamp(15.5px, 1.6vw, 18px); margin-bottom: 22px; max-width: 520px; }

.voice-stage {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(12px, 3vw, 28px);
}
/* Emanating rings behind the phone */
.voice-stage::before, .voice-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(18, 200, 255, 0.22);
  transform: translate(-50%, -50%);
}
.voice-stage::before { width: min(420px, 88vw); aspect-ratio: 1; }
.voice-stage::after {
  width: min(560px, 100vw);
  aspect-ratio: 1;
  border-color: rgba(174, 187, 203, 0.10);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(280px, 76vw);
  aspect-ratio: 9 / 17.5;
  border-radius: 38px;
  border: 1px solid rgba(174, 187, 203, 0.28);
  background: linear-gradient(180deg, rgba(18, 200, 255, 0.05) 0%, rgba(7, 17, 30, 0.92) 60%);
  box-shadow: 0 40px 90px rgba(3, 10, 18, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.phone-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.phone-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(18, 200, 255, 0.4);
  background: rgba(18, 200, 255, 0.08);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.phone-call .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(18, 200, 255, 0.9);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.8); }
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 46px;
  margin-top: auto;
}
.wave span {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(18, 200, 255, 0.25));
  animation: wave 1.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.35); opacity: 0.75; }
  50%      { transform: scaleY(1); opacity: 1; }
}
.phone-actions { display: flex; gap: 22px; margin-bottom: 8px; }
.phone-actions span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-actions svg { width: 20px; height: 20px; }
.phone-actions .accept {
  border: 1px solid rgba(18, 200, 255, 0.55);
  background: rgba(18, 200, 255, 0.12);
}
.phone-actions .accept svg { stroke: var(--accent); }
.phone-actions .decline {
  border: 1px solid rgba(174, 187, 203, 0.3);
  background: rgba(174, 187, 203, 0.08);
}
.phone-actions .decline svg { stroke: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .phone-call .dot, .wave span { animation: none; }
  .wave span { height: 22px; }
}

/* Voice feature block (solutions page): copy left, capability list right */
.voice-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  background: linear-gradient(180deg, var(--bg-raise) 0%, var(--bg-panel) 100%);
  border: 1px solid rgba(18, 200, 255, 0.38);
  border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 40px);
  position: relative;
}
.voice-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 239, 245, 0.6), transparent);
}
.voice-feature .glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(18, 200, 255, 0.34);
  margin-bottom: 18px;
}
.voice-feature .glyph svg { width: 21px; height: 21px; stroke: var(--accent); }
.voice-feature h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.voice-feature p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.voice-feature .fit, .card .fit { margin-top: 12px; font-size: 15px; }
.voice-feature .fit strong, .card .fit strong { color: var(--text); }
.voice-feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  align-content: start;
  margin: auto 0;
  padding: 4px 0 4px clamp(0px, 2vw, 8px);
}
.voice-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.voice-feature-list li:last-child { border-bottom: none; padding-bottom: 0; }
.voice-feature-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312C8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat,
    rgba(18, 200, 255, 0.10);
  border: 1px solid rgba(18, 200, 255, 0.3);
}
@media (min-width: 900px) {
  .voice-feature { grid-template-columns: 1.25fr 0.75fr; gap: 48px; }
}

/* ---------- Steps ---------- */

.steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; }

.step {
  position: relative;
  background: linear-gradient(180deg, var(--bg-raise) 0%, var(--bg-panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 26px 74px;
}
.step::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 30px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 12px rgba(18, 200, 255, 0.55);
}
/* Connecting line between step nodes */
.step::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 46px;
  bottom: -20px;
  width: 1px;
  background: linear-gradient(180deg, rgba(18, 200, 255, 0.4), rgba(18, 200, 255, 0.06));
}
.step:last-child::after { display: none; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 26px; }
  /* Node moves above the heading; text clears it */
  .step::before { top: 26px; left: 26px; }
  .step h3 { margin-top: 34px; }
  .step::after { display: none; }
}

/* ---------- Industries ---------- */

.industry-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.industry-card {
  position: relative;
  background: rgba(15, 30, 49, 0.55);
  border: 1px solid rgba(174, 187, 203, 0.16);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.industry-card:hover { border-color: rgba(18, 200, 255, 0.4); transform: translateY(-2px); }
.industry-card.featured {
  border-color: rgba(18, 200, 255, 0.4);
  background: linear-gradient(180deg, rgba(18, 200, 255, 0.08) 0%, rgba(15, 30, 49, 0.7) 45%);
}
.industry-card .glyph {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(18, 200, 255, 0.32);
  margin-bottom: 16px;
}
.industry-card .glyph svg { width: 20px; height: 20px; stroke: var(--accent); }
.industry-card h3 { font-size: 19px; margin-bottom: 8px; }
.industry-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}
.chip a { color: inherit; }
.chip a:hover { color: var(--text); text-decoration: none; }

/* ---------- Pricing ---------- */

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.pricing-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.pricing-copy p { color: var(--muted); font-size: clamp(15.5px, 1.6vw, 17.5px); margin-bottom: 16px; max-width: 560px; }

.pricing-card {
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing-card h3 { font-size: 20px; margin-bottom: 2px; }
.pricing-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 6px; }
.pricing-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}
.pricing-card li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312C8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat,
    rgba(18, 200, 255, 0.10);
  border: 1px solid rgba(18, 200, 255, 0.3);
}
.pricing-note { color: var(--faint); font-size: 13.5px; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background:
    radial-gradient(760px 320px at 50% -30%, rgba(18, 200, 255, 0.18), transparent 68%),
    var(--bg-navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding-block: clamp(64px, 8vw, 104px);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 600px; margin: 0 auto 32px; }

/* ---------- Form (contact page) ---------- */

.form-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}

.contact-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-side h2 { font-size: 24px; margin-bottom: 12px; }
.contact-side p { color: var(--muted); margin-bottom: 22px; font-size: 15.5px; }

.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-item .glyph { flex: none; margin-bottom: 0; }
.contact-item span { color: var(--muted); font-size: 15.5px; }
.contact-item a { color: var(--text); font-weight: 600; }
.contact-item a:hover { color: var(--accent); }

/* ---------- Demo placeholder (HVAC) ---------- */

.demo-panel {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.demo-panel .glyph { margin-inline: auto; width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border: 1px solid rgba(18, 200, 255, 0.32); margin-bottom: 16px; }
.demo-panel .glyph svg { width: 20px; height: 20px; stroke: var(--accent); }
.demo-panel h3 { font-size: 19px; margin-bottom: 10px; }
.demo-panel p { color: var(--muted); font-size: 15.5px; max-width: 520px; margin-inline: auto; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 27, 44, 0.4), var(--bg));
  padding-block: 48px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer-brand p { color: var(--faint); font-size: 14px; margin-top: 12px; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--muted); font-size: 14.5px; }
.footer-nav a:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.footer-contact a:hover { color: var(--text); }
.footer-note {
  color: var(--faint);
  font-size: 13.5px;
  width: 100%;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ---------- Prose (about / privacy) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.8vw, 30px); margin: 40px 0 14px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; }

/* ---------- Reveal on scroll (JS adds .js to <html>; without JS nothing hides) ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .nav-toggle span, .pillar, .industry-card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-layout { grid-template-columns: 1.1fr 0.9fr; }
}

@media (min-width: 900px) {
  .site-nav { display: flex; gap: 26px; }
  .nav-toggle { display: none; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-card.featured { grid-column: span 1; }
  .voice-show { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  .footer-nav, .footer-contact { flex-direction: row; flex-wrap: wrap; gap: 20px; }

  /* Hero: 40/60 split, benefits row + sector cluster in the ribbon */
  .hero-top { grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 3vw, 40px); }
  .hero-actions { flex-wrap: nowrap; }
  .benefits { grid-template-columns: repeat(2, 1fr); justify-content: space-between; gap: 14px 26px; }
  .hero-ribbon { grid-template-columns: minmax(0, 1.1fr) 1px minmax(0, 1fr); align-items: start; gap: 30px; }
  .ribbon-divider { display: block; width: 1px; align-self: stretch; background: var(--line); }
  .sector-row { grid-template-columns: repeat(4, 1fr); gap: 16px 14px; }
}

@media (min-width: 1200px) {
  .benefits { grid-template-columns: repeat(4, auto); }
  .sector-row { grid-template-columns: repeat(7, 1fr); }

  /* Widescreen hero: more room for the headline, larger emblem presence */
  .hero .container { max-width: 1320px; }
  .hero-top { grid-template-columns: 1.12fr 0.88fr; gap: 28px; }
  .hero-copy h1 { font-size: 60px; max-width: 21ch; }
  .hero .lede { max-width: 540px; }
}

@media (max-width: 899px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  /* Simplify the environment on smaller screens */
  .env-net { opacity: 0.5; }
  .env-trail { display: none; }
  .env-grid-deep { opacity: 0.35; }
  .env-particles span:nth-child(n+10) { display: none; }
  .hero-stage::before { inset: -6% -2%; }
  .hero-ribbon { gap: 22px; }
  /* Tablet: keep the floating cards inside the artwork frame */
  .hero-float { min-width: 0; }
  .float-voice { left: 1%; }
  .float-lead  { right: 1%; }
  .float-grow  { right: 2%; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(6, 14, 26, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 22px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
}

@media (max-width: 639px) {
  .header-cta { display: none; }

  /* Phone: calm environment, frameless artwork above the module list */
  .env-net, .env-trail, .env-grid-deep { display: none; }
  .env-particles span:nth-child(n+7) { display: none; }
  .hero-stage::after { display: none; }
  .hero-stage img {
    -webkit-mask-image: radial-gradient(ellipse 80% 78% at 50% 50%, #000 60%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 78% at 50% 50%, #000 60%, transparent 100%);
  }

  /* Phone: the artwork is too small to hold overlay cards, so the three
     modules become a plain readable list directly under the image. */
  .hero-stage { display: grid; gap: 12px; }
  .hero-float {
    position: static;
    animation: none;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 13px;
    width: 100%;
  }
  .float-head strong { font-size: 14px; }
  .float-head span { font-size: 12.5px; }
  .glyph-sm { width: 30px; height: 30px; border-radius: 9px; }
  .glyph-sm svg { width: 15px; height: 15px; }
  .float-voice .wave { display: none; }
  /* Order so the voice module leads, matching the artwork's reading order */
  .float-voice { order: 2; }
  .float-lead  { order: 3; }
  .float-grow  { order: 4; }
  .hero-scene  { order: 1; }

  .sector-row { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-left: none; padding-left: 0; }
}

/* ============================================================
   Connected-systems visual language (v2.1)
   Shared flow diagrams, split layouts, editorial pieces.
   Pure CSS, no libraries; honors prefers-reduced-motion.
   ============================================================ */

/* ---------- Flow diagram: nodes + animated connectors ---------- */

.flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 30, 49, 0.65);
  border: 1px solid rgba(174, 187, 203, 0.16);
  border-radius: 12px;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
  transition: border-color 0.2s ease;
}
.flow-node:hover { border-color: rgba(18, 200, 255, 0.4); }
.flow-node strong { display: block; color: var(--text); font-size: 14.5px; line-height: 1.3; }
.flow-node .sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.flow-node.hub {
  border-color: rgba(18, 200, 255, 0.45);
  background: rgba(18, 200, 255, 0.07);
  box-shadow: 0 0 26px rgba(18, 200, 255, 0.10);
}

/* Connector segment between nodes (vertical by default) */
.flow-link {
  position: relative;
  width: 2px;
  height: 30px;
  margin-left: 33px; /* aligns under the node glyph center */
  background: linear-gradient(180deg, rgba(18, 200, 255, 0.45), rgba(18, 200, 255, 0.10));
  overflow: hidden;
  flex: none;
}
.flow-link::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -10px;
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(18, 200, 255, 0.85);
  animation: flow-drop 2.8s linear infinite;
}
@keyframes flow-drop { to { transform: translateY(42px); } }

/* Horizontal variant for wide layouts */
.flow-row { flex-direction: row; align-items: center; }
.flow-row .flow-link {
  width: clamp(28px, 4vw, 52px);
  height: 2px;
  margin: 0;
  background: linear-gradient(90deg, rgba(18, 200, 255, 0.45), rgba(18, 200, 255, 0.10));
}
.flow-row .flow-link::after {
  left: -10px;
  top: -1px;
  width: 12px;
  height: 4px;
  animation: flow-slide 2.8s linear infinite;
}
@keyframes flow-slide { to { transform: translateX(64px); } }

/* Compact variant (inside cards) */
.flow.mini .flow-node { padding: 10px 13px; border-radius: 10px; }
.flow.mini .flow-node strong { font-size: 13.5px; }
.flow.mini .flow-link { height: 22px; margin-left: 28px; }
.flow.mini .flow-row .flow-link { width: 26px; height: 2px; margin: 0; }

/* ---------- Merge diagram: scattered sources converge to one hub ---------- */

.merge { position: relative; }
.merge-islands { display: grid; gap: 12px; position: relative; }
.island {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(15, 30, 49, 0.55);
  border: 1px solid rgba(174, 187, 203, 0.18);
  border-radius: 11px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  width: fit-content;
  max-width: 100%;
}
.island svg { width: 16px; height: 16px; stroke: var(--muted); flex: none; }
/* Right-side stub connecting each island toward the spine */
.merge-islands .island::after {
  content: "";
  position: absolute;
  left: 100%;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 200, 255, 0.35), rgba(18, 200, 255, 0.08));
}
.merge-spine {
  position: absolute;
  top: 4%;
  bottom: 4%;
  right: -26px;
  width: 1px;
  background: linear-gradient(180deg, rgba(18, 200, 255, 0.10), rgba(18, 200, 255, 0.45), rgba(18, 200, 255, 0.10));
}
.merge-down {
  width: 2px;
  height: 30px;
  margin-left: 33px;
  background: linear-gradient(180deg, rgba(18, 200, 255, 0.45), rgba(18, 200, 255, 0.12));
  position: relative;
  overflow: hidden;
}
.merge-down::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -10px;
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(18, 200, 255, 0.85);
  animation: flow-drop 2.8s linear infinite;
}

/* ---------- Split layout: alternating text / visual rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
.split-copy h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; }
.split-copy p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.split-media {
  background: linear-gradient(180deg, rgba(15, 30, 49, 0.5), rgba(11, 27, 44, 0.35));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
}
.split-media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 239, 245, 0.4), transparent);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.04fr 0.96fr; }
  .split.rev > .split-media { order: -1; }
}

/* ---------- Stage number chips ---------- */

.num-chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(18, 200, 255, 0.35);
  background: rgba(18, 200, 255, 0.07);
  border-radius: 6px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

/* ---------- Pillar spine: animated data flow between the three pillars ---------- */

.pillar-spine { display: none; }
@media (min-width: 900px) {
  .pillar-spine {
    display: block;
    position: absolute;
    top: 100px;
    left: 5%;
    right: 5%;
    height: 1px;
    z-index: 0;
    background: linear-gradient(90deg, transparent, rgba(18, 200, 255, 0.38), transparent);
  }
  .pillar-spine i {
    position: absolute;
    top: -1.5px;
    width: 26px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 10px rgba(18, 200, 255, 0.7);
    animation: spine-run 6s linear infinite;
  }
  .pillar-spine i:nth-child(2) { animation-delay: -2s; }
  .pillar-spine i:nth-child(3) { animation-delay: -4s; }
}
@keyframes spine-run {
  0%   { left: 0; opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  100% { left: calc(100% - 26px); opacity: 0; }
}

/* ---------- Process steps: connected progression on desktop ---------- */

@media (min-width: 900px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 33px;
    left: 7%;
    right: 7%;
    height: 1px;
    background: linear-gradient(90deg, rgba(18, 200, 255, 0.15), rgba(18, 200, 255, 0.4), rgba(18, 200, 255, 0.15));
  }
  .steps .step-pulse {
    position: absolute;
    top: 31.5px;
    width: 22px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 10px rgba(18, 200, 255, 0.7);
    animation: spine-run 5.5s linear infinite;
    z-index: 1;
  }
  .steps .step-pulse.d2 { animation-delay: -1.8s; }
}
.step .outcome {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.step .outcome::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 8px rgba(244, 245, 0, 0.7);
}

/* ---------- Voice showcase: call ledger under the phone ---------- */

.call-ledger {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: clamp(20px, 3vw, 30px);
  width: min(300px, 84vw);
}
.call-ledger li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  background: rgba(15, 30, 49, 0.55);
  border: 1px solid rgba(174, 187, 203, 0.14);
  border-radius: 10px;
  padding: 9px 13px;
}
.call-ledger li svg { width: 15px; height: 15px; stroke: var(--accent); flex: none; }
.call-ledger li strong { color: var(--text); font-weight: 600; }

/* ---------- Card polish: contextual icon + corner accent on hover ---------- */

.card .glyph,
.industry-card .glyph {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover .glyph,
.industry-card:hover .glyph {
  transform: translateY(-2px);
  border-color: rgba(18, 200, 255, 0.6);
  box-shadow: 0 0 20px rgba(18, 200, 255, 0.16);
}
.card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-radius: 0 6px 0 0;
  transition: border-color 0.25s ease;
  pointer-events: none;
}
.card:hover::after { border-color: rgba(18, 200, 255, 0.45); }

/* ---------- Stagger for grid reveals ---------- */

.js .stagger > .reveal:nth-child(2) { transition-delay: 70ms; }
.js .stagger > .reveal:nth-child(3) { transition-delay: 140ms; }
.js .stagger > .reveal:nth-child(4) { transition-delay: 210ms; }
.js .stagger > .reveal:nth-child(5) { transition-delay: 280ms; }
.js .stagger > .reveal:nth-child(6) { transition-delay: 350ms; }
.js .stagger > .reveal:nth-child(7) { transition-delay: 420ms; }
.js .stagger > .reveal:nth-child(8) { transition-delay: 490ms; }

/* ---------- About: editorial layout ---------- */

.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about-intro .prose { max-width: none; }
@media (min-width: 900px) {
  .about-intro { grid-template-columns: 1.15fr 0.85fr; }
}

.quote-panel {
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 24px;
  margin: clamp(30px, 4vw, 48px) 0;
}
.quote-panel p {
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.42;
  color: var(--text);
  font-weight: 550;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.quote-panel cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Methodology cycle: four stages around a partnership hub */
.method-visual {
  background: linear-gradient(180deg, rgba(15, 30, 49, 0.5), rgba(11, 27, 44, 0.35));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  position: relative;
  overflow: hidden;
}
.method-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 239, 245, 0.4), transparent);
}
.method-visual h3 { font-size: 16px; margin-bottom: 4px; }
.method-visual > p { color: var(--faint); font-size: 13px; margin-bottom: 22px; }

.cycle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 64px) clamp(34px, 5vw, 56px);
  justify-items: center;
  padding-block: clamp(6px, 1.5vw, 14px);
}
.cycle::before {
  content: "";
  position: absolute;
  inset: -4% 12%;
  border: 1.5px dashed rgba(18, 200, 255, 0.25);
  border-radius: 50%;
  animation: cycle-spin 48s linear infinite;
  pointer-events: none;
}
@keyframes cycle-spin { to { transform: rotate(360deg); } }
.cycle .cycle-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 30, 49, 0.8);
  border: 1px solid rgba(174, 187, 203, 0.18);
  border-radius: 11px;
  padding: 11px 15px;
  max-width: 100%;
}
.cycle .cycle-node svg { width: 16px; height: 16px; stroke: var(--accent); flex: none; }
.cycle .cycle-node strong { color: var(--text); font-size: 13.5px; display: block; line-height: 1.3; }
.cycle .cycle-node span { color: var(--muted); font-size: 12px; display: block; }
.cycle .cycle-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(18, 200, 255, 0.4);
  background: rgba(7, 17, 30, 0.92);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 0 24px rgba(18, 200, 255, 0.14);
  z-index: 1;
  white-space: nowrap;
}

/* Principles as quiet list rows (about page) */
.principle-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.principle-row:last-child { border-bottom: none; }
.principle-row strong { color: var(--text); font-size: 16px; }
.principle-row p { color: var(--muted); font-size: 15px; margin: 0; }
@media (min-width: 700px) {
  .principle-row { grid-template-columns: 240px 1fr; align-items: baseline; }
}

/* ---------- Reduced motion: stop every new animation ---------- */

@media (prefers-reduced-motion: reduce) {
  .flow-link::after, .merge-down::after,
  .pillar-spine i, .steps .step-pulse,
  .cycle::before { animation: none; }
  .flow-link::after, .merge-down::after { display: none; }
}

/* ---------- Diagram titles + flow notes ---------- */

.split-media .diagram-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.flow-note {
  color: var(--faint);
  font-size: 13.5px;
  margin-top: 14px;
  max-width: 640px;
}
/* Solution section headings inside split rows */
.split-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}
/* Solutions mid-page CTA sits inside a normal section flow: give breathing room */
.section + .cta-band { margin-top: 0; }

/* ---------- Refinements from visual review ---------- */

/* Pillar spine: pass at glyph level and punctuate the gaps with arrows */
.pillar-spine { top: 50px; }
@media (min-width: 900px) {
  .pillar-grid { column-gap: 26px; }
  .pillar-join {
    position: absolute;
    top: 37px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid rgba(18, 200, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 14px rgba(18, 200, 255, 0.18);
  }
  .pillar-join svg { width: 12px; height: 12px; stroke: var(--accent); }
  .pillar-join.join-1 { left: 33.333%; transform: translateX(-50%); }
  .pillar-join.join-2 { left: 66.666%; transform: translateX(-50%); }
}

/* Industries: featured HVAC card spans two rows so no cell is left empty */
@media (min-width: 900px) {
  .industry-grid { align-items: stretch; }
  .industry-card.featured { grid-row: span 2; }
  .industry-card.featured .min-journey { margin-top: auto; }
}

/* HVAC featured card mini journey: compact horizontal flow rows */
.min-journey .flow-row { justify-content: flex-start; flex-wrap: wrap; row-gap: 10px; }
.min-journey .flow-node { padding: 8px 11px; border-radius: 9px; }
.min-journey .flow-node strong { font-size: 12px; }
.min-journey .flow-link { width: 16px; }
.min-journey .flow-link::after { animation-duration: 2.2s; }
