/* WashFlow 360 — marketing site
   Look: blush ground, signal orange, ink black; giant condensed caps, tilted pill tags. */
:root {
  --blush: #FBE4E1;
  --blush-deep: #F6D3CE;
  --orange: #FF5A1F;
  --orange-ink: #C93A08;      /* orange used for small text: 4.6:1 on blush */
  --ink: #141414;
  --ink-soft: #3B3B3B;
  --paper: #FFF8F6;
  --radius: 999px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--blush) 88%, transparent);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 16px 0;
}
.nav-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--paper); border-radius: var(--radius); text-decoration: none;
  font-weight: 500; font-size: 15px; transition: background .2s, transform .2s;
}
.pill-link:hover { background: #fff; transform: translateY(-1px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.brand-word { font-family: var(--display); font-size: 30px; letter-spacing: 1px; color: var(--orange-ink); line-height: 1; text-transform: uppercase; }
.brand-word span { color: var(--ink); }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.header-note { font-size: 13px; line-height: 1.3; text-align: right; }
.cta {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  padding: 0 6px 0 22px; border-radius: var(--radius); background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 15px; transition: transform .25s, translate .25s var(--ease-out);
}
.cta:hover { transform: translateY(-2px); }
.cta .arrow {
  width: 36px; height: 36px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; transition: transform .25s;
}
.cta:hover .arrow { transform: rotate(45deg); }
.cta.light { background: var(--paper); color: var(--ink); }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 0; text-align: center; overflow: hidden; }
.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  color: var(--orange); line-height: .86; letter-spacing: -0.5px;
  font-size: clamp(64px, 13.5vw, 196px); margin: 0; position: relative; z-index: 2;
}
.hero h1 .line { display: block; }
.tag {
  position: absolute; z-index: 3; background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 10px 22px; font-weight: 600;
  font-size: clamp(13px, 1.4vw, 17px); white-space: nowrap;
  box-shadow: 0 6px 0 rgba(0,0,0,.08);
}
.hero-title { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; padding: 14px 0; }
.tag-a { left: -2%; top: 40%; transform: rotate(-7deg); }
.tag-b { left: 46%; top: 0; transform: rotate(3deg); }
.tag-c { right: -2%; bottom: 0; transform: rotate(-4deg); }
.hero-lede { max-width: 640px; margin: 34px auto 0; font-size: 20px; color: var(--ink-soft); position: relative; z-index: 2; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; position: relative; z-index: 2; }
.swoosh { position: absolute; z-index: 1; pointer-events: none; }
.swoosh-l { left: -190px; top: 300px; width: 340px; }
.swoosh-r { right: -230px; top: 320px; width: 380px; }
.hero-scene { position: relative; z-index: 2; margin: 40px auto 0; width: min(980px, 100%); }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--blush); overflow: hidden; padding: 18px 0; margin-top: -2px; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-family: var(--display); font-size: 34px; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✺"; color: var(--orange); font-size: 26px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 110px 0; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 14px; }
.big {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 104px); line-height: .92; margin: 0; letter-spacing: -0.3px;
}
.big em { font-style: normal; color: var(--orange); }
.sub { max-width: 640px; font-size: 19px; color: var(--ink-soft); margin: 22px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }

/* problems */
.problems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.problem { background: var(--paper); border-radius: 28px; padding: 28px 24px; transition: transform .25s; }
.problem:nth-child(even) { transform: rotate(1.2deg); }
.problem:nth-child(odd) { transform: rotate(-1.2deg); }
.problem:hover { transform: rotate(0) translateY(-4px); }
.problem h3 { margin: 18px 0 8px; font-size: 21px; line-height: 1.25; }
.problem p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.num { font-family: var(--display); font-size: 44px; color: var(--orange); line-height: 1; }

/* apps */
.apps { background: var(--ink); color: var(--blush); border-radius: 48px; margin-inline: 12px; }
.apps .big { color: #fff; }
.apps .sub { color: #E9C9C4; }
.apps .eyebrow { color: #FF8A5C; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.app { border: 1.5px solid #3A3A3A; border-radius: 28px; padding: 26px; min-height: 260px; display: flex; flex-direction: column; transition: background .25s, border-color .25s; }
.app:hover { background: #1F1F1F; border-color: var(--orange); }
.app .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.app h3 { font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; margin: auto 0 8px; color: #fff; line-height: 1; padding-top: 40px; }
.app p { margin: 0; font-size: 15px; color: #E9C9C4; }

/* feature rows */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip .feature-copy { order: 2; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 16px; }
.checks li strong { display: block; font-size: 17px; }
.checks li span { color: var(--ink-soft); }
.tick { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.panel { background: var(--paper); border-radius: 36px; padding: 28px; position: relative; transition: transform .4s var(--ease-out); transform-style: preserve-3d; }
.panel .sticker { position: absolute; top: -18px; right: 28px; transform: rotate(4deg); }

/* mock UI bits */
.mock-title { font-family: var(--display); font-size: 26px; text-transform: uppercase; margin: 0 0 4px; }
.mock-sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { text-align: center; padding: 12px 0; border-radius: 14px; background: #fff; border: 1.5px solid #E7C9C4; font-weight: 600; font-size: 14px; }
.slot.taken { background: transparent; color: #8C6E69; text-decoration: line-through; border-style: dashed; }
.slot.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.bill { margin-top: 16px; background: #fff; border-radius: 20px; padding: 16px 18px; display: grid; gap: 8px; font-size: 15px; }
.bill div { display: flex; justify-content: space-between; }
.bill .total { border-top: 1.5px solid var(--blush-deep); padding-top: 10px; font-weight: 700; }
.bill .off { color: var(--orange-ink); }
.stages { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.stage { padding: 8px 16px; border-radius: var(--radius); background: #fff; font-size: 14px; font-weight: 600; }
.stage.now { background: var(--ink); color: #fff; }
.task { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1.5px dashed var(--blush-deep); font-size: 15px; }
.task:last-child { border-bottom: 0; }
.box { width: 26px; height: 26px; border-radius: 8px; border: 2px solid #B48E88; }
.box.done { background: var(--orange); border-color: var(--orange); display: grid; place-items: center; }
.who { font-size: 13px; color: var(--ink-soft); }
.chain { display: grid; gap: 12px; }
.chain-step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.chain-dot { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-size: 22px; display: grid; place-items: center; }
.chain-step h4 { margin: 2px 0 2px; font-size: 17px; }
.chain-step p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.meter { margin-top: 14px; }
.meter-row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.meter-bar { height: 12px; border-radius: 6px; background: var(--blush-deep); margin-top: 6px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--orange); border-radius: 6px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { background: #fff; border-radius: 20px; padding: 16px; }
.kpi b { display: block; font-family: var(--display); font-size: 40px; font-weight: 400; line-height: 1.05; }
.kpi span { font-size: 13px; color: var(--ink-soft); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 14px; background: #fff; border-radius: 20px; padding: 16px; }
.bars i { flex: 1; background: var(--orange); border-radius: 6px 6px 2px 2px; }
.bars i:nth-child(odd) { background: var(--ink); }
.note { font-size: 13px; color: var(--ink-soft); margin: 10px 0 0; }

/* back office cards */
.office { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.office-card { background: var(--paper); border-radius: 32px; padding: 30px 28px; }
.office-card h3 { font-family: var(--display); font-weight: 400; font-size: 34px; text-transform: uppercase; line-height: 1; margin: 18px 0 16px; }
.office-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.guard { margin-top: 18px; background: var(--ink); color: #fff; border-radius: 32px; padding: 26px 30px; display: flex; gap: 18px; align-items: center; }
.guard p { margin: 0; color: #E9C9C4; }
.guard strong { color: #fff; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 18px; }
.step .num { font-size: 64px; }
.step h3 { margin: 6px 0 6px; font-size: 21px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--paper); border-radius: 36px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.plan.hot { background: var(--ink); color: #fff; transform: translateY(-14px); }
.plan.hot .muted { color: #E9C9C4; }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 42px; text-transform: uppercase; margin: 0; line-height: 1; }
.price { font-family: var(--display); font-size: 34px; }
.muted { color: var(--ink-soft); font-size: 15px; margin: 0; }
.plan ul { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.plan ul li::before { content: "→ "; color: var(--orange); font-weight: 700; }
.plan .cta { margin-top: auto; align-self: flex-start; }
.plan.hot .cta { background: var(--orange); }
.plan.hot .cta .arrow { background: var(--ink); }
.fine { font-size: 13px; color: var(--ink-soft); margin-top: 22px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--paper); border-radius: 26px; padding: 0 26px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 600; font-size: 19px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .25s, background .25s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--orange); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 720px; }

/* closing */
.closing { background: var(--orange); color: var(--ink); text-align: center; border-radius: 48px 48px 0 0; margin-inline: 12px; padding: 120px 0 90px; position: relative; overflow: hidden; }
.closing .big { font-size: clamp(56px, 11vw, 170px); color: var(--ink); }
.closing p { font-size: 20px; max-width: 560px; margin: 22px auto 0; }
.closing .hero-actions { margin-top: 34px; }
.contact-line { margin-top: 40px; display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap; font-weight: 600; }
.site-footer { background: var(--ink); color: #E9C9C4; margin-inline: 12px; border-radius: 0 0 48px 48px; padding: 40px 0; margin-bottom: 12px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.site-footer a { color: #fff; }

/* reveal on scroll */
/* (motion rules live in the MOTION block at the end) */

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .problems, .app-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office, .plans { grid-template-columns: 1fr; }
  .plan.hot { transform: none; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .feature-copy { order: 0; }
  .header-note { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .site-header .wrap { grid-template-columns: auto 1fr auto; }
  .nav-pills { display: none; }
  .brand { justify-self: start; }
  .header-right .cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; justify-self: end; }
  .site-header.open .nav-pills { display: flex; grid-column: 1 / -1; order: 3; flex-direction: column; }
  .site-header.open .nav-pills .pill-link { justify-content: center; }
  .problems, .app-grid, .steps { grid-template-columns: 1fr; }
  .problem:nth-child(n) { transform: none; }
  .tag { position: static; display: inline-block; margin: 6px; transform: rotate(-3deg); }
  .hero-tags { margin-top: 18px; }
  .swoosh-l, .swoosh-r { width: 200px; }
  .apps, .closing, .site-footer { margin-inline: 6px; border-radius: 32px; }
  .closing { border-radius: 32px 32px 0 0; }
  .site-footer { border-radius: 0 0 32px 32px; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guard { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; translate: none !important; scale: none !important; filter: none !important; }
  .swoosh path, .swoosh circle { stroke-dashoffset: 0 !important; }
}


/* =====================================================================
   MOTION — everything below is progressive: without JS (.js class) or
   with reduced motion, content is simply shown.
   ===================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-back: cubic-bezier(.34, 1.56, .64, 1); }

/* scroll progress bar */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 100; background: var(--orange);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* header shrinks once you scroll */
.site-header { transition: box-shadow .3s, background-color .3s, padding .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 20, 20, .08); }

/* ---------- reveal on scroll (staggered by JS via --d) ---------- */
.js .reveal { opacity: 0; translate: 0 36px; filter: blur(6px);
  transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; filter: none; }
.js .panel.reveal { translate: 0 60px; scale: .96; transition-property: opacity, translate, filter, scale; transition-duration: 1s; }
.js .panel.reveal.in { scale: 1; }

/* ---------- hero intro ---------- */
.js .hero h1 .line { animation: lineUp 1.1s var(--ease-out) both; }
.js .hero h1 .line:nth-child(2) { animation-delay: .14s; }
@keyframes lineUp { from { opacity: 0; transform: translateY(70%) skewY(4deg); clip-path: inset(0 0 100% 0); }
                    to   { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }

.js .hero .tag { animation: tagPop .8s var(--ease-back) both; }
.js .hero .tag-a { animation-delay: .55s; }
.js .hero .tag-b { animation-delay: .7s; }
.js .hero .tag-c { animation-delay: .85s; }
@keyframes tagPop { from { opacity: 0; scale: .3; rotate: -25deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
/* gentle float after the pop */
.hero .tag-a { --fy: -6px; } .hero .tag-b { --fy: 5px; } .hero .tag-c { --fy: -4px; }
.js .hero .tag { animation: tagPop .8s var(--ease-back) both, floaty 5s ease-in-out 1.6s infinite; }
.js .hero .tag-a { animation-delay: .55s, 1.6s; }
.js .hero .tag-b { animation-delay: .7s, 2s; }
.js .hero .tag-c { animation-delay: .85s, 2.4s; }
@keyframes floaty { 50% { translate: 0 var(--fy); } }

.js .hero-lede, .js .hero-actions { animation: fadeUp .9s var(--ease-out) both; }
.js .hero-lede { animation-delay: .45s; }
.js .hero-actions { animation-delay: .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* swooshes draw themselves, then drift with scroll (--sy set by JS) */
.swoosh { translate: 0 var(--sy, 0); will-change: translate; }
.js .swoosh path, .js .swoosh circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease-out) .3s forwards; }
.js .swoosh circle + circle { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- hero scene ---------- */
.hero-scene .car { animation: driveIn 1.6s var(--ease-out) .5s both, bob 2.6s ease-in-out 2.1s infinite; }
@keyframes driveIn { from { transform: translateX(-420px); } 70% { transform: translateX(14px) rotate(-.6deg); } to { transform: none; } }
@keyframes bob { 50% { transform: translateY(-3px); } }
.hero-scene .wheel { transform-box: fill-box; transform-origin: center; animation: spin 1.6s var(--ease-out) .5s both; }
@keyframes spin { from { transform: rotate(-720deg); } to { transform: none; } }
.hero-scene .ground { animation: dash 1.6s var(--ease-out) .5s both; }
@keyframes dash { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }

.hero-scene .bubbles circle { transform-box: fill-box; transform-origin: center;
  animation: bubbleIn .7s var(--ease-back) both, bubble 4.5s ease-in-out infinite; }
.hero-scene .bubbles circle:nth-child(1) { animation-delay: 1.5s, 2.2s; }
.hero-scene .bubbles circle:nth-child(2) { animation-delay: 1.6s, 2.9s; }
.hero-scene .bubbles circle:nth-child(3) { animation-delay: 1.7s, 2.5s; }
.hero-scene .bubbles circle:nth-child(4) { animation-delay: 1.8s, 3.3s; }
.hero-scene .bubbles circle:nth-child(5) { animation-delay: 1.9s, 2.7s; }
.hero-scene .bubbles circle:nth-child(6) { animation-delay: 2s, 3.6s; }
.hero-scene .bubbles circle:nth-child(7) { animation-delay: 2.1s, 2.4s; }
.hero-scene .bubbles circle:nth-child(8) { animation-delay: 1.4s, 3.1s; }
.hero-scene .bubbles circle:nth-child(9) { animation-delay: 2.2s, 3.9s; }
@keyframes bubbleIn { from { scale: 0; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes bubble { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(4px, -10px) scale(1.06); } 66% { transform: translate(-4px, -4px) scale(.96); } }
.hero-scene .shines { animation: fadeIn .6s ease 2.4s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-scene .phone { animation: phoneIn 1s var(--ease-back) 1.2s both, phoneFloat 6s ease-in-out 2.4s infinite; }
@keyframes phoneIn { from { transform: translateY(80px) rotate(10deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes phoneFloat { 50% { transform: translateY(-8px) rotate(-1deg); } }
.hero-scene .pill-pop { transform-box: fill-box; transform-origin: center; animation: pillPop .6s var(--ease-back) 2s both; }
@keyframes pillPop { from { scale: 0 1; } to { scale: 1 1; } }
.hero-scene .check-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease-out) 2.3s forwards; }

/* ---------- marquee ---------- */
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span::after { display: inline-block; animation: spinStar 6s linear infinite; }
@keyframes spinStar { to { transform: rotate(360deg); } }

/* ---------- cards: lift + tilt on hover ---------- */
.app, .office-card, .plan, .step { transition: transform .35s var(--ease-out), background .25s, border-color .25s, box-shadow .35s; }
.app:hover { transform: translateY(-6px); }
.app .icon { transition: transform .5s var(--ease-back); }
.app:hover .icon { transform: rotate(-12deg) scale(1.12); }
.office-card:hover, .plan:not(.hot):hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 18px 40px rgba(20, 20, 20, .10); }
.plan.hot:hover { transform: translateY(-20px); }
.step .num { display: inline-block; transition: transform .4s var(--ease-back), color .3s; }
.step:hover .num { transform: translateY(-6px) rotate(-6deg); color: var(--orange); }
.cta .arrow { transition: transform .35s var(--ease-back); }
.cta:hover .arrow { transform: rotate(45deg) scale(1.1); }

/* stickers wiggle when their panel arrives */
.js .panel.in .sticker { animation: wiggle .9s var(--ease-back) .5s both; }
@keyframes wiggle { 0% { scale: 0; } 60% { scale: 1.12; rotate: -8deg; } 100% { scale: 1; rotate: 0deg; } }

/* ---------- feature mock-ups come alive ---------- */
/* slots pop in one by one, chosen slot pulses */
.js .panel .slot { opacity: 0; scale: .7; transition: opacity .4s, scale .5s var(--ease-back); }
.js .panel.in .slot { opacity: 1; scale: 1; }
.js .panel.in .slot:nth-child(1) { transition-delay: .3s; }  .js .panel.in .slot:nth-child(2) { transition-delay: .35s; }
.js .panel.in .slot:nth-child(3) { transition-delay: .4s; }  .js .panel.in .slot:nth-child(4) { transition-delay: .45s; }
.js .panel.in .slot:nth-child(5) { transition-delay: .5s; }  .js .panel.in .slot:nth-child(6) { transition-delay: .55s; }
.js .panel.in .slot:nth-child(7) { transition-delay: .6s; }  .js .panel.in .slot:nth-child(8) { transition-delay: .65s; }
.panel.in .slot.on { animation: pulse 2.2s ease-out 1.3s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(255, 90, 31, 0); } }
.slot:not(.taken) { cursor: default; transition: transform .2s, background .2s; }
.slot:not(.taken):not(.on):hover { background: #FFE9E2; transform: translateY(-2px); }

/* bill lines slide in */
.js .panel .bill > div { opacity: 0; translate: -14px 0; transition: opacity .5s, translate .5s var(--ease-out); }
.js .panel.in .bill > div { opacity: 1; translate: 0 0; }
.js .panel.in .bill > div:nth-child(1) { transition-delay: .8s; } .js .panel.in .bill > div:nth-child(2) { transition-delay: .9s; }
.js .panel.in .bill > div:nth-child(3) { transition-delay: 1s; }  .js .panel.in .bill > div:nth-child(4) { transition-delay: 1.1s; }
.js .panel.in .bill > div:nth-child(5) { transition-delay: 1.2s; } .js .panel.in .bill > div:nth-child(6) { transition-delay: 1.3s; }

/* job card: stage pills light up in sequence, then ticks pop */
.js .panel.in .stage { animation: stageIn .5s var(--ease-back) both; }
.js .panel.in .stage:nth-child(1) { animation-delay: .3s; } .js .panel.in .stage:nth-child(2) { animation-delay: .4s; }
.js .panel.in .stage:nth-child(3) { animation-delay: .5s; } .js .panel.in .stage:nth-child(4) { animation-delay: .6s; }
.js .panel.in .stage:nth-child(5) { animation-delay: .7s; }
@keyframes stageIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.panel.in .stage.now { animation: stageIn .5s var(--ease-back) .5s both, nowGlow 2s ease-in-out 1.2s infinite; }
@keyframes nowGlow { 50% { background: var(--orange); color: var(--ink); } }
.js .panel .task { opacity: 0; translate: 0 10px; transition: opacity .5s, translate .5s var(--ease-out); }
.js .panel.in .task { opacity: 1; translate: 0 0; }
.js .panel.in .task:nth-of-type(3) { transition-delay: .7s; }  .js .panel.in .task:nth-of-type(4) { transition-delay: .85s; }
.js .panel.in .task:nth-of-type(5) { transition-delay: 1s; }   .js .panel.in .task:nth-of-type(6) { transition-delay: 1.15s; }
.js .panel .box.done { scale: 0; transition: scale .5s var(--ease-back); }
.js .panel.in .box.done { scale: 1; transition-delay: 1.3s; }
.js .panel.in .task:nth-of-type(4) .box.done { transition-delay: 1.6s; }

/* chain of custody: steps light up and a line grows between dots */
.chain { position: relative; }
.chain::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--ink);
  transform-origin: top; transform: scaleY(var(--chain, 1)); }
.js .chain::before { --chain: 0; transition: transform 1.6s var(--ease-out) .4s; }
.js .panel.in .chain::before { transform: scaleY(1); }
.chain-step { position: relative; }
.js .panel .chain-step { opacity: 0; translate: 20px 0; transition: opacity .6s, translate .6s var(--ease-out); }
.js .panel.in .chain-step { opacity: 1; translate: 0 0; }
.js .panel.in .chain-step:nth-child(1) { transition-delay: .3s; } .js .panel.in .chain-step:nth-child(2) { transition-delay: .7s; }
.js .panel.in .chain-step:nth-child(3) { transition-delay: 1.1s; } .js .panel.in .chain-step:nth-child(4) { transition-delay: 1.5s; }
.js .panel.in .chain-step:nth-child(4) .chain-dot { animation: dotDone .6s var(--ease-back) 2s both; }
@keyframes dotDone { 50% { scale: 1.25; } to { background: var(--orange); color: var(--ink); } }

/* membership meters fill */
.js .panel .meter-bar i { transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
.js .panel.in .meter-bar i { transform: scaleX(1); }
.js .panel.in .meter + .meter .meter-bar i { transition-delay: .25s; }
.js .panel.in .meter + .meter + .meter .meter-bar i { transition-delay: .5s; }

/* dashboard bars grow */
.js .panel .bars i { transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease-back); }
.js .panel.in .bars i { transform: scaleY(1); }
.js .panel.in .bars i:nth-child(2) { transition-delay: .08s; } .js .panel.in .bars i:nth-child(3) { transition-delay: .16s; }
.js .panel.in .bars i:nth-child(4) { transition-delay: .24s; } .js .panel.in .bars i:nth-child(5) { transition-delay: .32s; }
.js .panel.in .bars i:nth-child(6) { transition-delay: .4s; }  .js .panel.in .bars i:nth-child(7) { transition-delay: .48s; }
.js .panel.in .bars i:nth-child(8) { transition-delay: .56s; }
.bars i { transition: filter .2s; } .bars i:hover { filter: brightness(1.15); }

/* checklist ticks pop as each list arrives */
.js .feature-copy .tick { scale: 0; transition: scale .5s var(--ease-back); }
.js .feature-copy.in .tick { scale: 1; }
.js .feature-copy.in li:nth-child(1) .tick { transition-delay: .4s; } .js .feature-copy.in li:nth-child(2) .tick { transition-delay: .55s; }
.js .feature-copy.in li:nth-child(3) .tick { transition-delay: .7s; }  .js .feature-copy.in li:nth-child(4) .tick { transition-delay: .85s; }

/* italic highlight words in headings get an orange underline swipe */
h2.big em { background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat;
  background-position: 0 92%; background-size: 0 .12em; transition: background-size 1s var(--ease-out) .5s; }
.in h2.big em, h2.big.in em, html:not(.js) h2.big em { background-size: 100% .12em; }

/* FAQ: smooth open + rotating plus */
.faq summary .plus { transition: transform .4s var(--ease-back), background .25s; }
.faq details[open] summary .plus { transform: rotate(135deg); }
.faq details[open] p { animation: fadeUp .5s var(--ease-out) both; }

/* =====================================================================
   FLO — the guide car (bottom-right). Hidden without JS.
   ===================================================================== */
.guide { display: none; }
.js .guide { display: flex; position: fixed; right: 18px; bottom: 14px; z-index: 90; flex-direction: column; align-items: flex-end; gap: 6px;
  pointer-events: none; animation: guideIn 1s var(--ease-back) 2.8s both; }
@keyframes guideIn { from { translate: 180px 0; } to { translate: 0 0; } }
.guide > * { pointer-events: auto; }
.guide-bubble { position: relative; max-width: 290px; background: var(--ink); color: #fff; border-radius: 22px 22px 6px 22px;
  padding: 14px 34px 12px 16px; font-size: 14px; line-height: 1.45; box-shadow: 0 14px 34px rgba(20, 20, 20, .22);
  transform-origin: 85% 100%; transition: opacity .3s, scale .4s var(--ease-back); }
.guide-bubble::after { content: ""; position: absolute; right: 46px; bottom: -9px; border: 10px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
.guide.quiet .guide-bubble { opacity: 0; scale: .6; pointer-events: none; }
.guide-text { margin: 0; min-height: 2.9em; }
.guide-text.swap { animation: txtSwap .5s var(--ease-out); }
@keyframes txtSwap { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.guide-close { position: absolute; top: 6px; right: 8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: transparent;
  color: #E9C9C4; font-size: 18px; line-height: 1; cursor: pointer; }
.guide-close:hover, .guide-close:focus-visible { background: #2B2B2B; color: #fff; }
.guide-dots { display: flex; gap: 5px; margin-top: 10px; }
.guide-dots i { width: 6px; height: 6px; border-radius: 3px; background: #4A4A4A; transition: width .3s, background .3s; }
.guide-dots i.on { width: 18px; background: var(--orange); }
.guide-car { border: 0; background: none; padding: 0; cursor: pointer; filter: drop-shadow(0 8px 10px rgba(20, 20, 20, .18)); }
.guide-car:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 16px; }
.guide-car svg { display: block; overflow: visible; }
.guide .g-body { animation: idleBob 1.8s ease-in-out infinite; }
@keyframes idleBob { 50% { transform: translateY(-2px); } }
.guide .g-wheel { transform-box: fill-box; transform-origin: center; }
.guide.driving .g-wheel { animation: wheelSpin .5s linear infinite; }
.guide.driving.up .g-wheel { animation-direction: reverse; }
@keyframes wheelSpin { to { transform: rotate(-360deg); } }
.guide.driving .g-body { animation: rumble .18s linear infinite; }
@keyframes rumble { 50% { transform: translateY(-1.5px) rotate(-.6deg); } }
.guide .g-fumes { opacity: 0; }
.guide.driving .g-fumes { animation: fumes .7s ease-out infinite; }
@keyframes fumes { from { opacity: .9; transform: translate(0, 0) scale(.6); } to { opacity: 0; transform: translate(14px, -10px) scale(1.3); } }
.guide .g-pupil { transition: transform .3s; }
.guide.up .g-pupil { transform: translateY(-2px); }
.guide-car:hover .g-body { animation: honk .4s var(--ease-back); }
@keyframes honk { 40% { transform: scale(1.06) translateY(-4px); } }
.guide.done .g-smile { d: path("M6 60q8 9 16 1"); }
@media (max-width: 720px) {
  .js .guide { right: 10px; bottom: 8px; }
  .guide-bubble { max-width: min(250px, calc(100vw - 110px)); font-size: 13px; }
  .guide-car svg { width: 88px; height: 56px; }
}
@media print { .guide, .progress { display: none !important; } }

/* =====================================================================
   JOURNEY — a winding road; Flo drives it as you scroll
   ===================================================================== */
.journey { overflow: hidden; }
.journey-map { position: relative; aspect-ratio: 1200 / 1500; margin-top: 28px; }
.road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.road path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.road-base { stroke: #F6C9B9; stroke-width: 26; }
.road-done { stroke: var(--orange); stroke-width: 26; stroke-dasharray: 1; stroke-dashoffset: var(--rd, 0); }
.js .road-done { --rd: 1; }
.road-start { fill: var(--orange); stroke: var(--ink); stroke-width: 4; }
.road-mob { display: none; }

.j-stop { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; width: max-content; max-width: 46vw; }
.j-title { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 400;
  font-size: clamp(38px, 4.8vw, 66px); line-height: .9; text-transform: uppercase; color: var(--orange);
  text-shadow: 0 0 18px var(--blush), 0 0 6px var(--blush); }
.j-badge { flex: none; width: 84px; height: 84px; border-radius: 24px; background: var(--orange); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: grid; place-items: center; rotate: -8deg;
  transition: scale .6s var(--ease-back), rotate .6s var(--ease-back), background .4s, color .4s; }
.j-stop:nth-of-type(even) .j-badge { rotate: 7deg; }
.j-cap { margin: 14px 0 0; max-width: 330px; padding: 12px 22px; border: 1.5px solid var(--orange); border-radius: 999px;
  background: var(--paper); color: var(--orange-ink); font-size: 15px; line-height: 1.4; rotate: -3deg; text-align: left;
  transition: opacity .6s var(--ease-out), translate .6s var(--ease-out); }
.j-stop:nth-of-type(even) .j-cap { rotate: 2.5deg; }
.js .j-stop .j-w { opacity: .35; transition: opacity .5s; }
.js .j-stop .j-badge { scale: .8; background: #F6C9B9; }
.js .j-stop .j-cap { opacity: 0; translate: 0 14px; }
.js .j-stop.lit .j-w { opacity: 1; }
.js .j-stop.lit .j-badge { scale: 1; background: var(--orange); animation: badgeHit .7s var(--ease-back); }
.js .j-stop.lit .j-cap { opacity: 1; translate: 0 0; }
@keyframes badgeHit { 40% { scale: 1.25; rotate: 0deg; } }

.j-car { display: none; }
.js .j-car { display: block; position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform;
  filter: drop-shadow(0 8px 8px rgba(20, 20, 20, .25)); }
.j-car svg { display: block; overflow: visible; }
.j-car .g-wheel { transform-box: fill-box; transform-origin: center; }
.j-car.driving .g-wheel { animation: wheelSpin .45s linear infinite; }
.j-car.driving .g-body { animation: rumble .18s linear infinite; }

@media (max-width: 720px) {
  .journey-map { aspect-ratio: auto; padding: 10px 0 30px; }
  .road-desk { display: none; }
  .road-mob { display: block; width: 90px; right: auto; }
  .road-base, .road-done { stroke-width: 14; }
  .j-stop { position: relative; left: auto; top: auto; transform: none; max-width: none; width: auto;
    align-items: flex-start; padding: 34px 0 34px 104px; min-height: 120px; }
  .j-title { font-size: 40px; flex-wrap: wrap; gap: 0 10px; }
  .j-badge { position: absolute; left: 13px; top: 34px; width: 64px; height: 64px; border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); }
  .j-badge svg { width: 28px; height: 28px; }
  .j-cap { border-radius: 22px; font-size: 14px; rotate: 0deg !important; }
  .j-car svg { width: 64px; height: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .road-done { --rd: 0 !important; }
  .js .j-stop .j-w, .js .j-stop .j-cap { opacity: 1 !important; translate: none !important; }
  .js .j-stop .j-badge { scale: 1 !important; background: var(--orange) !important; }
  .js .j-car { display: none; }
}

/* =====================================================================
   HERO STORY — park → driver gets out → crew of four washes the car
   (base positions are the final scene, so reduced motion shows it still)
   ===================================================================== */
.hero-scene { cursor: pointer; }
.hero-scene * { transform-box: fill-box; }
.hero-scene .car { animation: parkIn 1.8s var(--ease-out) .3s both; }
@keyframes parkIn { from { transform: translateX(-760px); } 80% { transform: translateX(10px) rotate(-.5deg); } to { transform: none; } }
.hero-scene .wheel { animation: spin 1.8s var(--ease-out) .3s both; }
.hero-scene .door { transform-origin: 100% 50%; animation: doorOpen 1.8s ease-in-out 2.1s both; }
@keyframes doorOpen { 0% { transform: none; } 18%, 70% { transform: scaleX(.22); filter: brightness(.85); } 100% { transform: none; } }

/* people: legs swing while walking */
.crew .leg { transform-origin: 50% 0; }
.crew.walk .leg-a, .crew.walk .leg-b { animation: legSwing .32s ease-in-out var(--wd, 0s) var(--wn, 6) alternate; }
.crew.walk .leg-b { animation-direction: alternate-reverse; }
@keyframes legSwing { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }

.crew.driver { --wd: 2.6s; --wn: 6; animation: driverOut 2.2s ease-in-out 2.3s both; }
@keyframes driverOut { 0% { opacity: 0; transform: translate(-214px, 6px) scale(.9); } 12% { opacity: 1; transform: translate(-214px, 0); } 100% { opacity: 1; transform: none; } }
.crew.driver .arm-wave { transform-origin: 0 100%; animation: wave .4s ease-in-out 4.6s 6 alternate; }
@keyframes wave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }

.crew.w1 { --wd: 3.6s; --wn: 5; animation: walkInL 1.6s ease-out 3.6s both; }
.crew.w3 { --wd: 3.9s; --wn: 5; animation: walkInL2 1.6s ease-out 3.9s both; }
.crew.w4 { --wd: 4s;   --wn: 6; animation: walkInR 1.8s ease-out 4s both; }
@keyframes walkInL  { from { transform: translateX(-240px); } to { transform: none; } }
@keyframes walkInL2 { from { transform: translateX(-360px); } to { transform: none; } }
@keyframes walkInR  { from { transform: translateX(-420px); } to { transform: none; } } /* flipped group: negative = from the right */
.crew.w2 { animation: popUp 1s var(--ease-back) 4.8s both; }
@keyframes popUp { from { transform: translateY(130px); } to { transform: none; } }

/* scrubbing */
.crew .arm { transform-origin: 0 0; }
.crew.w2 .arm { animation: scrub .45s ease-in-out 5.8s infinite alternate; }
.crew.w4 .arm { animation: scrub .55s ease-in-out 6s infinite alternate; }
.crew.w3 .arm { animation: brush .3s ease-in-out 5.6s infinite alternate; }
@keyframes scrub { from { transform: rotate(-16deg); } to { transform: rotate(14deg); } }
@keyframes brush { from { transform: rotate(-10deg); } to { transform: rotate(12deg); } }

.hero-scene .hose { stroke-dasharray: 200; stroke-dashoffset: 200; animation: hoseIn 1.4s ease-out 3.8s forwards; }
@keyframes hoseIn { to { stroke-dashoffset: 0; } }
.hero-scene .spray { opacity: 0; animation: fadeIn .4s ease 5.3s forwards; }
.hero-scene .spray path { animation: flow .5s linear infinite; }
.hero-scene .spray path:nth-child(2) { animation-duration: .6s; }
.hero-scene .spray path:nth-child(3) { animation-duration: .45s; }
@keyframes flow { to { stroke-dashoffset: -36; } }

/* foam builds up while they scrub */
.hero-scene .bubbles circle { animation: bubbleIn .6s var(--ease-back) both, bubble 4s ease-in-out infinite; }
.hero-scene .bubbles circle:nth-child(1)  { animation-delay: 5.9s, 6.5s; }
.hero-scene .bubbles circle:nth-child(2)  { animation-delay: 6.2s, 7s; }
.hero-scene .bubbles circle:nth-child(3)  { animation-delay: 6.0s, 6.8s; }
.hero-scene .bubbles circle:nth-child(4)  { animation-delay: 6.4s, 7.4s; }
.hero-scene .bubbles circle:nth-child(5)  { animation-delay: 6.7s, 7.2s; }
.hero-scene .bubbles circle:nth-child(6)  { animation-delay: 6.3s, 7.6s; }
.hero-scene .bubbles circle:nth-child(7)  { animation-delay: 6.6s, 7.1s; }
.hero-scene .bubbles circle:nth-child(8)  { animation-delay: 6.9s, 7.9s; }
.hero-scene .bubbles circle:nth-child(9)  { animation-delay: 7.1s, 8.1s; }
.hero-scene .bubbles circle:nth-child(10) { animation-delay: 7.3s, 8.3s; }
.hero-scene .bubbles circle:nth-child(11) { animation-delay: 7.5s, 8.5s; }

/* sparkle + phone confirms the job */
.hero-scene .sparkles path { transform-origin: center; animation: twinkle 1.6s ease-in-out infinite both; }
.hero-scene .sparkles path:nth-child(1) { animation-delay: 9s; }
.hero-scene .sparkles path:nth-child(2) { animation-delay: 9.4s; }
.hero-scene .sparkles path:nth-child(3) { animation-delay: 9.8s; }
.hero-scene .sparkles path:nth-child(4) { animation-delay: 10.2s; }
@keyframes twinkle { 0%, 100% { scale: 0; rotate: 0deg; } 50% { scale: 1; rotate: 90deg; } }
.hero-scene .phone { animation: phoneIn 1s var(--ease-back) 8.4s both, phoneFloat 6s ease-in-out 9.6s infinite; }
.hero-scene .pill-pop { animation: pillPop .6s var(--ease-back) 9.2s both; }
.hero-scene .check-draw { animation: draw .7s var(--ease-out) 9.6s forwards; }
