/* =================================================================
   Copper Country Recycling Initiative
   Ported from the Claude Design prototype (Copper Country Recycling.dc.html)
   Dark / lime "zero-waste" theme · Archivo · responsive multi-page build
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #0e1a12;   /* page background           */
  --bg-2:      #0b1510;   /* darker bands              */
  --card:      #14241a;   /* card surface              */
  --card-2:    #11201a;   /* subtle surface            */
  --line:      #1d2c22;   /* hairline dividers         */
  --line-2:    #21342a;   /* card borders              */
  --line-3:    #2a3d30;   /* input / strong borders    */

  --lime:      #c8f04a;   /* primary accent            */
  --white:     #ffffff;
  --text:      #ffffff;
  --text-soft: #d6e0d8;
  --muted:     #aebdb1;
  --muted-2:   #9fb0a3;
  --muted-3:   #6f7d72;
  --muted-4:   #4f5d52;
  --placeholder:#5e7163;

  /* Waste category colors (shared with the Waste Wizard) */
  --cat-curbside: #c8f04a;
  --cat-dropoff:  #5bb1d6;
  --cat-haz:      #f0a04a;
  --cat-reuse:    #7ed957;
  --cat-compost:  #b8e04a;
  --cat-landfill: #9aa39c;

  --maxw: 1180px;
  --pad: 36px;
  --radius: 18px;
  --nav-h: 70px;
  --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
::selection { background: var(--lime); color: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}
.band { background: var(--bg-2); }
.divider-top { border-top: 1px solid var(--line); }
.eyebrow {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 800; font-size: 16px;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--md { padding: 14px 28px; font-size: 15px; }

.btn--primary { background: var(--lime); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200,240,74,.22); }

.btn--dark { background: var(--bg); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.35); }

.btn--ghost { border-color: #34463a; color: #fff; }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn--outline-lime { border-color: var(--lime); color: var(--lime); font-weight: 800; font-size: 15px; padding: 13px 26px; }
.btn--outline-lime:hover { background: var(--lime); color: var(--bg); }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,26,18,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--lime); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px;
}
.brand__name { font-weight: 900; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.brand__name span { color: var(--lime); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted-2); cursor: pointer;
  transition: color .15s ease;
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; display: block; position: relative;
  width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after  { position: absolute; top: 7px; }
.nav[data-open="true"] .nav__toggle span { background: transparent; }
.nav[data-open="true"] .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { padding: 84px var(--pad) 64px; max-width: var(--maxw); margin: 0 auto; }
.hero__eyebrow { margin-bottom: 24px; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(46px, 9vw, 88px);
  line-height: 0.93; letter-spacing: -0.035em;
  text-transform: uppercase; color: #fff;
  margin: 0 0 28px;
}
.hero p {
  font-size: 19px; line-height: 1.55;
  color: var(--muted); max-width: 520px; margin: 0 0 34px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page header (Mission / Resources / Get Involved) */
.page-head { padding: 72px var(--pad) 40px; max-width: var(--maxw); margin: 0 auto; }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head h1 {
  font-weight: 900;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 0.95; letter-spacing: -0.03em;
  text-transform: uppercase; margin: 0 0 16px;
  max-width: 900px;
}
.page-head p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 640px; }

/* =================================================================
   SECTION TITLES
   ================================================================= */
.section { padding: 72px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.section--tight { padding: 56px var(--pad) 0; }
.h-section {
  font-weight: 900; font-size: clamp(26px, 4.4vw, 34px);
  letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 36px;
}

/* =================================================================
   WASTE WIZARD BLOCK (home) — intro + widget
   ================================================================= */
.wizard-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.wizard-band__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start;
}
.wizard-band h2 {
  font-weight: 900; font-size: clamp(34px, 5vw, 46px);
  line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 16px; text-transform: uppercase;
}
.wizard-band .lead { font-size: 16px; line-height: 1.6; color: var(--muted-2); margin: 0; }
.wizard-band__eyebrow { margin-bottom: 16px; }

/* =================================================================
   WASTE WIZARD WIDGET (rendered by js/waste-wizard.js)
   ================================================================= */
.ww { font-family: var(--font); width: 100%; }
.ww__bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 2px solid var(--lime); border-radius: 100px;
  padding: 8px 8px 8px 22px;
  box-shadow: 0 8px 30px rgba(200,240,74,.12);
}
.ww__icon { color: var(--placeholder); font-size: 20px; line-height: 1; }
.ww__input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #fff; font-family: var(--font); font-size: 17px; padding: 8px 0; min-width: 0;
}
.ww__input::placeholder { color: var(--placeholder); }
.ww__go {
  background: var(--lime); color: var(--bg);
  padding: 12px 26px; border-radius: 100px;
  border: 0; font-family: var(--font); font-weight: 800; font-size: 15px;
  white-space: nowrap; cursor: pointer;
}
.ww__go:hover { box-shadow: 0 6px 18px rgba(200,240,74,.25); }

.ww__chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.ww__chip {
  background: #1a2c20; border: 1px solid var(--line-3); color: var(--muted);
  padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: border-color .15s ease, color .15s ease;
}
.ww__chip:hover { border-color: var(--lime); color: var(--lime); }

.ww__results { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ww__result {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 18px 20px;
}
.ww__dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: none; }
.ww__result-body { flex: 1; }
.ww__result-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 5px; }
.ww__name { font-weight: 800; font-size: 18px; color: #fff; }
.ww__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.ww__instr { font-size: 14px; line-height: 1.55; color: var(--muted-2); }

.ww__empty {
  margin-top: 20px; background: var(--card);
  border: 1px dashed var(--line-3); border-radius: 14px; padding: 22px; text-align: center;
}
.ww__empty-title { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 5px; }
.ww__empty-sub { font-size: 14px; color: var(--muted-2); }
.ww__empty-sub a { color: var(--lime); font-weight: 600; }

/* =================================================================
   STAT BAND
   ================================================================= */
.stats {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
}
.stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 48px 32px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__num {
  font-weight: 900; font-size: clamp(42px, 6vw, 58px);
  color: var(--lime); letter-spacing: -0.03em; line-height: 1;
}
.stat__label { font-size: 14px; color: var(--muted-2); margin-top: 10px; line-height: 1.45; }

/* =================================================================
   CARD GRIDS
   ================================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 30px;
}
.card__num { font-weight: 900; font-size: 15px; color: var(--lime); margin-bottom: 16px; }
.card__title { font-weight: 800; font-size: 22px; margin-bottom: 10px; }
.card__body { font-size: 15px; line-height: 1.6; color: var(--muted-2); }

/* Mission value cards */
.value-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; }
.value-card__k { font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.value-card p { font-size: 17px; line-height: 1.6; color: var(--text-soft); }

/* =================================================================
   PHOTO BAND (home)
   ================================================================= */
.photo-band { border-top: 1px solid var(--line); background: var(--bg-2); }
.photo-band__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.photo-band__text {
  padding: 72px 56px 72px var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}
.photo-band__text .eyebrow { margin-bottom: 18px; }
.photo-band__text h2 {
  font-weight: 900; font-size: clamp(30px, 5vw, 40px);
  line-height: 1; letter-spacing: -0.025em; text-transform: uppercase; margin: 0 0 18px;
}
.photo-band__text p { font-size: 16px; line-height: 1.65; color: var(--muted-2); }

/* =================================================================
   IMAGE SLOTS — drop a real photo into /images and it shows;
   if the file is missing, the captioned placeholder is revealed.
   ================================================================= */
.img-slot {
  position: relative; height: var(--h, 260px);
  border-radius: var(--radius); overflow: hidden; background: var(--card-2);
}
.img-slot--square { border-radius: 0; }
.img-slot::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border: 1px dashed var(--line-3); border-radius: inherit;
}
.img-slot::after {
  content: attr(data-cap); position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 28px; color: var(--placeholder);
  font-size: 14px; font-weight: 600; line-height: 1.5;
}
.img-slot img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}

/* =================================================================
   CTA BLOCK
   ================================================================= */
.cta {
  background: var(--lime); border-radius: 24px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta__text { max-width: 600px; }
.cta h2 {
  font-weight: 900; font-size: clamp(30px, 5vw, 40px);
  line-height: 0.98; letter-spacing: -0.03em; color: var(--bg); margin: 0 0 12px; text-transform: uppercase;
}
.cta p { font-size: 16px; line-height: 1.55; color: #2a3a22; font-weight: 500; }

/* =================================================================
   MISSION — story + timeline
   ================================================================= */
.story {
  max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.timeline { display: flex; flex-direction: column; }
.timeline__row { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline__row:last-child { border-bottom: 0; }
.timeline__year { font-weight: 900; font-size: 22px; color: var(--lime); width: 64px; flex: none; }
.timeline__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.timeline__text strong { color: #fff; font-weight: 600; }
.story__photo { position: sticky; top: 90px; }

/* =================================================================
   RESOURCES — legend + download/education
   ================================================================= */
.legend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legend-card { background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px; }
.legend-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.legend-card__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.legend-card__name { font-weight: 800; font-size: 16px; }
.legend-card__body { font-size: 14px; line-height: 1.55; color: var(--muted-2); }

.panel-lime {
  background: var(--lime); border-radius: var(--radius); padding: 32px; color: var(--bg);
}
.panel-lime__k { font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.panel-lime__title { font-weight: 900; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.05; }
.panel-lime p { font-size: 15px; line-height: 1.55; margin: 0 0 20px; font-weight: 500; color: #2a3a22; }

.panel-dark { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; }
.panel-dark__k { font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.panel-dark__title { font-weight: 900; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.05; }
.panel-dark p { font-size: 15px; line-height: 1.6; color: var(--muted-2); margin: 0; }

/* =================================================================
   GET INVOLVED — support + contact form
   ================================================================= */
.involved-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.support-card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; }
.support-card__k { font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }
.support-card p { font-size: 16px; line-height: 1.6; color: var(--text-soft); margin: 0 0 22px; }

.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; }
.form-card__title { font-weight: 900; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-card__sub { font-size: 15px; line-height: 1.55; color: var(--muted-2); margin: 0 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.input, .textarea {
  width: 100%;
  background: var(--bg); border: 1px solid var(--line-3); border-radius: 10px;
  padding: 14px 16px; color: #fff; font-family: var(--font); font-size: 15px; outline: none;
  transition: border-color .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-3); }
.input:focus, .textarea:focus { border-color: var(--lime); }
.textarea { resize: vertical; margin-bottom: 18px; }
.field-mb { margin-bottom: 14px; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 48px var(--pad);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--lime); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; }
.footer__org { font-weight: 900; font-size: 16px; }
.footer__tag { font-size: 13px; color: var(--muted-3); max-width: 360px; line-height: 1.55; }
.footer__cols { display: flex; gap: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col span { font-size: 14px; color: var(--muted); }
.footer__col a:hover { color: #fff; }
.footer__legal { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 36px; }
.footer__legal span { font-size: 12px; color: var(--muted-4); }

.spacer-40 { height: 40px; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 920px) {
  .wizard-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .photo-band__inner { grid-template-columns: 1fr; }
  .photo-band__text { padding: 56px var(--pad); }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .story__photo { position: static; }
  .involved-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .legend-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --pad: 22px; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(11,21,16,.98);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--pad) 22px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav__links a, .nav__links .nav__link { padding: 8px 0; font-size: 15px; }
  .nav[data-open="true"] .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links .btn { margin-top: 8px; }
  .nav__toggle { display: inline-flex; }

  .hero { padding: 56px var(--pad) 48px; }
  .hero p { font-size: 17px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child, .stat:last-child { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .grid-3, .grid-2, .legend-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 36px; }
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
