/* Hendrick Heat, Air & Plumbing: concept homepage
   Anchor: DESIGN.md (Uber system, Hendrick adaptation at the end). */

:root {
  --paper: #ffffff;
  --soft: #f3f3f3;
  --soft-2: #efefef;
  --pressed: #e2e2e2;
  --ink: #0a0a0a;
  --black: #030303;
  --elev: #1a1a1a;
  --body: #5e5e5e;
  --copy: #434343;
  --line: #e2e2e2;
  --line-dark: rgba(255, 255, 255, 0.16);
  --on-dark: #ffffff;
  --on-dark-mute: #b4b4b4;
  --blue: #166dba;
  --blue-deep: #0b528f;
  --blue-bright: #4aa3f0;

  --f-display: "Zilla Slab", "Rockwell", Georgia, serif;
  --f-text: "Geist", "Helvetica Neue", Arial, sans-serif;

  --max: 1680px;
  --gutter: clamp(20px, 4vw, 64px);
  --nav-h: 88px;
  --sec: clamp(96px, 11vw, 176px);
  --r-card: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 12px 20px; border-radius: 999px;
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .diff :focus-visible, .foot :focus-visible, .menu :focus-visible, .ask__text :focus-visible, .nav:not(.is-solid) :focus-visible, .film :focus-visible { outline-color: #fff; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 16ch;
  text-wrap: balance;
}
.h2--on-dark { color: var(--on-dark); }
.h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.008em;
}
.h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease); }
.h3 a:hover { background-size: 100% 2px; }
.lede { font-size: clamp(19px, 1.45vw, 24px); line-height: 1.5; color: var(--ink); max-width: 38ch; }

/* ---------- Buttons (pills, Uber) ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bg-h: #262626;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-text); font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--bg-h); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--lg { min-height: 60px; padding: 18px 32px; font-size: 17px; }
.btn--blue { --bg: var(--blue); --bg-h: var(--blue-deep); --fg: #fff; }
.btn--white { --bg: #fff; --bg-h: var(--soft-2); --fg: var(--ink); }
.btn--black { --bg: var(--ink); --bg-h: #2b2b2b; --fg: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 500; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: calc(100% - 22px) 1.5px; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 18px; height: 18px; flex: none; }
.ico--flip { transform: scaleX(-1); }
.stars, .rev__stars { display: inline-flex; gap: 2px; color: #fff; vertical-align: -2px; }
.ico-star { width: 16px; height: 16px; }
::selection { background: var(--blue); color: #fff; }
html { scrollbar-color: #9a9a9a var(--soft); }
.stars--blue { color: var(--blue); }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.nav.is-solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__logo { justify-self: start; display: block; }
.nav__logo { position: relative; }
.nav__logo img { height: 52px; width: auto; transition: opacity .35s var(--ease); }
.nav__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.nav.is-solid .logo-light { opacity: 1; }
.nav.is-solid .logo-dark { opacity: 0; }
.menu-open .nav .logo-light { opacity: 0; }
.menu-open .nav .logo-dark { opacity: 1; }
.nav__links ul { display: flex; gap: 6px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border: 0; background: none; border-radius: 999px;
  font-size: 17px; font-weight: 500; text-decoration: none; color: inherit;
  transition: background-color .25s var(--ease);
}
.nav__link:hover, .has-drop.is-open > .nav__link { background: rgba(255,255,255,.12); }
.nav.is-solid .nav__link:hover, .nav.is-solid .has-drop.is-open > .nav__link { background: var(--soft-2); }
.chev { width: 8px; height: 8px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.has-drop.is-open .chev { transform: translateY(1px) rotate(225deg); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 12px; }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%;
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.drop::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.drop__in {
  background: var(--paper); color: var(--ink); border-radius: var(--r-card);
  box-shadow: 0 24px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
  padding: 12px;
}
.drop a, .drop__head--plain {
  display: block; padding: 9px 14px; border-radius: 10px; font-size: 15.5px; text-decoration: none; line-height: 1.3;
}
.drop a:hover { background: var(--soft); }
.drop--small .drop__in { min-width: 220px; }
.drop--mega .drop__in { width: min(980px, 86vw); padding: 20px; }
.drop__over { font-weight: 600; font-family: var(--f-display); font-size: 22px !important; margin-bottom: 8px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0 !important; padding-bottom: 14px !important; }
.drop__cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px 16px; }
.drop__head { font-weight: 600; color: var(--ink); margin-top: 4px; }
.drop__head--plain { font-weight: 600; margin-top: 12px; color: var(--body); }
.drop__split { display: grid; grid-template-columns: 1fr 1fr; }

.burger { display: none; width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); position: relative; }
.nav.is-solid .burger, .menu-open .burger { background: var(--soft-2); }
.menu-open .burger { background: #fff; color: var(--ink); }
.burger span { position: absolute; left: 16px; right: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 21px; }
.burger span:last-child { top: 29px; }
.menu-open .burger span:first-child { top: 25px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--black); color: #fff;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - var(--gutter) - 26px) 44px);
  transition: clip-path .7s var(--ease);
}
.menu[hidden] { display: block; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 26px) 44px); visibility: visible; }
.menu-open .nav { background: transparent; color: #fff; box-shadow: none; transform: none; }
.menu__in { display: flex; flex-direction: column; min-height: 100%; }
.menu__link, .menu__group summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px;
  font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 1; text-decoration: none;
  border-bottom: 1px solid var(--line-dark); list-style: none; cursor: pointer;
}
.menu__group summary::-webkit-details-marker { display: none; }
.menu__group summary::after { content: "+"; font-family: var(--f-text); font-weight: 400; font-size: 28px; transition: transform .3s var(--ease); }
.menu__group[open] summary::after { transform: rotate(45deg); }
.menu__group a { display: flex; align-items: center; min-height: 48px; padding-left: 4px; color: var(--on-dark-mute); text-decoration: none; font-size: 18px; }
.menu__group[open] { padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.menu__group[open] summary { border-bottom: 0; }
.menu__actions { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; background: var(--black); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + clamp(24px, 4vh, 56px));
}
.hero__shader { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 78% 40%, rgba(22,109,186,.45), transparent 70%),
  radial-gradient(50% 60% at 10% 100%, rgba(11,82,143,.35), transparent 70%), var(--black); }
.hero__shader canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(3,3,3,.72) 0%, rgba(3,3,3,.2) 55%, rgba(3,3,3,0) 100%); }
.hero__grid {
  flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: end; padding-bottom: clamp(28px, 4vh, 48px);
}
.hero__copy { grid-column: 1 / span 6; padding-bottom: 8px; }
.hero__h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(54px, 6.6vw, 128px); line-height: 0.92; letter-spacing: -0.018em;
  max-width: 9.5ch;
}
.hero__h1 .hl { color: var(--blue-bright); }
.hero__sub { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5; color: #e9e9e9; max-width: 34ch; }
.hero__actions { margin-top: clamp(24px, 2.8vw, 40px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero__film {
  grid-column: 7 / span 6; position: relative; border-radius: 20px; overflow: hidden;
  height: clamp(380px, calc(100svh - var(--nav-h) - 210px), 820px);
  background: #111;
}
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.film-btn {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 10px 20px 10px 12px; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 500; font-size: 15px;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.film-btn:hover { transform: translateY(-2px); background: var(--soft-2); }
.film-btn__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); position: relative; }
.film-btn__dot::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.loop-toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); }
.loop-toggle::before, .loop-toggle::after { content: ""; position: absolute; top: 15px; width: 4px; height: 14px; background: #fff; border-radius: 1px; }
.loop-toggle::before { left: 16px; } .loop-toggle::after { left: 24px; }
.loop-toggle[aria-pressed="true"]::before { left: 18px; width: 0; height: 0; background: none; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-radius: 0; }
.loop-toggle[aria-pressed="true"]::after { display: none; }

.hero__facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0;
  border-top: 1px solid var(--line-dark);
  padding-top: 18px; padding-bottom: 22px; font-size: 15px; color: #dadada;
}
.fact { display: inline-flex; align-items: center; gap: 10px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-dark); min-height: 28px; }
.fact strong { color: #fff; font-weight: 600; }
.fact--google { text-decoration: none; }
.fact--google:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.fact:nth-last-child(2) { border-right: 0; }
.fact--end { border-right: 0; margin-left: auto; margin-right: 0; padding-right: 0; font-weight: 500; color: #fff; }

/* ---------- Statement ---------- */
.statement { padding-block: var(--sec); }
.statement__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.statement__text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.statement__text .lede { color: var(--copy); font-size: clamp(18px, 1.3vw, 21px); }
.statement__photo { grid-column: 7 / span 6; aspect-ratio: 1 / 1; max-height: calc(100svh - var(--nav-h) - 96px); width: 100%; border-radius: 20px; overflow: hidden; }
.statement__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; }
.points { border-top: 1px solid var(--line); }
.points li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; display: flex; align-items: baseline; gap: 14px; }
.points__big { font-family: var(--f-display); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1; }
.zoom { overflow: hidden; }
.zoom img { transition: transform 1.4s var(--ease); }
.zoom:hover img { transform: scale(1.03); }

/* ---------- Trades (signature) ---------- */
.trades { background: var(--soft); }
.trades__pin { padding-block: var(--sec); }
.trades__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.trades__index { display: flex; flex-wrap: wrap; gap: 8px; }
.trades__index button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px;
  border-radius: 999px; border: 0; background: var(--paper); font-weight: 500; font-size: 16px;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .25s var(--ease);
}
.trades__index button:hover { transform: translateY(-2px); }
.trades__index button[aria-current="true"] { background: var(--ink); color: #fff; }
.trades__stage { margin-top: clamp(40px, 4vw, 64px); }
.trades__frames { display: none; }
.trades__texts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trade { background: var(--paper); border-radius: var(--r-card); padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.trade__photo { width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.trade__photo img { width: 100%; height: 100%; object-fit: cover; }
.trade p { color: var(--copy); max-width: 46ch; }
.jobs { width: 100%; border-top: 1px solid var(--line); }
.jobs a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; transition: padding .3s var(--ease), color .3s; }
.jobs a::after { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; color: var(--body); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M3 10h13M11 4.5 16.5 10 11 15.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M3 10h13M11 4.5 16.5 10 11 15.5%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.7%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.jobs a:hover { color: var(--blue); padding-left: 6px; }
.jobs a:hover::after { transform: translateX(4px); background-color: var(--blue); }
.trades__bar { display: none; }

/* pinned layout (JS adds .is-pinned on wide screens with motion allowed) */
.trades.is-pinned .trades__pin { height: 100svh; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; display: flex; flex-direction: column; }
.trades.is-pinned .trades__stage { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 36px; }
.trades.is-pinned .trades__frames { display: block; grid-column: 1 / span 7; position: relative; border-radius: 20px; overflow: hidden; background: #ddd; }
.trades.is-pinned .trade-frame { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.trades.is-pinned .trade-frame:first-child { clip-path: inset(0 0 0 0); }
.trade-frame img { width: 100%; height: 100%; object-fit: cover; }
.trade-frame img.pos-gen { object-position: 35% 60%; }
.trades.is-pinned .trades__texts { grid-column: 9 / span 4; display: block; position: relative; }
.trades.is-pinned .trade { position: absolute; inset: 0; background: none; padding: 0; justify-content: flex-end; opacity: 0; visibility: hidden; }
.trades.is-pinned .trade:first-child { opacity: 1; visibility: visible; }
.trades.is-pinned .trade__photo { display: none; }
.trades.is-pinned .trades__bar { display: block; margin-top: 28px; }
.trades.is-pinned .trades__bar::before { content: ""; display: block; height: 2px; background: var(--pressed); }
.trades__fill { display: block; height: 2px; margin-top: -2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0.25); }

/* ---------- Difference ---------- */
.diff { background: var(--black); color: #fff; padding-block: var(--sec); }
.diff__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.diff__text { grid-column: 1 / span 7; }
.diff__list { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.diff__list li { display: flex; align-items: baseline; gap: clamp(16px, 2vw, 32px); padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid var(--line-dark); }
.diff__n { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--blue-bright); font-weight: 500; min-width: 2.2ch; }
.diff__w { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 3.9vw, 70px); line-height: 1; letter-spacing: -0.012em; transition: color .4s var(--ease), transform .5s var(--ease); }
.diff__list li:hover .diff__w { color: var(--blue-bright); transform: translateX(8px); }
.diff__film { grid-column: 9 / span 4; }
.diff__play { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #111; }
.diff__play img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transition: transform 1.4s var(--ease); }
.diff__play:hover img { transform: scale(1.03); }
.diff__playbtn { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--blue); transition: transform .35s var(--ease), background-color .3s; }
.diff__playbtn span { position: absolute; left: 36px; top: 29px; border-left: 22px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.diff__play:hover .diff__playbtn { transform: scale(1.06); background: var(--blue-deep); }
.diff__len { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); font-size: 14px; font-variant-numeric: tabular-nums; color: #fff; }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--sec); overflow: hidden; }
.reviews__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.reviews__score { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; }
.reviews__score .h2 { font-size: clamp(36px, 3.4vw, 60px); max-width: 12ch; }
.reviews__big { margin-top: auto; padding-top: 40px; font-family: var(--f-display); font-weight: 700; font-size: clamp(96px, 10vw, 184px); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.reviews__meta { margin-top: 16px; color: var(--body); line-height: 1.6; }
.reviews__meta strong { color: var(--ink); margin-right: 6px; }
.reviews__score .link-arrow { margin-top: 12px; }
.reviews__railwrap { grid-column: 5 / span 8; min-width: 0; display: flex; flex-direction: column; }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab; padding-bottom: 4px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { user-select: none; }
.rev {
  flex: 0 0 clamp(280px, 25vw, 400px); scroll-snap-align: start;
  min-height: clamp(340px, 30vw, 440px); padding: clamp(24px, 2vw, 32px);
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s var(--ease), border-color .3s;
}
.rev:hover { transform: translateY(-2px); border-color: #c9c9c9; }
.rev__t { line-height: 1.06; }
.rev__stars { color: var(--blue); }
.rev p:not(.rev__who):not(.rev__stars) { color: #333; }
.rev__who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; }
.rev__who span { display: block; font-weight: 400; font-size: 14px; color: var(--body); }
.rail__ctrl { display: flex; gap: 10px; margin-top: 24px; }
.arrow { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--soft-2); transition: background-color .25s, transform .25s var(--ease); }
.arrow:hover { background: var(--pressed); transform: translateY(-2px); }
.arrow:active { transform: scale(.96); }

/* ---------- Specials ---------- */
.specials { background: var(--soft); padding-block: var(--sec); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; }
.split-head__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.offers { margin-top: clamp(40px, 4vw, 64px); display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 16px; }
.offer {
  background: var(--paper); border-radius: var(--r-card); padding: clamp(24px, 2.4vw, 40px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-height: clamp(380px, 34vw, 520px);
  transition: transform .3s var(--ease);
}
.offer:hover { transform: translateY(-2px); }
.offer--lead { background: var(--black); color: #fff; }
.offer__name { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.offer__fig { font-size: 20px; line-height: 1.3; font-weight: 500; max-width: 20ch; }
.offer__fig strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 6vw, 112px); line-height: .9; letter-spacing: -0.025em; margin-bottom: 8px; }
.offer--lead .offer__fig strong { font-size: clamp(88px, 10vw, 184px); color: var(--blue-bright); }
.offer:not(.offer--lead) .offer__fig strong { font-size: clamp(56px, 4.6vw, 84px); }
.offer__terms { margin-top: auto; font-size: 14.5px; line-height: 1.55; color: var(--copy); max-width: 44ch; }
.offer--lead .offer__terms { color: var(--on-dark-mute); }

/* ---------- Area ---------- */
.area { padding-block: var(--sec); }
.area__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.area__text { grid-column: 1 / span 6; }
.towns { margin-top: clamp(32px, 3.6vw, 56px); columns: 2; column-gap: 24px; border-top: 1px solid var(--line); }
.towns li { break-inside: avoid; font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 38px); line-height: 1; padding: clamp(12px, 1.1vw, 18px) 0; border-bottom: 1px solid var(--line); }
.area__map { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 16px; }
.offices { display: flex; gap: 8px; }
.offices button { min-height: 48px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--soft-2); font-weight: 500; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.offices button:hover { transform: translateY(-2px); }
.offices button[aria-selected="true"] { background: var(--ink); color: #fff; }
.map { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.04); }
.office-line a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--pressed); text-underline-offset: 5px; transition: text-decoration-color .3s; }
.office-line a:hover { text-decoration-color: currentColor; }

/* ---------- Ask (form) ---------- */
.ask { background: var(--blue); color: #fff; padding-block: var(--sec); }
.ask__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.ask__text { grid-column: 1 / span 5; }
.ask__lede { margin-top: 28px; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.5; max-width: 34ch; }
.ask__contact { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.3); }
.ask__contact a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid rgba(255,255,255,.3); font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2vw, 32px); text-decoration: none; overflow-wrap: anywhere; }
.ask__contact a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.card-form { grid-column: 7 / span 6; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(24px, 3vw, 44px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field__l { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input, .field textarea {
  width: 100%; border: 0; border-radius: 0; background: var(--soft-2); color: var(--ink);
  font: inherit; font-size: 16px; padding: 16px; min-height: 56px;
  box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus { outline: none; background: #e8e8e8; box-shadow: inset 0 -2px 0 var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #626262; }
.field input, .field textarea { caret-color: var(--blue); }
.field__err { min-height: 0; font-size: 14px; color: #b3261e; }
.field__err:not(:empty) { margin-top: 2px; }
.is-bad { box-shadow: inset 0 -2px 0 #b3261e !important; }
.consent { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.55; color: var(--body); }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.consent a { color: var(--ink); }
.card-form__end { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-status { font-size: 15px; color: var(--ink); }

/* ---------- Footer ---------- */
.foot { background: var(--black); color: #fff; padding-top: clamp(80px, 9vw, 140px); padding-bottom: 32px; }
.foot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line-dark); }
.foot__line { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 4.8vw, 88px); line-height: .98; letter-spacing: -0.015em; max-width: 15ch; }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(48px, 5vw, 72px); }
.foot__brand img { height: 56px; width: auto; }
.foot__brand p { margin-top: 24px; color: var(--on-dark-mute); font-size: 15px; line-height: 1.8; }
.foot__brand strong { color: #fff; font-weight: 500; }
.foot__h { font-size: 14px; font-weight: 500; color: var(--on-dark-mute); margin-bottom: 14px; }
.foot__cols ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; text-decoration: none; color: #fff; line-height: 1.45; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 4px) / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.foot__cols ul a:hover { background-size: 100% 1px; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-mute); }
.foot__legal a { color: #fff; text-decoration: none; }
.foot__legal a:hover { text-decoration: underline; }
.sep { margin: 0 8px; opacity: .5; }

/* ---------- Action bar (phones) + film dialog ---------- */
.actionbar { display: none; }
.film { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; }
.film::backdrop { background: rgba(0,0,0,.88); }
.film[open] { display: grid; place-items: center; }
.film__box { position: relative; width: min(1280px, 92vw); }
.film__box video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; }
.film__close { position: absolute; right: 0; top: -64px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; }
.film__close span { position: absolute; left: 15px; right: 15px; top: 25px; height: 2px; background: var(--ink); }
.film__close span:first-child { transform: rotate(45deg); } .film__close span:last-child { transform: rotate(-45deg); }

/* ---------- Motion setup (only with JS + motion allowed) ---------- */
.js.motion .split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Responsive ---------- */
@media (max-width: 1279px) { .fact--end { display: none; } }
@media (max-width: 1180px) {
  .nav__link { padding: 0 12px; font-size: 16px; }
  .drop__cols { grid-template-columns: 1fr 1fr; }
  .drop__wide { grid-column: 1 / -1; }
  .reviews__score { grid-column: 1 / span 5; }
  .reviews__railwrap { grid-column: 6 / span 7; }
}
@media (max-width: 1023px) {
  :root { --nav-h: 76px; }
  .nav__links, .nav__cta { display: none; }
  .nav__in { grid-template-columns: 1fr auto; }
  .nav__logo img { height: 44px; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .hero__copy, .hero__film { grid-column: 1 / -1; }
  .hero__film { height: auto; aspect-ratio: 16 / 10; }
  .hero__h1 { max-width: 11ch; }
  .statement__grid, .diff__grid, .reviews__grid, .area__grid, .ask__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .statement__text, .statement__photo, .diff__text, .diff__film, .reviews__score, .reviews__railwrap, .area__text, .area__map, .ask__text, .card-form { grid-column: 1 / -1; }
  .statement__photo { aspect-ratio: 4 / 3; }
  .diff__film { max-width: 560px; }
  .diff__play { aspect-ratio: 16 / 10; }
  .reviews__big { padding-top: 24px; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer--lead { grid-column: 1 / -1; min-height: 0; }
  .offer { min-height: 360px; }
  .map { aspect-ratio: 16 / 10; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .trades__texts { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer, .offer--lead { min-height: 0; }
  .offer__terms { margin-top: 8px; }
  .towns li { font-size: 24px; }
}
@media (max-width: 640px) {
  .fact--end { display: inline-flex; margin-left: 0; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero__h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero__actions .btn { width: 100%; }
  .hero__film { aspect-ratio: 4 / 3; border-radius: 16px; }
  .film-btn { left: 12px; bottom: 12px; }
  .loop-toggle { right: 10px; bottom: 12px; }
  .hero__facts { font-size: 14px; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 28px; }
  .fact { border-right: 0; padding-right: 0; margin-right: 0; }
  .trades__head { align-items: flex-start; }
  .trades__index button { padding: 10px 16px; font-size: 15px; }
  .trade { padding: 14px 14px 24px; }
  .trade .btn, .offer .btn, .card-form__end .btn { width: 100%; }
  .rev { flex-basis: 84%; min-height: 320px; }
  .fields { grid-template-columns: 1fr; }
  .foot__top .btn { width: 100%; }
  .foot__cols { grid-template-columns: 1fr; gap: 28px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .actionbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(3,3,3,.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .actionbar.is-on { transform: none; }
  .actionbar .btn { min-height: 52px; }
  .film__close { top: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .menu { clip-path: none; }
  .actionbar { transform: none; }
}
