/* ==========================================================================
   SUPERSTRUX™ — Landing design system (homepage + garden rooms)
   The quote/calculator pages keep using css/style.css — do not merge.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap");

/* ---------- Tokens ---------- */
:root {
  --ink-950: #060a14;
  --ink-900: #0a0f1e;
  --ink-800: #0f172a;
  --ink-700: #1e293b;
  --ink-600: #334155;

  --paper: #ffffff;
  --paper-warm: #f8f5ef;
  --paper-grey: #f2f5f9;

  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-deep: #c2410c;
  --cream: #f6ca8c;
  --teal: #78aec1;
  --teal-dark: #638ea7;

  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;

  --grad-warm: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #f6ca8c 100%);
  --grad-warm-flat: linear-gradient(90deg, #f97316, #fb923c, #f6ca8c);

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --container: 1280px;
  --container-wide: 1480px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

/* Keep anchored sections clear of the fixed nav */
[id] {
  scroll-margin-top: 5rem;
}

body {
  font-family: var(--font-sans);
  background: var(--ink-900);
  color: var(--ink-800);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

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

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

/* Skip link — hidden until focused */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 4000;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--ink-900);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-warm-flat);
  z-index: 3000;
  pointer-events: none;
}

/* ---------- Type utilities ---------- */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--grad-warm-flat);
}

/* Small orange text needs the deeper accent on light surfaces */
.surface-paper .eyebrow,
.surface-warm .eyebrow {
  color: var(--accent-deep);
}

.display-xl {
  font-size: clamp(2.6rem, 7.2vw, 6rem);
}

.display-lg {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.display-md {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.teal-text {
  color: var(--teal);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--grey-500);
  max-width: 62ch;
}

.section-head.center p {
  margin-inline: auto;
}

/* Dark surface variants */
.surface-dark {
  background: var(--ink-900);
  color: #fff;
}

.surface-dark .section-head p {
  color: var(--grey-400);
}

.surface-paper {
  background: var(--paper);
  color: var(--ink-800);
}

.surface-warm {
  background: var(--paper-warm);
  color: var(--ink-800);
}

/* Blueprint grid backdrop for dark sections */
.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 174, 193, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 174, 193, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 30%, transparent 75%);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s;
  will-change: transform;
}

.btn-fill {
  background: var(--grad-warm);
  color: var(--ink-900);
  box-shadow: 0 10px 32px rgba(249, 115, 22, 0.35);
}

.btn-fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(249, 115, 22, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost.on-light {
  color: var(--ink-800);
  border-color: rgba(15, 23, 42, 0.22);
}

.btn-ghost.on-light:hover {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.45);
}

.btn .arrow {
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s, transform 0.45s var(--ease-out), visibility 0.45s;
}

/* Without JS the nav never gets .scrolled — give it a readable backdrop */
html:not(.js) .site-nav {
  background: rgba(6, 10, 20, 0.88);
}

/* Glass layer lives on a pseudo-element: backdrop-filter on the nav itself
   would turn it into the containing block for the fixed .nav-links overlay,
   squashing the mobile menu to the nav bar's height. */
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.site-nav.scrolled::before {
  opacity: 1;
}

.site-nav.scrolled {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
  padding-block: 0.8rem;
}

.site-nav.hidden {
  transform: translateY(-110%);
  visibility: hidden;
}

/* Keyboard users tabbing into the nav bring it back */
.site-nav:focus-within {
  transform: none;
  visibility: visible;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  z-index: 2;
}

.logo span {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--grey-300);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
  color: #fff;
}

.nav-links .btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}

/* ---------- Hero (scroll-scrubbed video) ---------- */
.hero-scrub {
  position: relative;
  height: 320vh;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 20, 0.62) 0%, rgba(6, 10, 20, 0.15) 34%, rgba(6, 10, 20, 0.2) 62%, rgba(6, 10, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 10, 20, 0.5) 0%, rgba(6, 10, 20, 0) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(2.5rem, 6vh, 5rem);
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(246, 202, 140, 0.35);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(6, 10, 20, 0.35);
  margin-bottom: 1.6rem;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}

.hero-title {
  font-size: clamp(2.7rem, 7.8vw, 6.6rem);
  max-width: 12ch;
  margin-bottom: 1.4rem;
}

.hero-sub {
  max-width: 52ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--grey-300);
  margin-bottom: 2.2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: clamp(1.8rem, 4vh, 3rem);
}

/* Day counter — top right, changes while video scrubs */
.hero-day {
  position: absolute;
  z-index: 2;
  top: clamp(5.5rem, 12vh, 8rem);
  right: var(--gutter);
  text-align: right;
  color: #fff;
  pointer-events: none;
  background: rgba(6, 10, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  max-width: 260px;
}

.hero-day .hero-day-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

.hero-day .hero-day-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  transition: opacity 0.3s;
}

.hero-day .hero-day-caption {
  font-size: 0.9rem;
  color: var(--grey-400);
  max-width: 24ch;
  margin-left: auto;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3.5vw, 3.2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.4rem;
}

.hero-stats .stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats .stat span {
  font-size: 0.82rem;
  color: var(--grey-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--grey-400);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: opacity 0.4s;
}

.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cue-drip 1.8s var(--ease-out) infinite;
}

@keyframes cue-drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Simple (non-scrub) hero for reduced motion / fallback */
.no-scrub .hero-scrub {
  height: auto;
}

.no-scrub .hero-stage {
  position: relative;
}

/* ---------- Ticker marquee ---------- */
.ticker-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding-block: 1.4rem;
  margin-block: -1.4rem;
  pointer-events: none;
}

.ticker {
  position: relative;
  overflow: hidden;
  background: var(--grad-warm-flat);
  color: var(--ink-900);
  padding-block: 0.95rem;
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.3);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  content: "✦";
  font-size: 0.9rem;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Statement (light editorial) ---------- */
.statement {
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 24ch;
}

.statement .dim {
  color: var(--grey-400);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.statement-side {
  display: grid;
  gap: 1.75rem;
}

.statement-side p {
  color: var(--grey-500);
  font-size: 1.05rem;
}

.big-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.big-stat {
  position: relative;
  padding-top: 1.5rem;
}

.big-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--grad-warm-flat);
}

.big-stat b {
  display: flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink-800);
  white-space: nowrap;
}

.big-stat b sub {
  font-size: 0.35em;
  margin-left: 0.35em;
  color: var(--accent-deep);
  vertical-align: baseline;
}

.big-stat b span {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}

.big-stat > span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- System / layers ---------- */
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.system-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-grey);
  padding: clamp(1rem, 3vw, 2.5rem);
}

.system-visual img {
  width: 100%;
  height: auto;
}

.system-visual .mono-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.4rem;
  color: var(--grey-400);
}

.spec-list {
  display: grid;
  border-top: 1px solid var(--grey-200);
}

.spec-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--grey-200);
  align-items: baseline;
}

.spec-row .idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.spec-row h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.spec-row p {
  font-size: 0.92rem;
  color: var(--grey-500);
}

/* ---------- Build timeline (dark) ---------- */
.timeline {
  position: relative;
}

.timeline-rail {
  position: absolute;
  top: 4.4rem;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-rail i {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-warm-flat);
  transition: transform 1.6s var(--ease-out);
}

.timeline.in-view .timeline-rail i {
  transform: scaleX(1);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.tl-step {
  position: relative;
  padding-top: 5.6rem;
}

.tl-step::before {
  content: "";
  position: absolute;
  top: calc(4.4rem - 5px);
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--accent);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.6);
}

.tl-step .tl-day {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: #fff;
}

.tl-step .tl-day em {
  font-style: normal;
  color: var(--accent);
}

.tl-step img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-step h3 {
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.tl-step p {
  font-size: 0.92rem;
  color: var(--grey-400);
}

/* ---------- Bento advantages ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.1rem;
}

.bento-card {
  grid-column: span 4;
  background: var(--paper);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-8 { grid-column: span 8; }

.bento-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey-400);
  letter-spacing: 0.15em;
}

.bento-card h3 {
  font-size: 1.25rem;
  margin: 0.9rem 0 0.55rem;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--grey-500);
}

.bento-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(249, 115, 22, 0.1);
  margin-bottom: 1.1rem;
}

.bento-card .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-card.feature {
  background: var(--ink-800);
  color: #fff;
  border: 0;
}

.bento-card.feature .icon {
  background: rgba(249, 115, 22, 0.18);
}

.bento-card.feature p {
  color: var(--grey-400);
}

.bento-card.feature .big-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.bento-card.feature .badge {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.16);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bento-card.photo {
  padding: 0;
  min-height: 280px;
}

.bento-card.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.bento-card.photo:hover img {
  transform: scale(1.05);
}

.bento-card.photo .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.85));
  color: #fff;
  font-weight: 700;
}

/* ---------- Comparison (dark race) ---------- */
.race {
  display: grid;
  gap: 2.4rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.race-row .race-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
}

.race-row .race-head .name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.race-row .race-head .val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--grey-400);
}

.race-bar {
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.race-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.race-row.super .race-bar i {
  background: var(--grad-warm-flat);
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.5);
}

.race-row.super .race-head .val {
  color: var(--cream);
}

.race-row.trad .race-bar i {
  background: var(--ink-600);
}

.in-view .race-row.super .race-bar i {
  transition: transform 1.4s var(--ease-out) 0.15s;
  transform: scaleX(0.12);
}

.in-view .race-row.trad .race-bar i {
  transition: transform 2.6s linear 0.15s;
  transform: scaleX(1);
}

/* Comparison table */
.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.compare-card.win {
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.14), rgba(246, 202, 140, 0.05) 65%);
  border: 1px solid rgba(249, 115, 22, 0.45);
  position: relative;
  overflow: hidden;
}

.compare-card.win::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 70%);
  pointer-events: none;
}

.compare-card .who {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 0.4rem;
}

.compare-card.win .who {
  color: var(--cream);
}

.compare-card .headline {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.compare-card ul {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.compare-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--grey-300);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.85rem;
}

.compare-card li b {
  color: #fff;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.compare-card li b.good {
  color: var(--cream);
}

.compare-card .price {
  margin-top: 1.6rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.compare-card .price b {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.compare-card.win .price b,
.compare-card.win .price b span {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-card .price b span {
  font-size: inherit;
  color: inherit;
  font-family: inherit;
}

.compare-card .price > span {
  font-size: 0.85rem;
  color: var(--grey-400);
}

.compare-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--grey-400);
  font-size: 0.88rem;
}

.compare-note a {
  color: var(--cream);
}

/* ---------- Gallery (horizontal scroll) ---------- */
.gallery-strip {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding: 0.5rem var(--gutter) 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-strip.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery-item {
  flex: 0 0 clamp(260px, 34vw, 440px);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  user-select: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item .tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(6, 10, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-nav {
  display: flex;
  gap: 0.6rem;
}

.gallery-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: transparent;
  color: var(--ink-800);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.gallery-nav button:hover {
  background: var(--ink-800);
  color: #fff;
  transform: translateY(-2px);
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* ---------- Video CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(6rem, 14vw, 11rem);
}

.cta-band .band-media {
  position: absolute;
  inset: 0;
}

.cta-band .band-media video,
.cta-band .band-media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
}

.cta-band .band-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.88), rgba(6, 10, 20, 0.45) 45%, rgba(6, 10, 20, 0.9));
}

.cta-band .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.4rem;
}

.cta-band p {
  color: var(--grey-300);
  max-width: 54ch;
  margin: 0 auto 2.4rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* ---------- Steps (become an installer) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--paper);
  overflow: hidden;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 1.2rem;
  top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 3.6rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.06);
  line-height: 1;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--grey-500);
  font-size: 0.95rem;
}

/* ---------- Form section ---------- */
.form-wrap {
  max-width: 880px;
  margin-inline: auto;
}

.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink-800);
  background: var(--paper-grey);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  width: 100%;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-400);
}

.form-submit {
  margin-top: 1.8rem;
}

.form-submit button {
  width: 100%;
  padding: 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--grad-warm);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(249, 115, 22, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.45);
}

.form-submit button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--grey-500);
  text-align: center;
}

.form-success-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.form-success-card .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-warm);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
}

.form-success-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.form-success-card p {
  color: var(--grey-500);
}

.form-success-card .success-subtitle {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

/* ---------- Split panel (cross-sell) ---------- */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-800);
  color: #fff;
  min-height: 460px;
}

.split-panel .panel-media {
  position: relative;
  min-height: 300px;
}

.split-panel .panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-panel .panel-body {
  padding: clamp(2rem, 4.5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
}

.split-panel .panel-body h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.split-panel .panel-body p {
  color: var(--grey-400);
  max-width: 46ch;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.35s var(--ease-out);
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 1.5rem 1.4rem;
  color: var(--grey-500);
  font-size: 0.96rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--grey-400);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid .brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-grid .brand a.tel {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-grid ul a {
  color: var(--grey-400);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.3s;
}

.footer-grid ul a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.82rem;
}

/* ---------- Reveal-on-scroll ----------
   Only hidden when the .js class is present (set by landing.js), so content
   stays visible if JavaScript fails or never runs. */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker-track {
    animation-play-state: paused;
  }

  .hero-kicker .dot,
  .hero-scroll-cue::after {
    animation: none;
  }

  .in-view .race-row .race-bar i,
  .timeline.in-view .timeline-rail i {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento-card,
  .bento-card.span-6,
  .bento-card.span-8 {
    grid-column: span 6;
  }

  /* An odd card count would leave a lonely half-width card */
  .bento > .bento-card:last-child:nth-child(odd) {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(6, 10, 20, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .statement-grid,
  .system-grid,
  .compare-cards,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-rail {
    display: none;
  }

  .tl-step {
    padding-top: 3.4rem;
  }

  .tl-step::before {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  /* Shorter scrub + compact build-progress pill so mobile scrolling
     reads as a narrated build, not an endless hero */
  .hero-scrub {
    height: 260vh;
  }

  .hero-day {
    top: 4.6rem;
    right: 1rem;
    padding: 0.6rem 0.9rem;
    max-width: 210px;
    border-radius: 12px;
  }

  .hero-day .hero-day-label {
    font-size: 0.55rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.15rem;
  }

  .hero-day .hero-day-value {
    font-size: 1.3rem;
  }

  .hero-day .hero-day-caption {
    font-size: 0.72rem;
    max-width: 22ch;
  }
}

/* The shortest phones: drop the pill caption to buy back height */
@media (max-width: 640px) and (max-height: 700px) {
  .hero-day .hero-day-caption {
    display: none;
  }
}

/* Short viewports: keep the whole hero stack visible */
@media (max-height: 760px) {
  .hero-title {
    font-size: clamp(2rem, 5.2vw, 3.6rem);
    margin-bottom: 0.9rem;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
  }

  .hero-kicker {
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
  }

  .hero-ctas {
    margin-bottom: 1.2rem;
  }

  .hero-stats {
    padding-top: 1rem;
  }

  .hero-stats .stat b {
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  /* --- Hero: everything joins the normal flow so nothing can overlap.
     The build-progress pill sits above the kicker, and the whole stack is
     compacted to fit a phone's small viewport below the fixed nav. --- */
  .hero-stage {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }

  .hero-day {
    position: static;
    align-self: flex-end;
    margin: 0 var(--gutter) 0.6rem;
    padding: 0.4rem 0.7rem;
    max-width: 200px;
    border-radius: 10px;
  }

  .hero-day .hero-day-label {
    font-size: 0.48rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.05rem;
  }

  .hero-day .hero-day-value {
    font-size: 0.95rem;
  }

  .hero-day .hero-day-caption {
    font-size: 0.66rem;
    max-width: 24ch;
  }

  .hero-content {
    padding-bottom: 1.2rem;
  }

  /* The kicker crowds the fixed nav on phones — the headline says it better */
  .hero-kicker {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 8.6vw, 2.4rem);
    margin-bottom: 0.7rem;
  }

  .hero-sub {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
  }

  .hero-ctas {
    gap: 0.6rem;
    margin-bottom: 1.1rem;
  }

  .hero-ctas .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.92rem;
  }

  .hero-stats {
    gap: 0.7rem 1.4rem;
    padding-top: 0.7rem;
  }

  .hero-stats .stat b {
    font-size: 1.2rem;
  }

  .hero-stats .stat span {
    font-size: 0.64rem;
  }

  .bento-card,
  .bento-card.span-6,
  .bento-card.span-8 {
    grid-column: span 12;
  }

  .big-stats {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.1rem 1.6rem;
  }

  .hero-scroll-cue {
    display: none;
  }
}
