/* ═══════════════════════════════════════════════════════════════════════════
   WASH ME HOMEPAGE v2 · home.css
   Mobile-first. Brand tokens match the live site (landing-premium/styles.css).

   MOTION RULES (the reason the old page felt glitchy, and how this one avoids it):
   - Only transform and opacity ever animate, so all motion stays on the compositor.
   - Scroll motion uses native CSS scroll-driven animations (animation-timeline:
     view() / scroll()) inside @supports. Where those aren't supported, a single
     IntersectionObserver adds a class once. No scroll listeners, no rAF loops.
   - No backdrop-filter on anything that moves or sits over scrolling content
     on touch devices. No animated filter:blur, no mix-blend glows, no infinite
     animations over the hero. The marquee is the one loop: transform-only, and
     paused while off screen.
   - prefers-reduced-motion removes all of it.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/urbanist-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/urbanist-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2-variations"), url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  --ink: #050708;
  --ink-2: #0a0f12;
  --ink-3: #10171c;
  --white: #f6fbff;
  --muted: #aebac2;
  --cyan: #0cc7e1;
  --cyan-bright: #80e7fb;
  /* Brand cyan #0cc7e1 darkened ONLY in lightness (same 187deg hue and saturation)
     so small text on the light paper sections passes AA: 4.64:1 on #f2f6f7.
     The old #07899b was a different, duller teal at only 3.81:1. */
  --cyan-ink: #077a8a;
  --paper: #f2f6f7;
  --paper-ink: #071014;
  --paper-muted: #56646c;
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.24);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: Outfit, Inter, "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --shell: min(1240px, 100% - var(--gutter) * 2);
  --hdr-h: 60px;
  --hdr-top: 10px;
  /* Full visual footprint of the floating pill header plus breathing room.
     Every in-page anchor lands its section top exactly here. */
  --anchor-offset: calc(var(--hdr-top) + var(--hdr-h) + 16px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* overflow-x: clip (not hidden) so no extra scroll container is created, which
   used to break sticky/fixed behaviour and scroll anchoring on iOS. */
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, p { margin: 0; }
svg { flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; border-radius: 6px; }
.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-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; border-radius: 8px; background: white; color: black; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.shell { width: var(--shell); margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Anchor landing. A section's own top padding already gives clearance, so each
   section is pulled down only by what its padding lacks. The kicker and title
   then land a constant 28px below the header's bottom edge, at every width and
   for both in-page clicks and /#deep-links. Without this, sections with large
   padding showed a slab of the previous section above them, and short-padded
   ones tucked under the pill. --pt mirrors each section's padding-top. */
[id] { scroll-margin-top: var(--anchor-offset); }
section[id] { scroll-margin-top: max(0px, calc(var(--anchor-offset) + 28px - var(--pt, 0px))); }
#top { scroll-margin-top: 0; }
.how, .services, .why, .app, .areas { --pt: 88px; }

/* ── Type ───────────────────────────────────────────────────────────────── */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.055em; line-height: .92; text-wrap: balance; }
h1 em, h2 em { font-style: normal; font-weight: 600; color: var(--cyan); }
h2 { font-size: clamp(42px, 11.5vw, 104px); }
h3 { font: 600 20px/1.15 var(--display); letter-spacing: -.02em; }
.kicker, .eyebrow { margin-bottom: 16px; color: var(--cyan-bright); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.head { margin-bottom: 36px; }
.head-split > p, .head-aside > p { margin-top: 20px; max-width: 46ch; color: var(--muted); font-size: 16px; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid rgba(12, 199, 225, .5); color: var(--white); font-size: 15px; font-weight: 600; }
.arrow-link svg { width: 18px; height: 18px; color: var(--cyan); transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 650; letter-spacing: -.005em; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, #2bd6ee, var(--cyan)); color: #03191d; box-shadow: 0 10px 30px rgba(12, 199, 225, .28), inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(12, 199, 225, .38), inset 0 -1px 0 rgba(0, 0, 0, .12); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .06); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 16px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.hdr { position: fixed; z-index: 50; top: var(--hdr-top); left: 10px; right: 10px; display: flex; align-items: center; gap: 10px; height: var(--hdr-h); padding: 0 8px 0 16px; border-radius: 999px; isolation: isolate; transform-origin: 50% 0; --hdr-shrink: .97; --hdr-lift: -4px; }
/* SCROLL SHRINK (the old site's effect, rebuilt). The old header animated width,
   height and top on a class toggle, which forced layout on every change. Here the
   header's layout box never changes: only the individual `scale` and `translate`
   properties move, tied to scroll position over the first 160px. Native
   scroll-timeline where available; elsewhere home.js writes --hdr-p (0..1) from a
   rAF-throttled passive listener. */
.hdr { scale: calc(1 - (1 - var(--hdr-shrink)) * var(--hdr-p, 0)); translate: var(--hdr-x, 0) calc(var(--hdr-lift) * var(--hdr-p, 0)); }
/* Two stacked surfaces. The transparent one shows over the hero and the solid one
   fades in on scroll. Only ::after's OPACITY changes, so nothing re-lays out the
   way the old header did when it animated width/height/top on every toggle. */
.hdr::before, .hdr::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; }
.hdr::before { border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 13, 16, .32); }
.hdr::after { border: 1px solid rgba(255, 255, 255, .12); background: rgba(7, 11, 14, .94); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.hdr.is-scrolled::after { opacity: 1; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 62px; height: 44px; object-fit: contain; }
.hdr-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--cyan); color: #03191d; font-size: 13px; font-weight: 700; transition: opacity .25s, transform .25s var(--ease); }
/* On phones, when the bottom booking bar is up, the header CTA steps aside so only one "Book now" is visible. */
.bar-on .hdr-cta { opacity: 0; transform: scale(.9); pointer-events: none; }
.menu-toggle { position: relative; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(255, 255, 255, .05); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
/* Mobile menu: opaque panel (no backdrop-filter), fades and slides on transform. */
.nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line-2); border-radius: 24px; background: #0b1216; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
.nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
.nav a { display: flex; align-items: center; min-height: 50px; padding: 0 14px; border-radius: 14px; font: 500 22px/1 var(--display); letter-spacing: -.02em; }
.nav a:hover { background: rgba(255, 255, 255, .06); }
.nav .nav-book { justify-content: space-between; margin-top: 8px; background: var(--cyan); color: #03191d; font: 650 16px/1 var(--body); letter-spacing: 0; }
.nav .nav-book svg { width: 18px; height: 18px; }
.nav .nav-book:hover { background: #2bd6ee; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; display: flex; min-height: 100svh; padding: calc(var(--hdr-h) + 40px) 0 22px; overflow: hidden; background: #000; }
.hero-media, .hero-media img, .hero-shade { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 40%; }
.hero-shade { z-index: -1; background:
  linear-gradient(180deg, rgba(3, 6, 8, .55) 0%, rgba(3, 6, 8, .12) 22%, rgba(3, 6, 8, .35) 46%, rgba(3, 6, 8, .9) 70%, #050708 100%); }
.hero-inner { display: flex; flex-direction: column; justify-content: flex-end; gap: 26px; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 26px; height: 1px; background: var(--cyan); }
.hero h1 { font-size: clamp(50px, 14.6vw, 132px); line-height: .9; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 9, 11, .5); color: rgba(255, 255, 255, .86); font-size: 12.5px; font-weight: 500; }
.chips svg { width: 14px; height: 14px; color: var(--cyan); }
.hero-lede { max-width: 30em; margin-top: 18px; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.55; }
.hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
.hero-actions .btn { width: 100%; }
.hero-price { margin-top: 14px; color: rgba(255, 255, 255, .62); font-size: 13px; }
.hero-price strong { color: var(--white); font-weight: 650; }
.hero-foot { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 0 10px; border-left: 1px solid var(--line); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dd { display: flex; align-items: center; gap: 3px; font: 600 clamp(17px, 5vw, 30px)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.stats dd svg { width: .62em; height: .62em; color: var(--cyan); }
.stats div:last-child dd { font-size: clamp(14px, 4.1vw, 30px); }
.stats dt { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.stores { display: flex; gap: 8px; }
.store { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0, 0, 0, .55); transition: border-color .2s, transform .2s var(--ease); }
.store:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }
.store > svg { width: 22px; height: 22px; color: white; }
.store > img { width: 20px; height: 22px; }
.store span { display: grid; font-size: 14px; font-weight: 600; line-height: 1.05; }
.store small { font-size: 8px; font-weight: 500; letter-spacing: .04em; opacity: .7; }

/* Hero entrance: plays once on load, transform/opacity only. The h1 and hero
   image are never hidden, since either can be the LCP element. */
@media (prefers-reduced-motion: no-preference) {
  .js .in-1, .js .in-2, .js .in-3, .js .in-4 { animation: rise .9s var(--ease) both; }
  .js .in-2 { animation-delay: .12s; }
  .js .in-3 { animation-delay: .22s; }
  .js .in-4 { animation-delay: .34s; }
  .js .hero h1 { animation: settle 1.1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: translate3d(0, 14px, 0); } to { transform: none; } }

/* ── How it works ───────────────────────────────────────────────────────── */
.how { padding: 88px 0 80px; background: var(--ink); }
.steps { position: relative; isolation: isolate; display: grid; gap: 0; }
/* The progress rail: a static track plus a fill that scales with scroll. */
.steps::before, .steps::after { content: ""; position: absolute; z-index: -1; left: 19px; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.steps::after { background: var(--cyan); transform-origin: top; transform: scaleY(1); }
.steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; padding: 0 0 30px; }
.steps li:last-child { padding-bottom: 0; }
.step-n { position: relative; z-index: 1; grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(12, 199, 225, .55); border-radius: 50%; background: var(--ink); color: var(--cyan-bright); font: 600 13px/1 var(--display); letter-spacing: .04em; }
.steps h3 { align-self: center; padding-top: 9px; font-size: 21px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }
/* Step-1 illustration: a small, UNtilted phone with a real app capture. Secondary
   to the steps, so it is kept small and quiet: no halo, thinner bezel. */
.how-shot { display: grid; justify-items: center; gap: 14px; margin-top: 48px; }
.mini-phone { width: 196px; padding: 6px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 33px; background: #071017; box-shadow: 0 26px 60px rgba(0, 0, 0, .5); }
.mini-phone img { width: 100%; height: auto; aspect-ratio: 600 / 1304; border-radius: 27px; }
.how-shot figcaption { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.how-shot figcaption span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(12, 199, 225, .55); border-radius: 50%; color: var(--cyan-bright); font: 600 10px/1 var(--display); }

/* ── Services ───────────────────────────────────────────────────────────── */
.services { padding: 88px 0 72px; background: var(--paper); color: var(--paper-ink); }
.services .kicker { display: flex; align-items: center; gap: 10px; color: var(--cyan-ink); }
.services .kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--cyan); }
/* Big display highlight stays the true brand cyan (#0cc7e1, the live-site token). */
.services h2 em { color: var(--cyan); }
.services .head-split > p { color: var(--paper-muted); }
.svc-grid { display: grid; gap: 14px; }
/* Phone: a compact horizontal card (image | details) so all four prices fit in
   about one and a half screens instead of four. */
.svc { position: relative; display: grid; grid-template-columns: 36% 1fr; overflow: hidden; border: 1px solid rgba(7, 16, 20, .08); border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(7, 16, 20, .04), 0 12px 30px rgba(7, 16, 20, .07); }
.svc-media { position: relative; overflow: hidden; background: #0a1115; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc-media img { transform: scale(1.04); }
.svc-tag { position: absolute; top: 8px; left: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(5, 8, 10, .78); color: white; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.svc-tag-cyan { background: var(--cyan); color: #03191d; }
.svc-body { display: flex; flex-direction: column; padding: 14px 14px 14px 16px; }
.svc h3 { font-size: 19px; }
.svc-body > p { margin-top: 5px; color: var(--paper-muted); font-size: 13px; line-height: 1.45; }
.svc-incl { display: none; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { display: grid; font: 600 22px/1 var(--display); letter-spacing: -.03em; }
.price small { margin-bottom: 3px; color: var(--paper-muted); font: 600 9.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.btn-card { min-height: 40px; padding: 0 14px; gap: 6px; background: var(--paper-ink); color: white; font-size: 13px; }
.btn-card svg { width: 15px; height: 15px; }
.btn-card:hover { background: #0e2a31; transform: translateY(-1px); }
.svc-feature { border-color: rgba(12, 199, 225, .45); }
.svc-feature .btn-card { background: var(--cyan); color: #03191d; }
.svc-feature .btn-card:hover { background: #2bd6ee; }
.svc-note { margin-top: 26px; color: var(--paper-muted); font-size: 14px; text-align: center; }
.svc-note a { color: var(--paper-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 3px; }

/* ── Fleet band ─────────────────────────────────────────────────────────── */
.fleet { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 560px; padding: 80px 0 64px; background: #020405; }
.fleet-media { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.fleet-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.fleet::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(2, 4, 5, .2) 0%, rgba(2, 4, 5, .55) 45%, #050708 100%); }
.fleet-copy > p:not(.kicker) { max-width: 44ch; margin: 18px 0 26px; color: rgba(255, 255, 255, .74); }

/* ── Why ────────────────────────────────────────────────────────────────── */
.why { padding: 88px 0; background: var(--ink); }
.why-grid { display: grid; gap: 44px; }
.why-media { position: relative; overflow: hidden; border-radius: 20px; }
.why-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 55% 50%; }
.why-media figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5, 8, 10, .82); color: var(--muted); font-size: 13px; }
.why-media strong { color: var(--white); font-weight: 600; }
.diffs { display: grid; border-top: 1px solid var(--line); }
.diffs li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.diffs svg { width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(12, 199, 225, .35); border-radius: 12px; color: var(--cyan-bright); background: rgba(12, 199, 225, .06); }
.diffs h3 { font-size: 19px; }
.diffs p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }

/* ── App ────────────────────────────────────────────────────────────────── */
.app { position: relative; isolation: isolate; overflow: hidden; padding: 88px 0 72px; background: #030405; }
.app-grid { display: grid; gap: 52px; }
.app-copy > p:not(.kicker):not(.legal) { max-width: 40ch; margin-top: 18px; color: rgba(255, 255, 255, .74); }
.app-points { display: grid; gap: 10px; margin: 24px 0 28px; }
.app-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.app-points svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(12, 199, 225, .16); color: var(--cyan-bright); }
.stores-lg .store { min-height: 54px; }
.stores-lg .store span { font-size: 16px; }
.legal { margin-top: 14px; color: rgba(255, 255, 255, .5); font-size: 11px; line-height: 1.5; }
.legal a { color: rgba(255, 255, 255, .82); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
/* (phone side of the app section: see v2/legacy-app.css) */

/* ── Coverage ───────────────────────────────────────────────────────────── */
.areas { padding: 88px 0 72px; border-top: 1px solid rgba(255, 255, 255, .06); background: var(--ink); overflow: hidden; }
.areas .head-split { margin-bottom: 44px; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; gap: 22px; padding: 20px 0 20px 22px; font: 600 28px/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.marquee li::after { content: "✦"; color: var(--cyan); font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee.is-paused .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.final { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 600px; padding: 96px 0; text-align: center; background: #020405; }
.final-media { position: absolute; z-index: -2; inset: 0; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.final::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(3, 6, 8, .5), rgba(3, 6, 8, .88)), linear-gradient(180deg, var(--ink), transparent 30%, transparent 70%, #030405); }
.final h2 { font-size: clamp(44px, 12vw, 112px); }
.final-actions { display: grid; gap: 10px; max-width: 420px; margin: 34px auto 0; }
.final-meta { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; color: rgba(255, 255, 255, .66); font-size: 13px; }
.final-meta svg { width: 15px; height: 15px; color: var(--cyan); }

/* ── Footer (same structure as live) ────────────────────────────────────── */
.footer { padding: 56px var(--gutter) 28px; border-top: 1px solid var(--line); background: #030405; }
.footer-top { display: grid; gap: 28px; max-width: 1300px; margin: auto; padding-bottom: 40px; }
.footer-brand img { width: 110px; height: auto; }
.footer-top p { color: var(--muted); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(92px, max-content)); gap: 16px 46px; font-size: 14px; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; max-width: 1300px; margin: auto; padding-top: 22px; border-top: 1px solid var(--line); color: #7a8892; font-size: 12px; }
.loro-credit { flex-basis: 100%; width: max-content; max-width: max-content; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .035); }
.loro-credit strong { color: rgba(255, 255, 255, .84); font-weight: 600; }

/* ── Sticky booking bar (phones) ────────────────────────────────────────── */
.bookbar { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8, 13, 16, .96); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); transform: translate3d(0, calc(100% + 30px), 0); transition: transform .45s var(--ease); }
.bookbar.is-on { transform: none; }
.bookbar p { display: grid; line-height: 1.2; }
.bookbar strong { font-size: 14px; font-weight: 650; }
.bookbar span { color: var(--muted); font-size: 11.5px; }
.bookbar .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }

/* ── Proof band (quotes) + quick answers ───────────────────────────────── */
.proof { padding: 88px 0; border-top: 1px solid rgba(255, 255, 255, .06); background: var(--ink); }
.quote-grid { display: grid; gap: 12px; }
.quote { display: grid; align-content: space-between; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(circle at 10% 0%, rgba(12, 199, 225, .12), transparent 45%), rgba(255, 255, 255, .025); }
.quote blockquote { margin: 0; font: 400 21px/1.35 var(--display); letter-spacing: -.01em; }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption strong { font-size: 14px; font-weight: 600; }
.quote figcaption span { color: var(--muted); font-size: 12px; }
.mini-faq { margin-top: 56px; }
.mini-faq-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mini-faq-head .kicker { margin: 0; }
.mini-faq-head .arrow-link { margin: 0; }
.faq { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.faq + .faq { margin-top: 8px; }
.faq summary { display: flex; justify-content: space-between; gap: 22px; padding: 20px 22px; cursor: pointer; font: 500 18px/1.3 var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 24px; font-weight: 300; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq-a { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }
.faq-a a { color: var(--white); text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 3px; }
/* Footer socials (client-published profiles) */
.footer-mid { display: grid; gap: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; color: rgba(255, 255, 255, .85); transition: border-color .2s, color .2s, background-color .2s; }
.socials a:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(12, 199, 225, .08); }
.socials svg { width: 19px; height: 19px; }
@media (min-width: 900px) {
  .proof { padding-block: 140px 120px; }
  .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .quote { min-height: 250px; padding: 30px; }
  .mini-faq { display: grid; grid-template-columns: .5fr 1.5fr; gap: 60px; margin-top: 90px; }
  .mini-faq-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; }
  .faq summary { padding: 22px 26px; font-size: 19px; }
  .faq-a { padding: 0 26px 22px; }
}

/* ═══ SCROLL MOTION ═════════════════════════════════════════════════════════
   Tier 1: native scroll-driven animations (Chrome/Edge 115+, Safari 26+).
           Runs off the main thread, can't drop frames because of JS, and
           reverses naturally if you scroll back.
   Tier 2: IntersectionObserver adds .is-in once (home.js), and a CSS
           transition plays it.
   Tier 3: no JS or reduced motion means everything simply shows.            */
@keyframes reveal { from { opacity: 0; transform: translate3d(0, 32px, 0); } to { opacity: 1; transform: none; } }
@keyframes rail { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rail-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { from { transform: translate3d(0, -5%, 0) scale(1.16); } to { transform: translate3d(0, 5%, 0) scale(1.16); } }
@keyframes hdr-solid { to { opacity: 1; } }
@keyframes hdr-shrink { from { scale: 1; translate: var(--hdr-x, 0) 0; } to { scale: var(--hdr-shrink); translate: var(--hdr-x, 0) var(--hdr-lift); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .js .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry calc(var(--i, 0) * 4%) cover calc(22% + var(--i, 0) * 4%); }
    .js .hdr::after { transition: none; animation: hdr-solid linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
    .js .hdr { animation: hdr-shrink linear both; animation-timeline: scroll(root block); animation-range: 0 160px; }
    .steps { view-timeline: --steps block; }
    .js .steps::after { animation: rail linear both; animation-timeline: --steps; animation-range: cover 15% cover 55%; }
    .fleet, .final { view-timeline: --band block; }
    .js .fleet-media img, .js .final-media img { animation: drift linear both; animation-timeline: --band; }
  }
  @supports not (animation-timeline: view()) {
    .js .rv { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
    .js .rv.is-in { opacity: 1; transform: none; }
  }
}
@media print { .js .rv { opacity: 1 !important; transform: none !important; animation: none !important; } .bookbar, .hdr { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; }
}

/* ═══ ≥ 600px ═══════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .hero-actions .btn { width: auto; }
  .stores { max-width: 380px; }
  .final-actions { grid-template-columns: auto auto; justify-content: center; max-width: none; }
  .svc { grid-template-columns: 40% 1fr; }
  .svc-body { padding: 20px; }
  .svc-incl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .svc-incl li { padding: 4px 9px; border-radius: 999px; background: #eef3f4; color: #34434b; font-size: 11.5px; font-weight: 500; }
}

/* ═══ ≥ 900px (tablet / desktop) ═══════════════════════════════════════════ */
@media (min-width: 900px) {
  :root { --gutter: 48px; --hdr-h: 68px; --hdr-top: 16px; }
  /* Old desktop header went 1040x70 at top 18 to 980x64 at top 10, about 0.92 to 0.94 scale and 8px up. */
  .hdr { left: 50%; right: auto; width: min(1180px, 100% - 48px); padding: 0 8px 0 22px; --hdr-x: -50%; --hdr-shrink: .93; --hdr-lift: -8px; }
  /* Centring uses the `translate` property rather than transform: translateX(-50%).
     `scale` is applied inside `transform`, so the old translateX was being scaled
     too and the shrunken header drifted right by about 40px. */
  /* No backdrop-filter. A blurred backdrop has to be re-sampled on every frame of
     the scroll-driven shrink, which produced 50ms frames in testing. The hero's top
     gradient already gives the transparent state enough contrast. */
  .brand { margin-right: 0; }
  .brand img { width: 70px; height: 50px; }
  .menu-toggle { display: none; }
  .nav { position: static; display: flex; flex: 1; justify-content: center; gap: 2px; padding: 0; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav a { min-height: 40px; padding: 0 14px; border-radius: 999px; color: rgba(255, 255, 255, .78); font: 500 13.5px/1 var(--body); letter-spacing: .005em; transition: color .2s, background-color .2s; }
  .nav a:hover { color: white; background: rgba(255, 255, 255, .08); }
  .nav .nav-book { display: none; }
  .hdr-cta, .bar-on .hdr-cta { min-height: 50px; gap: 8px; padding: 0 22px; font-size: 14px; opacity: 1; transform: none; pointer-events: auto; }

  /* HEIGHT-FIT HERO. Everything from the kicker to the stats strip fits the first
     viewport at common desktop heights. Vertical rhythm and headline size are
     clamped against svh, so they compress continuously with window height and
     restore today's full scale from about 900px tall. svh, not vh or dvh, so
     toggling browser chrome never re-flows the hero. */
  .hero { min-height: max(600px, 100svh); padding: calc(var(--hdr-h) + clamp(24px, 11svh - 50px, 60px)) 0 clamp(16px, 4svh - 6px, 32px); }
  .hero-media img { object-position: 62% 50%; }
  .hero-shade { background:
    linear-gradient(90deg, rgba(3, 6, 8, .94) 0%, rgba(3, 6, 8, .78) 30%, rgba(3, 6, 8, .2) 62%, rgba(3, 6, 8, .35) 100%),
    linear-gradient(0deg, rgba(3, 6, 8, .95) 0%, rgba(3, 6, 8, .2) 30%, transparent 55%),
    linear-gradient(180deg, rgba(3, 6, 8, .88), rgba(3, 6, 8, .4) 12%, transparent 24%); }
  .hero-inner { gap: clamp(18px, 8svh - 24px, 48px); }
  .hero-copy { max-width: 660px; }
  .hero h1 { font-size: clamp(64px, min(8.2vw, 14svh - 8px), 132px); }
  .chips { margin-top: clamp(14px, 4svh - 10px, 26px); }
  .chips li { padding: 8px 14px; font-size: 13px; }
  .hero-lede { margin-top: clamp(12px, 3.6svh - 10px, 22px); font-size: 18px; }
  .hero-actions { margin-top: clamp(16px, 4.4svh - 10px, 30px); gap: 12px; }
  .hero-actions .btn { min-height: 58px; padding: 0 28px; font-size: 16px; }
  .hero-foot { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-top: clamp(16px, 4svh - 8px, 28px); }
  .stats div { padding: 0 28px; }
  .stats dt { font-size: 10.5px; }
  .stores { max-width: none; }
  .store { flex: 0 0 auto; min-width: 150px; }

  .head { margin-bottom: 56px; }
  .head-split { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 60px; }
  .head-split > p, .head-aside > p { margin: 0 0 10px; font-size: 18px; }
  .head-aside { justify-self: end; max-width: 420px; padding-bottom: 6px; }
  .head-aside > p { margin: 0; }
  .services h2 { font-size: clamp(54px, 6vw, 92px); }
  .how, .services, .why, .app, .areas { --pt: 140px; padding-block: 140px 120px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps::before, .steps::after { left: 20px; right: 20px; top: 20px; bottom: auto; width: auto; height: 1px; }
  .steps::after { transform-origin: left; transform: scaleX(1); }
  .js .steps::after { animation-name: rail-x; }
  .steps li { display: block; padding: 0; }
  .steps h3 { margin-top: 26px; padding-top: 0; font-size: 24px; }
  .steps p { max-width: 26ch; margin-top: 10px; font-size: 15.5px; }
  .how-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: end; gap: 64px; }
  .how-shot { margin-top: 0; }
  .mini-phone { width: 220px; }

  .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .svc { grid-template-columns: 1fr; grid-template-rows: auto 1fr; border-radius: 22px; transition: transform .35s var(--ease), box-shadow .35s; }
  .svc:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(7, 16, 20, .04), 0 26px 50px rgba(7, 16, 20, .13); }
  .svc-media img { aspect-ratio: 4 / 2.9; height: auto; }
  .svc-tag { top: 12px; left: 12px; padding: 5px 10px; font-size: 10px; }
  .svc-body { padding: 22px 22px 22px; }
  .svc h3 { font-size: 23px; }
  .svc-body > p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
  .svc-incl { margin-top: 16px; }
  .svc-foot { padding-top: 22px; margin-top: auto; }
  .price { font-size: 30px; }
  .btn-card { min-height: 44px; padding: 0 16px; font-size: 13.5px; }
  .svc-feature { box-shadow: 0 0 0 1px rgba(12, 199, 225, .25), 0 18px 44px rgba(12, 199, 225, .14); }
  .svc-note { margin-top: 40px; font-size: 15px; }

  .fleet { min-height: 680px; align-items: center; padding: 120px 0; }
  .fleet::before { background: linear-gradient(90deg, rgba(2, 4, 5, .25) 0%, rgba(2, 4, 5, .45) 40%, rgba(2, 4, 5, .92) 72%); }
  .fleet-media img { object-position: 20% 50%; }
  .fleet-inner { display: flex; justify-content: flex-end; }
  .fleet-copy { max-width: 520px; }
  .fleet h2 { font-size: clamp(54px, 5.6vw, 84px); }

  .why-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .why-media img { aspect-ratio: 4 / 4.6; }
  .why-media figcaption { left: 20px; right: auto; bottom: 20px; }
  .why h2 { font-size: clamp(54px, 5.6vw, 88px); }
  .why .head { margin-bottom: 36px; }
  .diffs li { padding: 20px 0; }

  /* Old site column proportions (.85fr 1.15fr) so the transplanted phone lands where it did live. */
  .app-grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 40px; }
  .app-copy h2 { white-space: nowrap; }
  .app h2 { font-size: clamp(56px, 6vw, 96px); }
  /* Tight top padding so that, after a nav jump to #app, the old 618px phone fits
     between the header and the bottom of a 900px-tall screen. */
  .app { --pt: 72px; padding-block: 72px 64px; }

  .areas .head-split { margin-bottom: 70px; }
  .marquee li { gap: 30px; padding: 26px 0 26px 30px; font-size: 40px; }

  .final { min-height: 760px; }
  .final-actions { margin-top: 44px; }

  .footer { padding: 70px 40px 30px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; align-items: start; padding-bottom: 60px; }
  .footer-links { justify-self: end; }
  .footer-bottom { flex-wrap: nowrap; gap: 24px; font-size: 11.5px; }
  .loro-credit { flex-basis: auto; margin-left: auto; }

  .bookbar { display: none; }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-shot { margin-top: 56px; }
  .nav a { padding: 0 10px; font-size: 13px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-media img { aspect-ratio: 16 / 9; }
  .stats div { padding: 0 18px; }
  .store { min-width: 0; }
}

/* Short desktop windows (laptops with browser chrome, about 720-800px tall). The
   second compression tier keeps the stats strip in the first viewport. */
@media (min-width: 900px) and (max-height: 800px) {
  .hero-lede { font-size: 16.5px; line-height: 1.5; }
  .chips li { padding: 6px 12px; font-size: 12.5px; }
  .hero-actions .btn { min-height: 52px; font-size: 15px; }
  .hero-price { margin-top: 10px; }
  .stats dd { font-size: 24px; }
  .hero-foot { padding-top: 14px; }
  .store { min-height: 42px; }
}

/* Sub-360px phones */
@media (max-width: 359px) {
  .hero h1 { font-size: 46px; }
  .stats dt { font-size: 9px; letter-spacing: .06em; }
  .svc { grid-template-columns: 1fr; }
  .svc-media img { aspect-ratio: 16 / 9; }
}
