/* Sige Wash landing page, part 1: tokens, base, shared parts, buttons, nav, hero, footer, dock.
   Content sections live in sections.css, the QR pass + booking previews in app.css, the waitlist form in form.css.
   Look: express-wash menu board. Ink and electric blue bands, real photography, lime only on actions. Mobile-first. */
/* Self-hosted fonts (latin subsets from Google Fonts, SIL OFL): no third-party round trips before first paint.
   Barlow has no peso sign (U+20B1), so one-glyph Roboto / Roboto Condensed files supply only that character. */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/peso-roboto.woff2) format('woff2'); unicode-range: U+20B1; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/peso-roboto-condensed.woff2) format('woff2'); unicode-range: U+20B1; }

:root {
  --ink: #0F172A;
  --ink-2: #1E293B;
  --blue: #1D4ED8;
  --blue-deep: #1E40AF;
  --blue-bright: #3B82F6;
  --lime: #A3E635;
  --lime-hover: #BEF264;
  --white: #FFFFFF;
  --tint: #EEF4FF;
  --slate: #475569;
  --on-dark: #CBD5E1;
  --on-blue: #E0E7FF;
  --rule: #CBD5E1;
  --rule-dark: rgba(255,255,255,.16);
  --field-border: #64748B;
  --error: #B91C1C;
  --font: 'Barlow', 'Roboto', Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
  --radius-board: 4px;
  --shadow-card: 0 1px 2px rgba(15,23,42,.08), 0 18px 40px -16px rgba(15,23,42,.45);
  --section-pad: clamp(56px, 8vw, 104px);
  --section-pad-quiet: clamp(48px, 6vw, 80px);
  --focus: var(--blue);
  /* One grade for every photo on the page: a touch brighter and punchier, no colour cast. */
  --photo-grade: saturate(1.12) contrast(1.06) brightness(1.04);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: -.005em; }
h2 { font-size: clamp(38px, 9vw, 68px); max-width: 14em; text-wrap: balance; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.05; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 600; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { max-width: 100%; }
figure { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Dark surfaces: focus rings switch to lime so they stay visible. */
.hero, .moto, .maths, .feature--pass, .join, .final, .footer, .dock, .board { --focus: var(--lime); }

/* ---------- Shared parts ---------- */
.section-head { margin-bottom: clamp(28px, 5vw, 48px); }
.lede { margin-top: 16px; font-size: 18px; color: var(--slate); max-width: 34em; }
.small { font-size: 15px; color: var(--slate); }
.photo, .photo-grade { filter: var(--photo-grade); }
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font: 700 20px/1.1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset .2s var(--ease), color .2s; }
.text-link:hover { text-underline-offset: 8px; }
/* Tick list: one line per item with a check. Blue tick on white; lime tick and hairlines on the dark boards. */
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-weight: 500; }
.tick-list .ico { margin-top: 2px; color: var(--blue); }

/* ---------- Buttons: lime with ink text is the one action colour ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius); font: 800 19px/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); background: var(--lime); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 -3px 0 rgba(15,23,42,.18); transition: background .2s, transform .15s var(--ease), box-shadow .15s; }
.btn:hover { color: var(--ink); background: var(--lime-hover); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(15,23,42,.18); }
.btn--big { min-height: 58px; padding: 16px clamp(18px, 5vw, 32px); font-size: clamp(19px, 5.4vw, 23px); }
.btn--block { width: 100%; }
.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { color: #fff; background: var(--ink); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 2; background: var(--white); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
/* Logo lockup (assets/sigewash-logo.svg): blue car-wash tile + outlined wordmark, viewBox 5300×1000, so width = 5.3 × height. */
.logo { --logo-sige: var(--ink); --logo-wash: var(--blue); --logo-h: 30px; display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
.logo__svg { display: block; width: calc(var(--logo-h) * 5.3); height: var(--logo-h); }
.logo--dark { --logo-sige: #fff; --logo-wash: var(--lime); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link { display: none; align-items: center; min-height: 44px; padding: 10px 12px; font: 700 18px/1 var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); text-decoration: none; box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .2s; }
.nav__link:hover { color: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); }
/* Mobile: outlined, so the hero CTA stays the only lime button on the first screen. */
/* Language switch (EN | Bisaya): in the header at every width, no menu to open. The current language is underlined. */
.nav__links { margin-left: auto; }
.lang { display: flex; align-items: center; flex: none; margin-right: -10px; }
.lang__opt { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; font: 700 16px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--slate); text-decoration: none; }
.lang__opt:hover { color: var(--ink); }
.lang__opt[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--blue); }
.lang__opt + .lang__opt::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 16px; margin-top: -8px; background: var(--rule); }
.nav__cta { min-height: 44px; padding: 10px 14px; font-size: 16px; background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.nav__cta:hover { color: #fff; background: var(--ink); }

/* ---------- Hero: foam first ---------- */
.hero { position: relative; display: grid; isolation: isolate; background: var(--ink); color: #fff; }
.hero__media { position: relative; z-index: -1; display: block; aspect-ratio: 1 / 1; max-height: 62svh; min-height: 220px; width: 100%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.55) 58%, rgba(15,23,42,.92) 82%, var(--ink) 100%); }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: var(--photo-grade); }
.hero__copy { position: relative; margin-top: -150px; padding-bottom: 32px; }
/* The one blue tag on the first screen: says "not open yet" before anyone goes looking for the shop. */
.hero__tag { display: inline-block; padding: 5px 10px; border-radius: var(--radius); background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; }
.hero__title { margin-top: 12px; font-size: clamp(44px, 13.4vw, 112px); line-height: .88; letter-spacing: -.012em; }
.hero__title > span { display: block; }
.hero__title .hero__kicker { margin-bottom: 8px; font: 500 16px/1.3 var(--font); text-transform: none; letter-spacing: 0; color: var(--on-dark); }
.hero__lede { margin-top: 14px; font-size: 18px; color: #E2E8F0; max-width: 28em; }
/* Eye-catcher for the two new member features: a mini pass + one line, linking down to the previews. */
.hero__perk { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 16px; color: #fff; text-decoration: none; }
.hero__perk-pass { flex: none; width: 26px; height: 36px; filter: drop-shadow(0 4px 10px rgba(29,78,216,.55)); transition: transform .25s var(--ease); }
.hero__perk span { display: grid; font-size: 14px; line-height: 1.3; color: var(--on-dark); }
.hero__perk b { font: 700 18px/1.15 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: #fff; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero__perk:hover { color: #fff; }
.hero__perk:hover .hero__perk-pass { transform: rotate(-6deg) translateY(-2px); }
.hero__cta { margin-top: 18px; display: grid; gap: 12px; justify-items: start; }
.hero__offer { font-size: 15px; color: var(--on-dark); }
.hero__offer b { color: #fff; }

/* Plans start right under the hero (can share the first screen on desktop), so their spacing lives here, not in sections.css. */
.plans { padding-block: clamp(40px, 6vw, 72px) var(--section-pad); }

/* ---------- Footer ---------- */
.footer { padding-block: 48px calc(40px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--on-dark); font-size: 15px; }
.footer__inner { display: grid; gap: 12px; justify-items: start; }
.footer .logo { --logo-h: 38px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--lime); }
.footer__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer__links a, .footer__meta a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__meta { color: #94A3B8; }

/* ---------- Sticky mobile CTA: one slim row ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 3px solid var(--blue); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
.dock.is-shown { transform: none; visibility: visible; }
.dock small { flex: 1; font-weight: 600; font-size: 14px; line-height: 1.25; color: var(--on-dark); }
.dock .btn { flex: none; min-height: 48px; padding-inline: 16px; font-size: 18px; }

/* ---------- Breakpoints (part 1) ---------- */
/* Small phones: keep the CTA above the fold; the feature line moves under it. */
/* Phones: the header keeps the logo and the language switch. Its "Join the waitlist" button steps aside because the
   hero CTA sits right below it, and the sticky dock takes over once that scrolls away. */
@media (max-width: 519px) {
  .nav__cta { display: none; }
}
@media (max-width: 374px) {
  .hero__media { max-height: 46svh; }
  .hero__copy { display: flex; flex-direction: column; align-items: flex-start; margin-top: -130px; }
  .hero__lede { font-size: 16px; }
  .hero__perk { order: 1; }
}
@media (max-width: 359px) {
  .logo { --logo-h: 22px; }
  .nav__cta { padding-inline: 10px; font-size: 15px; }
  .dock small { display: none; }
  .dock .btn { flex: 1; }
}
@media (min-width: 700px) {
  /* Full-bleed photo, copy on the dark left where the wall is. */
  .hero { align-items: end; min-height: clamp(600px, 82vh, 780px); }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; }
  .hero__media::after { background: linear-gradient(90deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.84) 38%, rgba(15,23,42,.35) 62%, rgba(15,23,42,0) 76%), linear-gradient(0deg, rgba(15,23,42,.7) 0%, rgba(15,23,42,0) 40%); }
  .hero__img { object-position: 62% 40%; }
  .hero__copy { width: 100%; margin-top: 0; padding-block: 64px 72px; }
  .hero__copy > * { max-width: 580px; }
  .hero__title { max-width: 9em; font-size: clamp(64px, 8.4vw, 116px); }
  .hero__title .hero__kicker { font-size: 18px; }
  .hero__lede { font-size: 20px; }
}
@media (min-width: 720px) {
  .nav { padding-block: 12px; }
  .logo { --logo-h: 38px; }
  .nav__cta { margin-left: 10px; padding-inline: 20px; background: var(--lime); box-shadow: inset 0 -3px 0 rgba(15,23,42,.18); }
  .nav__cta:hover { color: var(--ink); background: var(--lime-hover); }
  .dock { display: none; }
}
@media (min-width: 1000px) {
  .nav__link { display: inline-flex; white-space: nowrap; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
