/* Ampline Electric (concept). Bella, 2026-11-05.
   Graphite panel steel + one filament accent. Thin lines, mono labels, a live wire that powers each section on.
   Radius system: 2px on everything (sheet steel, not bubbles). Pills: none.
   z-index scale: 1 media layers, 2 copy, 20 header, 30 cta bar + chat, 40 dialog, 50 grain. */

@font-face { font-family: "Funnel Display"; src: url("fonts/funnel-display.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("fonts/permanent-marker.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Funnel Fallback"; src: local("Arial"); size-adjust: 96%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 94%; descent-override: 24%; }

:root {
  --bg: #0e1114;      /* panel steel, night */
  --bg-2: #141a1e;
  --bg-3: #1b2227;
  --line: rgba(237, 233, 225, .12);
  --line-2: rgba(237, 233, 225, .22);
  --ink: #ede9e1;
  --muted: #a7aeb4;   /* 8.4:1 on --bg */
  --amp: #f4b451;     /* filament: the one accent (10.6:1 on --bg) */
  --amp-ink: #17120a; /* label on the accent, 10.4:1 */
  --amp-dim: rgba(244, 180, 81, .16);
  --r: 2px;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --display: "Funnel Display", "Funnel Fallback", Arial, sans-serif;
  --body: "Geist", "Geist Fallback", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; scroll-padding-bottom: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; } /* Blake 2026-11-05: no one-word last lines (hero sub ended on "one.") */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: clamp(21px, 2vw, 25px); letter-spacing: -.015em; line-height: 1.15; }
.ln { display: block; }
:focus-visible { outline: 2px solid var(--amp); outline-offset: 3px; border-radius: var(--r); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--amp); color: var(--amp-ink); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }

/* grain: fixed and pointer-free, never on a scrolling layer */
body::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r);
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .3s; }
.btn:active { transform: scale(.98); }
.btn-amp { background: var(--amp); color: var(--amp-ink); box-shadow: 0 0 0 0 rgba(244, 180, 81, 0); }
.btn-amp:hover { background: #f7c46e; box-shadow: 0 10px 34px -12px rgba(244, 180, 81, .7); }
.btn-amp .i { transition: transform .25s var(--ease); }
.btn-amp:hover .i { transform: translateX(3px); }
.btn-line { background: rgba(14, 17, 20, .5); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--amp); }
.call-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--ink); text-decoration: none; font-weight: 500; }
.call-link span { font-family: var(--mono); font-size: 15px; margin-left: .4em; border-bottom: 1px solid var(--amp); padding-bottom: 2px; transition: color .2s; }
.call-link:hover span { color: var(--amp); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* ---------- concept ribbon + header ---------- */
.ribbon { background: #1a1a14; border-bottom: 1px solid var(--line); font-size: 14px; position: relative; z-index: 21; }
.ribbon .wrap { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.ribbon p { margin: 0; color: var(--ink); }
.ribbon a { color: var(--amp); min-height: 24px; display: inline-flex; align-items: center; }
.head { position: sticky; top: 0; z-index: 20; background: rgba(14, 17, 20, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; min-height: 44px; }
.brand svg { width: 38px; height: 22px; overflow: visible; }
.brand .bend { stroke-dasharray: 60; stroke-dashoffset: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; text-decoration: none; color: var(--muted); font-size: 15px; border-radius: var(--r); transition: color .2s; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amp); }
.nav a[href="book.html"]:not([aria-current]) { display: none; } /* Blake 2026-11-05: the amber button beside it is the one "Get an estimate" in the header */
.head-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--mono); font-size: 14px; color: var(--ink); min-height: 44px; }
.head-call .i { color: var(--amp); width: 18px; height: 18px; }
.head .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 88px var(--gut) 32px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--display); font-size: 30px; font-weight: 700; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu .close { position: absolute; top: 14px; right: var(--gut); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--r); cursor: pointer; }
@media (max-width: 1023px) { .nav, .head-call { display: none; } .menu-btn { display: inline-flex; margin-left: 0; } .head .btn { margin-left: auto; } }
@media (max-width: 479px) { .head .btn { display: none; } .menu-btn { margin-left: auto; } }

/* ---------- the wire: each section powers on as it enters ---------- */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.wire { position: absolute; left: max(8px, calc((100vw - var(--wrap)) / 2 - 14px)); top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.wire::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--amp), rgba(244, 180, 81, .45)); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease); box-shadow: 0 0 12px rgba(244, 180, 81, .5); }
.on > .wire::after { transform: scaleY(1); }
.tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sw { position: relative; width: 12px; height: 20px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); flex: none; }
.sw::after { content: ""; position: absolute; left: 2px; right: 2px; height: 7px; top: 9px; border-radius: 1px; background: var(--muted); transition: transform .45s var(--ease) .25s, background-color .3s .25s, box-shadow .3s .25s; }
.on .sw::after, .sw.is-on::after { transform: translateY(-7px); background: var(--amp); box-shadow: 0 0 10px rgba(244, 180, 81, .8); }
.on .tag { color: var(--ink); transition: color .4s .3s; }
/* Blake 2026-11-05 v2: four eyebrows are now the switch glyph alone, set beside the headline */
.hrow { display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 22px); }
.hrow > h2 { margin-bottom: .5em; min-width: 0; }
.sw.sw-h { width: 16px; height: 28px; margin-top: .32em; }
.sw.sw-h::after { height: 10px; top: 13px; left: 2px; right: 2px; }
.on .sw.sw-h::after { transform: translateY(-10px); }
.faq-head .hrow > h2 { margin-bottom: 0; }
@media (max-width: 767px) { .sw.sw-h { width: 13px; height: 23px; margin-top: .22em; } .sw.sw-h::after { height: 8px; top: 11px; } .on .sw.sw-h::after { transform: translateY(-8px); } }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.price { font: 500 14px/1.45 var(--mono); color: var(--amp); }
.fine { font-size: 14px; color: var(--muted); }
.demo-note { display: block; font-style: italic; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* entrances (varied per section; all transform/opacity) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.js [data-reveal="mask"].in, .js .on [data-reveal="mask"] { clip-path: inset(0 0 0 0); }

/* ---------- hero: the house, lights coming on ---------- */
.hero { position: relative; min-height: min(100svh - 104px, 900px); min-height: max(560px, min(calc(100svh - 104px), 900px)); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.house { position: absolute; inset: 0; z-index: 1; }
.house img, .house .glow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.house .glow { opacity: 0; transition: opacity 1.3s var(--ease); }
.house .glow.lit { opacity: 1; }
.house .glow.blink { animation: blink 1.3s steps(1) forwards; }
@keyframes blink { 0% { opacity: 0 } 8% { opacity: .7 } 14% { opacity: .1 } 22% { opacity: 1 } 100% { opacity: 1 } }
.hero .house::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14, 17, 20, .92) 0%, rgba(14, 17, 20, .72) 32%, rgba(14, 17, 20, 0) 62%),
  linear-gradient(0deg, rgba(14, 17, 20, .95) 0%, rgba(14, 17, 20, 0) 38%); }
@media (min-width: 900px) { .hero .house { left: 24%; } .hero .house img, .hero .house .glow { object-position: 50% 50%; } .hero .house::after { background: linear-gradient(90deg, rgba(14, 17, 20, 1) 0%, rgba(14, 17, 20, .55) 16%, rgba(14, 17, 20, 0) 40%), linear-gradient(0deg, rgba(14, 17, 20, .95) 0%, rgba(14, 17, 20, 0) 34%); } .hero { background: var(--bg); } }
.hero-copy { position: relative; z-index: 2; padding-top: 72px; padding-bottom: clamp(40px, 7vw, 88px); }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .96; letter-spacing: -.04em; margin-bottom: 24px; }
.hero h1 .ln:last-child { color: var(--amp); }
.hero .sub { max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); color: #d5d1ca; margin-bottom: 30px; }
.hero .tag { color: var(--ink); }
.js .hero .h-in { opacity: 0; transform: translateY(22px); animation: hin 1s var(--ease) forwards; animation-delay: calc(.25s + var(--d, 0) * .12s); }
@keyframes hin { to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .hero { min-height: auto; display: block; }
  .house { position: relative; inset: auto; aspect-ratio: 4 / 3.4; }
  .house img, .house .glow { object-position: 50% 45%; }
  .hero .house::after { background: linear-gradient(0deg, rgba(14, 17, 20, 1) 0%, rgba(14, 17, 20, 0) 45%); }
  .hero-copy { padding-top: 0; margin-top: -64px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
}

/* trust strip: three breakers that flip on under the hero */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.strip li { display: flex; align-items: center; gap: 16px; padding: 22px var(--gut); font: 500 13px/1.35 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.strip li + li { border-left: 1px solid var(--line); }
.strip .sw { width: 14px; height: 24px; }
.strip .sw::after { top: 11px; height: 8px; }
.strip.on .sw::after { transform: translateY(-9px); }
.strip.on li:nth-child(2) .sw::after { transition-delay: .55s; }
.strip.on li:nth-child(3) .sw::after { transition-delay: .85s; }
@media (max-width: 767px) { .strip ul { grid-template-columns: 1fr; } .strip li { padding: 16px var(--gut); } .strip li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- tiles: pick what's going on ---------- */
.tiles { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 44px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); isolation: isolate; text-decoration: none; }
.tile.t1 { grid-row: 1 / 3; min-height: 620px; }
.tile.t2 { grid-column: 2 / 4; }
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile img { filter: brightness(.55) saturate(.6); transform: scale(1.02); transition: filter .6s var(--ease), transform 1.2s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 17, 20, .96) 8%, rgba(14, 17, 20, .55) 46%, rgba(14, 17, 20, .05) 100%); }
.tile-body { padding: 26px 26px 24px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: #cfcbc4; margin-bottom: 14px; max-width: 40ch; }
.tile .price { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.tile .go { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); flex: none; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.tile .sw { position: absolute; top: 20px; right: 20px; }
.tile:hover img, .tile:focus-visible img { filter: brightness(.95) saturate(1); transform: scale(1.06); }
.tile:hover .sw::after, .tile:focus-visible .sw::after { transform: translateY(-7px); background: var(--amp); box-shadow: 0 0 10px rgba(244, 180, 81, .8); transition-delay: 0s; }
.tile:hover .go, .tile:focus-visible .go { background: var(--amp); color: var(--amp-ink); border-color: var(--amp); transform: translateX(2px); }
.tile:focus-visible { outline-offset: 4px; }
@media (max-width: 1023px) { .tiles { grid-template-columns: 1fr 1fr; } .tile.t1 { grid-row: auto; grid-column: 1 / 3; min-height: 420px; } .tile.t2 { grid-column: 1 / 3; } }
@media (max-width: 639px) { .tiles { grid-template-columns: 1fr; } .tile.t1, .tile.t2 { grid-column: auto; } .tile, .tile.t1 { min-height: 340px; } .tile-body { padding: 22px 20px 20px; } }
.under { margin-top: 22px; }

/* ---------- how a visit goes: a wire with three terminals ---------- */
.visit { background: radial-gradient(80% 60% at 85% 0%, rgba(244, 180, 81, .07), transparent 70%), var(--bg); }
.terminals { list-style: none; margin: 56px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; counter-reset: t; }
.terminals::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line-2); }
.terminals::after { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--amp); box-shadow: 0 0 10px rgba(244, 180, 81, .7); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .3s; }
.on .terminals::after { transform: scaleX(1); }
.terminals li { position: relative; padding-top: 52px; counter-increment: t; }
.terminals li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); font: 500 13px/1 var(--mono); color: var(--muted); transition: border-color .4s, color .4s, box-shadow .4s; }
.on .terminals li::before { border-color: var(--amp); color: var(--amp); box-shadow: 0 0 0 4px var(--amp-dim); }
.on .terminals li:nth-child(1)::before { transition-delay: .4s; } .on .terminals li:nth-child(2)::before { transition-delay: 1s; } .on .terminals li:nth-child(3)::before { transition-delay: 1.6s; }
.terminals h3 { margin-bottom: 10px; }
.terminals p { color: var(--muted); max-width: 34ch; }
@media (max-width: 767px) {
  .terminals { grid-template-columns: 1fr; gap: 28px; margin: 40px 0 32px; padding-left: 50px; }
  .terminals::before, .terminals::after { left: 13px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .terminals::after { transform-origin: top; transform: scaleY(0); }
  .on .terminals::after { transform: scaleY(1); }
  .terminals li { padding-top: 0; }
  .terminals li::before { left: -50px; }
}

/* ---------- safety + before/after panel ---------- */
.safety-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.signs { list-style: none; padding: 0; margin: 26px 0 22px; display: grid; gap: 0; }
.signs li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.signs li:last-child { border-bottom: 1px solid var(--line); }
.signs .i { color: var(--amp); width: 18px; height: 18px; margin-top: 4px; }
.e911 { font-weight: 600; margin: 0 0 24px; }
.after-hours { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 26px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: #d8d4cd; font-size: 16px; }
.after-hours .i { color: var(--amp); margin-top: 3px; }
.after-hours p { margin: 0; }
.compare { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); --pos: 50%; background: var(--bg-2); }
.compare picture, .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); } /* Tess 2026-11-05: full-frame box so the clip (and lazy load) work */
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--amp); box-shadow: 0 0 14px rgba(244, 180, 81, .8); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: var(--r); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b451' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; border: 1px solid var(--amp); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(input:focus-visible) { outline: 2px solid var(--amp); outline-offset: 3px; }
.compare .lab { position: absolute; bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: rgba(14, 17, 20, .82); padding: 8px 10px; border-radius: var(--r); pointer-events: none; }
.compare .lab.l { left: 14px; } .compare .lab.r { right: 14px; }
.compare-cap { margin-top: 12px; }
@media (max-width: 899px) { .safety-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .safety-grid { align-items: start; } .safety-grid > :last-child { position: sticky; top: 108px; } }

/* ---------- EV band: full-bleed photo, copy on the dark side ---------- */
.ev { padding: 0; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.ev .bg { position: absolute; inset: 0; z-index: -1; }
.ev .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.ev.on .bg img { transform: scale(1); }
.ev .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 20, .97) 0%, rgba(14, 17, 20, .86) 38%, rgba(14, 17, 20, .1) 75%); }
.ev .wrap { padding-top: 110px; padding-bottom: 110px; }
.ev-copy { max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { color: var(--amp); margin-top: 3px; }
@media (max-width: 767px) {
  .ev { display: block; min-height: 0; }
  .ev .bg { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .ev .bg::after { background: linear-gradient(0deg, rgba(14, 17, 20, 1) 2%, rgba(14, 17, 20, 0) 50%); }
  .ev .wrap { padding-top: 8px; padding-bottom: 80px; }
}

/* ---------- generators: two unequal cards ---------- */
.gen-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; margin-top: 44px; }
.gen-card { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; background: var(--bg-2); overflow: hidden; isolation: isolate; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.gen-card.a { background:
  repeating-linear-gradient(90deg, transparent 0 23px, rgba(237, 233, 225, .045) 23px 24px),
  radial-gradient(70% 60% at 20% 0%, rgba(244, 180, 81, .12), transparent 70%), var(--bg-2); }
.gen-card.a .plug { position: absolute; top: 28px; left: 30px; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; color: var(--amp); }
.gen-card.a .plug .i { width: 28px; height: 28px; }
.gen-card.b picture, .gen-card.b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gen-card.b::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 17, 20, .97) 10%, rgba(14, 17, 20, .5) 55%, rgba(14, 17, 20, .1)); }
.gen-card p { color: #cfcbc4; max-width: 46ch; }
.gen-card .price { margin: 0; }
.backfeed { margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--amp); max-width: 70ch; color: #d8d4cd; }
@media (max-width: 767px) { .gen-grid { grid-template-columns: 1fr; } .gen-card { min-height: 0; padding: 24px 20px; } .gen-card.a { padding-top: 104px; } .gen-card.b { min-height: 420px; } }

/* ---------- sample reviews: staggered ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; align-items: start; }
.rv { margin: 0; padding-top: 22px; border-top: 1px solid var(--line-2); }
.rv:nth-child(2) { margin-top: 56px; } .rv:nth-child(3) { margin-top: 112px; }
.rv p { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.35; letter-spacing: -.01em; }
.rv footer { font: 400 13px/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; }
.rv-label { display: inline-block; padding: 8px 12px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: 14px; margin: 0; }
@media (max-width: 899px) { .reviews-grid { grid-template-columns: 1fr; } .rv:nth-child(2), .rv:nth-child(3) { margin-top: 0; } }

/* ---------- FAQ: sticky headline, list on the right ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.01em; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--amp); transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 62ch; padding-bottom: 8px; }
.faq summary:hover { color: var(--amp); }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* ---------- final band: the house + the breaker panel (signature) ---------- */
.final { padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(60% 70% at 75% 40%, rgba(244, 180, 81, .06), transparent 70%), var(--bg); }
.final-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.final .lede { margin-bottom: 28px; }
.final h2 { font-size: clamp(34px, 3.8vw, 52px); }
.meta { display: grid; gap: 8px; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.rig { position: relative; }
.rig .house { position: relative; inset: auto; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.rig .house img, .rig .house .glow { object-position: 50% 52%; }
.rig .house::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(8, 10, 12, .85); pointer-events: none; }
.panel { position: absolute; right: -18px; bottom: -40px; width: 272px; padding: 18px 16px 16px; background: linear-gradient(180deg, #252c32, #1a2025); border: 1px solid #39424a; border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); z-index: 3; }
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.brk { width: 100%; min-height: 55px; display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: center; padding: 7px 10px; background: #11161a; border: 1px solid #2b333a; border-radius: var(--r); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .25s; }
.brk:hover { border-color: var(--line-2); }
.brk .k { position: relative; width: 18px; height: 34px; border-radius: 1px; background: #0a0d10; border: 1px solid #333c44; }
.brk .k::after { content: ""; position: absolute; left: 1px; right: 1px; top: 17px; height: 14px; border-radius: 1px; background: #5b646c; transition: transform .25s var(--ease), background-color .2s, box-shadow .2s; }
.brk[aria-checked="true"] .k::after { transform: translateY(-14px); background: var(--amp); box-shadow: 0 0 8px rgba(244, 180, 81, .8); }
.brk .m { white-space: nowrap; font: 400 17px/1.05 var(--marker); color: #e6e1d6; transform: rotate(-1.5deg); }
.brk:active .k::after { transition-duration: .1s; }
.main-brk { grid-column: 1 / 3; grid-template-columns: 16px 1fr auto; }
.main-brk .m { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transform: none; }
.load { font: 500 12px/1 var(--mono); color: var(--amp); }
@media (max-width: 899px) {
  .final-grid { grid-template-columns: 1fr; }
  .rig { order: -1; }
  .panel { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .panel ul { grid-template-columns: 1fr 1fr 1fr; }
  .main-brk { grid-column: 1 / 4; }
}
@media (max-width: 420px) { .panel ul { grid-template-columns: 1fr 1fr; } .main-brk { grid-column: 1 / 3; } }

/* ---------- Isaah's panel ---------- */
.isaah { padding: 0 0 clamp(80px, 10vw, 120px); }
.isaah-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 56px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-2); border-radius: var(--r); background: #e9e6df; color: #15181b; }
.isaah-card h2 { font-size: clamp(26px, 3vw, 36px); }
.isaah-card p { color: #2c3136; }
.isaah-label { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #15181b !important; margin-bottom: 18px; }
.isaah-label i { font-style: normal; display: grid; place-items: center; width: 30px; height: 30px; background: #15181b; color: #e9e6df; border-radius: var(--r); letter-spacing: 0; }
.isaah-card .own { font-weight: 600; }
.isaah-cta { align-self: end; }
.isaah-cta .btn { background: #15181b; color: #f2efe8; }
.isaah-cta .btn:hover { background: #2a3036; }
.isaah-cta .fine { color: #3b4147; margin-top: 14px; }
@media (max-width: 899px) { .isaah-card { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 120px; background: #0b0e10; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.foot h2 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot li a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; }
.foot li a:hover { color: var(--amp); }
.foot-brand p { color: var(--muted); max-width: 40ch; margin-top: 14px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--muted); }
.foot-base a { color: var(--ink); margin-left: 10px; display: inline-block; min-height: 24px; }
.foot .sign { font-family: var(--display); font-weight: 600; color: var(--ink); margin: 0; }
.credits { margin-top: 24px; color: var(--muted); font-size: 14px; }
.credits summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.credits ul { list-style: disc; padding-left: 20px; display: block; }
@media (max-width: 767px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- sticky bar (phones), chat, estimate dialog ---------- */
.cta-bar { display: none; }
@media (max-width: 767px) {
  .cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.6fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 17, 20, .94); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--ease); }
  .cta-bar.away { transform: translateY(110%); }
  .cta-bar .btn { min-width: 0; padding: 0 14px; }
  body { padding-bottom: 72px; }
}
.chat-btn { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink); font: 500 15px/1 var(--body); cursor: pointer; transition: opacity .3s, transform .3s var(--ease), border-color .2s; }
.chat-btn:hover { border-color: var(--amp); }
.chat-btn .i { color: var(--amp); }
.chat-btn.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }
/* Tess 2026-11-05 (WCAG 2.4.7): a keyboard user who tabs onto the hidden button sees it */
.chat-btn.is-hidden:focus, .chat-btn.is-hidden:focus-visible { opacity: 1; pointer-events: auto; transform: none; }
/* very narrow phones (320-359): tighter bar so all three buttons fit (Tess 2026-11-05) */
@media (max-width: 359px) {
  .cta-bar { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.9fr); gap: 6px; padding-left: 8px; padding-right: 8px; }
  .cta-bar .btn { padding: 0 10px; gap: 8px; font-size: 15px; }
}
/* phones: chat lives in the bar (Blake 2026-11-05 v2), no floating button over the copy */
.bar-chat { display: none; }
@media (max-width: 767px) { .chat-btn { display: none; } .cta-bar .bar-chat { display: inline-flex; width: 48px; min-width: 48px; padding: 0; justify-content: center; } .bar-chat .i { color: var(--amp); margin: 0; } }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: min(380px, calc(100vw - 24px)); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8); display: flex; flex-direction: column; max-height: min(520px, 80vh); }
.chat-panel[hidden] { display: none; }
@media (max-width: 767px) { .chat-panel { right: 12px; bottom: 84px; } }
.chat-panel header { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.chat-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.chat-log { padding: 16px 18px; overflow: auto; display: grid; gap: 10px; flex: 1; }
.msg { margin: 0; padding: 10px 12px; border-radius: var(--r); max-width: 88%; font-size: 15px; }
.msg.bot { background: var(--bg-3); }
.msg.me { background: var(--amp); color: var(--amp-ink); justify-self: end; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; }
.chat-note { margin: 0; padding: 0 18px 14px; font-size: 13px; color: var(--muted); }

/* form controls */
input[type=text], input[type=tel], input[type=email], textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: #0b0e10; color: var(--ink); border: 1px solid #4a535b; border-radius: var(--r); font: 400 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8f979e; }
input:focus, textarea:focus { outline: none; border-color: var(--amp); box-shadow: 0 0 0 3px var(--amp-dim); }
[aria-invalid="true"] { border-color: #ff8f7a !important; }
.est-form .field { display: grid; gap: 8px; margin-bottom: 18px; }
.est-form label, .est-form legend { font-weight: 600; font-size: 15px; }
.est-form .opt { font-weight: 400; color: var(--muted); }
.est-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.est-form legend { margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #4a535b; border-radius: var(--r); font-size: 15px; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip span:hover { border-color: var(--amp); }
.chip input:checked + span { background: var(--amp); color: var(--amp-ink); border-color: var(--amp); }
.chip input:focus-visible + span { outline: 2px solid var(--amp); outline-offset: 2px; }
.field-err { color: #ffb0a0; font-size: 14px; margin: 0; min-height: 0; }
.field-err:empty { display: none; }
.safe-line { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.form-error { color: #ffb0a0; font-weight: 600; }
.form-success { padding: 18px; border: 1px solid var(--amp); border-radius: var(--r); background: var(--amp-dim); }
.form-success p { margin-bottom: 12px; }
.est-form .send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
dialog.est { width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
dialog.est::backdrop { background: rgba(6, 8, 10, .72); backdrop-filter: blur(4px); }
dialog.est[open] { animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px); } }
.est-inner { padding: clamp(22px, 4vw, 36px); }
.est-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.est-top h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 6px; }
.est-close { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); cursor: pointer; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .bg img, .page-hero .bg video { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 17, 20, .98) 0%, rgba(14, 17, 20, .8) 45%, rgba(14, 17, 20, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.04em; max-width: 16ch; }
.page-hero h1 .ln:last-child { color: var(--amp); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); text-decoration: none; font-size: 15px; background: rgba(14, 17, 20, .5); transition: border-color .2s, color .2s; }
.jump a:hover { border-color: var(--amp); color: var(--amp); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.svc .price { font-size: 15px; margin-bottom: 18px; }
.svc .checks h3 { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.svc .checks ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.svc .checks li { display: flex; gap: 10px; }
.svc .checks .i { color: var(--amp); margin-top: 3px; width: 18px; height: 18px; }
.permit { padding: 14px 16px; border-left: 2px solid var(--amp); background: var(--bg-2); margin: 0 0 22px; }
.permit b { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--amp); margin-right: 8px; }
.svc-media { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc .compare { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .svc { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.plain-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.plain-list li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.plain-list li .i { color: var(--amp); margin-top: 3px; width: 18px; height: 18px; }
.box { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.steps-v { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: s; display: grid; gap: 22px; }
.steps-v li { position: relative; padding-left: 52px; counter-increment: s; }
.steps-v li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--amp); border-radius: 50%; font: 500 13px/1 var(--mono); color: var(--amp); }
.steps-v b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.01em; margin-bottom: 4px; }
.steps-v p { color: var(--muted); margin: 0; }
.slots { display: grid; gap: 10px; margin-top: 18px; }
.slots li { list-style: none; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--r); color: #d8d4cd; }
.slots .i { color: var(--amp); flex: none; }
/* unproven-claim slots: dashed hatch box + mono proof tag (same pattern as Sturdy's .slot/.proof-tag) */
.slots li.slot, .faq details p.slot { background: repeating-linear-gradient(135deg, rgba(244, 180, 81, .045) 0 10px, transparent 10px 20px); }
.faq details p.slot { padding: 14px 16px; margin-bottom: 18px; border: 1px dashed var(--line-2); border-radius: var(--r); color: #d8d4cd; }
.proof-tag { display: inline-block; margin-left: 6px; padding: 4px 8px; border: 1px dashed var(--amp); border-radius: var(--r); font: 500 12px/1.2 var(--mono); letter-spacing: .08em; color: var(--amp); white-space: nowrap; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .two-col, .book-grid { grid-template-columns: 1fr; } }

/* tiers + reduced motion: still, complete, instant */
[data-tier="static"] .wire::after, [data-tier="static"] .terminals::after { transition: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero .h-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Isaah panel v2 (2026-11-05): secondary link and concept note */
.isaah-more{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:1px}
.isaah-more:hover{text-decoration-thickness:2px}
.isaah-note{font-size:.875rem}

/* ---------- mobile pass 2026-11-14 (Tess audit concepts-b, Bella) ---------- */
/* A1: on phones the bar waits until the hero's own buttons leave the screen */
@media (max-width: 767px) { .cta-bar.pre { transform: translateY(110%); } .hero-copy { padding-bottom: calc(40px + env(safe-area-inset-bottom)); } }
/* A2: 44 px tap targets for small links (padding and line boxes, same type size) */
.ribbon .wrap { padding-top: 2px; padding-bottom: 2px; }
.ribbon a, .foot li a, .foot-base a { min-height: 44px; display: inline-flex; align-items: center; }
.foot ul { gap: 0; }
.head .btn { min-height: 44px; }
/* A4: 12 px floor for labels */
.panel-top { font-size: 12px; }
/* A3: short landscape phones. A slimmer header and a compact chat pill */
@media (max-height: 500px) and (orientation: landscape) {
  html { scroll-padding-top: 64px; }
  .head .wrap { height: 54px; }
  .mobile-menu { padding-top: 64px; overflow: auto; }
  .mobile-menu .close { top: 5px; }
  .chat-btn { right: 12px; bottom: 12px; min-height: 44px; padding: 0 12px; }
  .chat-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-panel { bottom: 12px; max-height: calc(100dvh - 24px); }
}
