/* A Girl That Cleans. Colors, type and radii follow the brand reference. */

@font-face {
  font-family: 'Fredoka'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/fonts/fredoka-v2.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/fonts/hanken-grotesk-v2.woff2') format('woff2');
}
@font-face {
  font-family: 'Yellowtail'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/yellowtail-v2.woff2') format('woff2');
}

:root {
  --teal: #0E7C7B;
  --teal-dark: #134E4A;
  --teal-deep: #0B3D3A;
  --aqua: #87DBDE;
  --aqua-pale: #C8ECE9;
  --mist: #F1FAF9;
  --white: #FFFFFF;
  --orange: #E8622C;
  --orange-dark: #D4551F;
  --gold: #F2B705;
  --ink: #134E4A;
  --ink-soft: #3E5856;

  --display: 'Fredoka', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;

  --r-md: 14px;
  --r-lg: 30px;
  --r-xl: 44px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 18px 40px -18px rgba(11, 61, 58, .28);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
.script { font-family: var(--script); font-weight: 400; line-height: 1.1; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.anchor { position: absolute; }
[id] { scroll-margin-top: 84px; }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px;
}
.btn:focus-visible { border-radius: 999px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--teal-deep); color: var(--white); font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 var(--r-md) 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .35s var(--ease), background-color .25s ease, box-shadow .35s var(--ease), color .25s ease;
}
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn-sm { padding: 9px 22px; font-size: 15.5px; }
.btn-lg { padding: 17px 38px; font-size: 21px; }
.btn-arrow { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }

/* The one action color on the page. White on orange needs large bold type. */
.btn-action { background: var(--orange); color: var(--white); font-size: 19px; box-shadow: 0 10px 24px -12px rgba(232, 98, 44, .9); }
.btn-action.btn-lg { font-size: 21px; }
.btn-action::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  transform: translateX(-120%);
}

.btn-teal { background: var(--teal); color: var(--white); }
.btn-outline { background: var(--white); color: var(--teal-dark); border-color: var(--aqua); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--aqua); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--aqua-pale); box-shadow: 0 8px 24px -16px rgba(11, 61, 58, .35); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin-inline: auto; padding: 10px 24px;
}
.nav-logo {
  font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1;
  color: var(--teal); text-decoration: none; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  position: relative; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; padding: 6px 0;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
#nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 12px; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--teal); color: var(--white);
  --px: 0; --py: 0;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1120px; margin-inline: auto; padding: 104px 24px 150px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.hero .kicker { font-size: 34px; color: var(--aqua); margin-bottom: 8px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.01em; max-width: 640px; }
.hero .sub { font-size: 20px; line-height: 1.55; max-width: 480px; margin: 22px 0 34px; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 16px; }
.hero-note a { color: var(--white); font-weight: 700; }
.hero-art {
  justify-self: center; width: min(340px, 100%); height: auto;
  translate: calc(var(--px) * -8px) calc(var(--py) * -6px);
  transition: translate 1s var(--ease);
}

.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.orbit {
  position: absolute; z-index: 0; right: -9%; top: 46%;
  width: min(680px, 78vw); height: auto; translate: 0 -50%;
  fill: none; stroke: var(--aqua); stroke-width: 1.5; opacity: .32;
  animation: spin 110s linear infinite;
}
.orbit circle:nth-child(2) { stroke-dasharray: 3 12; stroke-linecap: round; }
.orbit .orbit-dot { fill: var(--gold); stroke: none; }
.orbit .orbit-dot-2 { fill: var(--aqua); }
@keyframes spin { to { transform: rotate(360deg); } }

.spark {
  position: absolute; z-index: 1; width: var(--s); height: var(--s); fill: var(--c, var(--gold));
  translate: calc(var(--px) * var(--d) * 1px) calc(var(--py) * var(--d) * 1px);
  transition: translate 1.1s var(--ease);
  animation: twinkle 3.2s ease-in-out infinite;
}
.spark-1 { --s: 46px; --d: 26; left: 5%; top: 92px; }
.spark-2 { --s: 22px; --d: -18; --c: var(--aqua); left: 10%; bottom: 190px; animation-delay: 1.1s; }
.spark-3 { --s: 30px; --d: 34; right: 7%; top: 84px; animation-delay: .6s; }
.spark-4 { --s: 16px; --d: -30; --c: var(--white); left: 46%; top: 132px; animation-delay: 1.7s; }
.spark-5 { --s: 18px; --d: 20; --c: var(--aqua-pale); right: 40%; bottom: 150px; animation-delay: 2.3s; }
.twinkle { animation: blink 3.2s ease-in-out infinite; }
.t2 { animation-delay: 1s; }
.t3 { animation-delay: 1.9s; }
@keyframes blink { 50% { opacity: .3; } }
@keyframes twinkle {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: .35; scale: .72; }
}

/* Rocket: one layer drifts across, the inner layer rides a slow swell. */
.rocket-lane { position: absolute; z-index: 1; top: 22px; left: 0; width: 100%; pointer-events: none; }
.rocket-drift { width: max-content; animation: drift 26s linear infinite; }
.rocket { animation: swell 4.2s ease-in-out infinite alternate; }
@keyframes drift {
  0% { transform: translateX(-240px); }
  72%, 100% { transform: translateX(calc(100vw + 40px)); }
}
@keyframes swell {
  from { transform: translateY(-9px) rotate(-5deg); }
  to { transform: translateY(13px) rotate(4deg); }
}
.puff { fill: var(--aqua-pale); opacity: 0; transform-box: fill-box; transform-origin: center; animation: puff 1.5s ease-out infinite; }
.puff-2 { animation-delay: .5s; }
.puff-3 { animation-delay: 1s; }
@keyframes puff {
  0% { opacity: .9; transform: translate(0, 0) scale(.5); }
  100% { opacity: 0; transform: translate(-30px, 4px) scale(1.5); }
}
.flame { transform-box: fill-box; transform-origin: right center; animation: flicker .28s ease-in-out infinite alternate; }
@keyframes flicker { to { transform: scaleX(.78); } }

/* Mascot: the broom sways from her hand and kicks up a little dust. */
.sweep { transform-origin: 251px 230px; animation: sweep 2.6s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: rotate(-2.5deg); } to { transform: rotate(3deg); } }
.dust circle { transform-box: fill-box; transform-origin: center; animation: dust 2.6s ease-out infinite; }
.dust circle:nth-child(2) { animation-delay: .5s; }
.dust circle:nth-child(3) { animation-delay: 1s; }
@keyframes dust {
  0% { opacity: 0; transform: translate(-10px, 6px) scale(.4); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translate(14px, -18px) scale(1.3); }
}

/* Waves: three layers sliding at different speeds. Transform only. */
.waves { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: clamp(56px, 8vw, 96px); overflow: hidden; pointer-events: none; }
.wave-layer { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; animation: slide 22s linear infinite; }
.wave-back { fill: var(--aqua); opacity: .4; height: 100%; animation-duration: 34s; animation-direction: reverse; }
.wave-mid { fill: var(--aqua-pale); opacity: .7; height: 86%; animation-duration: 25s; animation-delay: -9s; }
.wave-front { fill: var(--white); height: 68%; animation-duration: 17s; animation-delay: -4s; }
@keyframes slide { to { transform: translateX(-50%); } }
.waves-top { bottom: auto; top: -1px; transform: scaleY(-1); }

/* Anything marked data-live="0" is off screen, so its animations rest. */
[data-live="0"], [data-live="0"] * { animation-play-state: paused !important; }

.cursor-star {
  position: absolute; left: 0; top: 0; z-index: 4; width: 20px; height: 20px;
  pointer-events: none; opacity: 0; will-change: transform, opacity;
}

/* ---------- Sections ---------- */
section { position: relative; padding: 88px 0; }
.section-kicker { font-size: 30px; color: var(--teal); text-align: center; margin-bottom: 4px; }
.section-title { font-size: clamp(30px, 4vw, 42px); color: var(--teal-dark); text-align: center; margin-bottom: 14px; }
.section-sub { text-align: center; max-width: 560px; margin: 0 auto 52px; color: var(--ink-soft); font-size: 18px; }

.reveal-pending { opacity: 0; transform: translateY(28px) scale(.985); }
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .35s var(--ease), border-color .3s ease; }
.reveal-group > .reveal:nth-of-type(2) { transition-delay: .09s; }
.reveal-group > .reveal:nth-of-type(3) { transition-delay: .18s; }

/* ---------- Book ---------- */
.book { padding-top: 56px; }
.book-card {
  position: relative; max-width: 680px; margin-inline: auto; text-align: center;
  background: var(--mist); border: 2px solid var(--aqua-pale); border-radius: var(--r-xl);
  padding: 48px 40px 40px;
}
.book-lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 26px; }
.book-lead b { color: var(--teal-dark); }
.book-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.book-points li {
  background: var(--white); border: 1.5px solid var(--aqua-pale); border-radius: 999px;
  padding: 6px 16px; font-size: 15px; font-weight: 600; color: var(--teal-dark);
}
.book-alt { margin-top: 22px; font-size: 16px; color: var(--ink-soft); }
.book-alt a { font-weight: 700; }
.book-spark { position: absolute; fill: var(--gold); animation: twinkle 3.2s ease-in-out infinite; }
.book-spark-1 { width: 34px; height: 34px; top: -17px; right: 44px; }
.book-spark-2 { width: 20px; height: 20px; bottom: 30px; left: -10px; fill: var(--aqua); animation-delay: 1.2s; }

/* ---------- How it works ---------- */
.how, .team { background: var(--mist); border-radius: var(--r-xl); margin-inline: clamp(0px, 2vw, 24px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.flight-path {
  position: absolute; left: 0; top: -14px; width: 100%; height: 120px; pointer-events: none;
  fill: none; stroke: var(--aqua); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 12;
  clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease) .2s;
}
.flight-path path { vector-effect: non-scaling-stroke; }
.path-pending .flight-path { clip-path: inset(0 100% 0 0); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-badge {
  width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--mist);
  transition: transform .5s var(--ease);
}
.step-badge svg { width: 44px; height: 44px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge-aqua { background: var(--aqua); }
.badge-aqua svg { stroke: var(--teal-deep); }
.badge-gold { background: var(--gold); }
.badge-gold svg { stroke: #5C3A00; }
.badge-teal { background: var(--teal); }
.badge-teal svg { stroke: var(--white); }
.step h3 { color: var(--teal-dark); font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--ink-soft); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; background: var(--white); border: 2px solid var(--aqua-pale); border-radius: var(--r-lg);
  padding: 36px 30px 32px;
}
.svc-dot {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--aqua-pale); margin-bottom: 18px;
  transition: transform .6s var(--ease), background-color .3s ease;
}
.svc-dot svg { width: 24px; height: 24px; fill: var(--teal); }
.svc-card:nth-child(2) .svc-dot { background: var(--teal); }
.svc-card:nth-child(2) .svc-dot svg { fill: var(--gold); }
.svc-card:nth-child(3) .svc-dot { background: var(--gold); }
.svc-card:nth-child(3) .svc-dot svg { fill: var(--teal-deep); }
.svc-card h3 { color: var(--teal-dark); font-size: 24px; margin-bottom: 10px; }
.svc-card p { color: var(--ink-soft); }
.svc-card ul { margin-top: 16px; border-top: 1.5px dashed var(--aqua-pale); padding-top: 16px; }
.svc-card li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 16px; color: var(--ink-soft); }
.svc-card li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; background: var(--teal);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* ---------- Team ---------- */
.crew-card {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  max-width: 860px; margin-inline: auto;
  background: var(--white); border: 2px solid var(--aqua-pale); border-radius: var(--r-xl); padding: 44px;
}
.crew-photo-wrap { position: relative; width: 200px; height: 200px; }
.crew-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--aqua-pale); }
.crew-ring {
  position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); max-width: none;
  fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 2 11; stroke-linecap: round;
  animation: spin 60s linear infinite;
}
.crew-spark { position: absolute; right: -6px; top: 6px; width: 34px; height: 34px; fill: var(--gold); animation: twinkle 3.2s ease-in-out infinite; }
.crew-body h3 { font-size: 28px; color: var(--teal-dark); }
.crew-role { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .2em; margin: 6px 0 14px; }
.crew-body p:last-child { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Reviews ---------- */
.g-badge {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  background: var(--white); border: 2px solid var(--aqua-pale); border-radius: 999px;
  padding: 12px 28px; width: fit-content; margin: 0 auto 44px;
}
.g-score { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--teal-dark); line-height: 1; }
.g-badge a { font-weight: 700; font-size: 15px; }
.stars { flex-shrink: 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.review-card { background: var(--mist); border: 2px solid var(--aqua-pale); border-radius: var(--r-lg); padding: 30px; }
.review-card blockquote { font-style: italic; color: var(--ink-soft); font-size: 16px; margin: 14px 0 16px; }
.review-card figcaption { font-weight: 700; color: var(--teal-dark); font-size: 15px; }
.reviews-cta { text-align: center; margin-top: 40px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: var(--white); padding: 150px 0 84px; overflow: hidden; }
.cta-flex { display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-mascot { width: 180px; height: auto; flex-shrink: 0; }
.hover-bob { animation: bob 3.4s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.sign-text { font-family: var(--display); font-weight: 700; letter-spacing: 1px; }
.cta-copy { text-align: center; max-width: 560px; }
.cta-copy .script { font-size: 34px; color: var(--aqua); }
.cta-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 6px 0 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: var(--aqua-pale); padding: 56px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.foot-logo { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--white); line-height: 1.1; }
.foot-tag { margin-top: 10px; font-size: 15px; max-width: 340px; }
.footer h3 { font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); margin-bottom: 14px; }
.footer a { color: var(--aqua-pale); text-decoration: none; transition: color .2s ease; }
.footer li { margin-bottom: 8px; }
.foot-bottom {
  border-top: 1px solid rgba(135, 219, 222, .25); padding-top: 20px; font-size: 14px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Polish (Nov 2026) ---------- */
/* A springy ease for things that pop into place. */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }

/* Headline lines rise out of a mask, one after the other. */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; animation: line-up 1s var(--ease) both; }
.hero h1 .line + .line > span { animation-delay: .12s; }
.hero-copy > h1 { animation: none; }
.hero h1 .nb { display: inline; white-space: nowrap; animation: none; }
@keyframes line-up { from { transform: translateY(105%); } }

/* Reading progress: a thin brand-colored line along the top edge. Only where the browser can tie it to scroll. */
.scroll-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    display: block; position: fixed; z-index: 110; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--aqua), var(--gold) 60%, var(--orange));
    transform-origin: left; transform: scaleX(0); pointer-events: none;
    animation: progress linear both; animation-timeline: scroll(root);
  }
  @keyframes progress { to { transform: scaleX(1); } }

  /* The hero mascot and the CTA mascot drift gently as they pass. */
  .hero-art, .cta-mascot { animation: float-by linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes float-by { from { transform: translateY(24px); } to { transform: translateY(-24px); } }
}

/* Section headings join the scroll reveal (site.js tags them). */
.section-kicker.reveal { transition-delay: 0s; }
.section-title.reveal { transition-delay: .06s; }
.section-sub.reveal { transition-delay: .12s; }

/* Icons spring in as their card arrives. */
.step-badge, .svc-dot { transition: transform .7s var(--spring), background-color .3s ease; }
.step.reveal-pending .step-badge { transform: scale(.55) rotate(-12deg); }
.svc-card.reveal-pending .svc-dot { transform: scale(.5) rotate(-90deg); }
.step:nth-of-type(2) .step-badge, .svc-card:nth-of-type(2) .svc-dot { transition-delay: .12s; }
.step:nth-of-type(3) .step-badge, .svc-card:nth-of-type(3) .svc-dot { transition-delay: .24s; }

/* Review stars light up one by one. */
.review-card .stars use { transition: opacity .4s ease, transform .5s var(--spring); transform-box: fill-box; transform-origin: center; }
.review-card.reveal-pending .stars use { opacity: 0; transform: scale(.3); }
.review-card .stars use:nth-child(2) { transition-delay: .06s; }
.review-card .stars use:nth-child(3) { transition-delay: .12s; }
.review-card .stars use:nth-child(4) { transition-delay: .18s; }
.review-card .stars use:nth-child(5) { transition-delay: .24s; }

/* The booking button catches the light every few seconds, so the eye finds it. Works on touch screens too. */
.book-card .btn-action::after, .action-bar .btn-action::after { animation: glint 5.5s var(--ease) 1.2s infinite; }
@keyframes glint {
  0% { transform: translateX(-120%); }
  18%, 100% { transform: translateX(120%); }
}

/* Touch feedback: buttons give a firmer press on phones, which have no hover. */
@media (hover: none) {
  .btn:active { transform: scale(.96); }
}

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }

@media (max-width: 820px) {
  .nav-links a:not(.btn) { display: none; }
  .nav { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dust { display: none; }
  .orbit { animation: none; }
  .hero-copy > * { animation-duration: .6s; }
  .nav-logo { font-size: 20px; }
  section { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding: 84px 24px 96px; }
  .hero .kicker { font-size: 28px; }
  .hero .sub { font-size: 18px; margin: 18px 0 28px; }
  .hero-art { width: min(230px, 64%); }
  .rocket-lane { top: 12px; }
  .rocket { width: 118px; height: 41px; }
  .orbit { right: -40%; top: 72%; width: 120vw; }
  .spark-4, .spark-5 { display: none; }
  .steps, .svc-grid, .foot-grid { grid-template-columns: 1fr; }
  .steps { gap: 40px; }
  .flight-path { display: none; }
  .book-card { padding: 40px 22px 30px; border-radius: var(--r-lg); }
  .how, .team { border-radius: var(--r-lg); }
  .crew-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 30px; padding: 40px 24px 30px; border-radius: var(--r-lg); }
  .crew-photo-wrap { width: 140px; height: 140px; }
  .review-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px;
    margin-inline: -24px; padding: 4px 24px 14px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review-card { scroll-snap-align: start; transition-delay: 0s !important; }
  .cta-band { padding: 110px 0 64px; }
  .cta-flex { gap: 28px; }
  .cta-mascot { width: 140px; }
  .btn-lg { padding: 15px 30px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .action-bar:not([hidden]) {
    position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px;
    background: var(--white);
    border: 1.5px solid var(--aqua-pale); border-radius: 999px; box-shadow: var(--shadow);
    transform: translateY(140%); opacity: 0; visibility: hidden;
    transition: transform .5s var(--ease), opacity .3s ease, visibility 0s .5s;
  }
  .action-bar.show { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .action-bar .btn { padding-block: 11px; }
  .action-bar.show { transition: transform .6s var(--spring), opacity .3s ease, visibility 0s; }

  /* Bigger tap targets for small links (44px minimum). */
  .hero-note a, .book-alt a { display: inline-block; padding: 10px 2px; margin: -10px 0; }
  .footer li { margin-bottom: 0; }
  .footer li a { display: inline-block; padding: 11px 0; }

  /* Review carousel: a soft fade on the right edge hints there's more to swipe. */
  .review-grid { -webkit-mask-image: linear-gradient(90deg, #000 93%, transparent); mask-image: linear-gradient(90deg, #000 93%, transparent); }
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-3px); }
  .btn:hover .btn-arrow { transform: translateX(5px); }
  .btn-action:hover { background: var(--orange-dark); box-shadow: 0 16px 30px -12px rgba(232, 98, 44, .95); }
  .btn-action:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
  .btn-teal:hover { background: var(--teal-dark); }
  .btn-outline:hover { background: var(--mist); border-color: var(--teal); }
  .btn-ghost:hover { background: rgba(135, 219, 222, .16); }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
  .step:hover .step-badge { transform: translateY(-6px) rotate(-6deg); }
  .svc-card:hover, .review-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--aqua); transition-delay: 0s; }
  .svc-card:hover .svc-dot { transform: rotate(90deg) scale(1.08); }
  .step:hover .step-badge, .svc-card:hover .svc-dot { transition-delay: 0s; }
  .footer a:hover { color: var(--white); text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rocket-lane, .dust { display: none; }
  .reveal-pending { opacity: 1; transform: none; }
  .path-pending .flight-path { clip-path: none; }
  .scroll-progress { display: none; }
  .hero h1 .line > span, .step .step-badge, .svc-card .svc-dot, .review-card .stars use { transform: none !important; opacity: 1 !important; }
}

@media print {
  .nav, .action-bar, .scroll-progress, .waves, .rocket-lane, .orbit, .spark { display: none !important; }
}
