/* ELEK-SUNOBI-CINEMATIC-INTAKE-RESKIN — deep-ink cinematic stage, glass HUD, four chapters.
   Elek brand: navy #000422, solar yellow #f3c614, white, restrained sky-blue #7fb4ff.
   Motion honors prefers-reduced-motion: reduce (final state, no loops). */

@font-face {
  font-family: "Work Sans";
  src: url("/assets/WorkSans-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("/assets/RobotoSlab-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #050a18;
  --ink-2: #0a1226;
  --navy: #000422;
  --yellow: #f3c614;
  --yellow-bright: #ffda33;
  --sky: #7fb4ff;
  --sky-soft: rgba(127, 180, 255, 0.14);
  --white: #ffffff;
  --ink-text: #e9edf7;
  --muted: #a7b0c7;
  --error: #ff8a7a;
  --ok: #7fd6a4;
  --glass: rgba(10, 18, 38, 0.58);
  --glass-strong: rgba(8, 14, 32, 0.78);
  --glass-line: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --stage-ms: 560ms;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--ink-text);
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, .step-title { font-family: "Roboto Slab", Georgia, serif; }

/* ---------- Cinematic stage (decorative, aria-hidden) ---------- */

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stage-photo {
  position: absolute;
  inset: -4%;
  background: url("/assets/coastal-home.webp") center 32% / cover no-repeat;
  filter: saturate(0.82) brightness(0.5) contrast(1.05);
  transform: scale(1.06);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}

.stage-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(243, 198, 20, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(5, 10, 24, 0.55) 0%, rgba(5, 10, 24, 0.82) 58%, #050a18 100%);
  transition: opacity 800ms var(--ease);
}

.stage-bloom {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(circle, rgba(243, 198, 20, 0.20) 0%, rgba(243, 198, 20, 0.05) 38%, transparent 62%);
  opacity: 0.9;
  transform: translate3d(0, 0, 0);
  transition: opacity 800ms var(--ease), transform 1200ms var(--ease);
}

.stage-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

/* Decorative panel grid — illustrative only */
.stage-panels {
  position: absolute;
  right: -4%;
  top: 16%;
  width: min(52vw, 780px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  transform: perspective(900px) rotateX(38deg) rotateZ(-8deg);
  opacity: 0;
  transition: opacity var(--stage-ms) var(--ease), transform 900ms var(--ease);
}

.stage-panels span {
  aspect-ratio: 1.6 / 1;
  border-radius: 4px;
  border: 1px solid rgba(127, 180, 255, 0.28);
  background: linear-gradient(160deg, rgba(24, 40, 82, 0.55), rgba(8, 16, 36, 0.65));
  box-shadow: inset 0 0 12px rgba(127, 180, 255, 0.12);
  opacity: 0.25;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

body[data-stage="2"] .stage-panels { opacity: 1; }
body[data-stage="2"] .stage-panels span { opacity: 0.85; transform: translateY(0); }
body[data-stage="2"] .stage-panels span:nth-child(3n) { transition-delay: 60ms; }
body[data-stage="2"] .stage-panels span:nth-child(3n+1) { transition-delay: 120ms; }
body[data-stage="2"] .stage-panels span:nth-child(3n+2) { transition-delay: 180ms; }

/* Decorative roof perimeter — draw-on in chapter 1 */
.stage-roof {
  position: absolute;
  left: 50%;
  top: 20%;
  width: min(74vw, 900px);
  opacity: 0.95;
  transition: opacity var(--stage-ms) var(--ease);
}

.stage-roof path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(243, 198, 20, 0.45));
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 1100ms var(--ease) 240ms;
}

body[data-stage="1"] .stage-roof path { stroke-dashoffset: 0; }
body:not([data-stage="1"]) .stage-roof { opacity: 0.3; }
body:not([data-stage="1"]) .stage-roof path { stroke-dashoffset: 0; }

/* Contact path highlight */
.stage-path {
  position: absolute;
  left: 8%;
  bottom: 16%;
  width: min(84vw, 700px);
  opacity: 0;
  transition: opacity var(--stage-ms) var(--ease);
}
.stage-path path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2.5;
  stroke-dasharray: 8 10;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(127, 180, 255, 0.4));
}
body[data-stage="3"] .stage-path { opacity: 0.9; }

/* Review: calm resolve — dim the environment */
body[data-stage="4"] .stage-photo { filter: saturate(0.6) brightness(0.34) contrast(1.02); transform: scale(1.02); }
body[data-stage="4"] .stage-bloom { opacity: 0.5; }

.stage-caption {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 237, 247, 0.75);
  background: rgba(5, 10, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  white-space: nowrap;
  max-width: 94vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Shell and chrome ---------- */

.shell { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }

.territory-bar {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright));
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  text-align: center;
}
.territory-bar span {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-right: 0.5rem;
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 10;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip:focus { left: 0; }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 0.6rem;
}
.brand img { display: block; height: auto; border-radius: 8px; }
.region { margin: 0 0 0 auto; text-align: right; font-size: 0.78rem; color: var(--muted); }
.region span { color: var(--ink-text); }
.header-link {
  color: var(--navy);
  background: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 4, 34, 0.2);
}

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

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 2.6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--yellow);
  margin: 0 0 0.9rem;
}

.sun-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe98a, var(--yellow));
  box-shadow: 0 0 12px rgba(243, 198, 20, 0.8);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  margin: 0 0 1rem;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero h1 em, .intake-intro h2 em { font-style: normal; color: var(--yellow); }

.hero-lede { font-size: 1.05rem; color: var(--ink-text); max-width: 34rem; }

.button {
  display: inline-block;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.button.primary {
  background: linear-gradient(180deg, var(--yellow-bright), var(--yellow));
  color: var(--navy);
  box-shadow: 0 6px 26px rgba(243, 198, 20, 0.35);
}
.button.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(243, 198, 20, 0.45); }
.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-text);
  border-color: var(--glass-line);
}
.button.secondary:hover { background: rgba(255, 255, 255, 0.14); }
.button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.microcopy { font-size: 0.8rem; color: var(--muted); }

.hero-image { display: none; }

.promise-line {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding-top: 0.4rem;
  padding-bottom: 1.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.promise-line strong { color: var(--ink-text); }

/* ---------- Intake section ---------- */

.intake-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
  scroll-margin-top: 1rem;
}

.intake-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--white); margin: 0 0 0.8rem; }
.intake-copy > p:not(.eyebrow) { color: var(--ink-text); }

.intake-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  min-height: 760px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.intake-card iframe { display: block; width: 100%; min-height: 760px; border: 0; }
.embed-fallback { margin: 0; padding: 1rem; color: var(--navy); }
.embed-fallback a { color: var(--navy); font-weight: 700; }

.local-proof {
  display: flex;
  gap: 0.8rem;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.proof-mark { color: var(--yellow); font-size: 1.3rem; }
.local-proof p { margin: 0.2rem 0 0; font-size: 0.88rem; color: var(--muted); }

.scope-note { font-size: 0.82rem; color: var(--muted); border-left: 3px solid var(--yellow); padding-left: 0.8rem; }

/* Glass tool card */
.tool-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem 1.25rem;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
body[data-stage="4"] .tool-card { box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(243, 198, 20, 0.22), inset 0 1px 0 rgba(255,255,255,0.08); }

.progress-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.step-title { color: var(--white); font-size: 1.05rem; }
.step-count { font-size: 0.78rem; color: var(--muted); }

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  margin-bottom: 1rem;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright));
  box-shadow: 0 0 14px rgba(243, 198, 20, 0.55);
  transition: width 480ms var(--ease);
}

.review-data-warning {
  margin: 0 0 1.1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(243, 198, 20, 0.65);
  border-left-width: 5px;
  background: linear-gradient(180deg, rgba(243, 198, 20, 0.16), rgba(243, 198, 20, 0.08));
  color: #ffedb0;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Fields */
fieldset.step { border: 0; margin: 0; padding: 0; animation: stage-in var(--stage-ms) var(--ease); }

@keyframes stage-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--sky);
  margin: 0 0 0.3rem;
}
.tool-card h3 { margin: 0 0 0.25rem; color: var(--white); font-size: 1.25rem; }
.step-description { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }

.field { margin-bottom: 0.95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.32rem; color: var(--ink-text); }

input:not([type="checkbox"]), select {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--white);
  background: rgba(5, 10, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}
input::placeholder { color: rgba(167, 176, 199, 0.6); }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
select option { background: var(--ink-2); color: var(--white); }

input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 138, 122, 0.18); }

.input-affix { position: relative; }
.input-affix span { position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-affix input { padding-left: 1.7rem; }

.hint { font-size: 0.8rem; color: var(--muted); margin: 0.3rem 0 0; }
.req { color: var(--yellow); }

.field-error {
  color: var(--error);
  font-size: 0.84rem;
  font-weight: 600;
  margin: 0.3rem 0 0;
}
.field-error::before { content: "⚠ "; font-weight: 400; }

.checkbox-line, .consent-field { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: flex-start; }
.checkbox-line input, .consent-field input[type="checkbox"] {
  width: 1.25rem; height: 1.25rem; flex: none; accent-color: var(--yellow); margin-top: 0.15rem;
}
.checkbox-line label, .consent-field label { flex: 1 1 15rem; font-weight: 500; margin: 0; font-size: 0.86rem; }

#bill-context-result { color: var(--sky); font-weight: 600; }

.consent-field { margin-bottom: 0.95rem; }

/* Review summary */
.review-summary { margin: 0 0 1rem; }
.review-summary > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.35rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
}
.review-summary dt { color: var(--muted); font-size: 0.84rem; }
.review-summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; color: var(--white); }

.preview {
  background: rgba(3, 6, 16, 0.75);
  color: #cfe0ff;
  border: 1px solid rgba(127, 180, 255, 0.2);
  border-radius: 10px;
  padding: 0.85rem;
  font-size: 0.75rem;
  overflow: auto;
  max-height: 20rem;
}

.nav-row { display: flex; gap: 0.75rem; margin-top: 1.1rem; }
.nav-row .button { flex: 1; }
.button:disabled { opacity: 0.55; cursor: progress; transform: none; }

/* Status cards */
.status-region { margin-top: 1rem; }
.status-card { border-radius: 12px; padding: 0.9rem 1rem; font-size: 0.92rem; animation: hud-in 320ms var(--ease); }
.status-card.success { background: rgba(31, 78, 56, 0.45); border: 1px solid var(--ok); }
.status-card.error { background: rgba(84, 26, 22, 0.45); border: 1px solid var(--error); }
.status-card.info { background: var(--sky-soft); border: 1px solid rgba(127, 180, 255, 0.45); }
.status-card h3 { margin: 0 0 0.35rem; color: var(--white); font-size: 1rem; }
.status-card code { background: rgba(255, 255, 255, 0.1); padding: 0.1rem 0.35rem; border-radius: 6px; overflow-wrap: anywhere; }
.status-card p { margin: 0.35rem 0; }

/* ---------- Glass HUD ---------- */

.hud {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hud-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem 1.1rem;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  padding: 0.65rem 1rem;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  animation: hud-in 420ms var(--ease);
  font-size: 0.85rem;
}
.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--navy);
  background: linear-gradient(180deg, var(--yellow-bright), var(--yellow));
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  white-space: nowrap;
}
.hud-meter { width: 120px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.hud-meter span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--yellow), var(--yellow-bright)); transition: width 480ms var(--ease); }
.hud-bill { color: var(--sky); font-weight: 600; overflow-wrap: anywhere; }
.hud-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 0.72rem; }

@keyframes hud-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Aftercare / booking / footer ---------- */

.aftercare {
  position: relative;
  z-index: 2;
  padding: 2.6rem 0;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 32, 0.85) 30%, rgba(8, 14, 32, 0.95));
}
.aftercare h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 1.4rem; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process article {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.process span { color: var(--yellow); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.2em; }
.process h3 { margin: 0.3rem 0 0.4rem; color: var(--white); font-size: 1rem; }
.process p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.booking-fallback { position: relative; z-index: 2; padding: 2.4rem 0; background: rgba(3, 6, 16, 0.7); }
.booking-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.booking-inner h2 { color: var(--white); margin: 0 0 0.45rem; font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.booking-inner p:not(.eyebrow) { color: var(--muted); margin: 0; }
.booking-inner .button { flex: none; }

.site-footer {
  position: relative;
  z-index: 2;
  padding: 1.6rem 1.25rem 2.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 6, 16, 0.7);
}
.site-footer img { display: block; margin-bottom: 0.6rem; border-radius: 6px; }
.site-footer a { color: var(--yellow); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 1.2rem; padding-top: 1.8rem; padding-bottom: 1.2rem; }
  .intake-section { grid-template-columns: 1fr; gap: 1.2rem; }
  .process { grid-template-columns: 1fr; }
  .booking-inner { align-items: stretch; flex-direction: column; gap: 1.2rem; }
  .stage-photo { background-position: 62% 30%; filter: saturate(0.75) brightness(0.42); }
  .stage-panels { width: 88vw; right: -14%; top: 10%; }
  .stage-roof { top: 13%; width: 92vw; }
  .stage-caption { font-size: 0.58rem; bottom: 0.5rem; }
  .header-link { display: none; }
  /* HUD stays in flow above the card so it can never cover the form or the warning */
  .hud { padding: 0 1rem; margin-top: 0.5rem; }
  .hud-panel { grid-template-columns: 1fr; gap: 0.35rem; }
  .field-row { grid-template-columns: 1fr; }
  .review-data-warning { font-size: 0.86rem; }
}

/* ---------- Reduced motion: final state immediately, no loops ---------- */

@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;
    transition-delay: 0ms !important;
  }
  .stage-roof path { stroke-dashoffset: 0 !important; }
  .stage-panels, .stage-panels span { opacity: 1 !important; transform: none !important; }
  body[data-stage="2"] .stage-panels span { opacity: 0.85 !important; }
}
