/* Home: the customer-facing one-pager, Apple-style: big confident type, generous space, very little copy, purposeful motion.
   Every rule is scoped under body.page-home; motion hooks ([data-reveal], [data-split], [data-countup]) live in base.css.
   No delivery rates on this page (client, 24 Oct 2026); the only figures are the Shop & Deliver example, in red. */

body.page-home {
  --tint: var(--band); --screen: var(--bg); --tile: var(--surface); --chip: var(--card);
  /* The drawn street scene in the hero phone */
  --map-land: #F1F2F4; --map-block: #E4E6EA; --map-road: #FFFFFF; --map-water: #D6E4EF; --map-park: #DCEADF;
}
html[data-theme="dark"] body.page-home {
  --chip: var(--surface-2);
  --map-land: #18181B; --map-block: #232327; --map-road: #34343A; --map-water: #0F1D28; --map-park: #17251C;
}
body.page-home .site-footer { margin-top: 0; }
body.page-home main h2 { font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
/* Short lines wrap evenly instead of leaving one word on its own line. */
body.page-home :is(.hero__lead, .split__note, .finale__lead, .promo__text p, .biz p) { text-wrap: balance; }
body.page-home :is(.tile__line, .story__step p, .faq__a p) { text-wrap: pretty; }
/* Icons on the page: brand red, one stroke weight at every size. */
body.page-home main .icon { stroke-width: 1.8px; }
body.page-home main .icon * { vector-effect: non-scaling-stroke; }

/* Section links in the header and footer glide to their section (the 60px frosted header never covers a heading). */
@media (prefers-reduced-motion: no-preference) { html:has(body.page-home) { scroll-behavior: smooth; } }
body.page-home main section[id] { scroll-margin-top: var(--header-h); }
/* Scroll-spy: the header link of the section on screen reads as the current place (desktop bar; the phone menu has its own look). */
@media (min-width: 961px) { body.page-home .site-nav a[aria-current="location"] { color: var(--text); background: var(--surface); } }

/* ---------- Hero ---------- */
body.page-home .hero { position: relative; padding: 48px 0 104px; overflow: hidden; }
body.page-home .hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
body.page-home .hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
body.page-home .hero__status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px; border-radius: 999px; background: var(--tint); font-size: 13px; line-height: 1.35; color: var(--text-2); max-width: none; }
body.page-home .hero__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--text-3); }
body.page-home .hero__status[data-open="true"] .hero__dot { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
body.page-home .hero__title { margin-top: 24px; font-size: clamp(52px, 6.4vw, 92px); line-height: .98; font-weight: 700; letter-spacing: -.05em; }
body.page-home .hero__lead { margin-top: 26px; font-size: 21px; line-height: 1.45; color: var(--text-2); max-width: 22em; }
body.page-home .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The phone stands in front of a red panel; on load the panel opens out and the phone rises into place, then scrolling lifts
   the phone a little (a scrubbed scene in home.js sets --lift on the wrapper, never on the animated node). */
body.page-home .hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 0; }
body.page-home .hero__panel { position: absolute; left: 0; right: 0; top: 96px; bottom: 96px; overflow: hidden; background: var(--red); border-radius: 36px; isolation: isolate; }
/* The bridge from the air, toned to the brand red: the photo's light and shade over the red panel, a soft sheen across the top. */
body.page-home .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: luminosity; opacity: .78; }
body.page-home .hero__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .14), transparent 45%), linear-gradient(0deg, rgba(120, 0, 24, .35), transparent 55%); }
html[data-theme="dark"] body.page-home .hero__photo { filter: grayscale(1) contrast(1.2) brightness(.82); }
html.motion:not(.reduce-motion) body.page-home .hero__photo { transform: scale(1.12); transition: transform 2.4s var(--ease-out) .15s; }
html.motion body.page-home .hero__visual.is-in .hero__photo { transform: none; }
body.page-home .hero__lift { position: relative; transform: translate3d(0, var(--lift, 0px), 0); will-change: transform; }
html.motion:not(.reduce-motion) body.page-home .hero__panel { opacity: 0; transform: scale(.9); transition: opacity .8s ease .15s, transform 1.2s var(--ease-out) .15s; }
html.motion:not(.reduce-motion) body.page-home .hero__float { opacity: 0; transform: translateY(80px) scale(.96); transition: opacity .9s ease .3s, transform 1.3s var(--ease-out) .3s; }
html.motion body.page-home .hero__visual.is-in .hero__panel, html.motion body.page-home .hero__visual.is-in .hero__float { opacity: 1; transform: none; }

/* The road along the bottom edge of the hero: it draws in from the left, the centre line appears, a small rider rides it once. */
body.page-home .hero__road { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--red); transform-origin: left center; }
body.page-home .hero__lane { position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 18px, transparent 18px 36px); }
/* The logo's rider (home.js fills it): it rolls onto the road at the left edge of the content, wheels spinning down, then rides
   along with the scroll (--rx on the inner span; the wheels turn with the distance). */
body.page-home .hero__rider { position: absolute; left: max(var(--gutter), calc(50% - var(--container) / 2)); bottom: 100%; margin-bottom: -2px; width: 60px; color: var(--red); }
body.page-home .hero__rider-go { display: block; transform: translate3d(var(--rx, 0px), 0, 0); will-change: transform; }
body.page-home .hero__rider .rider { width: 100%; height: auto; }
html.motion:not(.reduce-motion) body.page-home .hero__rider { opacity: 0; }
html.motion:not(.reduce-motion):not(.is-intro) body.page-home .hero__rider { animation: rider-roll-in 1.7s cubic-bezier(.2, .8, .3, 1) 1.1s both; }
html.motion:not(.reduce-motion):not(.is-intro) body.page-home .hero__rider .rider__wheel { animation: rider-spin-in 1.7s cubic-bezier(.2, .8, .3, 1) 1.1s both; }
html.motion:not(.reduce-motion):not(.is-intro) body.page-home .hero__rider .rider__box { animation: rider-hop .26s ease-in-out 1.1s 6 alternate; }
html.motion:not(.reduce-motion):not(.is-intro) body.page-home .hero__rider .rider__box--a { animation-delay: 1.23s; }
@keyframes rider-roll-in { from { opacity: 1; transform: translateX(-160px); } to { opacity: 1; transform: none; } }
/* While the scroll moves it (home.js sets .is-rolling), the load bounces again. */
html.motion:not(.reduce-motion):not(.is-intro) body.page-home .hero__rider .rider.is-rolling .rider__box--b { animation: rider-hop .26s ease-in-out infinite alternate; }
html.motion:not(.reduce-motion):not(.is-intro) body.page-home .hero__rider .rider.is-rolling .rider__box--a { animation: rider-hop .26s ease-in-out -.13s infinite alternate; }

/* ---------- Phone (hero trip and the story screens) ---------- */
body.page-home .phone { position: relative; width: 290px; padding: 10px; background: var(--ink); border-radius: 46px; box-shadow: 0 50px 90px -40px rgba(17, 17, 20, .6), 0 0 0 1px rgba(17, 17, 20, .35), inset 0 0 0 2px #2b2b33; }
body.page-home .phone::before { content: ""; position: absolute; top: 18px; left: 50%; z-index: 5; width: 86px; height: 24px; margin-left: -43px; border-radius: 999px; background: var(--ink); }
body.page-home .phone__screen { position: relative; height: 590px; overflow: hidden; background: var(--screen); border-radius: 36px; display: flex; flex-direction: column; }
body.page-home .phone__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 52px 16px 12px; }
body.page-home .phone__code { font-size: 15px; font-weight: 600; }
body.page-home .phone__pill { transition: background-color .35s ease, color .35s ease; }
body.page-home .phone__pill[data-state="collected"] { background: var(--surface-2); color: var(--text-2); }
body.page-home .phone__pill[data-state="way"] { background: var(--red-soft); color: var(--brand); }
body.page-home .phone__pill[data-state="done"] { background: var(--ok-bg); color: var(--ok); }
body.page-home .phone__map { position: relative; flex: 1 1 auto; min-height: 220px; overflow: hidden; background: var(--map-land); }
body.page-home .phone__sheet { position: relative; z-index: 2; margin-top: -20px; padding: 18px 16px 22px; background: var(--screen); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 24px rgba(17, 17, 20, .08); }
body.page-home .phone__eta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
body.page-home .phone__eta span { font-size: 13px; color: var(--text-2); }
body.page-home .phone__eta strong { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
body.page-home .phone__rider { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
body.page-home .phone__avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
body.page-home .phone__who { display: flex; flex-direction: column; font-size: 14px; font-weight: 500; line-height: 1.3; }
body.page-home .phone__who small { font-size: 12px; font-weight: 400; color: var(--text-2); }
body.page-home .phone__steps { display: flex; gap: 6px; margin-top: 14px; }
body.page-home .phone__steps li { flex: 1; font-size: 11px; color: var(--text-3); transition: color .3s ease; }
body.page-home .phone__steps li.is-done, body.page-home .phone__steps li.is-current { color: var(--text); font-weight: 500; }
body.page-home .phone__bar { display: block; height: 4px; margin-bottom: 6px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
body.page-home .phone__fill { display: block; height: 100%; background: var(--red); transform-origin: left center; }
body.page-home .phone__steps li:last-child .phone__fill { transition: transform .5s var(--ease-out); }

/* The drawn trip: flat blocks and streets, the sea and a jetty at the top, the route in brand red (home.js heroTrip moves it). */
body.page-home .trip { display: block; width: 100%; height: 100%; }
body.page-home .trip__land { fill: var(--map-land); }
body.page-home .trip__water { fill: var(--map-water); }
body.page-home .trip__blocks rect { fill: var(--map-block); }
body.page-home .trip__blocks .trip__park { fill: var(--map-park); }
body.page-home .trip__roads path { fill: none; stroke: var(--map-road); stroke-width: 12; stroke-linecap: round; }
body.page-home .trip__roads .trip__lane { stroke-width: 6; }
body.page-home .trip__roads .trip__jetty { stroke-width: 8; }
body.page-home .trip__route { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
body.page-home .trip__start { fill: var(--text); stroke: var(--map-road); stroke-width: 3; }
body.page-home .trip__pin path { fill: var(--red); }
body.page-home .trip__pin circle { fill: #fff; }
body.page-home .trip__pin { transform-box: fill-box; transform-origin: 50% 100%; }
body.page-home .trip__ring { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
body.page-home .trip__halo { fill: var(--red); opacity: .16; }
body.page-home .trip__dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
body.page-home .trip__bike { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
body.page-home .trip__rider-in { transform-box: fill-box; transform-origin: center; transition: opacity .4s ease, transform .5s var(--ease-out); }
body.page-home .trip.is-done .trip__rider-in { opacity: 0; transform: scale(.4); }
body.page-home .trip.is-done .trip__pin { animation: pin-pop .6s var(--ease-out); }
body.page-home .trip.is-done .trip__ring { animation: ring-out 1.2s var(--ease-out); }
@keyframes pin-pop { 40% { transform: scale(1.18); } }
@keyframes ring-out { from { opacity: .8; transform: scale(.4); } to { opacity: 0; transform: scale(1.7); } }

@keyframes icon-pop { 40% { transform: scale(1.12) rotate(-6deg); } }

/* ---------- Section rhythm ---------- */
body.page-home .section { padding: 100px 0; }
body.page-home .section--tint { background: var(--tint); }
body.page-home .section__title { margin: 0 auto 56px; text-align: center; font-size: clamp(36px, 5vw, 60px); }

/* ---------- Services: three tiles, each one line, a small visual and a link ---------- */
body.page-home .services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.page-home .tile { display: flex; flex-direction: column; min-width: 0; padding: 32px 30px 22px; background: var(--tile); border-radius: 28px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
body.page-home .tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(210, 0, 47, .7); }
body.page-home .tile__icon svg { width: 24px; height: 24px; }
body.page-home .tile h3 { margin-top: 22px; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
body.page-home .tile__line { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--text-2); }
/* Pick & Deliver: the four collection types as chips straight into the request form */
body.page-home .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
body.page-home .chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--chip); color: var(--text); font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
/* Shop & Deliver: the client's example order, prices in red */
/* Business Delivery: three plain points */
body.page-home .ticks { display: grid; gap: 4px; margin-top: 22px; }
body.page-home .ticks li { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: 16px; font-weight: 500; }
body.page-home .ticks [data-icon] { display: inline-flex; color: var(--brand); }
body.page-home .ticks svg { width: 20px; height: 20px; }
body.page-home .tile__foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
body.page-home .tile__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: auto; color: var(--brand); font-size: 17px; font-weight: 500; text-decoration: none; }
body.page-home .tile__link::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease-out); }
@media (hover: hover) {
  body.page-home .chips a:hover { background: var(--text); color: var(--bg); text-decoration: none; }
  body.page-home .tile__link:hover { text-decoration: none; }
  body.page-home .tile__link:hover::after { transform: translateX(3px) rotate(45deg); }
  body.page-home .tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(17, 17, 20, .35); }
  body.page-home .tile:hover .tile__icon { animation: icon-pop .5s var(--ease-out); }
}

/* Delivery methods (§3): the four places we hand the package over, names only */
body.page-home .methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; margin-top: 64px; }
body.page-home .methods__title { grid-column: 1 / -1; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
body.page-home .method { min-width: 0; }
body.page-home .method__icon { display: inline-flex; color: var(--brand); }
body.page-home .method__icon svg { width: 28px; height: 28px; }
body.page-home .method h4 { margin-top: 10px; font-size: 17px; font-weight: 600; line-height: 1.3; }

/* ---------- Banner: Shop & Deliver on brand red, a list that ticks itself off when it comes into view ---------- */
body.page-home .section--promo { padding-top: 0; }
body.page-home .promo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding: 64px 72px; background: var(--red); color: #fff; border-radius: 36px; overflow: hidden; }
body.page-home .promo h2 { font-size: clamp(38px, 5vw, 64px); color: #fff; }
body.page-home .promo__text p { margin: 14px 0 32px; font-size: 21px; line-height: 1.45; color: rgba(255, 255, 255, .86); max-width: 20em; }
body.page-home .promo__btn { background: #fff; color: var(--red); border-color: #fff; font-weight: 600; }
@media (hover: hover) { body.page-home .promo__btn:hover { background: rgba(255, 255, 255, .9); color: var(--red-hover); text-decoration: none; } }
body.page-home .promo__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.page-home .promo__art { display: flex; justify-content: center; }
body.page-home .promo__card { width: min(100%, 320px); padding: 22px 22px 20px; text-align: left; background: var(--card); color: var(--text); border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(60, 0, 12, .6); }
body.page-home .promo__card-title { font-size: 13px; font-weight: 600; color: var(--text-2); }
body.page-home .promo__list { margin-top: 6px; }
body.page-home .promo__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); }
body.page-home .promo__list li:nth-child(1) { --t: .55s; }
body.page-home .promo__list li:nth-child(2) { --t: .95s; }
body.page-home .promo__list li:nth-child(3) { --t: 1.35s; }
body.page-home .promo__tick { position: relative; width: 24px; height: 24px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--border-strong); transition: background-color .35s ease var(--t, 0s), box-shadow .35s ease var(--t, 0s); }
body.page-home .promo__tick::after { content: ""; position: absolute; left: 50%; top: 45%; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -50%) rotate(-45deg) scale(0); transition: transform .4s var(--ease-out) var(--t, 0s); }
body.page-home .promo.is-in .promo__tick, html:not(.motion) body.page-home .promo__tick { background: var(--red); box-shadow: none; }
body.page-home .promo.is-in .promo__tick::after, html:not(.motion) body.page-home .promo__tick::after { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
body.page-home .promo__status { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand); max-width: none; }
body.page-home .promo__bag { display: inline-flex; }
body.page-home .promo__bag svg { width: 18px; height: 18px; }
html.motion body.page-home .promo__status { opacity: 0; transform: translateY(6px); transition: opacity .5s ease 1.8s, transform .6s var(--ease-out) 1.8s; }
html.motion body.page-home .promo.is-in .promo__status { opacity: 1; transform: none; }

/* ---------- How it works: the phone stays put while the steps scroll past ---------- */
body.page-home .story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
body.page-home .story__device { position: sticky; top: max(80px, calc(50vh - 305px)); align-self: start; display: flex; justify-content: center; }
body.page-home .story__steps { padding: 0 0 16vh; }
body.page-home .story__step { min-height: max(240px, 30vh); display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .5s var(--ease-out); }
body.page-home .story__step.is-active { opacity: 1; }
body.page-home .story__num { font-size: 15px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
body.page-home .story__step h3 { margin-top: 10px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
body.page-home .story__step p { margin-top: 12px; font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 24em; }

/* Screens inside the story phone: one visible at a time, cross-fading on step change. */
body.page-home .scr { position: absolute; inset: 0; padding: 58px 18px 20px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .55s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
body.page-home .phone[data-step="1"] .scr--1, body.page-home .phone[data-step="2"] .scr--2, body.page-home .phone[data-step="3"] .scr--3, body.page-home .phone[data-step="4"] .scr--4 { opacity: 1; transform: none; }
body.page-home .scr__head { font-size: 21px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; justify-content: space-between; }
body.page-home .scr__head--center { justify-content: center; }
body.page-home .scr__eta { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; letter-spacing: 0; }
body.page-home .scr__seg { display: flex; gap: 3px; padding: 3px; background: var(--surface-2); border-radius: 12px; }
body.page-home .scr__seg span { flex: 1; padding: 8px 0; text-align: center; font-size: 13px; font-weight: 500; color: var(--text-2); border-radius: 9px; }
body.page-home .scr__seg .is-on { background: var(--text); color: var(--bg); }
body.page-home .scr__row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--tint); border-radius: 14px; font-size: 14px; font-weight: 500; line-height: 1.3; }
body.page-home .scr__row small { display: block; font-size: 11px; font-weight: 400; color: var(--text-2); }
body.page-home .pin { width: 12px; height: 12px; flex: none; }
body.page-home .pin--from { background: var(--text); border-radius: 3px; }
body.page-home .pin--to { background: var(--red); border-radius: 50%; }
body.page-home .pin--method { border-radius: 3px; box-shadow: inset 0 0 0 3px var(--red); }
body.page-home .pin--time { background: transparent; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--text); }
body.page-home .scr__btn { height: 48px; flex: none; border-radius: 999px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
body.page-home .scr__btn--end { margin-top: auto; }
body.page-home .scr__btn--ghost { background: var(--surface); color: var(--text); margin-top: auto; }
body.page-home .scr__amount { padding: 18px; border-radius: 18px; background: var(--ink); color: #fff; }
body.page-home .scr__amount small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
body.page-home .scr__amount strong { display: block; margin-top: 4px; font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
body.page-home .scr__amount span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .6); }
body.page-home .scr__bank { padding: 12px 14px; background: var(--tint); border-radius: 14px; }
body.page-home .scr__bank small { display: block; font-size: 11px; color: var(--text-2); }
body.page-home .scr__bank strong { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; }
body.page-home .scr__slip { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; font-size: 13px; }
body.page-home .scr__slip strong { display: block; font-weight: 600; }
body.page-home .scr__slip small { display: block; font-size: 11px; color: var(--text-2); }
body.page-home .scr__thumb { width: 36px; height: 44px; flex: none; border-radius: 6px; background: var(--card); border: 1px solid var(--border); box-shadow: inset 0 10px 0 var(--card), inset 0 12px 0 var(--surface-2), inset 0 20px 0 var(--card), inset 0 22px 0 var(--surface-2), inset 0 30px 0 var(--card), inset 0 32px 0 var(--surface-2); }
body.page-home .scr__tick { position: relative; width: 22px; height: 22px; margin-left: auto; flex: none; border-radius: 50%; background: var(--ok); }
body.page-home .scr__tick::after, body.page-home .scr__check::after { content: ""; position: absolute; left: 50%; top: 45%; width: 40%; height: 20%; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -50%) rotate(-45deg); }
body.page-home .scr__chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--warn-bg); color: var(--warn); font-size: 12px; font-weight: 500; }
body.page-home .scr__chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* Screen 3: the tracking page in miniature: arrival time, the trip as one line the rider moves along once, the three steps. */
body.page-home .scr__arrive { padding: 14px 16px; border-radius: 18px; background: var(--tint); }
body.page-home .scr__arrive small { display: block; font-size: 12px; color: var(--text-2); }
body.page-home .scr__arrive strong { display: block; margin-top: 2px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
body.page-home .scr__trip { padding: 6px 4px 2px; }
body.page-home .scr__trip-line { position: relative; height: 6px; border-radius: 999px; background: var(--surface-2); }
body.page-home .scr__trip-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; border-radius: inherit; background: var(--red); transform-origin: left center; transform: scaleX(0); }
body.page-home .scr__trip-dot { position: absolute; top: 50%; left: 64%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--red); border: 3px solid var(--card); box-shadow: 0 2px 8px rgba(17, 17, 20, .3); opacity: 0; }
body.page-home .phone[data-step="3"] .scr__trip-fill { transform: none; transition: transform 1.8s var(--ease-out) .2s; }
body.page-home .phone[data-step="3"] .scr__trip-dot { opacity: 1; transition: opacity .3s ease 1.6s; }
html.reduce-motion body.page-home .scr__trip-fill { transform: none; }
html.reduce-motion body.page-home .scr__trip-dot { opacity: 1; }
body.page-home .scr__trip-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--text-2); }
body.page-home .scr__steps { display: flex; flex-direction: column; gap: 2px; }
body.page-home .scr--3 .scr__rider-card { margin-top: auto; }
body.page-home .scr__steps li { position: relative; display: flex; align-items: baseline; justify-content: space-between; padding: 7px 0 7px 22px; font-size: 14px; color: var(--text-3); }
body.page-home .scr__steps li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--border-strong); }
body.page-home .scr__steps li.is-done, body.page-home .scr__steps li.is-now { color: var(--text); font-weight: 500; }
body.page-home .scr__steps li.is-done::before { background: var(--text); box-shadow: none; }
body.page-home .scr__steps li.is-now::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
body.page-home .scr__steps small { font-size: 12px; font-weight: 400; color: var(--text-2); }
body.page-home .scr__rider-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--tint); border-radius: 14px; font-size: 13px; line-height: 1.3; }
body.page-home .scr__rider-card strong { display: block; font-size: 14px; font-weight: 600; }
body.page-home .scr__rider-card small { display: block; font-size: 12px; color: var(--text-2); }
body.page-home .scr__done { display: flex; justify-content: center; padding-top: 28px; }
body.page-home .scr__check { position: relative; width: 96px; height: 96px; border-radius: 50%; background: var(--red); transform: scale(.6); opacity: 0; transition: transform .7s var(--ease-out) .15s, opacity .4s ease .15s; }
body.page-home .scr__check::after { border-color: #fff; border-width: 0 0 5px 5px; }
body.page-home .phone[data-step="4"] .scr__check, html.reduce-motion body.page-home .scr__check { transform: none; opacity: 1; }
body.page-home .scr__note { margin: 0 auto; text-align: center; font-size: 14px; color: var(--text-2); max-width: 20em; }
/* Screen 4: a short summary instead of a photo placeholder. */
body.page-home .scr__receipt { display: flex; flex-direction: column; padding: 4px 16px; border-radius: 18px; background: var(--tint); }
body.page-home .scr__receipt > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 13px; color: var(--text-2); }
body.page-home .scr__receipt > div + div { border-top: 1px solid var(--border); }
body.page-home .scr__receipt strong { font-size: 14px; font-weight: 600; color: var(--text); }
body.page-home .scr__receipt .scr__ok { color: var(--ok); }

/* ---------- Business strip (the wrapper is scaled by a scrubbed scene; the panel itself fades up) ---------- */
body.page-home .section--biz { padding-bottom: 0; }
body.page-home .biz-scale { transform: scale(var(--biz, 1)); transform-origin: center top; }
body.page-home .biz { display: flex; flex-direction: column; align-items: center; padding: 76px 64px; background: var(--ink); color: #fff; border-radius: 36px; text-align: center; }
html[data-theme="dark"] body.page-home .biz { box-shadow: inset 0 0 0 1px var(--border); }
body.page-home .biz h2 { font-size: clamp(36px, 4.6vw, 56px); }
body.page-home .biz p { margin: 16px auto 32px; font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .72); max-width: 28em; }
body.page-home .biz__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (hover: hover) { body.page-home .biz .btn--on-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; } }

/* ---------- Photo band: the bridge at sunset, full width, the line over it in white ---------- */
body.page-home .band { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 760px); margin-top: 100px; overflow: hidden; background: #1a0d10; color: #fff; isolation: isolate; }
body.page-home .band__media { position: absolute; inset: -10% 0; z-index: -1; transform: translate3d(0, var(--band-y, 0px), 0); will-change: transform; }
body.page-home .band__media picture, body.page-home .band__photo { display: block; width: 100%; height: 100%; }
body.page-home .band__photo { object-fit: cover; object-position: 50% 60%; }
body.page-home .band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 6, 8, .72), rgba(10, 6, 8, .1) 55%, rgba(10, 6, 8, .25)); }
body.page-home .band__inner { padding-top: 96px; padding-bottom: 72px; }
body.page-home .band__title { font-size: clamp(44px, 7vw, 104px); line-height: .98; letter-spacing: -.05em; color: #fff; }
body.page-home .band__note { margin-top: 18px; font-size: 21px; color: rgba(255, 255, 255, .82); max-width: none; }

/* ---------- Split sections: the heading column beside the map (coverage) or the answers (questions) ---------- */
body.page-home .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
body.page-home .split__title { font-size: clamp(36px, 4.4vw, 56px); }
body.page-home .split__note { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--text-2); max-width: 17em; }
body.page-home .coverage__map { height: 440px; border: 0; border-radius: 28px; background: var(--surface); }
body.page-home .zones { display: grid; gap: 20px; margin-top: 36px; }
body.page-home .zones strong { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
body.page-home .zones strong::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
body.page-home .zones span { display: block; margin: 2px 0 0 20px; font-size: 15px; color: var(--text-2); }
/* Map names for the three areas: small white pills over the sea beside each island. */
body.page-home .coverage__map .area-tag .marker__label { padding: 5px 12px; border: 0; border-radius: 999px; background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; box-shadow: 0 2px 10px rgba(17, 17, 20, .14); }
html[data-theme="dark"] body.page-home .coverage__map .area-tag .marker__label { box-shadow: inset 0 0 0 1px var(--border-strong); }

/* ---------- FAQ ---------- */
body.page-home .faq__list details { border-bottom: 1px solid var(--border-strong); }
body.page-home .faq__list details:first-child { border-top: 1px solid var(--border-strong); }
body.page-home .faq__list summary { position: relative; display: block; padding: 22px 48px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
body.page-home .faq__list summary::-webkit-details-marker { display: none; }
body.page-home .faq__list summary::before, body.page-home .faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--text); border-radius: 1px; transition: transform .35s var(--ease-out); }
body.page-home .faq__list summary::after { transform: rotate(90deg); }
body.page-home .faq__list details[open] summary::after { transform: rotate(0deg); }
body.page-home .faq__a p { padding: 0 48px 22px 0; font-size: 17px; color: var(--text-2); max-width: none; }
body.page-home .faq__list details[open] .faq__a { animation: rise-in .5s var(--ease-out); }

/* ---------- Finale ---------- */
body.page-home .finale { padding: 112px 0 120px; text-align: center; }
body.page-home .finale__title { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -.048em; }
body.page-home .finale__lead { margin: 22px auto 0; font-size: 21px; color: var(--text-2); max-width: 30em; }
body.page-home .finale__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
body.page-home .finale__reach { display: contents; }
body.page-home .finale__signin { margin: 28px auto 0; font-size: 15px; color: var(--text-2); max-width: none; }
body.page-home .finale__signin a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); font-weight: 500; }

/* ---------- Phone quick bar: "Request a delivery" in thumb reach once the hero actions have scrolled away ---------- */
body.page-home .quickbar { display: none; }
@media (max-width: 860px) {
  body.page-home .quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: var(--header-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--header-line); transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s linear .45s; }
  body.page-home .quickbar.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  html.menu-open body.page-home .quickbar { visibility: hidden; }
  body.page-home .quickbar .btn { height: 48px; font-size: 16px; }
  body.page-home .quickbar .btn--brand { flex: 1 1 auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  body.page-home .services { grid-template-columns: 1fr 1fr; }
  body.page-home .services .tile:first-child { grid-column: 1 / -1; }
  body.page-home .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.page-home .promo { padding: 56px; gap: 40px; }
}
@media (max-width: 900px) {
  body.page-home .section { padding: 88px 0; }
  body.page-home .section--promo { padding-top: 0; }
  body.page-home .section--biz { padding-bottom: 0; }
  body.page-home .section__title { margin-bottom: 40px; }
  body.page-home .hero { padding: 40px 0 88px; }
  body.page-home .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  body.page-home .hero__copy { align-items: center; text-align: center; }
  body.page-home .hero__lead { margin-left: auto; margin-right: auto; }
  body.page-home .hero__actions { justify-content: center; }
  body.page-home .hero__panel { left: 4%; right: 4%; }
  body.page-home .promo { grid-template-columns: 1fr; padding: 48px 36px; text-align: center; border-radius: 30px; }
  body.page-home .promo__text p { margin-left: auto; margin-right: auto; }
  /* How it works on phones: one smaller phone above a plain numbered list; no sideways scrolling. */
  body.page-home .story__grid { display: block; --s: .6; }
  body.page-home .story__device { position: static; align-items: flex-start; height: calc(610px * var(--s)); margin-bottom: 32px; }
  body.page-home .story__device .phone { flex: none; transform: scale(var(--s)); transform-origin: top center; }
  body.page-home .story__steps { max-width: 520px; margin: 0 auto; padding: 0; }
  body.page-home .story__step { position: relative; min-height: 0; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 16px; padding: 0 0 22px; opacity: 1; }
  body.page-home .story__step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 44px; bottom: 6px; width: 2px; border-radius: 1px; background: var(--border-strong); }
  body.page-home .story__num { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--border-strong); color: var(--text-2); font-size: 13px; transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
  body.page-home .story__step.is-active .story__num { background: var(--red); color: #fff; box-shadow: 0 0 0 4px var(--red-soft); }
  body.page-home .story__text { min-width: 0; padding-top: 5px; }
  body.page-home .story__step h3 { margin-top: 0; font-size: 21px; letter-spacing: -.02em; }
  body.page-home .story__step p { margin-top: 4px; font-size: 16px; line-height: 1.45; }
  body.page-home .biz { padding: 56px 32px; border-radius: 30px; }
  body.page-home .split { grid-template-columns: 1fr; gap: 32px; }
  body.page-home .split__side { text-align: center; }
  body.page-home .split__note { margin-left: auto; margin-right: auto; }
  body.page-home .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 28px; text-align: left; }
  body.page-home .coverage__map { height: 380px; border-radius: 24px; }
}
@media (max-width: 680px) {
  body.page-home .services { grid-template-columns: 1fr; }
  body.page-home .services .tile:first-child { grid-column: auto; }
  /* Phones: the icon sits beside the tile title, the rest runs full width under it */
  body.page-home .tile { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  body.page-home .tile > * { grid-column: 1 / -1; }
  body.page-home .tile > .tile__icon { grid-column: 1; width: 44px; height: 44px; border-radius: 12px; }
  body.page-home .tile > h3 { grid-column: 2; margin-top: 0; }
  body.page-home .tile__line { margin-top: 12px; }
}
@media (max-width: 560px) {
  body.page-home .section { padding: 72px 0; }
  body.page-home .section--promo { padding-top: 0; }
  body.page-home .section--biz { padding-bottom: 0; }
  body.page-home .hero__status { gap: 6px; padding: 4px 10px; font-size: 12px; }
  body.page-home .hero { padding: 32px 0 80px; }
  body.page-home .hero__title { font-size: clamp(48px, 14vw, 60px); }
  body.page-home .hero__lead { font-size: 18px; }
  body.page-home .hero__actions { width: 100%; }
  body.page-home .hero__actions .btn { flex: 1 1 100%; }
  body.page-home .hero__panel { left: 0; right: 0; top: 80px; bottom: 80px; border-radius: 28px; }
  body.page-home .hero .phone { width: 262px; }
  body.page-home .hero .phone__screen { height: 530px; }
  body.page-home .hero__road { height: 10px; }
  body.page-home .hero__lane { top: 4px; }
  body.page-home .tile { padding: 26px 22px 18px; border-radius: 24px; }
  body.page-home .tile h3 { font-size: 24px; }
  body.page-home .chips a { font-size: 14px; padding: 8px 14px; }
  body.page-home .receipt { padding: 4px 14px 10px; font-size: 13px; }
  body.page-home .methods { gap: 24px 16px; margin-top: 56px; }
  body.page-home .promo { padding: 40px 22px 24px; border-radius: 28px; gap: 32px; }
  body.page-home .promo__text p { font-size: 18px; margin-bottom: 26px; }
  body.page-home .promo__btn { width: 100%; }
  body.page-home .story__grid { --s: .56; }
  body.page-home .biz { padding: 44px 22px; }
  body.page-home .biz p { font-size: 17px; }
  body.page-home .biz__actions .btn { flex: 1 1 100%; }
  body.page-home .coverage__map { height: 340px; }
  body.page-home .faq__list summary { font-size: 17px; padding: 20px 40px 20px 0; }
  body.page-home .faq__a p { padding-right: 0; }
  body.page-home .finale { padding: 88px 0 96px; }
  body.page-home .finale__request { flex: 1 1 100%; }
  body.page-home .finale__reach { display: flex; gap: 8px; width: 100%; }
  body.page-home .finale__reach .btn { flex: 1 1 0; min-width: 0; padding: 0 8px; }
  body.page-home .finale__num { display: none; }
}

/* ---------- Bridge intro (index.html; first visit of a session) ----------
   Timeline from the first frame: the slanted window opens (0.15s), "We pick." over the Sinamalé arch, "We shop." over the bridge
   traffic (1.1s), "We deliver." over the bridge from the air (2s); the rider crosses Malé to Hulhumalé along the bottom (0.35-2.95s)
   and pops a wheelie on arrival; the window opens to the whole screen (2.75s). The inline script then swaps html.is-intro for
   html.intro-leaving: the cover lifts from the bottom behind a red road and the page plays its own entrance underneath. */
.intro { display: none; }
html.is-intro, html.is-intro body { overflow: hidden; }
html:is(.is-intro, .intro-leaving) .intro { display: block; position: fixed; inset: 0; z-index: 300; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.intro__cover { position: absolute; inset: 0; overflow: hidden; background: #0B0B0C; color: #fff; }
html.intro-leaving .intro__cover { animation: intro-lift 1s cubic-bezier(.76, 0, .24, 1) forwards; }
.intro__road { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--red); opacity: 0; }
html.intro-leaving .intro__road { animation: intro-road 1s cubic-bezier(.76, 0, .24, 1) forwards; }
@keyframes intro-lift { to { clip-path: inset(0 0 100% 0); } }
@keyframes intro-road { from { opacity: 1; bottom: 0; } to { opacity: 1; bottom: 100%; } }

.intro__window { position: absolute; inset: 0; clip-path: polygon(52% 22%, 52% 22%, 48% 78%, 48% 78%); animation: intro-open .9s cubic-bezier(.7, 0, .2, 1) .15s forwards, intro-full .8s cubic-bezier(.7, 0, .2, 1) 2.75s forwards; }
.intro__window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .08) 38%, rgba(0, 0, 0, .55)); }
@keyframes intro-open { to { clip-path: polygon(30% 22%, 74% 22%, 70% 78%, 26% 78%); } }
@keyframes intro-full { from { clip-path: polygon(30% 22%, 74% 22%, 70% 78%, 26% 78%); } to { clip-path: polygon(-6% -2%, 106% -2%, 106% 102%, -6% 102%); } }
.intro__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.intro__shot.is-ready { opacity: 1; }
.intro__shot--1 { animation: intro-zoom 4.4s cubic-bezier(.2, .6, .3, 1) .15s both; }
.intro__shot--2 { animation: intro-wipe .8s cubic-bezier(.7, 0, .2, 1) 1.1s both, intro-zoom 3.4s cubic-bezier(.2, .6, .3, 1) 1.1s both; }
.intro__shot--3 { animation: intro-wipe .8s cubic-bezier(.7, 0, .2, 1) 2s both, intro-zoom 3.6s cubic-bezier(.2, .6, .3, 1) 2s both; }
@keyframes intro-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes intro-zoom { from { transform: scale(1.2); } to { transform: scale(1.02); } }

.intro__words { position: absolute; left: 0; right: 0; top: 50%; display: grid; justify-items: center; height: 1.12em; margin: -.56em 0 0; max-width: none; overflow: hidden; font-size: clamp(54px, 10.5vw, 172px); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; pointer-events: none; }
.intro__word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(110%); text-shadow: 0 8px 48px rgba(0, 0, 0, .35); }
.intro__word i { font-style: normal; color: var(--red); }
.intro__word--1 { animation: intro-word-in .65s cubic-bezier(.2, .9, .3, 1) .3s both, intro-word-out .45s cubic-bezier(.7, 0, .8, .4) 1.02s forwards; }
.intro__word--2 { animation: intro-word-in .65s cubic-bezier(.2, .9, .3, 1) 1.2s both, intro-word-out .45s cubic-bezier(.7, 0, .8, .4) 1.92s forwards; }
.intro__word--3 { animation: intro-word-in .65s cubic-bezier(.2, .9, .3, 1) 2.1s both; }
@keyframes intro-word-in { from { transform: translateY(110%); } to { transform: none; } }
@keyframes intro-word-out { from { transform: none; } to { transform: translateY(-110%); } }

/* The trip: a thin bridge line, the red trail behind the rider, the two ends under it. */
.intro__trip { position: absolute; left: max(28px, 8vw); right: max(28px, 8vw); bottom: max(32px, 7vh); animation: intro-fade .6s ease .15s both; }
.intro__line { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.intro__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--red); transform-origin: left center; transform: scaleX(0); animation: intro-fill 2.6s cubic-bezier(.45, 0, .25, 1) .35s forwards; }
.intro__rider { position: absolute; left: 0; bottom: 1px; width: 68px; color: #fff; animation: intro-ride 2.6s cubic-bezier(.45, 0, .25, 1) .35s both; }
.intro__rider .rider { width: 100%; height: auto; }
.intro__rider .rider__wheel { animation: rider-spin .4s linear .35s 7; }
.intro__rider .rider__box--b { animation: rider-hop .3s ease-in-out .35s 8 alternate; }
.intro__rider .rider__box--a { animation: rider-hop .3s ease-in-out .5s 8 alternate; }
.intro__rider .rider__body { animation: rider-bob .3s ease-in-out .42s 8 alternate; }
.intro__rider .rider__streak { animation: rider-flick .5s ease-in-out .35s 5; }
.intro__rider .rider__all { animation: rider-wheelie .9s var(--ease-out) 2.9s both; }
.intro__places { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: rgba(255, 255, 255, .6); }
.intro__to { display: inline-flex; align-items: center; gap: 8px; animation: intro-arrive .4s ease 2.9s both; }
.intro__to::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: scale(0); animation: intro-pin .5s cubic-bezier(.3, 1.6, .5, 1) 2.9s both; }
@keyframes intro-fade { from { opacity: 0; } }
@keyframes intro-fill { to { transform: none; } }
@keyframes intro-ride { from { left: 0%; transform: translateX(-20%); } to { left: 100%; transform: translateX(-92%); } }
@keyframes intro-arrive { to { color: #fff; } }
@keyframes intro-pin { to { transform: none; } }

/* Portrait screens: a taller window, smaller words, the portrait crops (chosen by the script). */
@media (max-aspect-ratio: 1/1) {
  .intro__window { clip-path: polygon(52% 20%, 52% 20%, 48% 70%, 48% 70%); animation-name: intro-open-tall, intro-full-tall; }
  @keyframes intro-open-tall { to { clip-path: polygon(14% 20%, 92% 20%, 86% 70%, 8% 70%); } }
  @keyframes intro-full-tall { from { clip-path: polygon(14% 20%, 92% 20%, 86% 70%, 8% 70%); } to { clip-path: polygon(-8% -2%, 108% -2%, 108% 102%, -8% 102%); } }
  .intro__words { top: 45%; font-size: clamp(44px, 14vw, 120px); }
  .intro__rider { width: 54px; }
}
