/* ==========================================================================
   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 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  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 { justify-content: center; width: 100%; }
.sparkle {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--terracotta);
}
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
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: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.brand-mark img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}
/* Footer sits on a fixed dark band in both themes; the mark keeps its own white background */
.footer-brand .brand-mark.footer-mark {
  width: 62px;
  height: 62px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  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: 20px;
}
.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.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: 76px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 600px; }

.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-visual .mark-light { display: none; }
@media (prefers-color-scheme: dark) {
  .hero-visual .mark-dark { display: none; }
  .hero-visual .mark-light { display: block; }
}

.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;
}

/* ---------- 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-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;
}

/* ---------- Subpage header ---------- */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker { margin-bottom: 0.6em; }
.page-hero h1 { max-width: 760px; }
.page-hero .hero-lede { margin-top: 0.6em; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-decoration: none;
  margin-bottom: 1.5em;
}
.breadcrumb:hover { color: var(--sage-dark); }

/* ---------- Prose content ---------- */
.prose {
  max-width: 720px;
}
.prose p { font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }

.callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 1.5em 0;
}
.callout p { margin-bottom: 0; }

/* ---------- Help / can't-help lists ---------- */
.help-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0;
}
.help-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.help-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.help-panel h3 .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.help-panel.can h3 .mark { background: var(--sage-tint); color: var(--sage-dark); }
.help-panel.cannot h3 .mark { background: var(--terracotta-tint); color: var(--terracotta-dark); }

.help-list {
  list-style: none;
  margin: 1em 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.help-list li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.help-list li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; }
.help-panel.can .help-list li svg { color: var(--sage-dark); }
.help-panel.cannot .help-list li svg { color: var(--terracotta-dark); }

.limitations {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

/* ---------- Before & after slider (Past Cleans) ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 40px 0 0;
}
.ba-slider {
  --pos: 50%;
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  touch-action: pan-y;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #FBF6EF;
  box-shadow: 0 0 0 1px rgba(58, 51, 44, 0.18);
  z-index: 2;
  pointer-events: none;
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  z-index: 3;
  cursor: ew-resize;
}
.ba-range::-webkit-slider-runnable-track { -webkit-appearance: none; height: 100%; background: transparent; }
.ba-range::-moz-range-track { height: 100%; background: transparent; border: none; }
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FBF6EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5' fill='none' stroke='%233A332C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 2px solid #3A332C;
  box-shadow: var(--shadow-soft);
  cursor: ew-resize;
}
.ba-range::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FBF6EF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5' fill='none' stroke='%233A332C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 2px solid #3A332C;
  box-shadow: var(--shadow-soft);
  cursor: ew-resize;
}
.ba-range:focus-visible { outline: 2.5px solid var(--terracotta-dark); outline-offset: -3px; }
.ba-tag {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FBF6EF;
  background: rgba(58, 51, 44, 0.72);
  pointer-events: none;
}
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; }

/* ---------- Photo gallery (Past Cleans) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0 0;
}
.photo-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Feature photo (How it works / Get involved) ---------- */
.feature-photo {
  margin: 0 0 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.feature-photo img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

/* ---------- Video grid (Past Cleans) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.video-card a.video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, var(--terracotta-tint), transparent 55%),
    radial-gradient(circle at 75% 75%, var(--sage-tint), transparent 55%),
    var(--cream-dark);
}
.play-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.play-button svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.video-card a.video-link:hover .play-button {
  transform: scale(1.08);
  background: var(--terracotta);
  color: var(--paper);
}
.video-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.video-card-label .fb-icon { width: 16px; height: 16px; color: var(--ink-faint); flex-shrink: 0; }
.video-card a.video-link:hover .video-card-label { color: var(--terracotta-dark); }

/* ---------- Landing subpage nav ---------- */
.subpage-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.subpage-nav-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.subpage-nav-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.subpage-nav-card .nav-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.subpage-nav-card .nav-card-icon svg { width: 22px; height: 22px; }
.subpage-nav-card:hover .nav-card-icon {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
  background: var(--terracotta-tint);
}
.subpage-nav-card h3 { margin: 0; font-size: 1.05rem; }
.subpage-nav-card span.arrow {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--terracotta-dark);
}

/* current-page nav indicator */
.primary-nav a[aria-current="page"] { color: var(--ink); position: relative; }
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

/* ---------- 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: 980px) {
  .about-grid,
  .story-grid,
  .involved-grid,
  .help-columns {
    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; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .subpage-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 460px; margin: 0 auto; order: -1; }
  .hero-inner { max-width: 640px; }
}

@media (max-width: 860px) {
  .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%; font-size: 0.98rem; }
  .primary-nav a[aria-current="page"]::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 48px 0 40px; }
  .hero-visual { max-width: 340px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 48px 0 36px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .subpage-nav-grid { grid-template-columns: 1fr; }
  .feature-photo img { max-height: 260px; }
  .ba-grid { grid-template-columns: 1fr; gap: 24px; }
  .ba-slider { aspect-ratio: 4 / 3; }
}
