/* Mirror Finish Valeting preview. Single dark "lacquer" theme; one accent (ice). Radius system: all-sharp. */
:root {
  --bg: #0b0c0e;        --on-bg: #e8ebef;
  --muted: #a3aab4;     /* secondary text, used on --bg and --surface only */
  --surface: #141619;   --on-surface: #e8ebef;
  --chrome: #d6dbe1;    --on-chrome: #0b0c0e;
  --ribbon: #1d2025;    --on-ribbon: #c9ced5;
  --field: #111316;     --on-field: #eef0f3;
  --s1: #121417;        --on-s1: #e8ebef;
  --s2: #171a1e;        --on-s2: #e8ebef;
  --s3: #1d2126;        --on-s3: #eef0f3;
  --s4: #252a31;        --on-s4: #f4f6f8;
  --ice: #a9d8ff;       /* the one accent: links, focus, the glint */
  --err: #ffb4a8;
  --line: #2a2e34;
  --wrap: 72rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--on-bg);
  font: 400 1rem/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 30; background: var(--chrome); color: var(--on-chrome); padding: .5rem .75rem; }

.ribbon {
  background: var(--ribbon); color: var(--on-ribbon);
  font-size: .8125rem; line-height: 1.4; text-align: center;
  padding: .45rem 1rem;
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.wordmark {
  display: inline-flex; flex-direction: column; text-decoration: none;
  font-weight: 800; font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; line-height: 1.1;
  color: var(--on-bg);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .wordmark {
    background: linear-gradient(100deg, #8e959e 0%, #f2f5f8 42%, #9aa1aa 58%, #e3e7eb 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .wordmark span { -webkit-text-fill-color: var(--muted); }
}
.wordmark span { font-size: .6875rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); margin-top: .2rem; text-transform: none; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--on-bg); }
.nav a.nav-cta { color: var(--on-bg); border: 1px solid var(--line); padding: .5rem .9rem; }
@media (max-width: 767px) { .nav a:not(.nav-cta) { display: none; } .nav a.nav-cta { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.35rem; border: 1px solid transparent;
  font: 600 1rem/1.2 inherit; font-family: inherit; text-decoration: none; white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .15s ease-out, background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn-chrome { background: var(--chrome); color: var(--on-chrome); }
.btn-chrome:hover { background: #eef1f4; }
.btn-ghost { background: var(--bg); color: var(--on-bg); border-color: #4a5058; }
.btn-ghost:hover { border-color: var(--chrome); }

/* Hero */
.hero { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.2vw + 1rem, 4rem); font-weight: 800; letter-spacing: -0.04em; max-width: 17ch; }
.lede { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-art { margin: 0; display: grid; position: relative; overflow: hidden; }
.hero-art > * { grid-area: 1 / 1; }
.car { width: 100%; height: auto; }
.car-matte { filter: brightness(.55) contrast(.7) saturate(0); }
.pass { position: relative; opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; padding-top: 4rem; padding-bottom: 5rem; min-height: min(78dvh, 44rem); }
  .hero-art { margin-right: -1rem; }
}

/* Proof */
.proof { display: grid; gap: .5rem 2.5rem; padding-block: 3.5rem; border-top: 1px solid var(--line); align-items: center; }
.proof-num {
  font-size: clamp(6rem, 30vw, 13rem); font-weight: 800; letter-spacing: -0.07em; line-height: .85;
  color: var(--chrome);
}
.proof h2 { font-size: clamp(1.5rem, 3vw + .5rem, 2.25rem); }
.proof-facts { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; color: var(--muted); font-size: .9375rem; }
.proof-facts strong { display: block; color: var(--on-bg); font-size: 1.125rem; font-weight: 600; }
@media (min-width: 768px) { .proof { grid-template-columns: auto 1fr; } }

.link { color: var(--ice); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* Services as layers of finish: each band sits a shade glossier than the last */
.services { padding-block: 4rem; }
.services h2 { font-size: clamp(1.75rem, 4vw + .5rem, 3rem); max-width: 18ch; }
.section-lede { color: var(--muted); margin-top: 1rem; max-width: 52ch; }
.strata { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: .375rem; }
.stratum {
  position: relative; display: grid; gap: .35rem;
  padding: 1.35rem 1.25rem 1.35rem 1.5rem; overflow: hidden;
}
.stratum::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.stratum h3 { font-size: 1.3rem; }
.stratum p { max-width: 46ch; }
.price { font-size: .875rem; font-weight: 500; }
.s1 { background: var(--s1); color: var(--on-s1); }
.s2 { background: var(--s2); color: var(--on-s2); }
.s3 { background: var(--s3); color: var(--on-s3); }
.s4 { background: var(--s4); color: var(--on-s4); }
.stratum.s1::before { background: #3a3f46; }
.stratum.s2::before { background: #5c636c; }
.stratum.s3::before { background: #9aa2ac; }
.stratum.s4::before { background: linear-gradient(180deg, #f4f8fc, var(--ice)); }
.stratum.s3::after, .stratum.s4::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 55%, rgba(255,255,255,.035) 70%, transparent 80%);
}
.stratum.s4::after { background: linear-gradient(105deg, transparent 50%, rgba(233,244,255,.08) 68%, transparent 82%); }
@media (min-width: 768px) {
  .stratum { grid-template-columns: 14rem 1fr auto; align-items: baseline; gap: 2rem; padding: 1.6rem 2rem; }
  .stratum.s2 { margin-left: 1.5rem; } .stratum.s3 { margin-left: 3rem; } .stratum.s4 { margin-left: 4.5rem; padding-block: 2.1rem; }
}

/* Work: latest job + photo plates */
.work { display: grid; gap: 2.5rem; padding-block: 4rem; border-top: 1px solid var(--line); }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.latest h2 { font-size: clamp(1.75rem, 4vw + .5rem, 2.75rem); }
.job { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.job li { padding: .45rem .8rem; font-size: .9375rem; }
.plates { display: grid; gap: 1rem; }
.plate { margin: 0; }
.plate-split { position: relative; aspect-ratio: 4 / 3; border: 1px dashed #4a5058; overflow: hidden; }
.plate-split > span { position: absolute; inset: 0; }
.plate-split .gloss { clip-path: inset(0 0 0 50%); }
.plate-wide .plate-split { aspect-ratio: 16 / 10; }
.matte { background: repeating-linear-gradient(45deg, #1a1c1f 0 6px, #16181b 6px 12px); }
.gloss { background: linear-gradient(160deg, #2c3139 0%, #0f1114 45%, #1c2026 60%, #3b424c 100%); overflow: hidden; }
.gloss::after {
  content: ""; position: absolute; inset: -20% auto -20% 65%; width: 9%;
  background: linear-gradient(90deg, transparent, rgba(240,247,255,.28), transparent); transform: skewX(-18deg);
}
.plate figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 768px) {
  .plates { grid-template-columns: 2fr 1fr; }
  .plate-wide { grid-row: span 2; }
  .plate-wide .plate-split { aspect-ratio: auto; height: calc(100% - 2rem); min-height: 18rem; }
}
@media (min-width: 1024px) { .work { grid-template-columns: 1fr 2fr; align-items: start; } }

/* Mobile service statement */
.mobile { padding-block: 4.5rem; border-top: 1px solid var(--line); display: grid; gap: 2rem; }
.mobile h2 { font-size: clamp(1.9rem, 5vw + .5rem, 3.75rem); font-weight: 800; letter-spacing: -0.035em; max-width: 20ch; }
.mobile-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; }
.mobile-facts dt { color: var(--muted); font-size: .875rem; }
.mobile-facts dd { margin: 0; font-size: 1.25rem; font-weight: 600; }

/* Booking */
.booking { display: grid; gap: 2rem; padding-block: 4rem 5rem; border-top: 1px solid var(--line); }
.booking h2 { font-size: clamp(1.75rem, 4vw + .5rem, 2.75rem); }
.booking-intro p { color: var(--muted); margin-top: 1rem; max-width: 40ch; }
.booking-intro .booking-direct { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; font-size: 1.0625rem; }
.form { background: var(--surface); color: var(--on-surface); padding: 1.25rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 500; font-size: .9375rem; }
.field input, .field select {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  background: var(--field); color: var(--on-field);
  border: 1px solid #6e7580; border-radius: 0;
  font: inherit; font-size: 1rem;
}
.field input:focus, .field select:focus { outline: 2px solid var(--ice); outline-offset: 0; border-color: var(--ice); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.help { font-size: .875rem; color: var(--muted); }
.err { font-size: .875rem; color: var(--err); }
.form .btn { width: 100%; margin-top: .25rem; }
.success { border-left: 3px solid var(--ice); padding: .9rem 1rem; background: var(--field); color: var(--on-field); }
.success-h { font-weight: 600; margin-bottom: .3rem; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; padding: 2rem; gap: 1.25rem 1.25rem; }
  .form .btn, .success { grid-column: 1 / -1; }
  .form .btn { width: auto; justify-self: start; }
}
@media (min-width: 1024px) { .booking { grid-template-columns: 1fr 1.6fr; align-items: start; } }

/* Footer */
.foot { padding-block: 3rem 4rem; border-top: 1px solid var(--line); display: grid; gap: 2.5rem; font-size: .9375rem; }
.foot-main { display: grid; gap: 1.25rem; }
.foot .wordmark { font-size: .95rem; }
.email { word-break: break-all; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.privacy h2 { font-size: 1rem; margin-bottom: .4rem; }
.privacy p { color: var(--muted); max-width: 60ch; }
@media (min-width: 768px) { .foot { grid-template-columns: 1fr 1fr; } .foot-main { grid-template-columns: auto auto; justify-content: start; gap: 1.25rem 3rem; } }

/* Mobile dock: call / WhatsApp / booking */
.dock { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 4.5rem; }
  .dock {
    display: grid; grid-template-columns: auto auto 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0 .9rem;
    background: var(--surface); color: var(--on-surface); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
  }
  .dock a.dock-main { background: var(--chrome); color: var(--on-chrome); }
}


/* ---------- Motion ----------
   Signature: a machine-polish pass. The hero car starts matte, a polishing pass wipes it
   to lacquer, light catches the paint, and the same highlight crosses the headline.
   Only transform, opacity, filter, clip-path animate. Hidden pre-reveal states live
   under html.js (set by app.js) and no-preference, so no JS / reduced motion = final state. */
:root { --ease-out: cubic-bezier(.2, 0, 0, 1); --ease-pass: cubic-bezier(.65, 0, .35, 1); }

/* Chrome lettering for the headline; the sheen is a brighter copy clipped to a moving band. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 {
    background: linear-gradient(100deg, #b9c0c8 0%, #f4f6f8 38%, #c4cad1 62%, #eef1f4 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
}
.sheen { position: relative; }
.sheen::after {
  content: attr(data-sheen) / "";
  position: absolute; inset: 0; pointer-events: none;
  color: #fff; -webkit-text-fill-color: #fff; text-shadow: 0 0 18px rgba(169, 216, 255, .7);
  clip-path: polygon(-30% 0, -18% 0, -24% 100%, -36% 100%);
}

/* Buttons: a light sweep across on hover (one pass, never back), scale .96 on press. */
.btn::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-120%) skewX(-20deg); pointer-events: none;
}
.btn-ghost::after { background: linear-gradient(90deg, transparent, rgba(169, 216, 255, .18), transparent); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover::after { transform: translateX(320%) skewX(-20deg); transition: transform .7s var(--ease-pass); }
}

/* Nav: underline draws from the left. */
.nav a:not(.nav-cta) { position: relative; transition: color .2s var(--ease-out); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 1px; background: var(--ice);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.nav a:not(.nav-cta):hover::after, .nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav a.nav-cta { transition: border-color .2s var(--ease-out), transform .15s ease-out; }
.nav a.nav-cta:hover { border-color: var(--chrome); }
.nav a.nav-cta:active, .dock a:active { transform: scale(.96); }
.link { text-decoration-color: rgba(169, 216, 255, .5); transition: text-decoration-color .2s var(--ease-out); }
.link:hover { text-decoration-color: var(--ice); }
.dock a { transition: transform .15s ease-out; }

/* Form: label nudges on focus; errors and success arrive, bad fields flinch. */
.field label { transition: transform .2s var(--ease-out); }
.field:focus-within label { transform: translateX(3px); }
.success { position: relative; overflow: hidden; scroll-margin-bottom: 6rem; }

/* Sticky mobile dock arrives once the hero buttons scroll away. */
@media (max-width: 767px) {
  .dock { transition: transform .35s var(--ease-out), visibility 0s linear .35s; }
  html.js .dock:not(.on) { transform: translateY(110%); visibility: hidden; }
  html.js .dock.on { transition-delay: 0s; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero: headline is readable on frame one; everything is done by ~1.2s. */
  .car-gloss { animation: polish .85s var(--ease-pass) .1s both; }
  .pass { animation: pass .85s var(--ease-pass) .1s both; }
  .pass::before, .pass::after { content: ""; position: absolute; top: 4%; bottom: 4%; right: 0; }
  .pass::before { width: 35%; background: linear-gradient(90deg, transparent, rgba(169, 216, 255, .1)); }
  .pass::after { width: 2px; background: linear-gradient(transparent, #eaf4ff 30%, #eaf4ff 70%, transparent); box-shadow: 0 0 14px 2px rgba(169, 216, 255, .55); }
  .glint { transform: translateX(0); animation: sweep .55s var(--ease-out) .65s forwards; }
  .hero-art:hover .glint { animation: sweep-again 1s var(--ease-out) forwards; }
  .hero h1.sheen::after { animation: sheen .8s var(--ease-pass) .3s both; }
  .hero .lede, .hero .actions { animation: rise .5s var(--ease-out) both; }
  .hero .lede { animation-delay: .08s; }
  .hero .actions { animation-delay: .16s; }

  /* Scroll reveals. Nothing is hidden at rest: the hidden pose exists only inside a keyframe
     that starts when app.js adds .in (just before the element reaches the viewport), so an
     unscrolled full-page capture shows every section. Chunks stagger 80ms via --i. */
  html.js .rv.in { animation: rise .55s var(--ease-out) calc(var(--i, 0) * 80ms) backwards; }
  html.js .job .rv.in { animation-name: lay-step; }
  /* Services are layers of finish: each band is laid on with a pass, its edge bar draws down. */
  html.js .rv-wipe.in { animation: lay-on .7s var(--ease-pass) calc(var(--i, 0) * 90ms) backwards; }
  html.js .stratum.in::before { transform-origin: top; animation: bar-draw .5s var(--ease-out) calc(var(--i, 0) * 90ms + .45s) backwards; }
  html.js .stratum.in::after { animation: band-sheen 1.1s var(--ease-pass) calc(var(--i, 0) * 90ms + .3s) both; }
  /* Sheen crosses the 96 and the "we come to you" line as they arrive. */
  html.js .sheen.rv.in::after { animation: sheen .9s var(--ease-pass) calc(var(--i, 0) * 80ms + .35s) both; }
  /* Before/after plates: the gloss half wipes across the matte. Scroll-scrubbed where supported
     (fill forwards only, so before entry it sits at its final 50/50 state), else timed on .in. */
  html.js .plate.in .gloss { animation: plate-wipe 1s var(--ease-pass) .2s backwards; }
  @supports (animation-timeline: view()) {
    html.js .plate .gloss, html.js .plate.in .gloss { animation: plate-wipe linear forwards; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }

  /* Form feedback. */
  .err:not([hidden]) { animation: err-in .22s var(--ease-out); }
  .flinch { animation: flinch .32s var(--ease-out); }
  .success:not([hidden]) { animation: lay-on .6s var(--ease-pass) both; }
  .success:not([hidden])::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(233, 244, 255, .14) 50%, transparent 65%);
    animation: band-sheen .9s var(--ease-pass) .35s both;
  }

  @keyframes polish { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  @keyframes pass { 0% { transform: translateX(-100%); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
  @keyframes sweep { to { transform: translateX(1250px); } }
  @keyframes sweep-again { from { transform: translateX(0); } to { transform: translateX(1250px); } }
  @keyframes sheen {
    from { clip-path: polygon(-30% 0, -18% 0, -24% 100%, -36% 100%); }
    to { clip-path: polygon(118% 0, 130% 0, 124% 100%, 112% 100%); }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
  @keyframes band-sheen { from { transform: translateX(-70%); opacity: 0; } 30% { opacity: 1; } }
  @keyframes plate-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 50%); } }
  @keyframes lay-step { from { opacity: 0; transform: translateX(-10px); filter: blur(3px); } }
  @keyframes bar-draw { from { transform: scaleY(0); } }
  @keyframes err-in { from { opacity: 0; transform: translateY(-4px); } }
  @keyframes flinch { 25% { transform: translateX(-4px); } 50% { transform: translateX(3px); } 75% { transform: translateX(-2px); } }
  @keyframes lay-on { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
