/* ==========================================================================
   Pro Air Solutions — When comfort breaks down.
   Every colour comes from css/tokens.css. No raw colour values below.
   Cool accent = cooling / diagnostics / focus. Warm accent = heating / actions.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; font-family: var(--font-body); font-size: clamp(16px, 1.02vw, 18px); line-height: 1.55;
  color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, dt, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -0.01em; font-stretch: 100%; }
::selection { background: var(--color-accent); color: var(--color-on-accent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; padding: 10px 16px; background: var(--color-text); color: var(--color-bg); transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

.mono { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.label { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.label span { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding-inline: 6px; border: 1px solid currentColor; font-size: 0.66rem; }

/* display type: expanded heavy grotesk, uppercase */
.display, .pproblem__lines, .pproblem__answer, .engineering__title, .cta__title, .menu__nav a, .hero__back, .footer__word, .reviews__title {
  font-family: var(--font-display); font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.025em;
}
.display { font-size: clamp(3.2rem, 9.6vw, 11.5rem); line-height: 0.84; }

/* split-line reveal */
.line { display: block; }
.js [data-split-lines] .line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.js [data-split-lines] .line > span { display: inline-block; }
/* the build wraps images in <picture> for their AVIF version: it adds no box of its own */
picture { display: contents; }
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; font-size: 0.98rem; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--color-cta); color: var(--color-on-accent); }
.btn--primary::before { background: var(--color-cta-hover); }
.btn--primary:hover, .btn--primary:focus-visible { box-shadow: var(--glow-cta); }
.btn--ghost { border-color: var(--color-border-strong); color: var(--color-text); }
.btn--ghost::before { background: var(--color-text); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--color-bg); border-color: var(--color-text); }
.btn--small { --h: 40px; padding: 0 18px; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 72px; padding-inline: var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  color: var(--color-text); transition: transform .7s var(--ease), color .5s var(--ease), backdrop-filter .2s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: color-mix(in srgb, var(--color-bg) 72%, transparent); border-bottom: 1px solid var(--color-border);
  transition: opacity .2s var(--ease), background-color .5s var(--ease); /* quick, so the page never shows through the half-faded bar */
}
.nav.is-scrolled::before { opacity: 1; }
/* the blur sits on the header itself, not on ::before: the header carries a
   view-transition-name (page crossfade), which makes it a backdrop root, and a
   blur inside it would only see the header, not the page scrolling beneath */
.nav.is-scrolled { backdrop-filter: blur(16px) saturate(140%); }
.nav.is-hidden { transform: translateY(-100%); }
/* with the menu open the header is solid, so menu items scrolling under it never show through */
.nav.is-menu-open::before { opacity: 1; background: var(--color-bg); }
.nav.is-light { color: var(--color-inverse-text); }
.nav.is-light::before { background: color-mix(in srgb, var(--color-inverse-bg) 82%, transparent); border-bottom-color: var(--color-inverse-border); }
.nav__logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo-mark { width: auto; height: 40px; flex: none; }
.logo-word { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; }
.logo-word span { font-weight: 400; opacity: 0.75; }
.nav__chapter { display: flex; gap: 12px; align-items: center; color: var(--color-text-muted); }
.nav.is-light .nav__chapter { color: var(--color-inverse-muted); }
.nav__chapter [data-chapter-n] { color: var(--color-accent); }
.nav.is-light .nav__chapter [data-chapter-n] { color: var(--color-inverse-text); }
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; white-space: nowrap; }
.nav__cta { white-space: nowrap; }
.nav__phone svg { width: 18px; height: 18px; color: var(--color-accent); }
.nav.is-light .nav__phone svg { color: var(--color-inverse-text); }
.nav__phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.nav__menu { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border: 1px solid var(--color-border-strong); }
.nav.is-light .nav__menu { border-color: var(--color-inverse-border); }
.nav__menu-icon { position: relative; width: 18px; height: 10px; }
.nav__menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__menu-icon i:first-child { top: 0; }
.nav__menu-icon i:last-child { top: 8px; }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:first-child { top: 4px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__menu-icon i:last-child { top: 4px; transform: rotate(-45deg); }

/* Full-screen menu. Sized to the visible viewport (dvh, with a vh fallback) rather than
   pinned to inset: 0, so iOS Safari's toolbar never covers its bottom; the bottom padding
   clears the home indicator, and the panel scrolls when its content is taller. */
.menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: var(--color-bg); color: var(--color-text);
  height: 100vh; height: 100dvh;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 6vw;
  padding: 120px var(--pad) calc(48px + env(safe-area-inset-bottom, 0px));
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--color-border); }
.menu__nav a { display: flex; align-items: baseline; gap: 20px; padding: 0.12em 0; border-bottom: 1px solid var(--color-border); font-size: clamp(2.2rem, 5.4vw, 5.6rem); line-height: 1.02; transition: color .4s var(--ease), padding .6s var(--ease); }
.menu__nav a span { font-size: 0.7rem; color: var(--color-text-subtle); transform: translateY(-1.4em); }
.menu__nav a:hover, .menu__nav a:focus-visible { color: var(--color-accent); padding-left: 0.3em; }
.menu__side { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; color: var(--color-text-muted); }
.menu__call { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--color-text); }
.menu__call svg { width: 28px; height: 28px; color: var(--color-accent); }
.menu__side .btn { align-self: flex-start; margin-bottom: 10px; }
.menu__dock { display: flex; flex-direction: column; gap: 14px; }

/* ---------- 01 Hero ----------
   Grid layout: the 3D model has its own stage cell, so it can never sit on
   top of the headline, the serif line or the copy. */
.hero { position: relative; height: 230vh; background: var(--color-bg); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__light {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 70% at 72% -6%, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 72%),
    radial-gradient(28% 22% at 72% 86%, color-mix(in srgb, var(--color-accent) 12%, transparent), transparent 70%),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 62%);
}
.hero__light::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--color-text) 4%, transparent) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--pad)) / 12) 100%; background-position: var(--pad) 0;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__grid {
  --hero-out: 0; position: relative; z-index: 1; height: 100%; padding: 120px var(--pad) 0;
  display: grid; column-gap: 4vw;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  /* free height splits above "breaks down." and above the facts, so the
     left column reads top / middle / bottom instead of ending in a gap */
  grid-template-rows: auto minmax(0, 0.55fr) auto minmax(0, 1fr) auto;
  grid-template-areas: "title title" "front stage" "aside stage" "facts stage" "rail rail";
}
.hero__title { display: contents; }
.hero__back { grid-area: title; display: flex; flex-wrap: wrap; column-gap: 0.26em; font-size: 8vw; line-height: 0.86; letter-spacing: -0.035em; color: var(--color-text); }
.hero__word { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__word > span { display: inline-block; }
.hero__word--r { color: var(--color-text-muted); }
.hero__front {
  grid-area: front; align-self: end; display: block; overflow: hidden; margin-top: 2vh;
  font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 6.2vw; line-height: 0.98; letter-spacing: -0.02em;
  color: var(--color-text); text-transform: none; padding-right: 0.1em;
}
.hero__front > span { display: inline-block; }
.hero__aside { grid-area: aside; align-self: start; display: grid; gap: 22px; max-width: 470px; padding-top: 3.2vh; }
.hero__lede { font-size: clamp(1.05rem, 1.3vw, 1.3rem); line-height: 1.45; color: var(--color-text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
/* scroll fade on desktop: main.js eases --hero-out from 0 to 1 */
[data-hero-ui] { opacity: calc(1 - var(--hero-out, 0)); translate: 0 calc(var(--hero-out, 0) * 30px); }
.hero__stage { grid-area: stage; position: relative; min-height: 0; margin: 1vh 0 2vh; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* soft edges: the floor and light dissolve instead of ending at the cell border */
.hero__poster, .hero__canvas {
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 70%, transparent);
  mask-composite: intersect;
}
.hero__poster { object-fit: contain; transition: opacity 0.8s var(--ease); pointer-events: none; }
.hero.is-live .hero__poster { opacity: 0; }
.hero__canvas { opacity: 0; transition: opacity 1s var(--ease); }
.hero__canvas.is-ready { opacity: 1; }
.no-webgl .hero__canvas { display: none; }
[data-theme="cool"] [data-only="heat"], [data-theme="heat"] [data-only="cool"] { display: none; }
.hero__status {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2;
  padding: 8px 12px; color: var(--color-accent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); background: var(--color-scrim); backdrop-filter: blur(6px); white-space: nowrap;
}
.hero__status span { display: flex; align-items: center; gap: 10px; }
.hero__status svg { width: 15px; height: 15px; flex: none; }
.hero__facts { grid-area: facts; align-self: end; margin: 2vh 0 18px; padding: 11px 0; border-block: 1px solid var(--color-border); color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.4; }
.hero__facts a { color: var(--color-text); }
.hero__facts a:hover { color: var(--color-accent); }
.hero__rail { grid-area: rail; height: 56px; display: flex; align-items: center; gap: 32px; border-top: 1px solid var(--color-border); color: var(--color-text-muted); }
.hero__fig { color: var(--color-text-subtle); }
.hero__scroll { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; color: var(--color-text); }
.hero__scroll i { position: relative; width: 1px; height: 22px; background: var(--color-border); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; width: 1px; height: 10px; background: var(--color-accent); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-12px); } 70%, 100% { transform: translateY(26px); } }

/* ---------- Theme toggle (Cool / Heat) ---------- */
.theme-toggle { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 6px; border: 1px solid var(--color-border-strong); color: var(--color-text); }
.theme-toggle__track { position: relative; display: flex; align-items: center; justify-content: space-between; width: 58px; height: 28px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--color-surface-2); }
.theme-toggle__track svg { position: relative; z-index: 1; width: 16px; height: 16px; color: var(--color-text-muted); transition: color var(--theme-dur) var(--ease-io); }
.theme-toggle__thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-accent); box-shadow: var(--glow); transition: transform var(--theme-dur) var(--ease-io); }
:root[data-theme="heat"] .theme-toggle__thumb { transform: translateX(30px); }
:root[data-theme="cool"] .theme-toggle .ti--cool, :root[data-theme="heat"] .theme-toggle .ti--heat { color: var(--color-on-accent); }
.theme-toggle__label { min-width: 2.6em; text-align: left; }
.nav.is-light .theme-toggle { border-color: var(--color-inverse-border); color: var(--color-inverse-text); }
.menu__theme { align-self: flex-start; }

/* ---------- 03 Services ---------- */
.services { position: relative; background: var(--color-bg); }
.services__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: end; gap: 32px 48px; padding: 22vh var(--pad) 16vh; }
.services__intro .label { grid-column: 1 / -1; }
.services__intro .display em { color: var(--color-accent); }
.services__lede { color: var(--color-text-muted); font-size: 1.1rem; padding-bottom: 1.2vw; }
/* ---------- 04 Diagnostics ---------- */
.engineering { position: relative; height: 150vh; background: var(--color-bg); }
.engineering__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(56% 60% at 50% 56%, var(--color-surface-2) 0%, var(--color-bg) 70%); }
.engineering__word { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 0; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 19vw; line-height: 0.8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--color-text) 7%, transparent); }
.engineering__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .4s var(--ease); }
.engineering__canvas.is-ready { opacity: 1; }
/* recorded frames: the poster (always there first) and, on touch screens, the take-apart video */
.engineering__poster, .engineering__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .4s var(--ease); }
.engineering__poster:not([src]) { visibility: hidden; }
.engineering:has(.engineering__canvas.is-ready) .engineering__poster, .engineering.is-video .engineering__poster { opacity: 0; }
.no-webgl .engineering__canvas { display: none; }
.engineering__head { position: absolute; z-index: 4; top: 104px; left: var(--pad); display: grid; gap: 22px; }
.engineering__title { font-size: clamp(2.2rem, 4.2vw, 4.8rem); line-height: 0.9; }
.engineering__title em { color: var(--color-accent); }
.eng-photo { position: absolute; z-index: 4; top: 104px; right: var(--pad); width: clamp(150px, 12vw, 200px); }
.eng-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 55% 72%; }
.eng-photo figcaption { margin-top: 10px; color: var(--color-text-muted); font-size: 0.6rem; }
.eng-steps { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 60px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.eng-steps li { display: grid; gap: 8px; padding-top: 16px; border-top: 2px solid var(--color-border); opacity: 0.45; transition: opacity .7s var(--ease), border-color .7s var(--ease); }
.eng-steps li.is-active { opacity: 1; border-top-color: var(--color-accent); }
.eng-steps span { color: var(--color-accent); font-size: 0.8rem; }
.eng-steps h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; text-transform: uppercase; font-size: 1.02rem; letter-spacing: 0.01em; }
.eng-steps p { font-size: 0.88rem; color: var(--color-text-muted); max-width: 34ch; }
.eng-progress { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 28px; height: 1px; background: var(--color-border); }
.eng-progress span { position: absolute; inset: 0; background: var(--color-accent); transform-origin: left; transform: scaleX(0); }

.callouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.callout { position: absolute; left: 0; top: 0; display: flex; align-items: center; opacity: 0; transition: opacity .6s var(--ease); will-change: transform; }
.callout.is-on { opacity: 0.55; }
.callout.is-active { opacity: 1; }
.callout i { position: relative; width: 9px; height: 9px; margin-left: -4.5px; flex: none; border: 1px solid var(--color-accent); border-radius: 50%; background: var(--color-scrim); }
.callout i::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--color-accent); }
.callout.is-active i { box-shadow: var(--glow); }
.callout span { position: relative; margin-left: 76px; padding: 8px 12px; white-space: nowrap; font-size: 0.66rem; color: var(--color-text); background: var(--color-scrim); border: 1px solid var(--color-border); backdrop-filter: blur(6px); }
.callout.is-active span { border-color: var(--color-accent); }
.callout span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 72px; height: 1px; background: var(--color-accent); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease) .1s; }
.callout.is-on span::before { transform: scaleX(1); }
.callout b { color: var(--color-accent); margin-right: 10px; font-weight: 600; }
.callout--left { flex-direction: row-reverse; }
.callout--left i { margin-left: 0; margin-right: -4.5px; }
.callout--left span { margin-left: 0; margin-right: 76px; }
.callout--left span::before { right: auto; left: 100%; transform-origin: right; }

/* ---------- Surface sections (the inverse-* tokens remain available for light variants) ---------- */
.equipment { background: var(--color-surface); color: var(--color-text); }

/* ---------- Equipment (repair service page) ---------- */
.equipment { padding: 20vh 0 12vh; }
.equipment__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: end; gap: 32px 48px; padding: 0 var(--pad); margin-bottom: 9vh; }
.equipment__head .label { grid-column: 1 / -1; }
.equipment__head .display { font-size: clamp(2.6rem, 5.2vw, 6.6rem); }
.equipment__side { display: grid; gap: 28px; padding-bottom: 0.8vw; }
.equipment__intro { color: var(--color-text-muted); font-size: 1.1rem; }
/* licensed product photo on its original white, like the manufacturer's catalogue card */
.product-tile { display: grid; justify-items: center; gap: 18px; width: min(100%, 252px); margin: 0; padding: 30px 24px 26px; border-radius: 16px; background: var(--color-product-bg); border: 1px solid var(--color-inverse-border); color: var(--color-inverse-text); }
.product-tile img { width: 101px; height: auto; }
.product-tile figcaption { font-weight: 700; font-size: 1.15rem; }
.equip { display: flex; gap: 6px; height: 80vh; padding: 0 6px; }
.equip__item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; background: var(--color-surface-2); transition: flex-grow 1.1s var(--ease); }
.equip__item.is-active { flex-grow: 3.2; }
.equip__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.equip__item.is-active img { transform: none; }
.equip__item:focus-visible { outline-offset: -4px; }
.equip__label { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 22px 24px; color: var(--color-text); background: linear-gradient(0deg, color-mix(in srgb, var(--color-bg) 70%, transparent), transparent); }
.equip__label strong { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2.8rem); line-height: 0.95; white-space: nowrap; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.equip__item.is-active .equip__label strong { opacity: 1; transform: none; transition-delay: .25s; }
.equipment__note { margin: 40px var(--pad) 0; max-width: 92ch; color: var(--color-text-muted); font-size: 0.78rem; line-height: 1.6; }

.equipment__head .display em { color: var(--color-accent); }

/* ---------- 06 Our work: owner job photos in one sideways strip ---------- */
.work { background: var(--color-bg); padding: 16vh var(--pad) 8vh; }
.work__head { display: grid; gap: 24px; margin-bottom: 7vh; }
.work__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.6rem, 5.4vw, 6.4rem); line-height: 0.88; letter-spacing: -0.02em; }
.work__title em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; color: var(--color-accent); letter-spacing: -0.01em; }
/* ---------- 07 Reviews: excerpts from Google reviews ---------- */
.reviews { background: var(--color-bg); padding: 8vh var(--pad) 16vh; }
.reviews[hidden] { display: none; }
.reviews__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: 7vh; }
.reviews__head .label { grid-column: 1 / -1; }
.reviews__title { font-size: clamp(2.2rem, 4.6vw, 5rem); line-height: 0.9; }
.reviews__score { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 20px; border: 1px solid var(--color-border-strong); text-decoration: none; color: var(--color-text); transition: border-color .3s, background-color .3s; }
.reviews__score:hover { border-color: var(--color-accent); background: var(--color-accent-soft); }
.reviews__score strong { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.reviews__score .mono { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.reviews__score svg { width: 18px; height: 18px; color: var(--color-accent); }
.reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { display: grid; gap: 18px; align-content: start; padding: 28px; background: var(--color-surface); border: 1px solid var(--color-border); }
.review blockquote { margin: 0; }
.review p { color: var(--color-text); font-size: 1.15rem; line-height: 1.45; }
.review .mono { color: var(--color-text-subtle); }
.review__stars { color: var(--color-accent); letter-spacing: 0.12em; font-size: 1rem; }

/* ---------- 08 Service area: schematic Los Angeles map ---------- */
.area { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 5vw; align-items: center; padding: 16vh var(--pad); background: var(--color-surface); }
.area__copy { display: grid; gap: 28px; align-content: center; }
.area__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.6rem, 5.4vw, 6.4rem); line-height: 0.88; letter-spacing: -0.02em; }
.area__title em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; color: var(--color-accent); letter-spacing: -0.01em; }
.area-map { position: relative; margin: 0; border: 1px solid var(--color-border); background: var(--color-bg); overflow: hidden; }
.area-map__frame { position: relative; }
.area-map__svg { display: block; width: 100%; height: auto; aspect-ratio: 975 / 680; }
/* live Leaflet map (js/area-map.js) takes the schematic's place, same size */
.area-map.is-live .area-map__svg { visibility: hidden; }
.area-map__live { position: absolute; inset: 0; z-index: 1; background: var(--color-bg); font-family: var(--font-body); outline: none; }
.area-map__live .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.82) contrast(0.92) saturate(0.35); }
/* a touch of the theme in the street map */
[data-theme="cool"] .area-map__live .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(0.8) contrast(0.92) saturate(0.5) sepia(0.1); }
[data-theme="heat"] .area-map__live .leaflet-tile-pane { filter: invert(1) hue-rotate(160deg) brightness(0.8) contrast(0.92) saturate(0.35) sepia(0.25); }
.area-map__unlock {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--color-bg) 38%, transparent); color: var(--color-text);
  font-family: var(--font-body); font-size: clamp(1.3rem, 2.6vw, 2.4rem); font-weight: 500;
  opacity: 0; transition: opacity .35s var(--ease);
}
.area-map__unlock[hidden] { display: none; }
.area-map__unlock span { padding: 10px 18px; background: color-mix(in srgb, var(--color-bg) 55%, transparent); }
.area-map__unlock:hover, .area-map__unlock:focus-visible { opacity: 1; }
@media (hover: none) { .area-map__unlock { opacity: 1; background: transparent; align-items: end; padding-bottom: 14px; font-size: 1rem; } }
.area-map .leaflet-container { background: var(--color-bg); font-family: var(--font-body); }
.area-map .leaflet-control-zoom a { background: var(--color-surface-2); color: var(--color-text); border-color: var(--color-border); }
.area-map .leaflet-container .leaflet-control-attribution { background: color-mix(in srgb, var(--color-bg) 75%, transparent); color: var(--color-text-subtle); font-size: 10px; }
.area-map .leaflet-container .leaflet-control-attribution a { color: var(--color-text-muted); }
.area-map .area-tip { background: var(--color-surface-2); color: var(--color-text); border: 1px solid var(--color-border-strong); border-radius: 0; box-shadow: none; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.area-map .area-tip::before { display: none; }
/* our area names sit on a small backing, so the street map's own place names under them don't show through */
.area-map .area-tip--label { background: color-mix(in srgb, var(--color-bg) 82%, transparent); border: 0; padding: 1px 5px; color: var(--color-text); text-shadow: none; font-size: 11px; }
.area-map__grid { fill: none; stroke: var(--color-border); stroke-width: 1; opacity: 0.6; }
.area-map__roads path { fill: none; stroke: var(--color-text-subtle); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
html.js .area-map__roads path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-io); }
html.js .area-map.is-drawn .area-map__roads path { stroke-dashoffset: 0; }
.area-map__shields rect { fill: var(--color-surface-2); stroke: var(--color-border-strong); }
.area-map__shields text { fill: var(--color-text); font-family: var(--font-mono); font-size: 16px; font-weight: 700; text-anchor: middle; }
.area-map__zone { fill: color-mix(in srgb, var(--color-accent) 9%, transparent); stroke: var(--color-accent); stroke-width: 2; stroke-dasharray: 6 8; stroke-linejoin: round; }
.area-map__region { fill: color-mix(in srgb, var(--color-accent) 70%, var(--color-text-muted)); font-family: var(--font-serif); font-style: italic; font-size: 38px; text-anchor: middle; }
.area-map__place circle { fill: var(--color-accent); stroke: var(--color-bg); stroke-width: 2.5; }
.area-map__place text { fill: var(--color-text); font-family: var(--font-body); font-size: 17px; transition: fill .3s var(--ease); }
.area-map__place:hover text { fill: var(--color-text); }
.area-map__caption { padding: 12px 16px; border-top: 1px solid var(--color-border); color: var(--color-text-subtle); }

/* ---------- 11 FAQ: native <details> accordion ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 5vw; align-items: start; padding: 16vh var(--pad); background: var(--color-bg); }
.faq__head { display: grid; gap: 24px; justify-items: start; position: sticky; top: 14vh; }
.faq__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.6rem, 5.4vw, 6.4rem); line-height: 0.88; letter-spacing: -0.02em; }
.faq__title em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; color: var(--color-accent); letter-spacing: -0.01em; }
.faq__lede { max-width: 38ch; color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.5; }
.faq__list { border-top: 1px solid var(--color-border-strong); }
.faq__item { border-bottom: 1px solid var(--color-border); interpolate-size: allow-keywords; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.1rem, 1.55vw, 1.5rem); line-height: 1.2; color: var(--color-text);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover, .faq__item[open] summary { color: var(--color-accent); }
.faq__item summary:focus-visible { outline-offset: 4px; }
/* plus that turns into a minus */
.faq__item summary i { position: relative; flex: none; width: 22px; height: 22px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__item p { max-width: 62ch; padding: 0 0 28px; color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.6; }
/* smooth open/close where the browser supports animating details content */
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

.cta { position: relative; padding: 20vh var(--pad) 12vh; overflow: hidden; isolation: isolate; background: var(--color-bg); }
.cta__bg { position: absolute; inset: -8% 0; z-index: -1; }
/* the photo is stored already toned (grayscale .4, brightness .32, contrast 1.1 — _tools/bake-filter.mjs),
   so this large, moving layer needs no live filter */
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--color-bg) 0%, color-mix(in srgb, var(--color-bg) 30%, transparent) 30%, color-mix(in srgb, var(--color-bg) 70%, transparent) 70%, var(--color-bg) 100%); }
.cta__label { position: absolute; top: 104px; left: var(--pad); }
.cta__title { text-align: center; font-size: 13.4vw; line-height: 0.8; letter-spacing: -0.04em; }
.cta__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.cta__line > span { display: inline-block; }
.cta__line--em em { font-size: 1.12em; line-height: 0.8; color: var(--color-accent); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 6vw; align-items: end; margin-top: 10vh; }
.cta__contact { display: grid; gap: 32px; }
.cta__phone { display: grid; gap: 6px; }
.cta__phone .mono { color: var(--color-accent); }
.cta__phone strong { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.4rem, 5.4vw, 5.6rem); line-height: 0.9; letter-spacing: -0.02em; }
.cta__phone:hover strong { color: var(--color-accent); }
.cta__path { display: flex; flex-wrap: wrap; gap: 8px; counter-reset: path; }
.cta__path li { counter-increment: path; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--color-border); color: var(--color-text); }
.cta__path li::before { content: counter(path, decimal-leading-zero); color: var(--color-accent); }
.cta__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.cta__info dt { color: var(--color-text-muted); margin-bottom: 6px; }
.cta__info dd { overflow-wrap: anywhere; }
.cta__info a:hover { color: var(--color-accent); }

/* ---------- Request form (inline card + drawer) ---------- */
.rform { display: grid; gap: 18px; }
.rform--card { padding: clamp(24px, 3vw, 40px); background: var(--color-surface); border: 1px solid var(--color-border); border-top: 3px solid var(--color-cta); }
.rform__title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.6rem; letter-spacing: -0.01em; }
.rform__topic { color: var(--color-accent); }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }
.field i { color: var(--color-cta); font-style: normal; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--color-text); padding: 13px 14px;
  background: var(--color-bg); border: 1px solid var(--color-border-strong); border-radius: 0; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-subtle); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 25%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--color-error); }
.field__error { color: var(--color-error); font-size: 0.84rem; }
.field__error:empty { display: none; }
.rform__more summary { cursor: pointer; color: var(--color-text-muted); font-size: 0.92rem; padding: 4px 0; }
.rform__more summary:hover { color: var(--color-text); }
.rform__more[open] summary { margin-bottom: 14px; }
.rform__more .field { margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.rform__status:empty { display: none; }
.rform__status { padding: 14px 16px; font-size: 0.94rem; border-left: 3px solid var(--color-accent); background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.rform__status[data-state="error"] { border-color: var(--color-error); background: color-mix(in srgb, var(--color-error) 10%, transparent); }
.rform__status[data-state="success"] { border-color: var(--color-success); background: color-mix(in srgb, var(--color-success) 10%, transparent); }
.rform__status a { text-decoration: underline; text-underline-offset: 3px; }
.rform__status .btn { margin-top: 12px; }
.rform__note { color: var(--color-text-muted); font-size: 0.88rem; }
.rform__note a { color: var(--color-text); font-weight: 600; border-bottom: 1px solid currentColor; }
.btn__spinner { display: none; width: 16px; height: 16px; border: 1.5px solid color-mix(in srgb, var(--color-on-accent) 30%, transparent); border-top-color: var(--color-on-accent); border-radius: 50%; animation: spin .8s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
/* sent: only the thank-you and the "Or call" line stay */
.is-sent .quote__body, .is-sent .quote__foot [data-quote-submit],
.rform.is-sent > :is(.field, .field-row, .field__note, .seg, .rform__more, [data-quote-submit]) { display: none; }
[data-quote-status]:focus { outline: none; } /* focus moves here after sending; the message itself is not a control */

.quote { width: min(560px, 100%); max-height: 100%; height: 100%; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--color-surface); color: var(--color-text); overflow: hidden; }
.quote[open] { animation: drawer .7s var(--ease); }
.quote::backdrop { background: var(--color-scrim); backdrop-filter: blur(6px); animation: fade .5s var(--ease); }
@keyframes drawer { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.quote__form { display: flex; flex-direction: column; height: 100%; gap: 0; }
.quote__head { position: relative; padding: 34px 32px 20px; display: grid; gap: 16px; border-bottom: 1px solid var(--color-border); }
.quote__head h2 { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.02em; line-height: 0.95; }
.quote__close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; font-weight: 300; }
.quote__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px 32px; display: grid; gap: 18px; align-content: start; }
.quote__status { margin: 0 32px; }
.quote__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 32px 26px; border-top: 1px solid var(--color-border); }

/* ---------- Footer ---------- */
.footer { background: var(--color-bg); color: var(--color-text-muted); padding: 14vh var(--pad) 0; border-top: 1px solid var(--color-border); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__brand .nav__logo { color: var(--color-text); }
.footer__brand p { max-width: 36ch; font-size: 0.95rem; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.footer__col h2 { color: var(--color-text-subtle); margin-bottom: 8px; font-weight: 400; }
.footer__col a { color: var(--color-text); }
.footer__col a:hover { color: var(--color-accent); }
.footer__word { margin-top: 12vh; font-size: 20.5vw; line-height: 0.76; letter-spacing: -0.05em; white-space: nowrap; color: var(--color-surface); text-align: center; }
.footer__word::before { content: "Pro Air"; } /* decorative, kept out of the accessibility tree */
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 26px; border-top: 1px solid var(--color-border); color: var(--color-text-subtle); font-size: 0.66rem; }
.footer__base a:hover { color: var(--color-text); }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .services__intro, .equipment__head { grid-template-columns: 1fr; }
}

@media (max-width: 1360px) {
  .nav__chapter { display: none; }
  .nav { grid-template-columns: 1fr auto; }
}

/* short desktop windows: the facts are also in the contact section */
@media (min-width: 900px) and (max-height: 800px) {
  .hero__facts { display: none; }
}

@media (max-width: 899px) {
  .nav { height: 62px; }
  .nav__cta, .nav__menu-label { display: none; }
  .nav__phone span { display: none; }
  .nav__phone { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--color-border-strong); }
  .nav__actions { gap: 8px; }
  .theme-toggle { padding: 0 5px; border: 0; }
  .theme-toggle__label { display: none; }
  /* the fixed call bar never covers content: reserve its height */
  :root { --callbar-h: calc(68px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--callbar-h); }
  .logo-word { font-size: 0.8rem; }
  .menu__call { font-size: clamp(1.3rem, 6.4vw, 2.2rem); white-space: nowrap; }
  .menu { grid-template-columns: 1fr; align-content: start; padding-top: 96px; padding-bottom: 0; row-gap: 14px; }
  .menu__nav { margin-bottom: 18px; }
  /* the side column dissolves into the menu itself, so the phone and the button can stick
     to the bottom of the scrolling menu while the links and pages scroll above them */
  .menu__side { display: contents; }
  .menu__side > * { min-width: 0; }
  .menu__theme { justify-self: start; }
  .menu__dock {
    order: 10; position: sticky; bottom: 0; z-index: 2;
    margin: 8px calc(-1 * var(--pad)) 0; padding: 14px var(--pad) calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--color-bg); border-top: 1px solid var(--color-border);
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  }
  .menu__dock .btn { margin-bottom: 0; }

  .hero { height: auto; }
  .hero__pin { position: relative; height: auto; min-height: 100svh; }
  .hero__grid { display: flex; flex-direction: column; height: auto; min-height: 100svh; padding: 82px var(--pad) 28px; }
  .hero__back { display: block; font-size: 14.2vw; }
  .hero__word--r { text-align: right; }
  .hero__stage { flex: none; height: clamp(200px, 34svh, 420px); margin: 6px 0 0; }
  .hero__front { align-self: start; margin-top: 0; font-size: 13.4vw; }
  .hero__aside { max-width: none; padding-top: 18px; gap: 18px; }
  .hero__status, .hero__rail, .hero__facts { display: none; }
  .area { grid-template-columns: 1fr; gap: 40px; padding-block: 12vh; }
  .area-map__svg { aspect-ratio: 1 / 1; }
  .faq { grid-template-columns: 1fr; gap: 40px; padding-block: 12vh; }
  .faq__head { position: static; }
  .faq__item summary { padding: 20px 0; }
  .hero__ctas .btn { flex: 1 1 auto; }



  .services__intro, .equipment__head { grid-template-columns: 1fr; padding-top: 16vh; }
  /* long words ("MANUFACTURERS.") must fit 360px screens: normal width, smaller size */
  .equipment__head .display { font-size: 8.6vw; font-stretch: 100%; }
  .display, .reviews__title { overflow-wrap: anywhere; }

  .engineering__word { font-size: 26vw; top: 46%; }
  .engineering__canvas, .engineering__poster, .engineering__video, .callouts { top: 14%; height: 58%; }
  .engineering__head { top: 80px; }
  .eng-photo { display: none; }
  .eng-steps { grid-template-columns: 1fr; bottom: 48px; }
  .eng-steps li { display: none; }
  .eng-steps li.is-active { display: grid; }
  .callout span { margin-left: 34px; font-size: 0; padding: 5px 8px; }
  .callout b { font-size: 0.7rem; margin-right: 0; }
  .callout span::before { width: 30px; }
  .callout--left span { margin-left: 0; margin-right: 34px; }

  .equip { flex-direction: column; height: auto; padding: 0 var(--pad); gap: 10px; }
  .equip__item, .equip__item.is-active { flex: none; height: 64vw; max-height: 460px; }
  .equip__item img { transform: none; }
  .equip__label strong { opacity: 1; transform: none; white-space: normal; }


  .reviews__list { grid-template-columns: 1fr; }
  .reviews__head { grid-template-columns: 1fr; }
  .reviews__score { justify-self: start; }

  .cta { padding-top: 16vh; }
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .cta__info { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .quote { width: 100%; }
  .quote__head, .quote__body, .quote__foot { padding-inline: 22px; }
  .quote__status { margin-inline: 22px; }
  .field-row { grid-template-columns: 1fr; }

  /* call bar: phone + request, always one tap away */
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr auto;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    background: color-mix(in srgb, var(--color-bg) 88%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--color-border);
    transition: transform .5s var(--ease);
  }
  .callbar.is-hidden { transform: translateY(110%); }
  .callbar__call { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; background: var(--color-cta); color: var(--color-on-accent); font-weight: 600; }
  .callbar__call svg { width: 20px; height: 20px; }
  .callbar__req { height: 52px; padding: 0 18px; border: 1px solid var(--color-border-strong); font-weight: 600; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .quote__foot { flex-direction: column; align-items: stretch; }
}

/* Soft motion: html.motion-soft, set in <head> from the system reduce-motion setting or the
   Reduce motion switch. Every animation still plays; only the big ones calm down. JS turns off
   parallax and smooth scrolling and swaps large rises for short fades; here reveals move less
   and fade faster, the first screen does not pin (its scroll drift is off), the request drawer
   fades in instead of sliding, and the endless scroll cue rests. */
html.motion-soft.js [data-reveal] { transform: translateY(10px); }
html.motion-soft.js [data-reveal].is-in { transform: none; transition: opacity .35s ease-out, transform .35s ease-out; }
html.motion-soft .hero { height: auto; }
html.motion-soft .hero__pin { position: relative; height: auto; min-height: 100svh; }
html.motion-soft .hero__grid { min-height: 100svh; }
html.motion-soft .quote[open] { animation: fade .35s ease-out; }
html.motion-soft .hero__scroll i::after { animation: none; transform: translateY(8px); }

/* Reduce motion switch (footer and menu) */
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.motion-toggle__track { position: relative; width: 30px; height: 16px; border: 1px solid var(--color-border-strong); border-radius: 8px; flex: none; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.motion-toggle__track i { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-muted); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.motion-toggle[aria-checked="true"] .motion-toggle__track { border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.motion-toggle[aria-checked="true"] .motion-toggle__track i { transform: translateX(14px); background: var(--color-accent); }
.motion-toggle:hover { color: var(--color-text); }
.motion-toggle:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.menu__motion { justify-self: start; align-self: flex-start; color: var(--color-text-muted); }
