/* Filament Electric Co. : "Lights on." landing page (OWNIT demo)
   Shape system: buttons and chips are full pills, panels and photos 18px, inputs 12px.
   Layers: trace 5 < content 6 < sweep 40 < night 45 < nav 50 < menu 55. */

@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }

:root {
  --bg: #0d0c1a;
  --bg-2: #11102a;
  --surf: #17162f;
  --surf-2: #201e3d;
  --surf-3: #29274b;
  --line: rgba(170, 160, 240, 0.13);
  --line-2: rgba(170, 160, 240, 0.24);
  --text: #f4efe6;
  --muted: #bfbad3;
  --dim: #8f8aa9;
  --off: #625e7e;
  --amber: #ffb547;
  --amber-hot: #ffd88a;
  --amber-deep: #e8891c;
  --ember: #ff6a2b;
  --spark: #67e8f9;
  --ink-on-amber: #1b1206;

  --f-display: "Limelight", "Didot", Georgia, serif;
  --f-body: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --gut: clamp(22px, 6.2vw, 100px);
  --nav-h: 72px;
  --r-lg: 18px;
  --r-md: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-synthesis: none;
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; position: relative;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.ic .d { opacity: var(--du, 0.24); }
::selection { background: rgba(255, 181, 71, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--amber); color: var(--ink-on-amber); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * var(--gut)); margin-inline: auto; position: relative; }

.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.05rem, 4.3vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em;
  text-wrap: balance; max-width: 18ch;
}
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; max-width: 56ch; text-wrap: pretty; }
.fine { color: var(--dim); font-size: 0.84rem; line-height: 1.5; max-width: 72ch; }
.sect { position: relative; padding-block: clamp(76px, 9.5vw, 132px); }

/* ---------- buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: var(--bh); padding: 0 1.45em; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: transform 160ms var(--ease), background-color 200ms ease, box-shadow 260ms var(--ease), color 200ms ease, border-color 200ms ease, opacity 300ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { --bh: 42px; padding: 0 1.15em; font-size: 0.94rem; }
.btn-amber {
  background: linear-gradient(180deg, #ffc566, var(--amber) 55%, #f6a034); color: var(--ink-on-amber);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 26px -10px rgba(255, 160, 50, 0.7);
}
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn-quiet { background: transparent; color: var(--muted); padding-inline: 0.9em; }
@media (hover: hover) and (pointer: fine) {
  .btn-amber:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 34px -8px rgba(255, 170, 60, 0.85); }
  .btn-ghost:hover { border-color: rgba(255, 181, 71, 0.55); background: rgba(255, 181, 71, 0.07); }
  .btn-quiet:hover { color: var(--text); }
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease); }
.nav.is-solid { background: rgba(13, 12, 26, 0.8); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: var(--nav-h); width: min(1320px, 100% - 2 * clamp(18px, 3vw, 44px)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand { flex: none; }
.brand-mark { flex: none; width: 34px; height: 34px; fill: currentColor; color: var(--amber); --du: 0.4; filter: drop-shadow(0 0 10px rgba(255, 170, 60, 0.5)); transition: filter 600ms ease, color 600ms ease; }
.brand-word { font-family: var(--f-display); font-weight: 400; font-size: 1.36rem; letter-spacing: -0.01em; line-height: 0.95; display: flex; flex-direction: column; }
.brand-word em { font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; padding: 10px 12px; border-radius: 999px; transition: color 200ms ease, background-color 200ms ease; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 10px 12px; border-radius: 999px; color: var(--text); white-space: nowrap; }
.nav-phone .ic { color: var(--amber); }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); align-items: center; justify-content: center; cursor: pointer; }
.nav-menu .ic { width: 22px; height: 22px; }
.menu-sheet { position: absolute; right: 12px; top: calc(var(--nav-h) - 6px); z-index: 55; width: min(320px, calc(100vw - 24px)); padding: 10px; border-radius: var(--r-lg); background: rgba(23, 22, 47, 0.97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); display: grid; gap: 2px; transform-origin: top right; animation: sheetIn 220ms var(--ease); }
.menu-sheet[hidden] { display: none; }
.menu-sheet a:not(.btn) { padding: 13px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.menu-sheet a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); }
.menu-sheet .btn { margin-top: 8px; }
@keyframes sheetIn { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }

/* dark-start: nav waits for power */
.dark-start .nav-links, .dark-start .nav-phone { opacity: 0.38; }
.dark-start .brand-mark { color: #5f5a7c; filter: none; }
.dark-start .nav .btn-amber { background: #2a2846; color: #a7a2c2; box-shadow: none; }
.nav-links, .nav-phone, .nav .btn-amber { transition: opacity 700ms ease 300ms, background 700ms ease 300ms, color 700ms ease 300ms, box-shadow 700ms ease 300ms, transform 160ms var(--ease); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: stretch; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #07060f; }
.room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.room-dark { filter: brightness(0.16) saturate(0.35) contrast(1.15); }
.room-lit {
  --r: 260vmax;
  -webkit-mask-image: radial-gradient(circle var(--r) at 69% 21%, #000 0%, #000 34%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at 69% 21%, #000 0%, #000 34%, transparent 100%);
}
.dark-start .room-lit { --r: 0px; }
.is-on .room-lit { --r: 260vmax; transition: --r 2.8s cubic-bezier(0.55, 0.06, 0.25, 1) 0.06s; animation: warmup 2.6s var(--ease) 0.06s both; }
@keyframes warmup {
  0% { filter: brightness(0.55) sepia(0.6) saturate(1.6) hue-rotate(-12deg); }
  35% { filter: brightness(0.85) sepia(0.3) saturate(1.3) hue-rotate(-6deg); }
  100% { filter: none; }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 26, 0.94) 0%, rgba(13, 12, 26, 0.78) 30%, rgba(13, 12, 26, 0.2) 56%, rgba(13, 12, 26, 0) 70%),
    linear-gradient(to top, var(--bg) 0%, rgba(13, 12, 26, 0.6) 16%, rgba(13, 12, 26, 0) 34%),
    linear-gradient(to bottom, rgba(13, 12, 26, 0.78) 0%, rgba(13, 12, 26, 0) 20%);
}
.hero-in {
  position: relative;
  width: min(1320px, 100% - 2 * clamp(20px, 4.4vw, 72px)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px;
  padding: calc(var(--nav-h) + 40px) 0 clamp(64px, 9vh, 110px);
}
.hero-copy { max-width: 720px; padding-bottom: 8px; }
.hero-title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.3rem, 7.6vw, 6.6rem); line-height: 0.94; letter-spacing: -0.025em;
  margin-bottom: 26px; filter: drop-shadow(0 0 26px rgba(255, 160, 60, 0.28));
}
.ht-line { display: block; padding-bottom: 0.04em; }
.dark-start .hero-title { filter: none; }
.hero-title { transition: filter 900ms ease 400ms; }
/* no-js / pre-split: the whole line wears the glaze */
.ht-line, .ch::after {
  color: transparent;
  background-image:
    linear-gradient(104deg, transparent 0 38%, rgba(255, 255, 255, 0.85) 46%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, #fff6e2 0%, #ffe0a0 22%, #ffbd55 47%, #f08e22 63%, #ffb547 82%, #ffd27c 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
}
.dark-start .ht-line { background-image: linear-gradient(180deg, #8a7764 0%, #5e5046 55%, #6f5f50 100%); }
.split .ht-line { background-image: none; color: inherit; -webkit-text-stroke: 0; }
.w { display: inline-block; white-space: nowrap; }
.ch { position: relative; display: inline-block; color: transparent; }
.ch::before, .ch::after { content: attr(data-c); position: absolute; left: 0; top: 0; }
.ch::before { /* the cold filament: dull bronze glass until the current arrives */
  color: transparent; background-image: linear-gradient(180deg, #8a7764 0%, #5e5046 55%, #6f5f50 100%);
  -webkit-background-clip: text; background-clip: text; opacity: 0; transition: opacity 400ms ease; }
.dark-start .ch::before { opacity: 1; }
.dark-start .ch::after { opacity: 0; }
.is-on .ch::after { animation: warmLetter 1s cubic-bezier(0.3, 0.7, 0.2, 1) calc(var(--i) * 52ms + 260ms) both, shine 1.6s var(--ease) calc(var(--i) * 40ms + 1300ms) both; }
.is-on .ch::before { opacity: 0; transition-delay: calc(var(--i) * 52ms + 500ms); }
@keyframes warmLetter {
  0% { opacity: 0; filter: brightness(0.35) saturate(2) hue-rotate(-22deg); }
  18% { opacity: 0.9; filter: brightness(0.6) saturate(1.8) hue-rotate(-18deg); }
  26% { opacity: 0.25; }
  44% { opacity: 1; filter: brightness(0.9) saturate(1.4) hue-rotate(-8deg); }
  70% { filter: brightness(1.35) saturate(1.1); }
  100% { opacity: 1; filter: none; }
}
@keyframes shine { from { background-position: 160% 0, 0 0; } to { background-position: -60% 0, 0 0; } }
.hero-title:hover .ch::after { animation: shine 1.4s var(--ease) calc(var(--i) * 30ms) both; }

.hero-sub { color: #ddd8e8; font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.55; max-width: 34ch; margin-bottom: 34px; text-wrap: pretty; transition: color 800ms ease 500ms; }
.dark-start .hero-sub { color: #a9a4c3; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.dark-start .hero .btn-amber { background: #2c2a4a; color: #b8b3d2; box-shadow: none; }
.hero .btn-amber { transition: background 700ms ease 600ms, color 700ms ease 600ms, box-shadow 700ms ease 600ms, transform 160ms var(--ease); }

/* ---------- the light switch ---------- */
.switch-wrap { position: relative; display: grid; justify-items: center; padding-bottom: 46px; margin-bottom: clamp(0px, 4vh, 40px); margin-right: clamp(0px, 4vw, 70px); }
.switch {
  --w: 150px; --h: 240px;
  position: relative; width: var(--w); height: var(--h); padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 16px; touch-action: none; -webkit-tap-highlight-color: transparent;
  transition: transform 180ms var(--ease);
}
.switch:active { transform: scale(0.985); }
.switch:focus-visible { outline-offset: 8px; border-radius: 20px; }
.switch::before { /* breathing halo that says "find me" in the dark */
  content: ""; position: absolute; inset: -46px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 170, 60, 0.2), rgba(255, 170, 60, 0.06) 55%, transparent);
  opacity: 0; pointer-events: none;
}
.dark-start .switch-main::before, .dark-start #mainSwitch::before { opacity: 1; animation: breathe 2.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.55; } }
.plate {
  position: absolute; inset: 0; border-radius: 14px;
  background:
    radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, 0.7), transparent 60%),
    linear-gradient(162deg, #fbf8f0 0%, #f0e9dc 42%, #ddd3bf 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.95), inset 0 -3px 6px rgba(120, 98, 64, 0.28), inset 0 0 0 1px rgba(160, 140, 110, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.4), 0 6px 10px -2px rgba(0, 0, 0, 0.45), 0 30px 50px -14px rgba(0, 0, 0, 0.7);
}
.plate::after { /* the dark */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; background: rgba(9, 8, 22, 0.8); z-index: 2;
  opacity: 0; transition: opacity 1.2s var(--ease) 0.15s; pointer-events: none;
}
.dark-start #mainSwitch .plate::after, .is-night #endSwitch .plate::after { opacity: 1; transition-duration: 400ms; transition-delay: 0s; }
.screw {
  position: absolute; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0, #ece4d3 32%, #b8ab92 72%, #8a7f68 100%);
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.25), 0 1px 1px rgba(255, 255, 255, 0.8);
}
.screw::before { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1.6px; margin-top: -0.8px; background: #7d725d; border-radius: 2px; transform: rotate(var(--sr, 24deg)); }
.s-top { top: 9.5%; } .s-bot { bottom: 9.5%; --sr: -36deg; }
.slot {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 52px; transform: translate(-50%, -50%); border-radius: 5px;
  background: linear-gradient(180deg, #a99d86, #d9cfbd 40%, #efe7d8);
  box-shadow: inset 0 3px 4px rgba(60, 45, 20, 0.5), inset 0 -1px 1px rgba(255, 255, 255, 0.6);
}
.lever {
  position: absolute; z-index: 3; left: 50%; top: 50%; width: 28px; height: 70px; margin: -70px 0 0 -14px;
  transform-origin: 50% 100%;
  transform: perspective(320px) rotateX(146deg);
  border-radius: 13px 13px 9px 9px / 18px 18px 8px 8px;
  background:
    radial-gradient(70% 22% at 50% 6%, rgba(255, 255, 255, 0.95), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(110, 88, 56, 0.28) 100%),
    linear-gradient(90deg, #c9bb9f 0%, #f4ecdd 28%, #fffdf7 46%, #efe5d2 66%, #bcae90 100%);
  box-shadow: inset 0 -10px 10px -6px rgba(120, 100, 70, 0.35), inset 0 0 0 0.5px rgba(150, 130, 100, 0.5);
  transition: transform 150ms cubic-bezier(0.3, 1.5, 0.45, 1);
}
.lever::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(9, 8, 22, 0.8); opacity: 0; transition: opacity 1.1s var(--ease) 0.15s; }
.lever-glow {
  position: absolute; z-index: 1; left: 22%; right: 22%; top: 16%; bottom: 20%; border-radius: 8px;
  background: radial-gradient(closest-side, #fff0c8, #ffb547 55%, rgba(255, 140, 40, 0.0));
  opacity: 0; transition: opacity 250ms ease;
}
.switch[aria-checked="true"] .lever { transform: perspective(320px) rotateX(34deg); }
.dark-start #mainSwitch .lever::after, .is-night #endSwitch .lever::after { opacity: 1; transition-duration: 300ms; transition-delay: 0s; }
.dark-start #mainSwitch .lever-glow, .is-night #endSwitch .lever-glow { opacity: 1; animation: locator 3.2s ease-in-out infinite; }
.dark-start #mainSwitch .lever, .is-night #endSwitch .lever { box-shadow: 0 0 22px 3px rgba(255, 160, 50, 0.35), inset 0 8px 8px -4px rgba(255, 255, 255, 0.4); }
@keyframes locator { 50% { opacity: 0.7; } }
.lever-shadow {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 24%; height: 19%; margin-left: -12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 52, 24, 0.55), transparent);
  transform: translateY(10px) scaleY(1.25); opacity: 0.7; transition: transform 150ms ease, opacity 150ms ease;
}
.switch[aria-checked="true"] .lever-shadow { transform: translate(2px, -4px) scaleY(0.6); opacity: 0.4; }
@media (hover: hover) and (pointer: fine) {
  .switch:hover .plate { box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.95), inset 0 -3px 6px rgba(120, 98, 64, 0.28), inset 0 0 0 1px rgba(160, 140, 110, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.4), 0 8px 14px -2px rgba(0, 0, 0, 0.5), 0 36px 60px -14px rgba(0, 0, 0, 0.75); }
}
.sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 4; pointer-events: none; }
.sparks i { position: absolute; left: 0; top: 0; width: 26px; height: 2px; margin: -1px 0 0 0; border-radius: 2px; background: linear-gradient(90deg, #fff, var(--spark) 40%, rgba(103, 232, 249, 0)); opacity: 0; transform-origin: 0 50%; }
.sparks i:nth-child(1) { --a: -150deg; --d: 54px; } .sparks i:nth-child(2) { --a: -118deg; --d: 70px; }
.sparks i:nth-child(3) { --a: -84deg; --d: 62px; } .sparks i:nth-child(4) { --a: -52deg; --d: 74px; }
.sparks i:nth-child(5) { --a: -22deg; --d: 50px; } .sparks i:nth-child(6) { --a: 160deg; --d: 44px; }
.sparks i:nth-child(7) { --a: 14deg; --d: 46px; } .sparks i:nth-child(8) { --a: -100deg; --d: 90px; }
.switch.is-sparking .sparks i { animation: spark 520ms cubic-bezier(0.1, 0.8, 0.3, 1) both; }
.switch.is-sparking .sparks i:nth-child(odd) { animation-duration: 420ms; }
@keyframes spark {
  0% { opacity: 1; transform: rotate(var(--a)) translateX(4px) scaleX(0.3); }
  60% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scaleX(0.6); }
}
.switch-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--amber-hot); letter-spacing: 0.01em; transition: opacity 400ms ease, color 400ms ease; min-height: 1.6em; }
.switch-hint .ic { width: 20px; height: 20px; }
.is-on .switch-hint { color: var(--muted); }

/* ---------- power sweep ---------- */
.sweep { position: fixed; inset: 0; z-index: 40; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.sweep i { position: absolute; display: block; opacity: 0; }
.sweep-burst {
  left: var(--sx, 80%); top: var(--sy, 60%); width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 220, 160, 0.75), rgba(255, 170, 70, 0.32) 28%, rgba(255, 140, 40, 0.08) 55%, transparent 72%);
}
.sweep-band { top: -20vh; height: 140vh; left: 0; width: 46vw; background: linear-gradient(90deg, transparent, rgba(255, 176, 80, 0.22) 30%, rgba(255, 230, 190, 0.42) 50%, rgba(255, 176, 80, 0.22) 70%, transparent); }
.sweep.go .sweep-burst { animation: burst 1.5s var(--ease) both; }
.sweep.go .sweep-band { animation: band 1.35s cubic-bezier(0.45, 0.05, 0.25, 1) 0.12s both; }
@keyframes burst { 0% { opacity: 0; transform: scale(0.15); } 16% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes band { 0% { opacity: 0; transform: translateX(110vw) skewX(-16deg); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(-60vw) skewX(-16deg); } }

/* night overlay (final switch) */
.night { position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; transition: opacity 900ms var(--ease);
  background: radial-gradient(circle at var(--nx, 75%) var(--ny, 60%), rgba(6, 5, 14, 0) 0, rgba(6, 5, 14, 0.35) 120px, rgba(6, 5, 14, 0.9) 360px); }
.is-night .night { opacity: 1; transition-duration: 350ms; }

/* ---------- circuit trace ---------- */
.trace { position: absolute; left: 0; top: 0; width: 100%; height: 100px; z-index: 5; pointer-events: none; overflow: visible; }
.tr-base, .tr-glow, .tr-live, .tr-br, .tr-brl { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.tr-base { stroke: rgba(255, 181, 71, 0.13); stroke-width: 1.5; }
.tr-glow { stroke: rgba(255, 160, 50, 0.2); stroke-width: 9; }
.tr-live { stroke: var(--amber); stroke-width: 2; }
.tr-br { stroke: rgba(255, 181, 71, 0.13); stroke-width: 1.5; }
.tr-brl { stroke: var(--amber); stroke-width: 2; transition: stroke-dashoffset 600ms var(--ease); }
.tr-via { fill: var(--bg); stroke: rgba(255, 181, 71, 0.3); stroke-width: 1.5; transition: fill 400ms ease, stroke 400ms ease; }
.tr-jn { fill: var(--bg); stroke: rgba(255, 181, 71, 0.3); stroke-width: 1.5; transition: fill 500ms ease 250ms, stroke 500ms ease 250ms; }
.tr-halo { fill: rgba(255, 170, 60, 0.28); opacity: 0; transition: opacity 600ms ease 250ms; }
.tr-node.on .tr-via { fill: var(--amber); stroke: var(--amber); }
.tr-node.on .tr-jn { fill: var(--amber-hot); stroke: var(--amber); }
.tr-node.on .tr-halo { opacity: 1; }
.tr-spark { opacity: 0; transition: opacity 300ms ease; }
.trace.live .tr-spark { opacity: 1; }
.tr-spark circle:first-child { animation: sparkle 900ms ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes sparkle { 50% { transform: scale(0.72); opacity: 0.7; } }
.trace-off .trace { display: none; }

/* sections wait for current (only once the trace is running) */
.pw { transition: color 700ms var(--ease), text-shadow 900ms ease; }
.pw-img { transition: filter 900ms var(--ease); }
.trace-on .sect:not(.powered) .pw { color: var(--off); }
.trace-on .sect:not(.powered) .pw-img { filter: brightness(0.38) saturate(0.55); }
.trace-on .sect.powered .pw { animation: powerFlash 1.4s ease-out both; }
@keyframes powerFlash { 0% { text-shadow: 0 0 0 rgba(255, 180, 80, 0); } 25% { text-shadow: 0 0 28px rgba(255, 180, 80, 0.55); } 100% { text-shadow: 0 0 0 rgba(255, 180, 80, 0); } }

/* ---------- credentials strip ---------- */
.creds {
  position: relative; z-index: 6; width: min(1240px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 22px 0;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 18px 28px; border-block: 1px solid var(--line);
}
.cred { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.35; }
.cred .ic { width: 24px; height: 24px; color: var(--amber); }
.cred b { color: var(--text); font-weight: 700; }

/* ---------- problem ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px) clamp(32px, 6vw, 96px); align-items: start; }
.problem-copy { display: grid; gap: 26px; }
.problem-copy .h2 { max-width: 15ch; }
.problem-photo { grid-row: span 2; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surf); }
.problem-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.problem-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; font-size: 0.9rem; color: #e9e4f2; background: linear-gradient(to top, rgba(10, 9, 20, 0.85), transparent); }
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.sign { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.sign h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.16rem; line-height: 1.2; margin: 6px 0 6px; letter-spacing: -0.005em; }
.sign p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.sign a { color: var(--amber-hot); font-weight: 700; }
.sign-bulb { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surf-2); border: 1px solid var(--line-2); color: var(--amber); }
.sign-bulb .ic { width: 22px; height: 22px; }
.problem.in-view .sign-bulb { animation: flick 4.2s steps(1, end) infinite; }
.problem.in-view .sign:nth-child(2) .sign-bulb { animation-delay: -1.3s; animation-duration: 3.4s; }
.problem.in-view .sign:nth-child(3) .sign-bulb { animation-delay: -2.4s; animation-duration: 5.1s; }
.sign-urgent .sign-bulb { color: var(--ember); border-color: rgba(255, 106, 43, 0.45); }
.problem.in-view .sign-urgent .sign-bulb { animation: none; box-shadow: 0 0 0 0 rgba(255, 106, 43, 0.4); animation: urgent 2s ease-out infinite; }
@keyframes flick { 0%, 100% { color: var(--amber); box-shadow: 0 0 18px -2px rgba(255, 170, 60, 0.45); } 7% { color: #6b6786; box-shadow: none; } 9% { color: var(--amber); } 11% { color: #6b6786; box-shadow: none; } 14% { color: var(--amber); box-shadow: 0 0 18px -2px rgba(255, 170, 60, 0.45); } 61% { color: #8b7a5c; box-shadow: none; } 63% { color: var(--amber); box-shadow: 0 0 18px -2px rgba(255, 170, 60, 0.45); } }
@keyframes urgent { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 43, 0.45); } 100% { box-shadow: 0 0 0 16px rgba(255, 106, 43, 0); } }

/* ---------- services ---------- */
.svc-head { max-width: 20ch; margin-bottom: clamp(36px, 5vw, 64px); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-item { padding: 26px 0 30px; border-top: 1px solid var(--line); min-height: 36vh; display: flex; flex-direction: column; justify-content: center; }
.svc-item:last-child { min-height: 46vh; }
.svc-name {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.9vw, 2.6rem); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--off); transition: color 450ms var(--ease), text-shadow 600ms ease; display: flex; align-items: center; gap: 0.4em;
}
.svc-name::before { content: ""; width: 0.36em; height: 0.36em; border-radius: 50%; background: var(--surf-3); flex: none; transition: background-color 400ms ease, box-shadow 500ms ease; }
.svc-body { display: grid; gap: 14px; margin-top: 16px; max-width: 46ch; color: var(--dim); transition: color 450ms ease, opacity 450ms ease; opacity: 0.55; }
.svc-body p { font-size: 1.04rem; }
.svc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.svc-price span { font-size: 0.85rem; color: var(--dim); }
.svc-price b { font-family: var(--f-body); font-weight: 700; font-size: 1.22rem; color: var(--muted); transition: color 400ms ease; }
.svc-price a { font-weight: 700; font-size: 0.95rem; color: var(--amber-hot); text-underline-offset: 4px; }
.svc-item.is-active .svc-name { color: var(--text); text-shadow: 0 0 34px rgba(255, 170, 60, 0.28); }
.svc-item.is-active .svc-name::before { background: var(--amber); box-shadow: 0 0 14px 2px rgba(255, 170, 60, 0.7); }
.svc-item.is-active .svc-body { color: var(--muted); opacity: 1; }
.svc-item.is-active .svc-price b { color: var(--amber-hot); }
.svc-mob { display: none; }
.svc-stage { position: sticky; top: calc(var(--nav-h) + 28px); }
.svc-frame { position: relative; aspect-ratio: 4 / 4.6; max-height: calc(100vh - var(--nav-h) - 70px); width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--surf); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.svc-frame figure { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 700ms var(--ease), transform 1.2s var(--ease); }
.svc-frame figure.is-on { opacity: 1; transform: none; }
.svc-frame img, .svc-frame video { width: 100%; height: 100%; object-fit: cover; }
.svc-frame figure[data-i="1"] img { object-position: 30% 50%; }
.svc-cap { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; font-size: 0.92rem; color: #f1ecf7; padding: 10px 14px; border-radius: 12px; background: rgba(13, 12, 26, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); width: fit-content; max-width: calc(100% - 32px); }

/* ---------- EV fit check ---------- */
.ev { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 14%, var(--bg-2) 86%, var(--bg) 100%); }
.ev-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.ev-head .h2 { max-width: 16ch; }
.ev-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.ev-form { display: flex; flex-direction: column; gap: 30px; padding: clamp(22px, 3vw, 38px); border-radius: var(--r-lg); background: var(--surf); border: 1px solid var(--line); }

.field { display: grid; gap: 10px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 0.98rem; color: var(--text); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0; }
.field output { font-family: var(--f-body); font-weight: 700; color: var(--amber-hot); font-size: 1.05rem; }
.hint { font-size: 0.86rem; color: var(--dim); line-height: 1.45; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 50px; padding: 0 44px 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-size: 1rem; cursor: pointer; }
.select select:focus-visible { outline: 2px solid var(--spark); outline-offset: 2px; }
.select .ic { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
select option, select optgroup { background: #1b1a34; color: var(--text); }
.seg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.seg label, .chips label { position: relative; cursor: pointer; }
.seg input, .chips input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 46px; padding: 0 4px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 0.92rem; color: var(--muted); text-align: center; line-height: 1.1; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease); }
.seg label:active span, .chips label:active span { transform: scale(0.96); }
.seg input:checked + span { background: var(--amber); color: var(--ink-on-amber); border-color: var(--amber); }
.seg input:focus-visible + span, .chips input:focus-visible + span, .check input:focus-visible + .box { outline: 2px solid var(--spark); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.93rem; font-weight: 600; color: var(--muted); transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease); }
.chips input:checked + span { background: rgba(255, 181, 71, 0.13); border-color: rgba(255, 181, 71, 0.65); color: var(--amber-hot); }
.check, .field > label.check { display: inline-flex; justify-content: flex-start; align-items: center; gap: 12px; cursor: pointer; font-size: 0.97rem; font-weight: 500; color: var(--muted); min-height: 40px; position: relative; }
.check .box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; background: var(--bg-2); transition: background-color 160ms ease, border-color 160ms ease; }
.check .box .ic { width: 16px; height: 16px; color: var(--ink-on-amber); opacity: 0; transform: scale(0.6); transition: opacity 160ms ease, transform 200ms var(--ease); }
.check input:checked + .box { background: var(--amber); border-color: var(--amber); }
.check input:checked + .box .ic { opacity: 1; transform: none; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--amber) 0 var(--p, 50%), var(--surf-3) var(--p, 50%) 100%); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--surf-3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--amber); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff6e4; border: 3px solid var(--amber); box-shadow: 0 0 0 6px rgba(255, 181, 71, 0.15), 0 4px 10px rgba(0, 0, 0, 0.5); transition: transform 140ms var(--ease); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff6e4; border: 3px solid var(--amber); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--spark); }

.ev-out {
  position: relative; display: grid; gap: 26px; align-content: start; padding: clamp(22px, 3vw, 38px); border-radius: var(--r-lg);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 170, 60, 0.09), transparent 60%),
    linear-gradient(180deg, #1c1a37, #15142c);
  border: 1px solid var(--line-2); overflow: hidden;
}
.ev-check { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.ev-check ul { display: grid; gap: 10px; }
.ev-check li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.ev-check .ic { width: 20px; height: 20px; color: var(--amber); margin-top: 1px; }
.ev-k { font-size: 0.82rem; font-weight: 700; color: var(--dim); letter-spacing: 0.02em; }
.ev-verdict { display: grid; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ev-v { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--amber-hot); transition: color 300ms ease; }
.ev-verdict[data-v="possible"] .ev-v { color: var(--amber); }
.ev-verdict[data-v="likely"] .ev-v { color: var(--ember); }
.ev-why { color: var(--muted); max-width: 52ch; }
.ev-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ev-n { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.05; margin-top: 2px; }
.ev-s { color: var(--muted); font-size: 0.92rem; line-height: 1.4; margin-top: 4px; }
.load { display: grid; gap: 12px; }
.load-scale { position: relative; height: 54px; margin: 22px 0 18px; }
.load-seg { position: absolute; top: 12px; height: 30px; border-radius: 6px; transition: left 500ms var(--ease), width 500ms var(--ease), background-color 300ms ease; box-shadow: inset 0 0 0 1px rgba(13, 12, 26, 0.6); }
.load-seg.is-base { background: #4b4778; }
.load-seg.is-app { background: #6a6599; }
.load-seg.is-app:nth-of-type(odd) { background: #7d78ad; }
.load-seg.is-ev { background: repeating-linear-gradient(-45deg, var(--amber) 0 7px, #f39b2c 7px 14px); box-shadow: 0 0 22px -4px rgba(255, 170, 60, 0.8); }
.load-seg.is-over { background: repeating-linear-gradient(-45deg, var(--ember) 0 7px, #c94a17 7px 14px); }
.load-line { position: absolute; top: 2px; bottom: 0; width: 0; border-left: 2px solid var(--text); transition: left 500ms var(--ease); }
.load-line.is-80 { border-left: 2px dashed var(--amber-hot); }
.load-line span { position: absolute; bottom: calc(100% + 2px); transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; }
.load-line.is-80 span { color: var(--amber-hot); bottom: auto; top: calc(100% + 4px); }
.load-line.is-cap span { transform: translateX(-100%); }
.load-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-2); }
.load-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.84rem; color: var(--muted); }
.load-legend span { display: inline-flex; align-items: center; gap: 7px; }
.load-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.ev-price { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.ev-total { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.05; color: var(--text); }
.ev-lines { display: grid; gap: 8px; margin-top: 12px; }
.ev-lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 0.93rem; color: var(--muted); }
.ev-lines li b { color: var(--text); font-weight: 600; white-space: nowrap; }
.ev-lines li.opt { color: var(--dim); }
.ev-lines li.opt b { color: var(--dim); font-weight: 500; }
.ev-act { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- lighting lab ---------- */
.lab-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.lab-room { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: #000; isolation: isolate; }
.lab-room img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transition: filter 120ms linear; }
.lab-tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: 0.85; transition: background-color 120ms linear; }
.lab-glow { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity 120ms linear; }
.lab-read { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 10px 14px; border-radius: 12px; background: rgba(13, 12, 26, 0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0.92rem; color: var(--muted); }
.lab-read b { font-family: var(--f-body); color: var(--text); font-size: 1.05rem; margin-right: 4px; }
.lab-side { display: grid; gap: 22px; }
.lab-side .h2 { max-width: 14ch; }
.bulb-stage { position: relative; height: clamp(220px, 26vw, 300px); border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(60% 70% at 50% 45%, #1f1c3a, #0f0e20 70%); border: 1px solid var(--line); }
.bulb-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms ease; }
.bulb-stage.gl-ready canvas { opacity: 1; }
.bulb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 600ms ease; }
.bulb-stage.gl-ready .bulb-fallback { opacity: 0; }
.lab-ctl { display: grid; gap: 22px; }
.range-kelvin::-webkit-slider-runnable-track { background: linear-gradient(90deg, #ff8b2c, #ffb46b 18%, #ffd2a1 36%, #ffe6cd 54%, #fff3e8 72%, #f4f2ff 100%) !important; }
.range-kelvin::-moz-range-track { background: linear-gradient(90deg, #ff8b2c, #ffb46b 18%, #ffd2a1 36%, #ffe6cd 54%, #fff3e8 72%, #f4f2ff 100%); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ease); }
.presets button:active { transform: scale(0.96); }
.presets button[aria-pressed="true"] { background: rgba(255, 181, 71, 0.14); border-color: rgba(255, 181, 71, 0.6); color: var(--amber-hot); }

/* ---------- Chicago way ---------- */
.chicago { padding-top: 0; }
.chi-band { position: relative; height: clamp(420px, 66vh, 640px); overflow: hidden; display: flex; align-items: flex-end; margin-bottom: clamp(56px, 8vw, 100px); background: #111; }
.chi-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.chi-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(13, 12, 26, 0.55) 40%, rgba(13, 12, 26, 0.25) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(13, 12, 26, 0.7), transparent 60%); }
.chi-band-in { z-index: 2; padding-bottom: clamp(30px, 5vw, 60px); }
.chi-band .h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 17ch; }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); }
.promises li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.promises li .ic { grid-row: span 2; width: 34px; height: 34px; color: var(--amber); margin-top: 2px; }
.promises h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.34rem; line-height: 1.15; margin-bottom: 8px; letter-spacing: -0.01em; }
.promises p { color: var(--muted); max-width: 44ch; }
.proof { margin-top: clamp(56px, 7vw, 90px); }
.proof-h { font-family: var(--f-body); font-weight: 700; font-size: 1.3rem; margin-bottom: 20px; }
.proof-strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 27vw, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--surf-3) transparent; }
.proof-strip:focus-visible { outline-offset: 6px; }
.proof-strip figure { scroll-snap-align: start; display: grid; gap: 12px; }
.proof-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); background: var(--surf); }
.proof-strip figure:nth-child(even) img { aspect-ratio: 4 / 4.2; }
.proof-strip figcaption { color: var(--muted); font-size: 0.92rem; line-height: 1.45; max-width: 34ch; }

/* ---------- how it works ---------- */
.how .h2 { max-width: 17ch; margin-bottom: clamp(44px, 6vw, 72px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 26px; right: calc(100% / 6 - 26px); top: 25px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--surf-3); }
.steps::after { background: linear-gradient(90deg, var(--amber-deep), var(--amber), var(--amber-hot)); transform-origin: left; transform: scaleX(var(--wire, 1)); transition: transform 1.6s var(--ease) 0.2s; box-shadow: 0 0 14px rgba(255, 170, 60, 0.6); }
.trace-on .how:not(.powered) .steps { --wire: 0; }
.steps li { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; }
.node { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surf-2); border: 1px solid var(--line-2); color: var(--amber); transition: background-color 500ms ease, box-shadow 500ms ease, color 500ms ease; }
.node .ic { width: 24px; height: 24px; }
.powered .node, .no-js .node { box-shadow: 0 0 0 5px var(--bg); }
.node-end { background: var(--amber); color: var(--ink-on-amber); box-shadow: 0 0 0 5px var(--bg), 0 0 30px rgba(255, 170, 60, 0.6) !important; }
.steps h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.12rem; line-height: 1.2; margin-top: 8px; }
.steps p { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.trace-on .how.powered .steps li { animation: stepIn 700ms var(--ease) both; animation-delay: calc(var(--k) * 140ms + 150ms); }
@keyframes stepIn { from { opacity: 0.25; transform: translateY(8px); } }

/* ---------- pricing ---------- */
.pricing .h2 { margin-bottom: 18px; }
.pricing > .wrap > .lede { margin-bottom: clamp(36px, 5vw, 56px); }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.pgroup { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-lg); background: var(--surf); border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.pgroup-big { grid-row: span 2; display: flex; flex-direction: column; gap: 26px; background: radial-gradient(90% 60% at 0% 0%, rgba(255, 170, 60, 0.12), transparent 60%), linear-gradient(180deg, #1e1c3b, #17162f); border-color: rgba(255, 181, 71, 0.28); }
.pgroup h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 700; font-size: 1.3rem; }
.pgroup h3 .ic { color: var(--amber); width: 24px; height: 24px; }
.pgroup dl { display: grid; gap: 14px; }
.pgroup dl > div { display: flex; align-items: baseline; gap: 10px; }
.pgroup dt { color: var(--muted); flex: 0 1 auto; }
.pgroup dl > div::after { content: ""; order: 1; flex: 1 1 24px; border-bottom: 1.5px dotted rgba(170, 160, 240, 0.25); transform: translateY(-4px); min-width: 16px; }
.pgroup dd { order: 2; font-family: var(--f-body); font-weight: 700; white-space: nowrap; color: var(--text); }
.pgroup-big dl { gap: 22px; }
.pgroup-big dt { font-size: 1.05rem; color: var(--text); }
.pgroup-big dd { font-size: 1.32rem; color: var(--amber-hot); font-weight: 760; }
.pgroup-big .btn { align-self: flex-start; margin-top: auto; }
.pgroup-big .pnote { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
.pricing .fine { margin-top: 16px; }

/* ---------- voices + area ---------- */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.voices { display: grid; gap: 30px; }
.voices .h2 { max-width: 14ch; }
.voices-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--dim); max-width: 46ch; }
.voices-note .ic { margin-top: 3px; color: var(--muted); }
.voice { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.voice blockquote { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; max-width: 30ch; }
.voice figcaption { font-weight: 700; color: var(--amber-hot); }
.voice figcaption span { color: var(--dim); font-weight: 500; margin-left: 8px; }
.board { position: sticky; top: calc(var(--nav-h) + 28px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surf); border: 1px solid var(--line); display: grid; gap: 18px; }
.board-h { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.board-sub { color: var(--muted); }
.zip { display: grid; gap: 8px; }
.zip label { font-weight: 700; font-size: 0.95rem; }
.zip-row { display: flex; gap: 8px; }
.zip-row input { flex: 1; min-width: 0; }
.zip-msg { min-height: 1.5em; font-size: 0.95rem; color: var(--muted); }
.zip-msg.ok { color: var(--amber-hot); }
.zip-msg.no { color: #ffb08f; }
.hoods { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.5; color: #77729a; }
.hoods span { white-space: nowrap; transition: color 300ms ease, text-shadow 400ms ease; }
.powered .hoods span { color: #a9a4c6; }
.hoods span.hit { color: var(--amber-hot); text-shadow: 0 0 18px rgba(255, 180, 80, 0.7); }

input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8a86a3; }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--spark); box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.2); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff8a5c; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq-grid .h2 { position: sticky; top: calc(var(--nav-h) + 28px); max-width: 12ch; }
.faq-list { display: grid; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-body); font-weight: 700; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { width: 22px; height: 22px; color: var(--amber); transition: transform 220ms var(--ease); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }
.faq-list details[open] p { animation: faqIn 260ms var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- booking: breaker panel ---------- */
.book-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
.book-head .h2 { max-width: 14ch; }
.sim-note { display: inline-flex; align-items: center; gap: 10px; font-size: 0.93rem; color: var(--muted); padding: 10px 16px; border-radius: 14px; border: 1px dashed var(--line-2); width: fit-content; }
.sim-note .ic { color: var(--spark); }
.panel {
  position: relative; border-radius: 22px; padding: clamp(16px, 2.4vw, 30px);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #24223f, #1a1931 60%, #171629);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 0 0 6px rgba(0, 0, 0, 0.12), 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}
.panel-top { display: flex; align-items: center; gap: 18px; padding: 4px 4px 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.panel-brand { font-family: var(--f-mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; line-height: 1.15; color: var(--text); padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.panel-brand small { font-size: 0.62rem; color: var(--dim); letter-spacing: 0.2em; }
.panel-steps { display: flex; gap: 6px; margin-left: auto; counter-reset: ps; }
.panel-steps li { font-size: 0.86rem; font-weight: 700; color: var(--dim); padding: 7px 12px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; gap: 6px; align-items: center; }
.panel-steps li::before { counter-increment: ps; content: counter(ps); font-family: var(--f-mono); font-size: 0.72rem; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surf-3); color: var(--muted); }
.panel-steps li.is-cur { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); }
.panel-steps li.is-cur::before { background: var(--amber); color: var(--ink-on-amber); }
.panel-steps li.is-done::before { background: rgba(255, 181, 71, 0.25); color: var(--amber-hot); }
.panel-main { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; color: var(--dim); }
.panel-main i { width: 10px; height: 10px; border-radius: 50%; background: #3b3858; transition: background-color 300ms ease, box-shadow 300ms ease; }
.panel-main.is-live { color: var(--amber-hot); }
.panel-main.is-live i { background: var(--amber); box-shadow: 0 0 10px 2px rgba(255, 170, 60, 0.7); }

.pstep[hidden] { display: none; }
.pstep.is-entering { animation: stepFade 380ms var(--ease); }
@keyframes stepFade { from { opacity: 0; transform: translateY(8px); } }
#step1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr); gap: 22px 26px; }
#step1[hidden] { display: none; }
.breakers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 46px; padding: 18px; border-radius: 16px; background: #121124; border: 1px solid rgba(0, 0, 0, 0.4); box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5); }
.breakers::before { /* bus bar */
  content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 12px; margin-left: -6px; border-radius: 4px;
  background: linear-gradient(90deg, #6d4a22, #b07a3c 40%, #d9a35f 55%, #8a5f2c); opacity: 0.5; transition: opacity 400ms ease, box-shadow 400ms ease;
}
.breakers.has-on::before { opacity: 1; box-shadow: 0 0 18px rgba(255, 170, 60, 0.55); }
.brk {
  position: relative; display: grid; grid-template-columns: 1fr 72px; align-items: center; gap: 14px; min-height: 76px; padding: 10px 10px 10px 16px;
  border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, #1e1c37, #19182f); cursor: pointer; text-align: left; color: var(--text);
  transition: border-color 200ms ease, background-color 200ms ease, transform 140ms var(--ease);
}
.brk:active { transform: scale(0.985); }
.breakers .brk:nth-child(even) { grid-template-columns: 72px 1fr; padding: 10px 16px 10px 10px; }
.breakers .brk:nth-child(even) .brk-mod { order: -1; }
.brk-txt { display: grid; gap: 3px; min-width: 0; }
.brk-label { font-family: var(--f-mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); line-height: 1.3; }
.brk-sub { font-size: 0.86rem; color: var(--dim); line-height: 1.35; }
.brk-no { display: none; }
.brk-mod { position: relative; width: 72px; height: 54px; border-radius: 8px; background: linear-gradient(180deg, #121120, #0b0a16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 2px 4px rgba(0, 0, 0, 0.6); }
.brk-mod::before { /* handle slot */ content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 18px; margin-top: -9px; border-radius: 4px; background: #050409; box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.9); }
.brk-handle { position: absolute; top: 50%; left: 14px; width: 24px; height: 26px; margin-top: -13px; border-radius: 5px; background: linear-gradient(180deg, #4a475f, #2a2838); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.7); transition: transform 150ms cubic-bezier(0.3, 1.4, 0.5, 1), background 200ms ease; }
.brk-win { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.1em; color: #6c6886; }
.brk[aria-checked="true"] { border-color: rgba(255, 181, 71, 0.55); background: linear-gradient(180deg, #2a2440, #221d36); }
.brk[aria-checked="true"] .brk-handle { transform: translateX(22px); background: linear-gradient(180deg, #ffd08a, var(--amber) 50%, #e48a22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 14px rgba(255, 170, 60, 0.7); }
.brk[aria-checked="true"] .brk-win { color: var(--amber-hot); }
.brk[aria-checked="true"] .brk-label { color: var(--amber-hot); }
@media (hover: hover) and (pointer: fine) { .brk:hover { border-color: var(--line-2); } .brk[aria-checked="true"]:hover { border-color: rgba(255, 181, 71, 0.75); } }

.dir { position: relative; padding: 20px 20px 18px; border-radius: 14px; background: #efe9dc; color: #2a2433; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 30px -18px rgba(0, 0, 0, 0.8); display: grid; gap: 12px; align-content: start; }
.dir-h { font-family: var(--f-mono); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: #5b5266; }
.dir-list { display: grid; gap: 0; }
.dir-list li { font-family: var(--f-mono); font-size: 0.82rem; line-height: 1.35; padding: 8px 0; display: flex; gap: 10px; color: #2a2433; border-bottom: 1px solid rgba(80, 110, 170, 0.22); }
.dir-list li b { color: #a35a12; font-weight: 600; min-width: 18px; }
.dir-list .dir-empty { color: #6b6375; font-family: var(--f-body); line-height: 1.5; padding: 6px 0; border: 0; }
.dir-visit { display: grid; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1.5px dashed rgba(42, 36, 51, 0.25); }
.dir-visit[hidden] { display: none; }
.dir-visit p { display: grid; gap: 1px; font-size: 0.92rem; line-height: 1.4; }
.dir-visit span { color: #6b6375; font-size: 0.8rem; }
.dir-visit b { font-weight: 700; }
.dir-err { color: #ffb08f; font-weight: 700; font-size: 0.93rem; min-height: 0; }
.dir .dir-err { color: #b23a0c; }
.dir-err:empty { display: none; }
.red-tag { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: rgba(255, 106, 43, 0.1); border: 1px solid rgba(255, 106, 43, 0.35); color: #ffd3c0; font-size: 0.95rem; }
.red-tag .ic { color: var(--ember); width: 22px; height: 22px; }
.red-tag a { color: #fff; font-weight: 700; }

.when { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px; }
.step-k { font-weight: 700; margin-bottom: 12px; display: flex; gap: 10px; align-items: baseline; }
.step-k .tz { font-weight: 500; font-size: 0.84rem; color: var(--dim); }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.day, .win { border: 1px solid var(--line-2); background: #1b1a33; border-radius: 12px; cursor: pointer; color: var(--text); transition: border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease); }
.day:active, .win:active { transform: scale(0.97); }
.day { display: grid; gap: 1px; justify-items: center; padding: 10px 4px; min-height: 74px; }
.day small { font-size: 0.74rem; color: var(--dim); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.day b { font-family: var(--f-body); font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.day span { font-size: 0.72rem; color: var(--muted); }
.day[aria-checked="true"], .win[aria-checked="true"] { border-color: var(--amber); background: rgba(255, 181, 71, 0.13); box-shadow: inset 0 0 0 1px var(--amber); }
.day[aria-checked="true"] small, .day[aria-checked="true"] span { color: var(--amber-hot); }
.day.is-full { opacity: 0.5; }
.wins { display: grid; gap: 8px; }
.win { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; font-weight: 700; text-align: left; }
.win span { font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.win[aria-checked="true"] span { color: var(--amber-hot); }
.win:disabled { cursor: not-allowed; opacity: 0.42; background: transparent; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
@media (hover: hover) and (pointer: fine) { .day:hover, .win:not(:disabled):hover { border-color: rgba(255, 181, 71, 0.6); } }

#step3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr); gap: 26px; align-items: start; }
#step3[hidden] { display: none; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.details .f-wide { grid-column: 1 / -1; }
.details .field > label { font-size: 0.93rem; }
.opt { font-weight: 500; color: var(--dim); font-size: 0.84rem; }
.ferr { color: #ffb08f; font-size: 0.86rem; font-weight: 600; min-height: 0; }
.ferr:empty { display: none; }
.permit { padding: 20px; border-radius: 14px; background: rgba(255, 181, 71, 0.06); border: 1px solid rgba(255, 181, 71, 0.28); display: grid; gap: 10px; align-content: start; font-size: 0.95rem; color: var(--muted); }
.permit h4 { margin: 0; display: flex; gap: 10px; align-items: center; font-family: var(--f-body); font-weight: 700; font-size: 1.12rem; color: var(--text); }
.permit h4 .ic { color: var(--amber); width: 24px; height: 24px; }
.permit ul { display: grid; gap: 8px; }
.permit li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.permit li .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--amber); }

.review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rv { padding: 18px 20px; border-radius: 14px; background: #1b1a33; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.rv-k { display: flex; justify-content: space-between; gap: 10px; font-size: 0.84rem; font-weight: 700; color: var(--dim); }
.rv-k button { background: none; border: 0; color: var(--amber-hot); font-weight: 700; font-size: 0.86rem; cursor: pointer; padding: 4px 0; min-height: 32px; }
.rv-v { font-size: 1.02rem; line-height: 1.5; }
.rv-v b { font-family: var(--f-body); font-weight: 700; }
.rv-wide { grid-column: 1 / -1; }

.panel-nav { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.panel-nav #bNext { margin-left: auto; }
.panel-sum { color: var(--muted); font-size: 0.93rem; flex: 1; min-width: 0; text-align: right; }
.panel-nav.is-done { display: none; }

.done { display: grid; gap: 28px; outline: none; }
.done-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 22px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.done-bulb { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink-on-amber); box-shadow: 0 0 40px rgba(255, 170, 60, 0.6); }
.done-bulb .ic { width: 32px; height: 32px; }
.done-head h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; }
.done-head p { color: var(--muted); margin-top: 6px; }
.done-ref { font-family: var(--f-mono); font-weight: 600; color: var(--amber-hot); }
.done-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pv-left { display: grid; gap: 18px; align-content: start; }
.previews { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 20px; align-items: start; }
.pv-k { font-size: 0.84rem; font-weight: 700; color: var(--dim); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.pv-k .ic { color: var(--muted); }
.phone { border-radius: 28px; padding: 18px 14px 22px; background: #0a0914; border: 1px solid var(--line-2); box-shadow: inset 0 0 0 5px #15142a; }
.phone-top { text-align: center; font-size: 0.78rem; color: var(--dim); margin-bottom: 14px; }
.phone-top b { display: block; color: var(--text); font-size: 0.9rem; }
.bubble { background: #2b2945; color: #f1edf8; padding: 12px 14px; border-radius: 18px 18px 18px 6px; font-size: 0.9rem; line-height: 1.45; max-width: 92%; }
.bubble + .bubble { margin-top: 8px; }
.mail { border-radius: 16px; overflow: hidden; background: #f7f4ee; color: #2a2433; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.mail-bar { display: grid; gap: 2px; padding: 12px 18px; background: #ebe6dc; font-size: 0.82rem; color: #5b5266; }
.mail-bar b { color: #2a2433; }
.mail-hero { padding: 26px 24px 22px; background: radial-gradient(80% 120% at 85% 0%, rgba(255, 181, 71, 0.45), transparent 60%), #14132a; color: #f4efe6; }
.mail-hero .mail-brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 400; font-size: 1rem; margin-bottom: 18px; }
.mail-hero .mail-brand .ic { color: var(--amber); width: 22px; height: 22px; }
.mail-hero h4 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.mail-body { padding: 20px 24px 24px; display: grid; gap: 14px; font-size: 0.93rem; line-height: 1.55; }
.mail-body table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.mail-body td { padding: 7px 0; vertical-align: top; border-bottom: 1px solid #e3ddd2; }
.mail-body td:first-child { color: #6b6375; width: 34%; padding-right: 10px; }
.mail-body .mail-btn { display: inline-block; background: #14132a; color: #ffd88a; padding: 11px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; width: fit-content; }
.mail-foot { font-size: 0.78rem; color: #7b7385; }

/* ---------- final ---------- */
.final { padding-bottom: clamp(90px, 12vw, 160px); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 80px; align-items: center; padding: clamp(36px, 6vw, 80px); border-radius: 28px; background: radial-gradient(80% 120% at 100% 50%, rgba(255, 170, 60, 0.14), transparent 60%), linear-gradient(180deg, #1c1a37, #141329); border: 1px solid var(--line-2); overflow: hidden; }
.final-copy { display: grid; gap: 22px; }
.final-h { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400; max-width: 12ch; }
.final-switch { display: grid; justify-items: center; gap: 16px; max-width: 220px; text-align: center; }
.switch-sm { --w: 112px; --h: 180px; }
.switch-sm .lever { width: 22px; height: 54px; margin: -54px 0 0 -11px; }
.switch-sm .slot { width: 18px; height: 40px; }
.switch-sm .screw { width: 11px; height: 11px; margin-left: -5.5px; }
.final-note { font-size: 0.93rem; color: var(--muted); min-height: 3em; }
.is-night .final-note { color: var(--amber-hot); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 6; border-top: 1px solid var(--line); padding: 60px 0 40px; background: #0a0916; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--amber-hot); }
.foot-brand { display: grid; gap: 16px; }
.foot-lic { font-size: 0.88rem !important; color: var(--dim) !important; max-width: 40ch; }
.foot-h { font-weight: 700; color: var(--text) !important; margin-bottom: 6px; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-base p { font-size: 0.86rem; color: var(--dim); }
.foot-base p:first-child { color: var(--muted); }

/* content above trace */
.wrap, .hero-in, .chi-band-in { z-index: 6; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 10px 9px; }
  .nav-phone span { display: none; }
  .creds { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .ev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-menu { display: inline-flex; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-photo { grid-row: auto; aspect-ratio: 16 / 10; }
  .svc { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .svc-item, .svc-item:last-child { min-height: 0; }
  .svc-body { opacity: 1; color: var(--muted); }
  .svc-name { color: var(--text); }
  .svc-mob { display: block; margin-top: 8px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surf); }
  .svc-mob img { width: 100%; height: 100%; object-fit: cover; }
  .svc-item:nth-child(2) .svc-mob img { object-position: 30% 50%; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-room { aspect-ratio: 16 / 11; }
  .area-grid, .faq-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .pgroup-big { grid-row: auto; }
  .board, .faq-grid .h2 { position: static; }
  #step1, #step3 { grid-template-columns: 1fr; }
  .when { grid-template-columns: 1fr; }
  .final-grid { grid-template-columns: 1fr; justify-items: start; }
  .final-switch { justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: center; max-width: none; gap: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  body { font-size: 1rem; }
  .nav-phone { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1px solid var(--line-2); }
  .nav .btn-sm { --bh: 44px; padding: 0 1em; }
  .brand-word { font-size: 1.18rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: max(640px, 100svh); }
  .room { object-position: 94% 30%; }
  .room-lit { -webkit-mask-image: radial-gradient(circle var(--r) at 16% 20%, #000 0%, #000 34%, transparent 100%); mask-image: radial-gradient(circle var(--r) at 16% 20%, #000 0%, #000 34%, transparent 100%); }
  .hero-shade { background:
    linear-gradient(to top, var(--bg) 0%, rgba(13, 12, 26, 0.92) 30%, rgba(13, 12, 26, 0.35) 58%, rgba(13, 12, 26, 0.1) 75%),
    linear-gradient(to bottom, rgba(13, 12, 26, 0.6) 0%, rgba(13, 12, 26, 0) 16%); }
  .hero-in { grid-template-columns: 1fr; align-content: end; gap: 0; padding-bottom: 40px; padding-top: calc(var(--nav-h) + 24px); width: calc(100% - 40px); }
  .nav-in { gap: 10px; }
  .nav-cta { gap: 6px; }
  .brand { gap: 8px; }
  .switch-wrap { grid-row: 1; justify-self: end; margin: 0 0 18px; padding-bottom: 36px; }
  .switch-hint { left: auto; right: 0; transform: none; }
  .switch { --w: 104px; --h: 166px; }
  .switch .lever { width: 22px; height: 52px; margin: -52px 0 0 -11px; }
  .switch .slot { width: 18px; height: 38px; }
  .switch .screw { width: 11px; height: 11px; margin-left: -5.5px; }
  .switch-hint { font-size: 0.86rem; }
  .hero-title { font-size: clamp(3.1rem, 17.5vw, 4.6rem); margin-bottom: 18px; }
  .hero-sub { font-size: 1.04rem; margin-bottom: 24px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .creds { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .signs { grid-template-columns: 1fr; gap: 24px; }
  .seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ev-facts { grid-template-columns: 1fr 1fr; gap: 14px; }
  .promises { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; padding-left: 0; }
  .steps li { grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 2px; padding-bottom: 26px; position: relative; }
  .steps li .node { grid-row: span 2; }
  .steps li h3 { margin-top: 4px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 54px; bottom: 0; width: 2px; background: linear-gradient(var(--amber), var(--amber-deep)); opacity: 0.6; }
  .pgroup dl > div { display: grid; gap: 2px; }
  .pgroup dl > div::after { display: none; }
  .pgroup-big dl { gap: 16px; }
  .breakers { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .breakers::before { display: none; }
  .breakers .brk:nth-child(even) { grid-template-columns: 1fr 72px; padding: 10px 10px 10px 16px; }
  .breakers .brk:nth-child(even) .brk-mod { order: 0; }
  .brk-no { display: none; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .details { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; }
  .panel-top { gap: 12px; }
  .panel-steps { margin-left: 0; order: 3; width: 100%; justify-content: space-between; gap: 2px; }
  .panel-steps li { padding: 6px 8px; font-size: 0.8rem; gap: 6px; }
  .panel-steps li:not(.is-cur) span { display: none; }
  .panel-main { margin-left: auto; }
  .panel-nav { flex-wrap: wrap; }
  .panel-sum { order: -1; flex-basis: 100%; text-align: left; }
  .done-head { grid-template-columns: 1fr; gap: 16px; }
  .done-bulb { width: 52px; height: 52px; }
  .done-bulb .ic { width: 26px; height: 26px; }
  .done-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .previews { grid-template-columns: 1fr; }
  .final-grid { padding: 30px 22px; border-radius: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .nav .btn-sm { padding: 0 0.85em; font-size: 0.9rem; }
  .brand-word em { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; }
  .is-on .room-lit { transition: --r 1ms; }
  .room-lit { transition: opacity 400ms ease !important; }
  .dark-start .room-lit { opacity: 0; --r: 260vmax; }
  .svc-frame figure, .pw, .pw-img, .lever, .brk-handle { transition-duration: 200ms !important; }
  .problem.in-view .sign-bulb { animation: none !important; }
}

/* ---------- capture mode (?shot=1) ---------- */
.shot *, .shot *::before, .shot *::after { transition: none !important; }
.shot .switch::before { display: none; }
.shot .sweep, .shot .night { display: none; }
.shot.is-on .ch::after, .shot .room-lit { animation: none !important; }
.shot .ch::after { opacity: 1; }
