/* Lamaa: mobile car detailing (made-up business, demo) */
:root {
  /* light showroom: off-white page, dark ink, gold as fills; --gold-ink is gold dark enough for text */
  --bg: #e6dccb;
  --bg-2: #f1ebe0;
  --ink: #0b0d10;
  --fg: #121418;
  --soft: #4a5059;
  --line: rgba(18, 20, 24, 0.1);
  --line-2: rgba(18, 20, 24, 0.2);
  --mute: #6b717a;
  --gold: #b8925a;
  --gold-deep: #a07c45;
  --gold-ink: #7d5f30;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Courier New", monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; background: var(--bg); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .3s, color .3s, border-color .3s, box-shadow .35s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 0 rgba(184, 146, 90, 0); }
.btn-gold:hover { box-shadow: 0 10px 40px -8px rgba(184, 146, 90, .55); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: rgba(241, 235, 224, .6); }
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-wide { width: 100%; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(230, 220, 203, .85), rgba(230, 220, 203, 0));
}
.nav { transition: background-color .4s; }
.nav.solid { background: rgba(230, 220, 203, .94); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; min-width: 0; }
.brand-mark { width: 20px; height: 20px; color: var(--gold-deep); flex: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--mute); transition: color .25s; }
.nav-links a:hover { color: var(--fg); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero-track { position: relative; height: 720vh; overflow: clip; }
@media (max-width: 760px) { .hero-track { height: 640vh; } }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: visible; isolation: isolate; }
/* the backdrop reaches 100lvh, so no strip shows when the phone address bar hides */
.stage-bg {
  position: absolute; inset: 0 0 auto 0; height: 100lvh; z-index: -3;
  background:
    radial-gradient(120% 70% at 50% 108%, #d4c7b0 0%, rgba(212, 199, 176, 0) 60%),
    radial-gradient(70% 55% at 50% 0%, #f1ebe0 0%, rgba(241, 235, 224, 0) 70%),
    var(--bg);
}
.bigwords { position: absolute; inset: 0 0 auto 0; height: 100svh; z-index: -2; overflow: hidden; pointer-events: none; }
.bigword {
  position: absolute; left: 0; top: 50%; margin-top: -0.55em;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(140px, 30vw, 560px); line-height: 1; letter-spacing: -0.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(18, 20, 24, .13);
  transform: translate3d(110vw, 0, 0); will-change: transform;
}
.bigword:nth-child(4) { -webkit-text-stroke-color: rgba(160, 124, 69, .4); }
#car { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; touch-action: pan-y; }
#car.on { opacity: 1; }
.poster {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 120vw); height: auto; transform: translate(-42%, -46%);
  opacity: 0; pointer-events: none; transition: opacity .6s;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(50% 50% at 50% 52%, #000 62%, transparent 100%);
}
.no3d .poster { opacity: 1; }
.no3d #car, .no3d .loader, .no3d .rub-hint, .no3d .swatches { display: none; }
@media (max-aspect-ratio: 4/5) { .poster { width: 150vw; transform: translate(-50%, -40%); } }
/* bottom scrim keeps captions readable over the car on phones */
.stage-scrim { position: absolute; inset: auto 0 0 0; height: 55svh; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgba(230, 220, 203, .94) 0%, rgba(230, 220, 203, .6) 45%, rgba(230, 220, 203, 0) 100%); opacity: 0; }
@media (max-aspect-ratio: 4/5) { .stage-scrim { opacity: 1; } }

.loader { position: absolute; left: 50%; top: 62%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2; transition: opacity .5s; }
.loader i { display: block; width: 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader b { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.loader span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.loader.done { opacity: 0; pointer-events: none; }

.hero-copy {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 4svh);
  max-width: 1400px; pointer-events: none; will-change: transform, opacity;
}
.kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--mute); margin-bottom: 14px; }
.kicker [lang="ar"] { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", sans-serif; font-size: 16px; letter-spacing: 0; color: var(--gold-ink); text-transform: none; }
.kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mute); }
.hero-title {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(52px, 10.4vw, 188px); line-height: .9; letter-spacing: -0.035em; text-transform: uppercase;
  max-width: 100%; min-width: 0;
}
.hero-title .ln { display: block; overflow: hidden; padding: .02em .04em .06em 0; margin-bottom: -.06em; }
.hero-title .ln > span { display: inline-block; animation: rise 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
.hero-title .ln:nth-child(2) > span { animation-delay: .12s; }
.hero-title .ln:nth-child(2) > span + span { animation-delay: .2s; background: var(--gold); color: var(--ink); padding: 0 .06em; }
.hero-sub { margin-top: 18px; max-width: 34ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--soft); animation: fadeUp 1s .45s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-aspect-ratio: 4/5) {
  .hero-title { font-size: clamp(44px, 16.2vw, 120px); }
  .hero-copy { top: calc(var(--nav-h) + 1svh); }
  .hero-sub { font-size: 15px; max-width: 30ch; }
}

.rub-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 13svh; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; color: var(--fg); white-space: nowrap;
  padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(241, 235, 224, .85);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.rub-hint.show { opacity: 1; }
.rub-hint i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold-deep); position: relative; animation: rub 1.6s ease-in-out infinite; }
.rub-touch { display: none; }
@media (hover: none) { .rub-mouse { display: none; } .rub-touch { display: inline; } }
@keyframes rub { 0%, 100% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }

.scroll-cue { position: absolute; z-index: 3; right: var(--gutter); bottom: 4svh; display: flex; align-items: center; gap: 12px; color: var(--mute); animation: fadeUp 1s .8s backwards; }
.scroll-cue i { width: 1px; height: 44px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-deep); animation: drip 1.8s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-aspect-ratio: 4/5) { .scroll-cue { left: var(--gutter); right: auto; } }

/* chapter captions */
.chapters { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.chap {
  position: absolute; left: var(--gutter); bottom: 12svh; width: min(520px, calc(100% - 2 * var(--gutter)));
  opacity: 0; visibility: hidden;
}
.chap.live { visibility: visible; }
.chap-num { display: flex; align-items: center; gap: 10px; color: var(--gold-ink); margin-bottom: 14px; }
.chap-num i { width: 28px; height: 1px; background: currentColor; }
.chap h2 { font-family: var(--display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 76px); line-height: .95; letter-spacing: -0.03em; }
.chap h2 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.04em; }
.chap h2 .ln > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.chap-text { margin-top: 16px; max-width: 40ch; color: var(--soft); font-size: clamp(15px, 1.25vw, 18px); }
.chap-end { bottom: 9svh; }
.chap-end.live { pointer-events: auto; }
.chap-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.swatches { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.swatch-label { color: var(--mute); margin-right: 4px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; position: relative;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), var(--c);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.35), 0 0 0 1px rgba(18,20,24,.15);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.swatch:hover { transform: translateY(-3px) scale(1.06); }
.swatch.is-on { box-shadow: inset 0 -4px 8px rgba(0,0,0,.35), 0 0 0 2px var(--bg), 0 0 0 4px var(--gold-deep); }
@media (max-aspect-ratio: 4/5) {
  .chap { bottom: 7svh; }
  .chap-end { bottom: 4svh; }
  .chap h2 { font-size: clamp(30px, 9.6vw, 56px); }
  .chap-text { font-size: 15px; }
}
@media (max-aspect-ratio: 4/5) and (max-height: 700px) { .chap-end .chap-text { display: none; } .chap-end h2 { font-size: 30px; } }

/* exploded view tags */
.tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tag {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(241, 235, 224, .92); border: 1px solid var(--line-2); box-shadow: 0 6px 20px -10px rgba(18, 20, 24, .3);
  opacity: 0; will-change: transform, opacity;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); box-shadow: 0 0 8px var(--gold); }
@media (max-width: 600px) { .tag { font-size: 10px; padding: 5px 8px 5px 7px; } }

/* progress steps */
.steps { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--nav-h) + 18px); display: flex; gap: 6px; list-style: none; opacity: 0; transition: opacity .4s; }
.steps.show { opacity: 1; }
.steps li { display: flex; flex-direction: column; gap: 7px; width: 74px; font-size: 10px; color: var(--mute); transition: color .3s; }
.steps li.on { color: var(--fg); }
.steps li i { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.steps li i::after { content: ""; position: absolute; inset: 0; background: var(--gold-deep); transform: scaleX(var(--f, 0)); transform-origin: left; }
@media (max-width: 760px) {
  .steps { left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 4px); gap: 4px; }
  .steps li { flex: 1 1 0; width: auto; min-width: 0; font-size: 9px; letter-spacing: .04em; overflow: hidden; }
}
.hero-fade { position: absolute; inset: 0 0 auto 0; height: 100lvh; z-index: 4; background: var(--bg); opacity: 0; pointer-events: none; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--gold); color: var(--ink); position: relative; z-index: 2; }
.ticker-row { display: flex; width: max-content; align-items: center; gap: 28px; padding: 18px 0; animation: tick 34s linear infinite;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); letter-spacing: -0.01em; white-space: nowrap; }
.ticker-row b { font-size: .6em; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-row { animation: none; } }

/* ---------- sections ---------- */
section:not(.hero-track) { position: relative; padding: clamp(88px, 12vw, 168px) var(--gutter); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.eyebrow { color: var(--gold-ink); margin-bottom: 16px; }
.sec-head h2, .book h2 { font-family: var(--display); font-weight: 900; font-stretch: 118%; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.03em; }
.sec-head > p:not(.eyebrow) { margin-top: 18px; color: var(--soft); font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .how-steps .reveal:nth-child(2) { transition-delay: .1s; }
.cards .reveal:nth-child(3), .how-steps .reveal:nth-child(3) { transition-delay: .2s; }

/* packages */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1280px; }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.card {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 6px;
  padding: 32px 28px 28px; border-radius: 22px; background: linear-gradient(180deg, var(--bg-2), #ece4d6);
  border: 1px solid var(--line); overflow: hidden; box-shadow: 0 24px 48px -32px rgba(18, 20, 24, .25);
}
.card::after { /* a light streak sweeps across on hover, like a polisher pass */
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; transform: rotate(18deg) translateX(-120%);
  background: linear-gradient(90deg, rgba(201,164,106,0), rgba(201,164,106,.35), rgba(201,164,106,0)); pointer-events: none;
}
@media (hover: hover) {
  .card { transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .4s, opacity .9s cubic-bezier(.2,.8,.2,1); }
  .card:hover { transform: translateY(-6px); border-color: var(--line-2); }
  .card:hover::after { transform: rotate(18deg) translateX(520%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
}
.card-hot { border-color: var(--gold-deep); background: linear-gradient(180deg, #f5ead8, var(--bg-2) 60%); }
.badge { position: absolute; top: 22px; right: 22px; background: var(--gold); color: var(--ink); padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.card-time { color: var(--mute); }
.card h3 { font-family: var(--display); font-weight: 900; font-stretch: 112%; text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: -0.02em; margin-top: 4px; }
.price { margin: 14px 0 18px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 64px; line-height: 1; letter-spacing: -0.04em; }
.price small { color: var(--mute); font-size: 14px; }
.card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.card li { display: flex; gap: 10px; color: var(--soft); font-size: 15px; line-height: 1.45; min-width: 0; }
.card li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--gold); }

/* before / after */
.ba {
  position: relative; max-width: 1280px; aspect-ratio: 1600 / 714; border-radius: 24px; overflow: hidden;
  background: #07080a; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(18, 20, 24, .45);
  --pos: 50%; user-select: none; touch-action: pan-y;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--gold); box-shadow: 0 6px 30px rgba(0,0,0,.45); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; margin-top: -7px; }
.ba-handle i::before { left: 8px; border-right-color: var(--ink); }
.ba-handle i::after { right: 8px; border-left-color: var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(11,13,16,.7); border: 1px solid rgba(236,239,236,.22); color: #eceeeb; pointer-events: none; }
.ba-l { left: 18px; }
.ba-r { right: 18px; color: var(--gold); }
@media (max-width: 760px) { .ba { aspect-ratio: 16 / 10; border-radius: 18px; } .ba-img { object-position: 60% 50%; } .ba-label { top: 10px; padding: 4px 9px; font-size: 10px; } .ba-l { left: 10px; } .ba-r { right: 10px; } }

/* how */
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1280px; counter-reset: s; }
@media (max-width: 960px) { .how-steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.how-steps li { min-width: 0; padding: 28px; border-top: 1px solid var(--line-2); }
.how-n { color: var(--gold-ink); }
.how-steps h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 24px; line-height: 1.1; margin: 14px 0 10px; text-transform: uppercase; letter-spacing: -0.01em; }
.how-steps p { color: var(--soft); }
.areas { margin-top: clamp(48px, 7vw, 88px); max-width: 1280px; }
.areas p { color: var(--mute); margin-bottom: 16px; }
.areas ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.areas li:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* faq */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--gold-ink), var(--gold-ink)) center / 100% 2px no-repeat, linear-gradient(var(--gold-ink), var(--gold-ink)) center / 2px 100% no-repeat; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 64ch; color: var(--soft); }

/* book */
.book { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; max-width: 1400px; }
@media (max-width: 900px) { .book { grid-template-columns: minmax(0, 1fr); } }
.book-copy { min-width: 0; }
.book-copy p:not(.eyebrow) { margin-top: 18px; color: var(--soft); max-width: 40ch; font-size: clamp(16px, 1.4vw, 19px); }
.book-form { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(18, 20, 24, .25); }
@media (max-width: 560px) { .book-form { grid-template-columns: minmax(0, 1fr); } }
.book-form label { display: grid; gap: 8px; min-width: 0; }
.book-form label span { color: var(--mute); font-size: 11px; }
.book-form input, .book-form select {
  width: 100%; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg);
  font-size: 16px; transition: border-color .25s;
}
.book-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.book-form input:focus, .book-form select:focus { border-color: var(--gold-ink); outline: none; }
.book-form input::placeholder { color: #9aa0a8; }
.book-form .btn, .form-error, .form-note { grid-column: 1 / -1; }
.book-form .btn { margin-top: 6px; min-height: 56px; font-size: 16px; }
.form-error { color: #b42318; }
.form-note { color: var(--mute); font-size: 13px; }

/* footer */
.foot { padding: 56px var(--gutter) 40px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-top p { color: var(--mute); }
.foot-note, .foot-credit { color: var(--mute); font-size: 13px; max-width: 90ch; }
.foot-credit { font-size: 12px; color: #868c94; }
.foot a { color: var(--fg); }

/* 2026-11-19: no text in the hero (the user: "i dont want any text"). Hidden with CSS so car3d.js keeps its hooks.
   The h1 stays for screen readers and search, just off screen. */
.hero-copy { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bigwords, .chapters, .tags, .steps, .rub-hint, .scroll-cue, .loader span, .stage-scrim { display: none !important; }

/* 2026-11-19: when the wash finishes, the name rises up behind the car in the middle (driven from car3d.js) */
.endmark { position: absolute; inset: 0 0 auto 0; height: 100svh; z-index: -2; pointer-events: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
.endmark span {
  display: block; margin-top: -14svh;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(80px, 19vw, 380px); line-height: .9; letter-spacing: -0.02em; white-space: nowrap; color: var(--fg);
  opacity: 0; transform: translate3d(0, 40%, 0) scale(.9); will-change: transform, opacity;
}
@media (max-aspect-ratio: 1/1) { .endmark span { font-size: 19vw; margin-top: -24svh; } }

/* ---------- motion between sections (2026-11-19, the user: "add some motion going from page to page") ---------- */
/* 1. every section after the hero opens like a page: a rounded panel that widens to full width as it arrives */

.panel { clip-path: inset(0 5% 0 5% round 48px 48px 0 0); transition: clip-path 1.4s cubic-bezier(.6,0,.2,1); }
.panel.in { clip-path: inset(0 0 0 0 round 0 0 0 0); }
/* 2. headings rise word by word from behind a line */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 70ms + 120ms); }
.in .split .w > span, .split.in .w > span { transform: none; }
/* 3. menu clicks: a gold page wipes up, the page changes behind it, then it lifts away */
.wipe { position: fixed; inset: 0; z-index: 60; pointer-events: none; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); transform: translate3d(0, 101%, 0); visibility: hidden; }
.wipe.cover { visibility: visible; transform: none; transition: transform .5s cubic-bezier(.7,0,.3,1); }
.wipe.leave { visibility: visible; transform: translate3d(0, -101%, 0); transition: transform .6s cubic-bezier(.7,0,.3,1); }
.wipe-mark { display: flex; align-items: center; gap: .3em; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(40px, 9vw, 120px); letter-spacing: -0.02em; opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .35s, transform .5s cubic-bezier(.2,.8,.2,1); }
.wipe-mark svg { width: .7em; height: .7em; }
.wipe.cover .wipe-mark { opacity: 1; transform: none; transition-delay: .15s; }
.wipe.leave .wipe-mark { opacity: 0; transform: translate3d(0, -30px, 0); }
@media (prefers-reduced-motion: reduce) {
  .panel, .panel.in { clip-path: none; transition: none; }
  .split .w > span { transform: none; transition: none; }
  .wipe { display: none; }
}

/* ---------- the page slides up over the hero (2026-11-19, the user: "i want the page to go up from the hero to the other one") ---------- */
/* the hero is one screen taller; the sheet starts one screen early and covers the pinned car like a new page */
.hero-track { height: calc(720vh + 100svh); }
@media (max-width: 760px) { .hero-track { height: calc(640vh + 100svh); } }
.sheet { position: relative; z-index: 5; margin-top: -100svh; background: var(--bg); border-radius: 40px 40px 0 0;
  box-shadow: 0 -24px 60px -18px rgba(18, 20, 24, .35); overflow: clip; }
@media (max-width: 760px) { .sheet { border-radius: 28px 28px 0 0; } }
.sheet .ticker { border-top: 0; }
.hero-fade { background: #0b0d10; }

/* ---------- page transitions (2026-11-19): before/after -> services = plain scroll, services -> how it works = zoom through ---------- */
/* each page pins once its bottom reaches the screen bottom (--stick from site.js). A .gap gives one screen of scroll room;
   the next page sits one screen higher (margin-top -100svh) and site.js holds it at the top while the move plays. */
.stack { position: relative; }
.stack > section { position: sticky; top: var(--stick, 0px); }
.stack > section:last-of-type { position: relative; top: auto; }
.stack > .gap { height: 100svh; pointer-events: none; }
.stack > .gap + section { margin-top: -100svh; }
.stack > .compare { position: relative; top: auto; z-index: 1; background: var(--bg-2); }
.packages { z-index: 3; background: var(--bg); }
.how { z-index: 5; background: var(--bg-2); }
.book { z-index: 7; }
@media (prefers-reduced-motion: reduce) {
  .stack > section { position: relative; top: auto; }
  .stack > .gap { display: none; }
  .stack > .gap + section { margin-top: 0; }
}
