/* ==========================================================================
   WJ Plumbing & Heating
   Native CSS, no build step. Light + dark via prefers-color-scheme.
   Radius system: buttons & chips = full pill, cards = 24-32px, inputs = 14px.
   Z-index scale: dock 40, nav 50, menu 60, skip link 100.
   "Liquid glass" here is a web approximation (backdrop-filter + layered
   highlights), not Apple's native material.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3f5f8;
  --bg-2: #e7ecf3;
  --surface: #fbfcfd;
  --surface-2: #e9eef5;
  --ink: #0c1626;
  --ink-2: #39475b;
  --ink-3: #5a687b;
  --line: rgb(12 22 38 / 0.1);
  --line-strong: rgb(12 22 38 / 0.16);
  --navy: #0d1f3a;
  --accent: #2a66d0;
  --accent-hover: #2257b6;
  --accent-ink: #1f56b8;
  --accent-soft: #dce7fb;
  --accent-hero: #9dc0ff;
  --field-bg: #f7f9fb;
  --field-line: #8b98aa;
  --danger: #b42323;
  --shadow-tint: 13 31 58;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --pad-x: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 160px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09101b;
    --bg-2: #0d1524;
    --surface: #111a29;
    --surface-2: #182336;
    --ink: #e9eef5;
    --ink-2: #b6c1d0;
    --ink-3: #93a1b5;
    --line: rgb(255 255 255 / 0.08);
    --line-strong: rgb(255 255 255 / 0.14);
    --accent-ink: #8fb4fb;
    --accent-soft: #16294a;
    --field-bg: #0c1420;
    --field-line: #62728a;
    --danger: #ff9191;
    --shadow-tint: 0 0 0;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Geist", "SF Pro Text", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad-x); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 20px;
}
.body { color: var(--ink-2); margin-top: 12px; max-width: 56ch; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

/* Split-word reveal for headings (words rise from a mask) */
.w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w > span { display: inline-block; }
html.motion [data-split] .w > span {
  transform: translateY(108%);
  transition: transform 0.95s var(--ease-out) calc(var(--i) * 55ms);
}
html.motion [data-split].is-in .w > span { transform: none; }

/* Generic reveal */
html.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); filter: blur(6px); }
html.motion [data-reveal] {
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

/* ---------- Links & buttons ---------- */
.link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; color: var(--accent-ink); text-decoration: none;
}
.link i { transition: transform 0.45s var(--spring); }
a:hover .link i, .link:hover i { transform: translateX(4px); }
.link--btn { background: none; border: 0; cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; }

.btn {
  --tx: 0px; --ty: 0px; --s: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transform: translate(var(--tx), var(--ty)) scale(var(--s));
  transition: transform 0.6s var(--spring), background-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:active { --s: 0.97; }
.btn i { font-size: 1.15em; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 12px 28px -12px rgb(42 102 208 / 0.75);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary i { transition: transform 0.45s var(--spring); }
.btn--primary:hover i.ph-arrow-right { transform: translateX(3px); }
.btn--glass { color: inherit; }

.icon-btn {
  width: 52px; height: 52px; border-radius: 999px;
  display: grid; place-items: center; cursor: pointer; font-size: 20px;
  transition: transform 0.5s var(--spring), opacity 0.25s;
}
.icon-btn:hover { transform: scale(1.06); }
.icon-btn:active { transform: scale(0.96); }
.icon-btn:disabled { opacity: 0.4; cursor: default; transform: none; }

/* ---------- Liquid glass (web approximation) ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.05)),
    rgb(255 255 255 / 0.07);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgb(255 255 255 / 0.26);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.42),
    inset 0 -1px 0 rgb(255 255 255 / 0.06),
    0 18px 48px -22px rgb(6 16 32 / 0.55);
}
/* Specular highlight that follows the pointer */
.glass::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 22%) var(--my, 0%), rgb(255 255 255 / 0.3), transparent 65%);
}
.glass--light {
  color: var(--ink);
  background: linear-gradient(135deg, rgb(255 255 255 / 0.84), rgb(255 255 255 / 0.6));
  border-color: rgb(255 255 255 / 0.8);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    inset 0 -1px 0 rgb(var(--shadow-tint) / 0.04),
    0 28px 64px -30px rgb(var(--shadow-tint) / 0.38);
}
.glass--light::before { background: radial-gradient(260px circle at var(--mx, 22%) var(--my, 0%), rgb(255 255 255 / 0.9), transparent 65%); }
@media (prefers-color-scheme: dark) {
  .glass--light {
    background: linear-gradient(135deg, rgb(32 45 66 / 0.8), rgb(17 26 41 / 0.66));
    border-color: rgb(255 255 255 / 0.1);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), 0 28px 64px -30px rgb(0 0 0 / 0.7);
  }
  .glass--light::before { background: radial-gradient(260px circle at var(--mx, 22%) var(--my, 0%), rgb(255 255 255 / 0.1), transparent 65%); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: #1b2d4a; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass--light { background: var(--surface); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  padding-inline: var(--pad-x);
  color: #f3f5f8;
}
.nav__bar {
  max-width: 1200px; height: 64px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  transition: background 0.5s, border-color 0.5s, color 0.5s, box-shadow 0.5s;
}
.nav.is-scrolled { color: var(--ink); }
.nav.is-scrolled .nav__bar {
  background: linear-gradient(135deg, rgb(255 255 255 / 0.82), rgb(255 255 255 / 0.62));
  border-color: rgb(255 255 255 / 0.85);
  box-shadow: inset 0 1px 0 #fff, 0 16px 40px -24px rgb(var(--shadow-tint) / 0.4);
}
@media (prefers-color-scheme: dark) {
  .nav.is-scrolled .nav__bar {
    background: linear-gradient(135deg, rgb(32 45 66 / 0.78), rgb(17 26 41 / 0.66));
    border-color: rgb(255 255 255 / 0.1);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 16px 40px -24px rgb(0 0 0 / 0.7);
  }
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
@media (prefers-color-scheme: dark) { .brand__mark { border-radius: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16); } }
.brand__word { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; line-height: 1.05; display: grid; }
.brand__word small { font-size: 10.5px; font-weight: 550; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; opacity: 0.86;
  transition: opacity 0.2s, background 0.2s;
}
.nav__links a:hover { opacity: 1; background: rgb(255 255 255 / 0.12); }
.nav.is-scrolled .nav__links a:hover { background: rgb(var(--shadow-tint) / 0.06); }
.nav__toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 15px; right: 15px; height: 1.8px; border-radius: 2px; background: currentColor;
  transition: transform 0.45s var(--spring);
}
.nav__toggle span:first-child { top: 20px; }
.nav__toggle span:last-child { top: 27px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: absolute; top: 76px; left: var(--pad-x); right: var(--pad-x);
  z-index: 60; border-radius: 28px; padding: 16px;
  animation: menuIn 0.5s var(--ease-out);
}
.menu ul { display: grid; margin-bottom: 12px; }
.menu a:not(.btn) {
  display: block; padding: 12px 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none;
  border-radius: 14px;
}
.menu .btn { width: 100%; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }

html.motion .nav__bar { opacity: 0; transform: translateY(-18px); }
html.motion.is-loaded .nav__bar { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s, background 0.5s, border-color 0.5s, box-shadow 0.5s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid; align-items: center;
  padding-block: 96px 200px;
  color: #f3f5f8;
  background: var(--navy);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 68% 35%;
  transform: translateY(var(--py, 0px)) scale(1.06);
  will-change: transform;
}
html.motion .hero__media { transform: scale(1.12); }
html.motion.is-loaded .hero__media { transform: none; transition: transform 2.4s var(--ease-out); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(7 17 33 / 0.9) 0%, rgb(7 17 33 / 0.66) 36%, rgb(10 26 52 / 0.18) 68%, rgb(10 26 52 / 0.1) 100%),
    linear-gradient(180deg, rgb(7 17 33 / 0.35) 0%, transparent 28%, transparent 62%, rgb(7 17 33 / 0.55) 100%);
}
.hero__inner { position: relative; }
.hero__title {
  font-size: clamp(2.9rem, 1.2rem + 5.6vw, 5.6rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 13ch;
}
.line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line__in { display: inline-block; }
html.motion .line__in { transform: translateY(110%); }
html.motion.is-loaded .line__in { transform: none; transition: transform 1.1s var(--ease-out); }
html.motion.is-loaded .line:nth-child(2) .line__in { transition-delay: 0.12s; }

/* Kinetic word cycler: letters roll up out of a mask */
.cycler {
  display: inline-grid; vertical-align: bottom;
  overflow: clip; padding-bottom: 0.14em; margin-bottom: -0.14em;
  color: var(--accent-hero);
}
.cycler__word { grid-area: 1 / 1; white-space: nowrap; justify-self: start; }
.cycler.is-sized { transition: width 0.8s var(--ease-out); }
.cycler__word .ch { display: inline-block; transform: translateY(115%); }
.cycler__word.is-active .ch,
html:not(.motion) .cycler__word.is-active { transform: none; }
html:not(.motion) .cycler__word:not(.is-active) { visibility: hidden; }
.cycler__word.is-active .ch { transform: none; transition: transform 0.75s var(--ease-out) calc(var(--c) * 30ms); }
.cycler__word.is-leaving .ch { transform: translateY(-115%); transition: transform 0.6s var(--ease-out) calc(var(--c) * 22ms); }
.cycler__word.no-t .ch { transition: none !important; }

.hero__sub {
  max-width: 44ch; margin-top: 26px;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55; color: rgb(243 245 248 / 0.84);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
html.motion .hero__sub, html.motion .hero__ctas { opacity: 0; transform: translateY(18px); }
html.motion.is-loaded .hero__sub { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) 0.45s, transform 1s var(--ease-out) 0.45s; }
html.motion.is-loaded .hero__ctas { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) 0.6s, transform 1s var(--ease-out) 0.6s; }

/* ---------- Audience split (overlaps hero) ----------
   Two equal cards on shared row tracks (subgrid): icon, title, text and link
   sit on the same lines in both cards; the photo spans all rows. */
.audience {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto auto;
  column-gap: 20px;
  margin-top: -140px;
}
.aud {
  grid-row: span 4;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: subgrid; column-gap: 24px;
  border-radius: 28px; padding: 24px;
  text-decoration: none; color: var(--ink);
  min-height: 300px;
  transition: transform 0.7s var(--spring), box-shadow 0.4s, opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
.aud:hover { transform: translateY(-5px); }
.aud > :not(.aud__img) { grid-column: 1; margin-left: 4px; }
.aud__icon { grid-row: 1; align-self: start; font-size: 30px; color: var(--accent); margin-top: 4px; }
.aud__title { grid-row: 2; padding-top: 20px; font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.aud p { grid-row: 3; color: var(--ink-2); margin-top: 10px; max-width: 36ch; }
.aud .link { grid-row: 4; justify-self: start; margin-top: 18px; margin-bottom: 4px; }
.aud__img { grid-column: 2; grid-row: 1 / -1; border-radius: 20px; overflow: hidden; min-height: 232px; }
.aud__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transition: transform 1.2s var(--ease-out); }
.aud--land .aud__img img { object-position: 52% 45%; }
.aud:hover .aud__img img { transform: scale(1.05); }
.aud--land {
  color: #f3f5f8;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(120 170 255 / 0.35), transparent 55%),
    linear-gradient(155deg, #2458b4 0%, #13305f 55%, #0d1f3a 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), 0 28px 64px -30px rgb(13 31 58 / 0.6);
}
.aud--land p { color: rgb(243 245 248 / 0.82); }
.aud--land .link { color: #cfe0ff; }
.aud--land .aud__icon { color: #cfe0ff; }

/* ---------- Services (sticky wipe) ---------- */
.services { padding-block: var(--section-y) calc(var(--section-y) * 0.6); }
.svc { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.svc__stage { position: sticky; top: 96px; height: min(640px, calc(100dvh - 136px)); }
.svc__figure { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--surface-2); }
.svc__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(100% 0 0 0 round 30px);
  transform: scale(1.1);
  transition: clip-path 1s var(--ease-out), transform 1.4s var(--ease-out);
}
.svc__img:nth-child(1) { z-index: 1; } .svc__img:nth-child(2) { z-index: 2; }
.svc__img:nth-child(3) { z-index: 3; } .svc__img:nth-child(4) { z-index: 4; }
.svc__img.is-shown { clip-path: inset(0 0 0 0 round 30px); transform: none; }
.svc__item { padding-block: clamp(56px, 13vh, 132px); border-top: 1px solid var(--line); }
.svc__item:first-child { border-top: 0; padding-top: 8px; }
.svc__thumb { display: none; }
.svc__icon { font-size: 30px; color: var(--ink-3); transition: color 0.5s, transform 0.6s var(--spring); display: inline-block; }
.svc__item h3 {
  margin-top: 18px;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); font-weight: 640; letter-spacing: -0.035em; line-height: 1.1;
  color: var(--ink-3); transition: color 0.5s;
}
.svc__item p { margin-top: 14px; color: var(--ink-3); max-width: 44ch; transition: color 0.5s; }
.svc__item.is-active .svc__icon { color: var(--accent); transform: scale(1.12); }
.svc__item.is-active h3 { color: var(--ink); }
.svc__item.is-active p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  font-size: 13.5px; font-weight: 550; padding: 6px 13px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2);
}

/* ---------- Landlords (swinging tag) ---------- */
.landlords { background: var(--bg-2); padding-block: var(--section-y); overflow: clip; }
.landlords__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.landlords__copy .btn { margin-top: 32px; }
.tag-wrap { display: grid; place-items: center; padding-top: 120px; }
.tag {
  --rot: 0deg;
  position: relative;
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 26px;
  padding: 72px 32px 26px;
  transform-origin: 50% -104px;
  transform: rotate(var(--rot));
  transition: transform 1.1s var(--spring);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.7),
    0 2px 6px rgb(var(--shadow-tint) / 0.06),
    0 48px 90px -44px rgb(var(--shadow-tint) / 0.5);
}
html.motion .tag.is-in { animation: swing 2.6s cubic-bezier(0.37, 0, 0.3, 1) both; }
@keyframes swing {
  0% { transform: rotate(-11deg); }
  24% { transform: rotate(7deg); }
  46% { transform: rotate(-3.8deg); }
  66% { transform: rotate(1.9deg); }
  84% { transform: rotate(-0.7deg); }
  100% { transform: rotate(0deg); }
}
.tag__hole {
  position: absolute; top: 22px; left: 50%; width: 26px; height: 26px; margin-left: -13px;
  border-radius: 50%; background: var(--bg-2);
  box-shadow: 0 0 0 5px var(--accent-soft), inset 0 2px 4px rgb(var(--shadow-tint) / 0.25);
}
.tag__string {
  position: absolute; bottom: calc(100% - 35px); left: 50%; width: 2px; margin-left: -1px; height: 139px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-radius: 2px;
}
.tag__string::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--ink-2);
}
.tag__head { display: grid; gap: 4px; padding-bottom: 18px; }
.tag__kicker { font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.tag__title { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.tag__list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-top: 1px dashed var(--line-strong);
  font-size: 16px; font-weight: 500; line-height: 1.4;
}
.tag__list i { font-size: 22px; color: var(--accent); flex: none; margin-top: -1px; }
html.motion .tag__list i { transform: scale(0); transition: transform 0.6s var(--spring); }
html.motion .tag.is-in .tag__list li:nth-child(1) i { transform: none; transition-delay: 1.1s; }
html.motion .tag.is-in .tag__list li:nth-child(2) i { transform: none; transition-delay: 1.35s; }
html.motion .tag.is-in .tag__list li:nth-child(3) i { transform: none; transition-delay: 1.6s; }
html.motion .tag.is-in .tag__list li:nth-child(4) i { transform: none; transition-delay: 1.85s; }
.tag__foot {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--ink);
  font-size: 13px; font-weight: 500; color: var(--ink-3);
}

/* ---------- Process (filling pipe) ---------- */
.process { padding-block: var(--section-y); }
.steps { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.pipe {
  position: absolute; left: 28px; top: 25px; height: 6px; width: 75%;
  border-radius: 6px; background: var(--line-strong); overflow: hidden;
}
.pipe__fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, #6ea2f5, var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}
.steps.is-vertical .pipe__fill { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, #6ea2f5, var(--accent)); }
.step__node {
  position: relative;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  color: var(--ink-3); font-size: 24px;
  transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.6s, transform 0.6s var(--spring);
}
.step.is-lit .step__node {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 0 0 8px var(--accent-soft);
  transform: scale(1.06);
}
.step h3 { margin-top: 26px; font-size: 21px; font-weight: 630; letter-spacing: -0.025em; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 30ch; }

/* ---------- About ---------- */
.about { padding-block: calc(var(--section-y) * 0.4) var(--section-y); position: relative; }
.about__figure { border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 8.6; position: relative; background: var(--surface-2); }
.about__figure img {
  position: absolute; left: 0; top: -7%; width: 100%; height: 114%;
  object-fit: cover; object-position: 50% 30%;
  transform: translateY(var(--py, 0px));
  will-change: transform;
}
.about__card {
  position: relative; z-index: 1;
  max-width: 540px; margin: -230px clamp(16px, 3vw, 40px) 0 auto;
  padding: clamp(28px, 3vw, 40px); border-radius: 28px;
}
.about__card p { margin-top: 16px; color: var(--ink-2); }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.ticks i { font-size: 21px; color: var(--accent); }

/* ---------- Areas marquee ---------- */
.areas { padding-block: calc(var(--section-y) * 0.5) calc(var(--section-y) * 0.7); overflow: clip; }
.areas__label { text-align: center; color: var(--ink-3); font-weight: 550; margin-bottom: 28px; }
.marquee { display: grid; gap: 4px; }
.marquee__row {
  display: flex; align-items: center; width: max-content;
  font-size: clamp(3rem, 1.8rem + 5.4vw, 7.25rem);
  font-weight: 660; letter-spacing: -0.05em; line-height: 1.12; white-space: nowrap;
}
.marquee__row > * { margin-right: 0.32em; }
.marquee__row i { font-size: 0.34em; color: var(--accent); }
.marquee__row--b span { color: transparent; -webkit-text-stroke: 1.4px var(--ink-3); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__row--a { animation: mq 70s linear infinite; }
  .marquee__row--b { animation: mq 80s linear infinite reverse; }
  @supports (animation-timeline: view()) {
    /* Scroll-linked where supported: the rows slide as you scroll past */
    .marquee__row--a { animation: mq-scroll-a linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .marquee__row--b { animation: mq-scroll-b linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mq-scroll-a { from { transform: translateX(-4%); } to { transform: translateX(-38%); } }
@keyframes mq-scroll-b { from { transform: translateX(-40%); } to { transform: translateX(-6%); } }

/* ---------- Reviews ---------- */
.reviews { position: relative; padding-block: var(--section-y); overflow: clip; }
.reviews__field {
  position: absolute; inset: 8% -10%;
  background:
    radial-gradient(38% 48% at 22% 42%, rgb(42 102 208 / 0.3), transparent 70%),
    radial-gradient(34% 44% at 78% 62%, rgb(110 162 245 / 0.3), transparent 70%),
    radial-gradient(28% 36% at 55% 22%, rgb(13 31 58 / 0.14), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reviews__field { animation: drift 22s ease-in-out infinite alternate; }
}
@keyframes drift { to { transform: translate3d(4%, -3%, 0) scale(1.06); } }
.reviews__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.reviews__nav { display: flex; gap: 10px; flex: none; }
.reviews__track {
  --edge: max(var(--pad-x), calc((100vw - 1280px) / 2 + var(--pad-x)));
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 84vw); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 12px var(--edge) 48px;
  scrollbar-width: none; cursor: grab;
}
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px;
  border-radius: 28px; padding: 32px;
  min-height: 300px;
  transition: transform 0.6s var(--spring);
}
.review:hover { transform: translateY(-5px); }
.stars { display: flex; gap: 3px; color: var(--accent); font-size: 17px; }
.review blockquote { flex: 1; font-size: 18.5px; line-height: 1.5; font-weight: 520; letter-spacing: -0.012em; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-size: 15.5px; font-weight: 620; }
.review figcaption span:last-child { font-size: 14px; color: var(--ink-3); line-height: 1.35; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
}

/* ---------- Advice bento ---------- */
.advice { padding-block: calc(var(--section-y) * 0.6) var(--section-y); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(232px, auto); gap: 16px; }
.cell {
  position: relative; overflow: hidden;
  grid-column: span 5;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 32px; border-radius: 28px;
  background: var(--surface); border: 1px solid var(--line);
}
.cell h3 { font-size: 21px; font-weight: 630; letter-spacing: -0.025em; line-height: 1.2; }
.cell p { color: var(--ink-2); max-width: 46ch; }
.cell__icon { font-size: 34px; color: var(--accent); margin-bottom: auto; }
.cell__big { font-size: clamp(3.6rem, 2rem + 5vw, 6.5rem) !important; font-weight: 660; letter-spacing: -0.055em; line-height: 0.95; margin-bottom: 10px; max-width: none !important; }
.cell--photo { grid-column: 1 / span 7; grid-row: span 2; color: #f3f5f8; border: 0; min-height: 480px; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cell--photo:hover img { transform: scale(1.04); }
.cell--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 17 33 / 0.05) 25%, rgb(7 17 33 / 0.86) 100%); }
.cell__body { position: relative; z-index: 1; display: grid; gap: 10px; }
.cell--photo p, .cell--accent p { color: rgb(243 245 248 / 0.86); }
.cell--tint { background: var(--accent-soft); border-color: transparent; }
.cell--tint .cell__big { color: var(--accent-ink); }
.cell--accent {
  color: #f3f5f8; border: 0;
  background: radial-gradient(110% 80% at 100% 0%, rgb(140 185 255 / 0.35), transparent 55%), linear-gradient(155deg, #2a66d0, #143a7e);
}
.cell--accent .cell__icon { color: #d6e4ff; }
.cell--wide { grid-column: span 7; }

/* ---------- FAQs (details/summary: crawlable, no JS needed) ---------- */
.faq { background: var(--bg-2); padding-block: var(--section-y); }
.faq__grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: 112px; }
.faq__intro .btn { margin-top: 28px; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  transition: border-color 0.3s, box-shadow 0.4s;
}
.faq__item[open] { border-color: rgb(42 102 208 / 0.28); box-shadow: 0 24px 50px -34px rgb(var(--shadow-tint) / 0.5); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 22px; border-radius: 22px;
  font-size: 17.5px; font-weight: 620; letter-spacing: -0.015em; line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover .faq__icon { background: var(--accent-soft); }
.faq__icon {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-2); transition: transform 0.55s var(--spring), background 0.25s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--ink);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--accent); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__answer p { padding: 0 22px 22px; color: var(--ink-2); max-width: 62ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__answer { animation: faqIn 0.5s var(--ease-out); }
}
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Gas emergency (deliberate dark block) ---------- */
.emergency {
  position: relative; overflow: clip;
  padding-block: clamp(88px, 10vw, 140px);
  color: #eef2f8;
  background:
    radial-gradient(60% 80% at 0% 100%, rgb(42 102 208 / 0.28), transparent 60%),
    #0a1628;
}
.emergency__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.emergency__title { font-size: clamp(3.6rem, 2rem + 6.2vw, 7.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.98; }
.emergency__lead { margin: 22px 0 36px; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem); color: rgb(238 242 248 / 0.8); max-width: 40ch; }
.emergency__call {
  display: inline-flex; align-items: center; gap: 18px;
  color: #fff; text-decoration: none;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); font-weight: 650; letter-spacing: -0.035em;
  transition: color 0.25s;
}
.emergency__call:hover { color: var(--accent-hero); }
.emergency__ring {
  position: relative; width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 26px;
  background: var(--accent); color: #fff;
}
.emergency__ring::before, .emergency__ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgb(110 162 245 / 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .emergency__ring::before { animation: ring 2.4s var(--ease-out) infinite; }
  .emergency__ring::after { animation: ring 2.4s var(--ease-out) 1.2s infinite; }
}
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.emergency__list { display: grid; gap: 10px; }
.emergency__list li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 20px;
  background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.09);
  font-size: 17px; font-weight: 520;
}
.emergency__list i { font-size: 24px; color: var(--accent-hero); flex: none; }
.emergency__note {
  grid-column: 1 / -1;
  padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(238 242 248 / 0.76);
}
.emergency__note a { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Booking ---------- */
.book {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px);
  align-items: start; padding-block: var(--section-y);
}
.contact-list { display: grid; gap: 4px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 550; }
.contact-list i { font-size: 21px; color: var(--accent); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.book__img { margin-top: 32px; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10.5; }
.book__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

.form {
  position: sticky; top: 100px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 30px; padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 40px 90px -50px rgb(var(--shadow-tint) / 0.45);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.optional { color: var(--ink-3); font-weight: 500; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px;
  border-radius: 14px; border: 1.5px solid var(--field-line);
  background: var(--field-bg); color: var(--ink);
  font: inherit; font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { padding: 14px 16px; resize: vertical; min-height: 116px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(42 102 208 / 0.22);
}
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-2); }
.field__err { font-size: 13.5px; font-weight: 550; color: var(--danger); min-height: 0; }
.field__err:empty { display: none; }
.field__help { font-size: 13.5px; color: var(--ink-3); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field.has-error input:focus, .field.has-error select:focus { box-shadow: 0 0 0 4px rgb(180 35 35 / 0.18); }
.btn__spinner {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
.is-loading .btn__spinner { display: block; }
.is-loading { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__done { text-align: center; padding: 56px 12px; outline: none; }
.form__done-icon { display: inline-grid; font-size: 64px; color: var(--accent); animation: pop 0.8s var(--spring); }
.form__done h3 { margin-top: 12px; font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
.form__done p { margin: 10px auto 18px; color: var(--ink-2); max-width: 34ch; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }

/* ---------- Intro film ---------- */
.film { padding-block: calc(var(--section-y) * 0.35) var(--section-y); }
.film__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.film__poster {
  --fs: 1;
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: pointer; color: inherit;
  border-radius: 32px;
  transform: scale(var(--fs));
  transform-origin: 50% 0%;
}
.film__poster:focus-visible { outline-offset: 6px; border-radius: 32px; }
.film__frame {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 32px; background: var(--navy);
  box-shadow: 0 50px 100px -50px rgb(var(--shadow-tint) / 0.55);
}
.film__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(315deg, rgb(7 17 33 / 0.5) 0%, transparent 34%); }
.film__poster:hover .film__frame img { transform: scale(1.03); }
.film__cta {
  position: absolute; right: clamp(14px, 2.6vw, 32px); bottom: clamp(14px, 2.6vw, 32px); z-index: 1;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  color: #f3f5f8; font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.6s var(--spring);
}
.film__poster:hover .film__cta { transform: translateY(-3px); }
.film__play {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 20px; color: #fff;
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 10px 24px -10px rgb(42 102 208 / 0.8);
  transition: transform 0.6s var(--spring);
}
.film__play i { margin-left: 3px; }
.film__poster:hover .film__play { transform: scale(1.08); }
.film__time { opacity: 0.72; font-weight: 500; font-variant-numeric: tabular-nums; }

html.has-modal { overflow: hidden; }
.film-modal {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden;
}
.film-modal[open] { display: grid; place-items: center; }
.film-modal::backdrop { background: rgb(5 12 24 / 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.film-modal__inner { position: relative; width: min(1280px, 92vw, calc(84dvh * 16 / 9)); aspect-ratio: 16 / 9; }
.film-modal video { display: block; width: 100%; height: 100%; border-radius: 22px; background: #050c18; box-shadow: 0 40px 120px -30px rgb(0 0 0 / 0.7); }
.film-modal__close { position: absolute; top: -64px; right: 0; color: #f3f5f8; }
.film-modal__end {
  position: absolute; inset: 0; border-radius: 22px;
  display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center;
  background: rgb(7 17 33 / 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #f3f5f8;
}
.film-modal__end p { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 650; letter-spacing: -0.03em; }
.film-modal__end .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .film-modal[open]::backdrop { animation: fadeIn 0.22s ease-out; }
  .film-modal.is-closing::backdrop { animation: fadeOut 0.5s ease-in forwards; }
  .film-modal__close { transition: opacity 0.3s ease 0.1s; }
  .film-modal.is-morphing .film-modal__close, .film-modal.is-closing .film-modal__close { opacity: 0; transition-delay: 0s; }
  .film-modal__end:not([hidden]) { animation: fadeIn 0.5s ease-out; }
}
@keyframes fadeOut { to { opacity: 0; } }
.film-modal__inner { transform-origin: 0 0; will-change: transform; }
@keyframes fadeIn { from { opacity: 0; } }

/* "Loading video" label: shown only while the video waits for data */
.film-modal__loading {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 10px 16px; border-radius: 999px; pointer-events: none;
  background: rgb(7 17 33 / 0.66); color: #f3f5f8; font-size: 14.5px; font-weight: 550;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.25s;
}
.film-modal.is-loading .film-modal__loading { opacity: 1; transition-delay: 0.35s; }
.film-modal__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-hero); }
@media (prefers-reduced-motion: no-preference) {
  .film-modal.is-loading .film-modal__pulse { animation: pulseDot 1s ease-in-out infinite alternate; }
}
@keyframes pulseDot { from { opacity: 0.35; transform: scale(0.8); } to { opacity: 1; transform: scale(1.15); } }

/* Booking form extras */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 14px; font-size: 14.5px; font-weight: 550; color: var(--danger); text-align: center; }
.form__error a { color: inherit; font-weight: 650; }
.form__privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Legal page (privacy) ---------- */
.legal { padding-block: clamp(120px, 14vw, 168px) var(--section-y); }
.legal__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.legal__date { margin-top: 16px; font-size: 14.5px; color: var(--ink-3); }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 104px; display: grid; gap: 2px; }
.legal__toc a {
  padding: 8px 14px; border-radius: 12px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.legal__toc a:hover { background: var(--surface-2); color: var(--ink); }
.legal__toc a.is-current { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.legal__body { max-width: 68ch; }
.legal__body section { scroll-margin-top: 104px; }
.legal__body section + section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal__body h2 { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); font-weight: 640; letter-spacing: -0.025em; line-height: 1.2; }
.legal__body p, .legal__body ul { margin-top: 14px; color: var(--ink-2); }
.legal__body strong { color: var(--ink); font-weight: 620; }
.legal__body a:not(.btn) { color: var(--accent-ink); text-underline-offset: 3px; }
.legal__body ul li { position: relative; padding-left: 22px; margin-top: 10px; }
.legal__body ul li::before { content: ""; position: absolute; left: 4px; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal__uses li { padding: 16px 18px 16px 44px !important; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.legal__uses li::before { left: 20px !important; top: 1.45em !important; }
.legal__callout { margin-top: 24px; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.legal__callout p { margin-top: 0 !important; }
.legal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn--quiet { background: var(--surface-2); color: var(--ink); }
.btn--quiet:hover { background: var(--bg-2); }
.form__privacy a { color: var(--accent-ink); font-weight: 600; text-underline-offset: 3px; }
.footer__col a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 72px 32px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand p { margin-top: 18px; color: var(--ink-2); max-width: 36ch; }
.footer__col { display: grid; align-content: start; gap: 2px; }
.footer__col h3 { font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.footer__col a, .footer__col span { color: var(--ink-2); text-decoration: none; padding: 5px 0; font-size: 15px; }
.footer__col a:hover { color: var(--ink); }
.footer__col span a { padding: 0; }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-3);
}
.footer__base a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Mobile dock ---------- */
.dock {
  position: fixed; z-index: 40;
  left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; gap: 6px; padding: 6px; border-radius: 999px;
  transform: translate(-50%, 160%);
  transition: transform 0.7s var(--spring);
}
.dock.is-visible { transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .audience { grid-template-rows: auto auto 1fr auto; }
  .aud { grid-template-columns: 1fr; min-height: 0; }
  .aud__icon { display: none; }
  .aud__img { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 10; min-height: 0; margin-bottom: 4px; }
  .aud > :not(.aud__img) { margin-left: 0; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; margin-left: 0; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .cell, .cell--wide { grid-column: span 3; }
  .cell--photo { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .nav { top: 8px; }
  .nav__bar { height: 60px; padding: 0 6px 0 8px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .hero { padding-block: 96px 170px; align-items: end; }
  .hero__media img { object-position: 72% 30%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgb(7 17 33 / 0.5) 0%, rgb(7 17 33 / 0.35) 30%, rgb(7 17 33 / 0.86) 72%, rgb(7 17 33 / 0.92) 100%);
  }
  .hero__ctas .btn { flex: 1 1 auto; }
  .audience { grid-template-columns: 1fr; grid-template-rows: none; margin-top: -120px; gap: 14px; }
  .aud { grid-row: auto; grid-template-rows: none; padding: 16px 16px 20px; }
  .aud > :not(.aud__img) { margin-inline: 4px; }
  .svc { grid-template-columns: 1fr; }
  .svc__stage { display: none; }
  .svc__thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-bottom: 22px; }
  .svc__item { padding-block: 40px; }
  .svc__item:first-child { padding-top: 0; }
  .svc__item .svc__icon { color: var(--accent); }
  .svc__item h3 { color: var(--ink); }
  .svc__item p { color: var(--ink-2); }
  .landlords__grid { grid-template-columns: 1fr; }
  .tag-wrap { padding-top: 110px; }
  .tag { padding: 68px 22px 22px; }
  .steps__list { grid-template-columns: 1fr; gap: 36px; }
  .step { position: relative; padding-left: 80px; }
  .step__node { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: 12px; }
  .about__figure { aspect-ratio: 4 / 3.4; border-radius: 24px; }
  .about__card { margin: -64px 10px 0; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .review { padding: 24px; min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .cell, .cell--wide, .cell--photo { grid-column: 1 / -1; }
  .cell { padding: 24px; min-height: 0; }
  .cell--photo { min-height: 440px; }
  .emergency__grid { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
  .form { position: static; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer { padding-bottom: 112px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .film__poster, .film__frame { border-radius: 22px; }
  .film__cta { padding: 6px; }
  .film__label, .film__time { display: none; }
  .film__play { width: 48px; height: 48px; font-size: 18px; }
  .film-modal__inner { width: 100vw; }
  .film-modal video, .film-modal__end { border-radius: 0; }
  .film-modal__close { top: -60px; right: 12px; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
  .page-legal .footer { padding-bottom: 40px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__item summary { padding: 18px; font-size: 16.5px; }
  .faq__answer p { padding: 0 18px 18px; }
  .dock { display: flex; }
  .dock .btn { height: 48px; }
}

/* ==========================================================================
   Reduced motion: everything settles instantly, nothing loops.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
