/* PoleDancer marketing site.
   Paper-and-ink industrial theme: warm paper ground, ink rules, safety-orange
   accent, condensed display type. Sharp corners throughout. Dark full-bleed
   photo bands punctuate the paper sections and re-declare the palette tokens
   locally, so components (checklists, panels, buttons) restyle themselves
   inside them without extra classes. */

:root {
  --bg: #121211;
  --bg-raise: #161615;
  --surface: #1a1a19;
  --surface-2: #1f1f1d;
  --line: #3b3a36;
  --line-soft: #292926;
  --text: #edece4;
  --text-mute: #b2b0a5;
  --text-dim: #7f7d73;
  --accent: #ff5c1a;
  --accent-strong: #ff7c42;
  --success: #63b96f;
  --warning: #e0a33c;
  --error: #ef6b52;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

/* Photo bands and the ticker drop to a deeper black so they still read as
   their own layer on the graphite page. */
.storm-band, .photo-band, .pilot-band, .cta-band, .ticker {
  --bg: #0b0b0a;
  --bg-raise: #100f0e;
  --surface: #141412;
  --surface-2: #181816;
  --line: #3d3c37;
  --line-soft: #262521;
  color: var(--text);
  background-color: #0b0b0a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .ticker-track { animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 820px; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); margin: 0; }
h1 {
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 18em;
}
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  border-top: 2px solid var(--text);
  padding-top: 16px;
  margin-bottom: 26px;
}
.eyebrow-num { color: var(--accent-strong); font-weight: 600; letter-spacing: 0.08em; }

.section-lead {
  color: var(--text-mute);
  max-width: 60ch;
  margin-top: 20px;
  font-size: 1.1rem;
}

.section-footnote {
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 68ch;
  margin-top: 30px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--text);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { width: 26px; height: 26px; color: var(--text); }
.brand-mark path { stroke: var(--accent) !important; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 4px;
}
.nav-links a {
  font-family: var(--font-mono);
  color: var(--text-mute);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); border-bottom-color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-cta .btn { padding: 8px 16px; font-size: 0.75rem; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--text);
  padding: 9px 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-burger span { width: 18px; height: 2px; background: var(--text); display: block; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 22px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-lg { padding: 15px 30px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--text);
}
.btn-ghost { border-color: var(--text); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--text); color: var(--bg); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  /* graph paper */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 95% 80% at 50% 0%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 0%, black 0%, transparent 78%);
  opacity: 0.55;
  pointer-events: none;
}
.hero-head { position: relative; }
.hero-head h1 { max-width: 11em; }
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
  margin-bottom: 20px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}
.hero-sub {
  color: var(--text-mute);
  font-size: 1.12rem;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 46px 0 0;
}
.hero-stats > div { border-top: 2px solid var(--text); padding-top: 12px; }
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-stats dd { margin: 8px 0 0; font-size: 0.82rem; color: var(--text-dim); line-height: 1.45; }

.shot {
  margin: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.shot-primary { box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.4); }
.shot-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  text-align: right;
}

/* ---------- telemetry ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 11px 0;
  border-block: 1px solid var(--line-soft);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 48s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-group {
  display: flex;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ticker-group span { padding: 0 26px; border-right: 1px solid var(--line-soft); }
.tick-ok { color: var(--success); }
.tick-warn { color: var(--warning); }
.tick-crit { color: var(--error); }
.tick-dim { color: var(--text-dim); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section { padding: 104px 0; }
.section-alt { background: var(--bg-raise); border-block: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 56px;
  align-items: center;
  margin-top: 60px;
}
.product-feature-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); margin-top: 84px; }
.shot-tall { max-width: 460px; justify-self: center; }
.product-feature-copy h3 {
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.05;
}
.product-feature-copy p { color: var(--text-mute); margin-top: 14px; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  padding-left: 24px;
  position: relative;
  color: var(--text-mute);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -1px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}

/* capability / value index: ruled entries with drawn glyphs */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  margin-top: 72px;
}
.card {
  border-top: 2px solid var(--text);
  padding: 16px 16px 20px;
  margin: 0 -16px;
  transition: background 0.3s ease;
}
.card:hover { background: var(--surface); }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-strong);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.card-glyph {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: color 0.3s ease, transform 0.3s ease;
}
.card:hover .card-glyph { color: var(--accent); transform: translateY(-3px); }
.card-glyph * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* glyph strokes draw themselves once the card reveals (pathLength="1" in markup) */
.card.reveal .card-glyph * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.card.reveal.is-visible .card-glyph * {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--d, 0s) + 0.35s);
}
.card h3 {
  margin-top: 12px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.card p { color: var(--text-mute); font-size: 0.93rem; margin-top: 10px; }

/* ---------- pipeline (how it works steps) ---------- */

.pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 60px;
}
.pipe-node {
  border-top: 2px solid var(--text);
  padding: 16px 20px 0 0;
}
.pipe-node p { color: var(--text-mute); font-size: 0.88rem; margin-top: 8px; }
.pipe-node h3 {
  margin-top: 6px;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pipe-num {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.pipe-link {
  display: flex;
  align-items: flex-start;
  padding: 22px 10px 0;
  position: relative;
}
.pipe-link .mono {
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.14em;
}

/* ---------- mesh diagram ---------- */

.mesh-figure { margin: 60px 0 8px; }
.mesh-diagram { width: 100%; height: auto; display: block; }
.mesh-caption { text-align: center; }
.mesh-ground { stroke: var(--text); stroke-width: 1.5; }
.mesh-wire { stroke: var(--text-dim); stroke-width: 1.2; fill: none; opacity: 0.7; }
.mesh-pole line { stroke: var(--text-mute); stroke-width: 3.4; stroke-linecap: round; }
.mesh-node rect {
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: color-mix(in srgb, var(--accent) 14%, transparent);
}
.mesh-node-x rect {
  stroke: var(--accent-strong);
  stroke-width: 2;
  fill: color-mix(in srgb, var(--accent) 26%, transparent);
}
.mesh-node-x line, .mesh-node-x path { stroke: var(--accent-strong); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.mesh-link {
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 3 7;
  stroke-linecap: round;
  opacity: 0.9;
}
.mesh-uplink {
  stroke: var(--accent-strong);
  stroke-width: 1.8;
  fill: none;
  stroke-dasharray: 4 8;
  stroke-linecap: round;
}
@keyframes mesh-flow-r { to { stroke-dashoffset: -60; } }
@keyframes mesh-flow-l { to { stroke-dashoffset: 60; } }
.mesh-flow-r { animation: mesh-flow-r 4.5s linear infinite; }
.mesh-flow-l { animation: mesh-flow-l 4.5s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .mesh-flow-r, .mesh-flow-l { animation: none; }
}
.mesh-cloud path {
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: color-mix(in srgb, var(--accent) 8%, transparent);
  stroke-linejoin: round;
}
.mesh-label {
  fill: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.mesh-label-x { fill: var(--accent-strong); }
.mesh-label-mono {
  fill: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
}

/* ---------- hardware node cards ---------- */

.node-cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.node-card {
  background: var(--surface-2);
  border: 1.5px solid var(--text);
  padding: 24px 24px 26px;
}
.node-card-x { border-color: var(--accent); border-width: 2px; }
.node-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.node-head h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.node-price {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.78rem;
  white-space: nowrap;
}
.node-price strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}
.node-role {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent-strong);
  border: 1px solid var(--accent);
  padding: 3px 8px;
}
.node-card > p { color: var(--text-mute); font-size: 0.92rem; }
.node-card .checklist { margin-top: 14px; }
.node-card .checklist li { font-size: 0.88rem; }

/* ---------- storm band (outage detection) ---------- */

.storm-band {
  position: relative;
  padding: 120px 0;
  background-image:
    linear-gradient(100deg,
      color-mix(in srgb, var(--bg) 96%, transparent) 0%,
      color-mix(in srgb, var(--bg) 88%, transparent) 46%,
      color-mix(in srgb, var(--bg) 45%, transparent) 100%),
    url('/assets/img/storm-sky.jpg');
  background-size: cover;
  background-position: center 30%;
}
.storm-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.storm-copy { max-width: 560px; }
.storm-copy p { color: var(--text-mute); margin-top: 16px; font-size: 1.05rem; }

/* simulated dispatch event feed */
.storm-feed {
  margin: 0;
  background: color-mix(in srgb, #0a0a09 84%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 18px 20px 16px;
}
.storm-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.feed-live { color: var(--success); }
.feed-live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--success);
  margin-right: 7px;
  vertical-align: 1px;
}
.storm-feed-log {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
}
.storm-feed-log li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.storm-feed-log li:last-child { border-bottom: none; }
.feed-t { color: var(--text-dim); font-size: 0.8rem; white-space: nowrap; }
.feed-msg { font-size: 0.92rem; }
.feed-amber { color: var(--warning); }
.feed-red { color: var(--error); }
.feed-green { color: var(--success); }
.storm-feed-note {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-mute);
  font-size: 0.88rem;
}

/* two-column checklist (storm watch section) */
.checklist-cols {
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  max-width: 60em;
  margin-top: 34px;
}

/* ---------- field band (photos) ---------- */

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

/* ---------- lean trend chart + install diagram ---------- */

.chart-panel {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--text);
  padding: 26px 22px 16px;
}
.lean-chart { width: 100%; height: auto; display: block; }
.chart-note { text-align: center; padding-bottom: 6px; }
.band-caution { fill: color-mix(in srgb, var(--warning) 9%, transparent); }
.band-critical { fill: color-mix(in srgb, var(--error) 8%, transparent); }
.chart-grid line { stroke: var(--line-soft); stroke-width: 1; }
.thresh { stroke-width: 1.2; stroke-dasharray: 5 5; }
.thresh-caution { stroke: color-mix(in srgb, var(--warning) 70%, transparent); }
.thresh-critical { stroke: color-mix(in srgb, var(--error) 70%, transparent); }
.chart-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; }
.tag-caution { fill: var(--warning); }
.tag-critical { fill: var(--error); }
.tag-trend { fill: var(--text-mute); }
.chart-tick text { font-family: var(--font-mono); font-size: 10.5px; fill: var(--text-dim); }
.chart-trend { stroke: var(--text-dim); stroke-width: 1.2; stroke-dasharray: 2 5; }
.chart-series { stroke: var(--accent); stroke-width: 2.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart-end { fill: var(--accent); stroke: var(--surface-2); stroke-width: 2.5; }

.install-diagram { margin: 0; }
.install-diagram svg { width: 100%; height: auto; display: block; }
.install-diagram .shot-note { text-align: center; }

/* ---------- photo bands + photos (grade is baked into the files) ---------- */

.photo-band {
  position: relative;
  height: clamp(300px, 36vw, 420px);
  background-size: cover;
  background-position: center;
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, #0b0b0a 74%, transparent) 0%,
    color-mix(in srgb, #0b0b0a 32%, transparent) 45%,
    transparent 75%);
}
.photo-band-fog { background-image: url('/assets/img/band-fog.jpg'); background-position: center 35%; }
.photo-band-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.photo-band-line {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(4, 8, 16, 0.8);
}

.photo {
  margin: 0;
  border: 1px solid var(--text);
  overflow: hidden;
  background: var(--surface);
}
.photo img { display: block; width: 100%; height: auto; }
.photo .shot-note { padding: 0 6px 10px 0; }
.photo-crew img { aspect-ratio: 16 / 10.5; object-fit: cover; }

.install-diagram-endnote {
  max-width: 440px;
  margin: 64px auto 0;
  opacity: 0.9;
}

/* ---------- pricing extras: hardware panel, offer strips ---------- */

.hw-panel {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 44px;
  align-items: center;
  margin-top: 64px;
  border: 1.5px solid var(--text);
  background: var(--surface-2);
  padding: 32px 34px;
}
.hw-head h3 { font-size: 1.5rem; text-transform: uppercase; }
.hw-head p { color: var(--text-mute); font-size: 0.9rem; margin-top: 10px; }
.hw-items { display: grid; }
.hw-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
}
.hw-item:last-child { border-bottom: 0; }
.hw-item:first-child { border-top: 1px solid var(--line); }
.hw-model {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  color: var(--accent-strong);
  padding: 4px 10px;
}
.hw-desc { color: var(--text-mute); font-size: 0.9rem; line-height: 1.5; }
.hw-price { color: var(--text-dim); font-size: 0.78rem; white-space: nowrap; text-align: right; }
.hw-price strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.offer-strips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.offer {
  border-top: 2px solid var(--text);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}
.offer h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.offer p { color: var(--text-mute); font-size: 0.92rem; margin: 10px 0 22px; flex: 1; }

/* ---------- hardware ---------- */

.hardware-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.hardware-diagram { margin: 0; }
.hardware-diagram svg { width: 100%; height: auto; }
.dwg, .dwg-heavy, .dwg-thin, .dwg-dash, .dwg-hatch line { stroke: var(--text-mute); fill: none; }
.dwg { stroke-width: 1.5; }
.dwg-heavy { stroke-width: 4; stroke-linecap: round; }
.dwg-thin { stroke-width: 1; stroke: var(--text-dim); fill: none; }
.dwg-hatch line { stroke-width: 1; stroke: var(--text-dim); }
.dwg-dash { stroke-width: 1; stroke: var(--text-dim); stroke-dasharray: 4 6; }
.dwg-warn { stroke: var(--warning); stroke-width: 1.6; fill: none; }
.dwg-unit { stroke: var(--accent); stroke-width: 1.8; fill: color-mix(in srgb, var(--accent) 10%, transparent); }
.dwg-panel rect, .dwg-panel line { stroke: var(--accent); stroke-width: 1.3; fill: none; }
.dwg-panel rect { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.dwg-label { fill: var(--text-mute); font-size: 12.5px; }

/* ---------- ROI cards ---------- */

.cards-roi { grid-template-columns: repeat(4, 1fr); margin-top: 64px; gap: 44px 36px; }
.roi-metric {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--accent-strong);
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
}

/* ---------- pilot ---------- */

.pilot-band {
  position: relative;
  padding: 116px 0;
  background-image:
    linear-gradient(100deg,
      color-mix(in srgb, var(--bg) 96%, transparent) 0%,
      color-mix(in srgb, var(--bg) 86%, transparent) 46%,
      color-mix(in srgb, var(--bg) 55%, transparent) 100%),
    url('/assets/img/band-dawn.jpg');
  background-size: cover;
  background-position: center 40%;
}
.pilot-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
  gap: 64px;
  align-items: center;
}
.pilot-panel {
  background: color-mix(in srgb, #0a0a09 84%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 28px 28px 30px;
}
.pilot-panel h3 { font-size: 1.4rem; text-transform: uppercase; }
.pilot-panel .checklist { margin-top: 18px; }
.pilot-panel .checklist li { font-size: 0.92rem; }

/* ---------- pricing ---------- */

.tiers {
  display: grid;
  gap: 24px;
  margin-top: 64px;
  align-items: stretch;
}
.tiers-duo {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
}
.tier {
  background: var(--surface-2);
  border: 1.5px solid var(--text);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.tier-featured {
  border: 2.5px solid var(--accent);
  position: relative;
}
.tier-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--accent);
  padding: 4px 10px;
  font-weight: 500;
}
.tier h3 { font-size: 2rem; text-transform: uppercase; letter-spacing: 0.02em; }
.tier-tagline { color: var(--text-dim); font-size: 0.9rem; margin-top: 6px; }
.tier-price { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; }
.tier-price .amount {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tier-price .per { color: var(--text-dim); font-size: 0.9rem; }
.tier-hw {
  margin-top: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 0.88rem;
}
.tier-hw strong { color: var(--text); font-weight: 600; }
.tier .checklist { margin: 20px 0 28px; flex: 1; }
.tier .checklist li { font-size: 0.9rem; }

/* ---------- FAQ ---------- */

.faq {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq:first-of-type { border-top: 2px solid var(--text); margin-top: 44px; }
.faq summary {
  cursor: pointer;
  padding: 16px 34px 16px 0;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.3rem;
}
.faq[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq p { color: var(--text-mute); padding: 0 0 20px; max-width: 66ch; }

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

.cta-band {
  background-image:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 88%, transparent),
      color-mix(in srgb, var(--bg) 62%, transparent)),
    url('/assets/img/band-dusk.jpg');
  background-size: cover;
  background-position: center 60%;
  padding: 110px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { max-width: 13em; }
.cta-inner p { color: var(--text-mute); margin-top: 12px; max-width: 44ch; }

/* ---------- footer ---------- */

.footer { border-top: 2px solid var(--text); padding: 48px 0 32px; background: var(--bg); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .brand-name { font-size: 1.35rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; margin-top: 8px; max-width: 34ch; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: start; }
.footer-links a {
  font-family: var(--font-mono);
  color: var(--text-mute);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); }
.footer-legal { margin-top: 36px; }
.footer-legal p { color: var(--text-dim); font-size: 0.78rem; }
.footer-legal a { color: var(--text-dim); }

/* ---------- contact modal ---------- */

.contact-modal {
  margin: auto;
  border: 2px solid var(--text);
  background: var(--bg-raise);
  color: var(--text);
  padding: 0;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
}
.contact-modal::backdrop {
  background: rgba(5, 5, 4, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.contact-modal[open] { animation: modal-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
  .contact-modal[open] { animation: none; }
}
.contact-form, .contact-done { padding: 26px 28px 28px; }
.contact-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--text);
  padding-bottom: 14px;
}
.contact-head h3, .contact-done h3 { font-size: 1.7rem; text-transform: uppercase; }
.contact-close {
  background: none;
  border: 1.5px solid var(--line);
  color: var(--text-mute);
  font-size: 1.3rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.contact-close:hover, .contact-close:focus-visible { border-color: var(--accent); color: var(--accent); }
.contact-sub { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  margin-top: 18px;
}
.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.contact-form input, .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 10px 12px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-msg { margin-top: 14px; }
.contact-form textarea { resize: vertical; }
.contact-hp { position: absolute !important; left: -4000px; }
.contact-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.contact-status { color: var(--error); font-size: 0.88rem; }
.contact-status a { color: var(--accent-strong); }
.contact-pow { margin-left: auto; color: var(--text-dim); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-done p { color: var(--text-mute); margin: 12px 0 20px; }
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Clip the children, not the observed element: a zero-width clip on the
   target itself keeps IntersectionObserver from ever seeing it intersect. */
.reveal-img > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.6, 0, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-img.is-visible > * { clip-path: inset(0 0 0 0); }

/* Drafting rules: the 2px top rules on ruled elements draw themselves in
   left to right as they scroll into view. Elements never touched by the
   reveal JS keep a static full-width rule. */
.eyebrow, .card, .offer, .pipe-node, .hero-stats > div { border-top: 0; position: relative; }
.eyebrow::before, .card::before, .offer::before, .pipe-node::before,
.hero-stats > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transform-origin: left;
}
.eyebrow.reveal::before, .card.reveal::before, .offer.reveal::before,
.pipe-node.reveal::before {
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) calc(var(--d, 0s) + 0.1s);
}
.eyebrow.reveal.is-visible::before, .card.reveal.is-visible::before,
.offer.reveal.is-visible::before, .pipe-node.reveal.is-visible::before {
  transform: scaleX(1);
}

/* section headings sharpen into place: rise + unblur + tracking ease */
h2.reveal {
  transform: translateY(26px);
  filter: blur(10px);
  letter-spacing: 0.05em;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              filter 0.7s ease, letter-spacing 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
h2.reveal.is-visible { transform: none; filter: none; letter-spacing: 0.01em; }

/* the lean-trend series draws itself when the panel scrolls in (JS sets lengths),
   then the AI forecast extends past today: cone fades in, dashed projection draws,
   predicted-critical marker starts pulsing */
.chart-panel .chart-series { transition: stroke-dashoffset 1.6s ease 0.25s; }
.chart-panel .chart-end { opacity: 0; transition: opacity 0.3s ease 1.7s; }
.chart-panel.chart-drawn .chart-end { opacity: 1; }
.chart-cone { fill: color-mix(in srgb, var(--accent) 9%, transparent); opacity: 0; transition: opacity 0.8s ease 2.5s; }
.chart-panel.chart-drawn .chart-cone { opacity: 1; }
.chart-forecast {
  stroke: var(--accent-strong);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.chart-panel.chart-drawn .chart-forecast {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s ease 1.9s;
}
.chart-today { stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 2 5; }
@keyframes pred-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.chart-pred {
  fill: var(--error);
  stroke: var(--surface-2);
  stroke-width: 2;
  opacity: 0;
}
.chart-panel.chart-drawn .chart-pred { animation: pred-pulse 1.8s ease-in-out 3s infinite; }
.chart-panel.chart-drawn .chart-pred, .chart-panel.chart-drawn .tag-pred { opacity: 1; transition: opacity 0.5s ease 2.9s; }
.tag-pred { fill: var(--error); opacity: 0; }
.tag-forecast { fill: var(--accent-strong); opacity: 0; transition: opacity 0.5s ease 2.7s; }
.chart-panel.chart-drawn .tag-forecast { opacity: 1; }

/* live dot on the dispatch feed pulses */
@keyframes live-pulse { 50% { opacity: 0.25; } }
.feed-live::before { animation: live-pulse 1.6s ease-in-out infinite; }

/* hero screenshot: subtle 3D that flattens as you scroll (JS drives the angle) */
.hero-shot .shot {
  transform-origin: left center;
  will-change: transform;
}

/* photo-band headlines drift with scroll where scroll-driven animations exist */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .photo-band-line {
      animation: band-drift linear both;
      animation-timeline: view();
      animation-range: entry 20% exit 80%;
    }
    @keyframes band-drift {
      from { transform: translateY(34px); }
      to { transform: translateY(-34px); }
    }
  }
}

/* hero load-in cascade (pure CSS, runs once) */
@keyframes rise-in { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.h1-line { display: block; overflow: hidden; }
.h1-line > span { display: block; transform: translateY(112%); animation: rise-in 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards; }
.h1-line:nth-child(2) > span { animation-delay: 0.22s; }
.hero-kicker { opacity: 0; animation: fade-up 0.6s ease 0.05s forwards; }
.hero-sub { opacity: 0; animation: fade-up 0.7s ease 0.45s forwards; }
.hero-actions { opacity: 0; animation: fade-up 0.7s ease 0.55s forwards; }
.hero-stats { opacity: 0; animation: fade-up 0.7s ease 0.68s forwards; }
.hero-shot { opacity: 0; animation: fade-up 0.9s ease 0.55s forwards; }
@media (prefers-reduced-motion: reduce) {
  .h1-line > span, .hero-kicker, .hero-sub, .hero-actions, .hero-stats, .hero-shot {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* scroll progress bar (element injected by site.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 60;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* photo-band parallax: fixed backgrounds on desktop pointers only */
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) and (hover: hover) {
  .storm-band, .pilot-band, .photo-band { background-attachment: fixed; }
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 52px; }
  .hero-sub { max-width: 60ch; }
  .product-feature, .product-feature-reverse { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 40px; }
  .pilot-grid { grid-template-columns: 1fr; gap: 40px; }
  .hw-panel { grid-template-columns: 1fr; gap: 20px; }
  .offer-strips { grid-template-columns: 1fr; gap: 28px; }
  .storm-band, .pilot-band { padding: 84px 0; }
  .storm-inner { grid-template-columns: 1fr; gap: 44px; }
  .storm-feed { max-width: 560px; }
  .checklist-cols { grid-template-columns: 1fr; }
  .cards, .cards-roi { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .pipeline { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pipe-link { display: none; }
  .hardware-grid { grid-template-columns: 1fr; gap: 44px; }
  .tiers, .tiers-duo { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.nav-open .nav-inner { flex-wrap: wrap; height: auto; padding-bottom: 20px; }
  .nav.nav-open .brand { order: 0; height: 62px; display: flex; align-items: center; }
  .nav.nav-open .nav-burger { order: 1; align-self: center; }
  .nav.nav-open .nav-links {
    order: 2;
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    gap: 16px;
    margin: 6px 0 4px;
  }
  .nav.nav-open .nav-cta { order: 3; }
  .nav.nav-open .nav-links a { font-size: 0.9rem; }
  .nav.nav-open .nav-cta { display: flex; flex-basis: 100%; margin-left: 0; margin-top: 10px; }
  .nav.nav-open .nav-cta .btn { flex: 1; }
  .cards, .cards-roi { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hw-item { grid-template-columns: auto 1fr; }
  .hw-item .hw-price { grid-column: 1 / -1; text-align: left; }
  .section { padding: 72px 0; }
}
