/* === CLEAN TRAIL THEME === */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F4F2EC;
  --fg: #1C1C1A;
  --fg-muted: #6B6B63;
  --fg-faint: #9C9C92;
  --forest: #1A3A2A;
  --forest-mid: #2D5A3E;
  --forest-light: #3D7A54;
  --sage: #B0C4AB;
  --sage-light: #D4E3D6;
  --copper: #C96E3A;
  --copper-light: #E09060;
  --stone: #8A8070;
  --card-bg: #FFFFFF;
  --border: #E4E2D8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--forest);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(61, 122, 84, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(26, 58, 42, 0.8) 0%, transparent 60%);
  background-color: var(--forest);
}

/* geometric trail pattern */
.hero-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(150deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,58,42,0.7) 0%, rgba(26,58,42,0.2) 60%, rgba(26,58,42,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  width: 100%;
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper-light);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 56px;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--copper-light);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  max-width: 120px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  margin: 0 40px;
}

/* === SECTIONS === */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  margin-bottom: 16px;
}

.label-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(201, 110, 58, 0.1);
  padding: 4px 10px;
  border-radius: 2px;
}

.section-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.section-heading.centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 20px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 560px;
}

.section-sub.centered {
  margin: 0 auto;
  text-align: center;
}

/* === WHY MATTERS === */
.why-matters {
  padding: 100px 0;
  background: var(--bg);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
  align-items: start;
}

.col-text .section-heading {
  margin-bottom: 28px;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.col-facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  border-left: 3px solid var(--copper);
}

.fact-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--forest);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.fact-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
}

/* === CURATION === */
.curation {
  padding: 100px 0;
  background: var(--bg-warm);
}

.curation-header {
  text-align: center;
  margin-bottom: 64px;
}

.curation-header .label-tag {
  margin-bottom: 20px;
}

.curation-header .section-sub {
  max-width: 560px;
  margin: 16px auto 0;
  text-align: center;
}

.curation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.curation-item {
  padding: 36px 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s, transform 0.2s;
}

.curation-item:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}

.curation-icon {
  color: var(--forest);
  margin-bottom: 20px;
}

.curation-item h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
}

.curation-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* === CATEGORIES === */
.categories {
  padding: 100px 0;
  background: var(--bg);
}

.categories .section-label {
  margin-bottom: 16px;
}

.categories .section-heading {
  margin-bottom: 48px;
}

.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 360px 240px;
  gap: 16px;
}

.cat-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.cat-card-tall {
  grid-row: span 2;
}

.cat-card-wide {
  grid-column: span 2;
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}

.cat-card:hover .cat-card-bg {
  transform: scale(1.03);
}

.cat-card-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.cat-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.cat-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.cat-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  display: inline-block;
}

/* === BRANDS === */
.brands {
  padding: 100px 0;
  background: var(--bg-warm);
}

.brands .section-label {
  margin-bottom: 16px;
}

.brands .section-heading {
  margin-bottom: 16px;
}

.brands .section-sub {
  margin-bottom: 56px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.brand-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.2s;
}

.brand-card:hover {
  border-color: var(--sage);
}

.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--forest);
  display: block;
  margin-bottom: 6px;
}

.brand-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--copper);
  background: rgba(201, 110, 58, 0.1);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.brand-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--fg-muted);
}

.brands-note {
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-faint);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
}

/* === CLOSING === */
.closing {
  padding: 120px 0;
  background: var(--forest);
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.closing-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 32px;
  quotes: "\201C" "\201D";
}

.closing-quote::before {
  content: open-quote;
}
.closing-quote::after {
  content: close-quote;
}

.closing-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--fg-faint);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--forest);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--fg-faint);
  line-height: 1.6;
}

.footer-copy {
  text-align: right;
  color: var(--fg-faint);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
    margin: 0;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pfas-explainer .section-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pfas-explainer {
    padding: 80px 0;
  }

  .curation-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cat-card-tall,
  .cat-card-wide {
    grid-row: auto;
    grid-column: auto;
    height: 280px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }

  .closing {
    padding: 80px 0;
  }
}

/* === PFAS EXPLAINER === */
.pfas-explainer {
  padding: 100px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pfas-explainer .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pfas-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 20px;
}

.pfas-headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 28px;
}

.pfas-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.pfas-callout {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--card-bg);
}

.pfas-stat {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}

.pfas-stat:last-of-type {
  border-bottom: none;
}

.pfas-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--copper);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.pfas-stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.pfas-cta {
  padding: 20px 28px;
  background: var(--forest);
}

.pfas-cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: var(--forest);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: transform 0.2s;
}

.pfas-cta-btn:hover {
  transform: translateY(-1px);
}

/* === FEATURED PRODUCTS === */
.featured-products {
  padding: 100px 0;
  background: var(--bg);
}

.featured-products .section-heading {
  margin-bottom: 12px;
}

.featured-products .section-sub {
  margin-bottom: 48px;
}

.featured-cta {
  text-align: center;
  margin-top: 48px;
}

.view-all-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--forest);
  color: var(--forest);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.view-all-btn:hover {
  background: var(--forest);
  color: white;
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 40px;
  }

  .stat-number {
    font-size: 28px;
  }
}