/* ==========================================================================
   Reset Cleans Wellington — stylesheet
   Warm & calming palette: sage, terracotta, cream
   ========================================================================== */

:root {
  color-scheme: light dark;

  --cream:        #FBF6EF;
  --cream-dark:   #F1E7D8;
  --paper:        #FFFDFA;
  --sage:         #7C9A78;
  --sage-dark:    #5A7856;
  --sage-tint:    #E7EEE3;
  --terracotta:   #D98863;
  --terracotta-dark: #B96A48;
  --terracotta-tint: #FBEAE0;
  --ink:          #3A332C;
  --ink-soft:     #6E655B;
  --ink-faint:    #9C9186;
  --line:         #E7DCC9;

  /* Fixed-tone footer band — stays dark in both themes by design */
  --footer-bg:    #332C24;
  --footer-ink:   #F7F1E6;
  --footer-faint: #B7AB99;
  --footer-line:  rgba(247, 241, 230, 0.15);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 12px 32px -16px rgba(58, 51, 44, 0.25);
  --shadow-card: 0 8px 24px -12px rgba(58, 51, 44, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --cream:        #201C17;
    --cream-dark:   #28221B;
    --paper:        #2C2620;
    --sage:         #93B18D;
    --sage-dark:    #C0D6BB;
    --sage-tint:    #34392E;
    --terracotta:   #E6996F;
    --terracotta-dark: #F2B491;
    --terracotta-tint: #3E2C22;
    --ink:          #F3ECE1;
    --ink-soft:     #C9BFB1;
    --ink-faint:    #8C8175;
    --line:         #423A2F;

    --shadow-soft: 0 12px 32px -16px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 2.5px solid var(--terracotta-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

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

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4rem); font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem); text-wrap: balance; }
h3 { font-size: 1.25rem; text-wrap: balance; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus {
  left: 24px;
  top: 24px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sage-dark);
  margin: 0 0 0.75em;
}
.kicker.center { text-align: center; }
h2.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-lede.center { text-align: center; max-width: 560px; margin: -0.5em auto 2.5em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 10px 24px -10px rgba(217, 136, 99, 0.55);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}
.btn-outline:hover { background: var(--sage); color: var(--paper); }

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: var(--terracotta);
  color: var(--paper);
}
.btn-small:hover { background: var(--terracotta-dark); }

.fb-icon { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-mark svg circle { fill: var(--sage); }
.brand-mark svg path { fill: var(--cream); }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}
.brand-text small {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--terracotta-dark);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.primary-nav a:hover { color: var(--sage-dark); }

.nav-cta {
  background: var(--sage);
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--sage-dark); color: var(--paper) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
}
.hero-inner { position: relative; z-index: 2; max-width: 700px; }

.eyebrow {
  font-weight: 700;
  color: var(--terracotta-dark);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 1em;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 1.75em 0 2em;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 0;
  margin: 0;
}
.trust-row li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-dark);
  background: var(--sage-tint);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-shape {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--terracotta-tint), transparent 70%),
              radial-gradient(circle at 65% 65%, var(--sage-tint), transparent 65%);
  z-index: 1;
}

/* ---------- Sections (general) ---------- */
.section {
  padding: 88px 0;
}
.section-story { background: var(--cream-dark); }
.section-cleans { background: var(--paper); }
.section-involved { background: var(--sage-tint); }

/* ---------- About grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { font-size: 1.02rem; }

.about-cards {
  display: grid;
  gap: 20px;
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--terracotta-tint);
  color: var(--terracotta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.info-icon svg { width: 24px; height: 24px; fill: currentColor; }
.info-card h3 { margin-bottom: 0.3em; font-size: 1.05rem; }
.info-card p { margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.story-visual svg circle { fill: var(--terracotta-tint); }
.story-visual svg path { fill: var(--sage); }

.story-copy blockquote {
  margin: 1.5em 0 0;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.story-copy blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 0.35em; font-size: 1.05rem; }
.steps p { font-size: 0.93rem; margin-bottom: 0; }

/* ---------- Recent cleans ---------- */
.clean-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.clean-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.clean-date {
  font-weight: 800;
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}
.clean-card p:last-child { margin-bottom: 0; }
.clean-card-cta {
  background: var(--footer-bg);
  color: var(--footer-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.clean-card-cta p { color: var(--footer-ink); opacity: 0.9; }

/* ---------- Get involved ---------- */
.involved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.involved-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.involved-card h3 { font-family: var(--font-display); font-size: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--footer-line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .brand-mark svg circle { fill: #8FAE89; }
.footer-brand .brand-mark svg path { fill: var(--footer-bg); }
.footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0;
  color: var(--footer-ink);
}
.footer-sub { margin: 2px 0 0; font-size: 0.85rem; color: var(--footer-faint); }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--footer-ink);
  opacity: 0.85;
}
.footer-links a:hover { opacity: 1; color: var(--terracotta); }

.footer-fine {
  text-align: center;
  font-size: 0.8rem;
  color: var(--footer-faint);
  margin: 20px 0 0;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .story-grid,
  .involved-grid {
    grid-template-columns: 1fr;
  }
  .story-visual { width: 160px; margin: 0 auto 8px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .clean-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 0; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 56px 0 48px; }
  .hero-shape { width: 420px; height: 420px; top: -80px; right: -180px; }
  .section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; }
}
