/* ==========================================================================
   Sandbar Laundry Co. — Design System
   Palette: deep navy, warm sand, marker gold
   Type: Fraunces (display) / Work Sans (body) / Space Mono (utility)
   Signature motifs: postage-stamp badge cards, hand-drawn tideline dividers
   ========================================================================== */

:root {
  --navy: #16324A;
  --navy-deep: #0B1E2E;
  --navy-soft: #1F3F5C;
  --sand: #F3ECDC;
  --sand-dark: #E4D6B4;
  --paper: #FBF8F1;
  --gold: #C6952C;
  --gold-bright: #E0AC3B;
  --ink: #16232B;
  --ink-soft: #445059;
  --white: #FFFFFF;
  --line: rgba(22, 50, 74, 0.14);
  --line-light: rgba(251, 248, 241, 0.22);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --max-w: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line-light); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); }

/* ---------- Nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.78;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; border-color: var(--gold); }
.nav-cta { display: none; }
@media (min-width: 880px) { .nav-cta { display: inline-flex; } }
.nav-toggle {
  display: inline-flex;
  background: none; border: 1px solid var(--line-light); border-radius: 8px;
  color: var(--paper); padding: 8px 10px; cursor: pointer;
}
@media (min-width: 880px) { .nav-toggle { display: none; } }
@media (max-width: 879px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; gap: 0; padding: 6px 28px 18px; border-bottom: 1px solid var(--line-light);
    display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; border-top: 1px solid var(--line-light); }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 88px 0 0;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; padding-bottom: 40px; } }
.hero h1 { color: var(--paper); }
.hero .lede { color: rgba(251,248,241,0.78); font-size: 1.1rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(251,248,241,0.55); margin-top: 16px; letter-spacing: .03em; }

.badge-stamp {
  border: 1.5px dashed rgba(251,248,241,0.35);
  border-radius: 50%;
  aspect-ratio: 1;
  width: min(280px, 80%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  color: var(--gold-bright);
  padding: 20px;
}
.badge-stamp .stamp-inner {
  border: 1px solid rgba(198,149,44,0.5);
  border-radius: 50%;
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
}
.badge-stamp .stamp-title { font-family: var(--font-display); color: var(--paper); font-size: 1.3rem; }
.badge-stamp .stamp-sub { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* Tideline divider */
.tideline { width: 100%; height: 64px; display: block; }
.tideline path { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: 0.55; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: var(--paper); }
.section-navy h2, .section-navy h3 { color: var(--paper); }
.section-navy p { color: rgba(251,248,241,0.75); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Feature / stamp cards */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.stamp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.stamp-card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px dashed var(--line);
  border-radius: 3px;
  pointer-events: none;
}
.stamp-card .num {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 14px;
}
.stamp-card h3 { margin-bottom: 10px; }
.stamp-card p { margin-bottom: 0; font-size: 0.95rem; }

.section-navy .stamp-card {
  background: var(--navy-soft);
  border-color: var(--line-light);
}
.section-navy .stamp-card::before { border-color: var(--line-light); }

/* Steps (real sequence) */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step-index {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1rem;
  padding-top: 4px;
}

/* Pricing */
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.price-tag { font-family: var(--font-mono); color: var(--gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; }
.price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.price-list li { padding-left: 22px; position: relative; font-size: 0.92rem; color: var(--ink-soft); }
.price-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* Waitlist form */
.waitlist-panel {
  background: var(--navy-deep);
  color: var(--paper);
  border-radius: 10px;
  padding: 44px;
  border: 1px solid var(--line-light);
}
.waitlist-form { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 640px) { .waitlist-form.inline { grid-template-columns: 1fr 1fr auto; align-items: start; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(251,248,241,0.6); }
.field input, .field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1px solid rgba(251,248,241,0.28);
  background: rgba(251,248,241,0.06);
  color: var(--paper);
}
.field input::placeholder { color: rgba(251,248,241,0.4); }
.field input:focus, .field select:focus, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.hp-field { position: absolute; left: -9999px; }
.form-msg { font-family: var(--font-mono); font-size: 0.78rem; margin-top: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: #8FCB8A; }
.form-msg.err { color: #E28B8B; }

/* FAQ accordion */
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  padding: 0;
}
.faq-q .plus { font-family: var(--font-mono); color: var(--gold); font-size: 1.1rem; transition: transform .2s ease; }
.faq-item[data-open="true"] .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item[data-open="true"] .faq-a { max-height: 400px; }
.faq-a p { padding-top: 14px; margin-bottom: 0; }

/* Footer */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(251,248,241,0.7);
  padding: 56px 0 30px;
}
.footer-grid { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h4 { color: var(--paper); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-grid a { text-decoration: none; opacity: .85; }
.footer-grid a:hover { opacity: 1; color: var(--gold-bright); }

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--paper);
  opacity: 0.85;
  transition: border-color .15s ease, color .15s ease, opacity .15s ease;
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  opacity: 1;
}
.social-links svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--navy);
}

.two-col { display: grid; gap: 40px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }

.honest-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin-top: 24px;
}
