/* ═══════════════════════════════════════════════════════════════════════
   STORPWR — "One Continuous Night"
   The whole site is a single scroll-scrubbed film. Content floats over it
   in minimal type. No boxes, no borders, no seams.
   Clash Display · Switzer · IBM Plex Mono
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ink: #04060b;
  --text: #f4f2ec;
  --dim: #aab2ba;
  --faint: #79828e;
  --line: rgba(244, 242, 236, 0.1);
  --glass: rgba(9, 13, 22, 0.55);

  /* the StorPWR blue — same color as the storpwr.com logomark */
  --blue: #2dd4bf;
  --blue-bright: #5eead4;
  --blue-deep: #0d9488;

  --display: "Clash Display", "Avenir Next", sans-serif;
  --body: "Switzer", "Helvetica Neue", sans-serif;
  --mono-f: "IBM Plex Mono", "SF Mono", monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --radius: 20px;
  --radius-sm: 14px;
}

/* ── reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-behavior:smooth is applied by JS after load — as a CSS default it makes
   the browser ANIMATE scroll restoration on refresh, scrubbing the whole journey
   and flashing every chapter on the way back down */
html { interpolate-size: allow-keywords; }
html.boot .chapter { transition: none !important; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
strong { font-weight: 600; }
p { text-wrap: pretty; }
::selection { background: var(--blue); color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.4rem, 2rem + 9vw, 9rem); font-weight: 700; letter-spacing: -0.03em; line-height: 0.96; }
h2 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.6rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.005em; line-height: 1.25; }
.center { text-align: center; margin-inline: auto; }

.mono { font-family: var(--mono-f); font-weight: 400; letter-spacing: 0.08em; }
.accent { color: var(--blue); }
.micro {
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 1.4rem;
}
.lede { color: var(--dim); max-width: 34rem; margin-top: 1.4rem; }
.lede.center { margin: 1.2rem auto 0; }

/* ── grain, skip link ──────────────────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 2000; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
.skip-link {
  position: fixed; top: 0.8rem; left: 0.8rem; z-index: 5000;
  background: var(--glass); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.7rem 1.2rem; font-size: 0.85rem; font-weight: 500;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(-200%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus-visible { transform: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── nav ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.1rem var(--gutter);
  transition: background 0.4s var(--ease), border-color 0.4s, padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 6, 11, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.nav-logo svg { width: 15px; fill: var(--blue); filter: drop-shadow(0 0 8px rgba(45, 212, 191, 0.45)); }
.nav-logo em { font-style: normal; color: var(--blue); }
.nav-links { display: flex; gap: 2rem; margin-inline: auto; }
.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.22em; color: var(--text);
  opacity: 0.75;
  text-shadow: 0 1px 12px rgba(4, 6, 11, 0.7);
  transition: color 0.2s, opacity 0.2s;
}
.nav-links a.active { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { opacity: 1; }
}
.nav-cta { display: flex; align-items: center; gap: 1.4rem; }
.nav-phone { font-size: 0.82rem; color: var(--text); opacity: 0.75; text-shadow: 0 1px 12px rgba(4, 6, 11, 0.7); transition: color 0.2s, opacity 0.2s; }
@media (hover: hover) and (pointer: fine) {
  .nav-phone:hover { color: var(--blue); }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ── buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.02em; line-height: 1;
  padding: 1rem 1.9rem; border-radius: 999px;
  transition: transform 180ms var(--ease-out), box-shadow 200ms var(--ease-out),
              color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: #03211b;
  box-shadow: 0 8px 32px -10px rgba(45, 212, 191, 0.5);
}
.btn-ghost { border: 1px solid rgba(244, 242, 236, 0.28); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-small {
  padding: 0.6rem 1.25rem; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue)); color: #03211b;
}
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px -10px rgba(45, 212, 191, 0.65); }
  .btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
  .btn-small:hover { transform: translateY(-1px); }
}

/* ═══════════════════════════════════════════════════════════════════
   THE JOURNEY — scroll-scrubbed film + floating chapters
   Default (no JS): stacked static story. html.journey-live: the ride.
   ═══════════════════════════════════════════════════════════════════ */
.journey { position: relative; }
html.journey-live .journey { height: 920vh; }
html.journey-static .journey { min-height: 100svh; }

.journey-canvas { position: relative; }
html.journey-live .journey-canvas {
  position: fixed; inset: 0; z-index: -1;
}
html.journey-static .journey-canvas { position: absolute; inset: 0; z-index: -1; }
.journey-canvas video { width: 100%; height: auto; }
html.journey-live .journey-canvas video,
html.journey-static .journey-canvas video {
  width: 100%; height: 100%; object-fit: cover;
}
.canvas-shade {
  position: absolute; inset: 0;
  opacity: 0.3;
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.55) 0%, transparent 30%, transparent 62%, rgba(4, 6, 11, 0.6) 100%),
    radial-gradient(120% 80% at 50% 50%, transparent 45%, rgba(4, 6, 11, 0.7) 100%);
}
/* below the journey, the same fixed frame stays as the page's backdrop */
html.journey-live .canvas-shade { background-color: rgba(4, 6, 11, 0); }

.chapter { padding: 18vh var(--gutter); max-width: 74rem; }
html.journey-live .chapter {
  position: fixed; inset: 0; z-index: 1;
  max-width: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) 13vh;
  opacity: 0; transform: translateY(26px);
  visibility: hidden;
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out), visibility 0s linear 0.7s;
  pointer-events: none;
}
html.journey-live .chapter.on {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity 0.7s ease, transform 0.9s var(--ease-out), visibility 0s;
}
.chapter h1, .chapter h2 { max-width: 16ch; text-shadow: 0 2px 40px rgba(4, 6, 11, 0.55); }
.chapter .micro { color: var(--text); opacity: 0.8; text-shadow: 0 1px 14px rgba(4, 6, 11, 0.8); }
.ch-note {
  margin-top: 1.4rem; max-width: 30rem;
  color: var(--dim); font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  text-shadow: 0 1px 20px rgba(4, 6, 11, 0.7);
}
.ch-note strong { color: var(--blue); }

html.journey-live .ch-solar { justify-content: flex-start; align-items: flex-end; text-align: right; padding-top: 17vh; }
html.journey-live .ch-solar .ch-note { margin-left: auto; }
html.journey-live .ch-2 { justify-content: flex-start; padding-top: 17vh; }
html.journey-live .ch-3 { justify-content: center; align-items: flex-end; text-align: right; }
html.journey-live .ch-3 .ch-note { margin-left: auto; }
html.journey-live .ch-4 { justify-content: center; align-items: center; text-align: center; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
html.journey-live .ch-actions { pointer-events: auto; }
.ch-stats {
  margin-top: 2rem; font-size: 0.74rem; letter-spacing: 0.22em; color: var(--text);
  opacity: 0.85; text-shadow: 0 1px 14px rgba(4, 6, 11, 0.9), 0 0 4px rgba(4, 6, 11, 0.8);
}

.ch-cue {
  position: absolute; right: var(--gutter); bottom: 13vh;
  font-size: 0.68rem; letter-spacing: 0.28em; color: var(--text);
  text-shadow: 0 1px 12px rgba(4, 6, 11, 0.8);
  display: flex; align-items: center; gap: 0.8rem;
  text-align: right;
}
.ch-cue span {
  width: 44px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
  animation: cue-sweep 2.4s var(--ease) infinite;
}
@keyframes cue-sweep {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
html:not(.journey-live) .ch-cue { display: none; }

.journey-hud {
  position: fixed; left: var(--gutter); bottom: 2rem; z-index: 2;
  display: none; align-items: center; gap: 1rem;
  font-size: 0.74rem; letter-spacing: 0.2em; color: var(--dim);
  transition: opacity 0.4s ease;
}
html.journey-live .journey-hud { display: flex; }
#jclock { color: var(--blue); min-width: 5.4ch; font-variant-numeric: tabular-nums; }
.jbar { width: 110px; height: 1px; background: rgba(244, 242, 236, 0.18); overflow: hidden; }
#jbarFill { display: block; height: 100%; width: 0; background: var(--blue); }

/* ═══════════════════════════════════════════════════════════════════
   THE DECK — content floating on the film's final frame
   ═══════════════════════════════════════════════════════════════════ */
.deck {
  position: relative; z-index: 1;
  max-width: 76rem; margin: 0 auto;
  padding: clamp(6rem, 14vh, 11rem) var(--gutter) clamp(4rem, 9vh, 7rem);
}
.deck-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 960px) {
  .deck-grid { grid-template-columns: 1fr; }
}

/* battery */
.spec-list { list-style: none; margin-top: 2.4rem; }
.spec-list li {
  display: flex; align-items: baseline; gap: 1.4rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list b { font-size: 1.02rem; font-weight: 500; color: var(--blue); min-width: 7.5rem; }
.spec-list span { color: var(--dim); font-size: 1.05rem; }
.viewer-stage {
  position: relative;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 1rem;
}
model-viewer {
  display: block;
  width: 100%; height: clamp(22rem, 52vh, 32rem);
  --poster-color: transparent;
}
model-viewer:not(:defined) { display: none; }
.viewer-fallback { width: 100%; border-radius: calc(var(--radius) - 1rem); }
.viewer-hint {
  text-align: center; font-size: 0.64rem; letter-spacing: 0.22em;
  color: var(--faint); padding: 0.8rem 0 0.2rem 0.22em;
}

/* calculator */
.calc-board {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  margin-top: 3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.calc-left { padding: clamp(1.6rem, 3vw, 2.6rem); border-right: 1px solid var(--line); }
.calc-right {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: radial-gradient(80% 60% at 50% 0%, rgba(45, 212, 191, 0.06), transparent 70%);
  display: flex; flex-direction: column;
}
.calc-label { font-size: 0.7rem; letter-spacing: 0.22em; color: var(--faint); margin-bottom: 1.2rem; }
.calc-appliances { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.ap { position: relative; display: block; cursor: pointer; }
.ap input { position: absolute; opacity: 0; pointer-events: none; }
.ap span {
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem; color: var(--faint);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease,
              box-shadow 200ms ease, transform 140ms var(--ease-out);
}
.ap:active span { transform: scale(0.98); }
.ap i { font-style: normal; font-size: 0.68rem; color: var(--faint); letter-spacing: 0.1em; }
.ap input:checked + span {
  border-color: rgba(45, 212, 191, 0.5);
  color: var(--text);
  background: rgba(45, 212, 191, 0.06);
}
.ap input:checked + span i { color: var(--blue); }
.ap input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.calc-units {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.6rem; font-size: 0.74rem; letter-spacing: 0.2em; color: var(--faint);
}
.calc-units button {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text);
  font-size: 1.1rem; line-height: 1;
  transition: border-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.calc-units button:active { transform: scale(0.94); }
.calc-units button:disabled,
.calc-units button:disabled:hover { opacity: 0.35; cursor: default; border-color: var(--line); color: var(--text); transform: none; }
@media (hover: hover) and (pointer: fine) {
  .calc-units button:hover { border-color: var(--blue); color: var(--blue); transform: scale(1.07); }
}
.calc-units b { font-size: 1.35rem; font-weight: 500; color: var(--blue); min-width: 1.2ch; text-align: center; }
.calc-kwh { color: var(--blue); }
.calc-readout { display: flex; align-items: baseline; gap: 0.8rem; margin: 0.4rem 0 1.2rem; }
.calc-readout b {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.6rem, 7vw, 5.8rem); line-height: 1;
  color: var(--blue);
  letter-spacing: -0.03em; min-width: 2ch;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 60px rgba(45, 212, 191, 0.3);
}
.calc-readout span { font-family: var(--display); font-size: 1.45rem; color: var(--dim); }
.calc-bar { height: 4px; border-radius: 4px; background: rgba(244, 242, 236, 0.1); overflow: hidden; margin-bottom: 1.3rem; }
#calcBarFill {
  display: block; height: 100%; width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  transition: width 0.7s var(--ease);
}
.calc-note { color: var(--dim); font-size: 1.05rem; margin-bottom: auto; }
.calc-disclaimer {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.2rem;
}
.calc-fine { font-size: 0.72rem; letter-spacing: 0.06em; line-height: 1.7; color: var(--faint); margin-top: 1.6rem; }

/* process — minimal rows, no cards */
.steps {
  list-style: none;
  margin-top: 3.4rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.6rem 2.4rem;
}
.step > .mono { display: block; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--blue); margin-bottom: 0.8rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--dim); font-size: 1.02rem; max-width: 30ch; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* proof */
.proof-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 1.1rem;
  font-size: 0.74rem; letter-spacing: 0.2em; color: var(--dim);
  margin-bottom: 3.4rem;
}
.proof-strip b { color: var(--blue); font-weight: 500; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.proof-strip i { color: var(--faint); font-style: normal; }
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; margin-bottom: 3rem; }
.quote {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1.8rem 1.7rem;
  display: flex; flex-direction: column; gap: 1.3rem;
}
.quote:first-child { grid-row: span 2; justify-content: center; gap: 1.8rem; padding: 2.4rem 2.2rem; }
.quote:first-child p { font-size: clamp(1.2rem, 1.1rem + 0.7vw, 1.5rem); line-height: 1.5; color: var(--text); }
.quote p { color: var(--dim); line-height: 1.6; }
.quote cite { font-style: normal; font-size: 0.7rem; letter-spacing: 0.22em; color: var(--blue); margin-top: auto; }
.trustline {
  text-align: center; font-size: 0.68rem; letter-spacing: 0.18em; line-height: 2.2;
  color: var(--faint); max-width: 60rem; margin: 0 auto;
}
@media (max-width: 960px) {
  .quotes { grid-template-columns: 1fr; }
  .quote:first-child { grid-row: auto; }
}

/* service-area marquee */
.areas { max-width: none; padding-block: 2rem; overflow: hidden; }
.marquee {
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; flex-shrink: 0; align-items: center; animation: marquee 46s linear infinite; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
.marquee-track span {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 242, 236, 0.22);
  padding: 0 1.6rem; white-space: nowrap;
  transition: color 0.2s, -webkit-text-stroke-color 0.2s;
}
@media (hover: hover) and (pointer: fine) {
  .marquee-track span:hover { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* faq */
.faq { max-width: 52rem; }
.faq-list { display: flex; flex-direction: column; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0.2rem;
  font-family: var(--display); font-weight: 500; font-size: 1.18rem;
  text-wrap: balance;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) {
  .faq-item summary:hover { color: var(--blue); }
}
.faq-x { position: relative; flex: 0 0 14px; height: 14px; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; inset: 50% auto auto 0;
  width: 14px; height: 1.5px; background: var(--blue);
  transition: transform 0.25s var(--ease);
}
.faq-x::after { transform: rotate(90deg); }
.faq-item[open] .faq-x::after { transform: rotate(0); }
.faq-item p { padding: 0 0.2rem 1.5rem; color: var(--dim); max-width: 65ch; }
.faq-item::details-content {
  block-size: 0; overflow: clip; opacity: 0;
  transition: block-size 200ms var(--ease-out), opacity 140ms ease,
              content-visibility 200ms allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto; opacity: 1;
  transition: block-size 300ms var(--ease-out), opacity 220ms ease 60ms,
              content-visibility 300ms allow-discrete;
}
@supports not (interpolate-size: allow-keywords) {
  .faq-item[open] p { animation: faq-in 240ms var(--ease-out); }
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* contact */
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2.4rem; }
.contact-details li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; align-items: baseline; }
.contact-details .mono:first-child { font-size: 0.68rem; letter-spacing: 0.22em; color: var(--blue); }
.contact-details a { color: var(--text); font-weight: 500; transition: color 0.2s; }
@media (hover: hover) and (pointer: fine) {
  .contact-details a:hover { color: var(--blue); }
}
.contact-details address, .contact-details li > span:last-child { color: var(--dim); font-size: 1.05rem; }
.contact-form {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ff { display: flex; flex-direction: column; gap: 0.45rem; }
.ff > span { font-family: var(--mono-f); font-size: 0.68rem; letter-spacing: 0.22em; line-height: 1.2; text-transform: uppercase; color: var(--faint); }
.ff input, .ff select, .ff textarea {
  font: inherit; color: var(--text);
  background: rgba(4, 6, 11, 0.5);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.ff select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b747f'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.ff textarea { resize: vertical; min-height: 5.2rem; }
.ff input:focus, .ff select:focus, .ff textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.16);
}
.ff input::placeholder, .ff textarea::placeholder { color: var(--faint); }
.contact-form .btn-block { margin-top: 0.6rem; }
.form-status { font-size: 0.8rem; letter-spacing: 0.08em; color: var(--blue); min-height: 1.2em; }
.form-status.err { color: #ff6b57; }
.form-fine { font-size: 0.7rem; letter-spacing: 0.06em; line-height: 1.7; color: var(--faint); text-align: center; }

/* footer */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 3rem var(--gutter) 2.4rem; background: rgba(4, 6, 11, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: 76rem; margin: 0 auto 2rem;
}
.footer-contact { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: 0.82rem; color: var(--dim); }
.footer-contact a { transition: color 0.2s; }
@media (hover: hover) and (pointer: fine) {
  .footer-contact a:hover { color: var(--blue); }
}
.footer-legal { max-width: 76rem; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.footer-legal p { font-size: 0.7rem; letter-spacing: 0.06em; line-height: 1.7; color: var(--faint); max-width: 96ch; }

/* ── reveals ───────────────────────────────────────────────────────── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.65s var(--ease-out);
}
html.js [data-reveal="scale"] { transform: scale(0.97) translateY(12px); }
html.js [data-reveal].revealed { opacity: 1; transform: none; }

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .calc-board { grid-template-columns: 1fr; }
  .calc-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc-appliances { grid-template-columns: 1fr; }
  .contact-form .ff-row { grid-template-columns: 1fr; }
  html.journey-live .chapter { padding-bottom: 18vh; }
  .ch-cue { display: none; }
  .journey-hud { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 520px) {
  .ch-actions .btn { width: 100%; }
}

/* ── reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
}
