/* Greenfield Resource Loop — campaign styles */

:root {
  --cream: #f7f3ea;
  --cream-2: #efe8d6;
  --paper: #fffdf7;
  --evergreen: #10362a;
  --pine: #1f5c41;
  --green: #15803d;
  --heat: #d97a2b;
  --heat-bright: #e8873a;
  --heat-deep: #b45f1d;
  --ink: #1f2a24;
  --ink-2: #52604f;
  --line: #ddd2b2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark { width: 38px; height: 38px; flex: none; }

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--evergreen);
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  color: var(--heat-deep);
}

.topnav {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.topnav a:hover, .topnav a.active { color: var(--evergreen); border-bottom-color: var(--heat); }

@media (max-width: 860px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .topnav { justify-content: flex-start; gap: 12px; }
  .topnav a { font-size: 0.82rem; }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(40px, 7vw, 88px) clamp(16px, 4vw, 48px) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heat-deep);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1.02;
  color: var(--evergreen);
  letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--heat); }

.lede {
  max-width: 46rem;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
}

.lede strong { color: var(--evergreen); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-heat {
  background: var(--heat);
  color: #fffdf7;
  box-shadow: 0 6px 18px rgba(217, 122, 43, 0.35);
}

.btn-heat:hover { background: var(--heat-bright); }

.btn-ghost {
  color: var(--evergreen);
  border: 2px solid var(--pine);
}

.btn-ghost:hover { background: rgba(31, 92, 65, 0.08); }

.hero-art {
  margin-top: clamp(28px, 5vw, 56px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(16, 54, 42, 0.12);
}

.hero-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 56rem;
  margin: 26px auto 0;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--heat);
  border-radius: 12px;
}

.hero-note svg { width: 22px; height: 22px; flex: none; color: var(--heat-deep); margin-top: 2px; }

.hero-note p { font-size: 0.98rem; color: var(--ink-2); }

.hero-note strong { color: var(--ink); }

/* ---------- Sections ---------- */

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 48px);
}

.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heat-deep);
  margin-bottom: 12px;
}

.kicker-light { color: var(--heat-bright); }

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.15;
  color: var(--evergreen);
  max-width: 40rem;
}

.section-lede {
  max-width: 44rem;
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--ink-2);
}

.section-deep {
  max-width: none;
  background: var(--evergreen);
  color: #e8efe4;
}

.section-deep > * { max-width: 1080px; margin-left: auto; margin-right: auto; }

.on-deep { color: #f4f0e2 !important; }

.section-deep .section-lede { color: #b9cbb9; }

.section-cream {
  max-width: none;
  background: var(--cream-2);
}

.section-cream > * { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ---------- Reframe ---------- */

.reframe {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.reframe-card {
  flex: 1 1 280px;
  padding: 26px 28px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.reframe-card p {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 8px;
}

.reframe-card.now {
  background: var(--evergreen);
  border-color: var(--evergreen);
}

.reframe-card.now p { color: #f4f0e2; }

.reframe-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.reframe-card.now .reframe-label { color: var(--heat-bright); }

.reframe-arrow { width: 46px; align-self: center; color: var(--heat); flex: none; }

.premise { max-width: 46rem; margin-top: 34px; display: grid; gap: 16px; }

.premise p { color: var(--ink-2); font-size: 1.05rem; }

.premise-goal { color: var(--ink) !important; }

/* ---------- Loop ---------- */

.loop-figure {
  margin-top: 40px;
  background: var(--cream);
  border-radius: 18px;
  padding: clamp(12px, 3vw, 32px);
}

.loop-list { display: none; }

@media (max-width: 719px) {
  .loop-figure { display: none; }
  .loop-list {
    display: grid;
    gap: 12px;
    margin-top: 32px;
    list-style: none;
    counter-reset: loop;
  }
  .loop-list li {
    counter-increment: loop;
    background: var(--paper);
    color: var(--ink-2);
    border-radius: 12px;
    padding: 16px 18px 16px 54px;
    position: relative;
  }
  .loop-list li strong { color: var(--evergreen); display: block; }
  .loop-list li::before {
    content: counter(loop);
    position: absolute;
    left: 16px;
    top: 18px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--heat);
    color: #fffdf7;
    font-weight: 700;
    font-size: 0.85rem;
    display: grid;
    place-items: center;
  }
}

/* ---------- Principles ---------- */

.principles {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 28px;
  list-style: none;
}

.principles li {
  padding: 14px 16px 14px 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  color: var(--ink-2);
}

.principles li strong { color: var(--ink); }

.principles li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 19px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.6 13.6-3.6-3.6 1.4-1.4 2.2 2.2 4.8-4.8 1.4 1.4-6.2 6.2Z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.6 13.6-3.6-3.6 1.4-1.4 2.2 2.2 4.8-4.8 1.4 1.4-6.2 6.2Z"/></svg>') center/contain no-repeat;
}

/* ---------- Phases ---------- */

.phases {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.phase {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--heat);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phase:nth-child(even) { border-top-color: var(--green); }

.phase-num {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
}

.phase h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--evergreen); }

.phase p { font-size: 0.95rem; color: var(--ink-2); }

.phase-fact {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--ink) !important;
}

/* ---------- Industries ---------- */

.industries {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.industry {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.industry h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--evergreen); margin-bottom: 8px; }

.industry p { font-size: 0.95rem; color: var(--ink-2); }

.industry-flagship {
  grid-column: 1 / -1;
  background: var(--evergreen);
  border-color: var(--evergreen);
}

.industry-flagship h3 { color: #f4f0e2; font-size: 1.5rem; }

.industry-flagship p { color: #b9cbb9; font-size: 1.02rem; max-width: 52rem; }

.flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffdf7;
  background: var(--heat);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.fine { font-size: 0.85rem !important; opacity: 0.85; margin-top: 10px; }

/* ---------- Numbers ---------- */

.stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  border-bottom: 4px solid var(--green);
}

.stat:nth-child(2) { border-bottom-color: var(--heat); }

.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.stat-label { display: block; margin-top: 8px; font-size: 0.88rem; color: var(--ink-2); }

.chart {
  margin-top: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 32px);
}

.chart figcaption h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--evergreen); }

.chart figcaption p { font-size: 0.9rem; color: var(--ink-2); margin: 4px 0 10px; }

.chart svg { width: 100%; height: auto; font-family: var(--sans); }

.bar-row rect { transition: opacity 0.15s ease; }

.bar-row:hover rect { opacity: 0.82; }

.employment {
  margin-top: 44px;
  max-width: 40rem;
}

.employment h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--evergreen); margin-bottom: 16px; }

.employment ul { list-style: none; display: grid; gap: 10px; }

.employment li { display: flex; align-items: baseline; gap: 10px; font-size: 0.98rem; }

.employment li span:first-child { color: var(--ink-2); }

.employment li i { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }

.employment li span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- Benefits ---------- */

.benefits {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}

.benefit h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--evergreen);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--heat);
}

.benefit ul { list-style: none; display: grid; gap: 9px; }

.benefit li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.benefit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Steps ---------- */

.steps {
  margin-top: 36px;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
  max-width: 46rem;
}

.steps li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px 18px 66px;
  position: relative;
  font-size: 1.02rem;
  color: var(--ink);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heat);
}

/* ---------- Petition ---------- */

.petition { margin-top: 36px; max-width: 46rem; }

.petition-statement {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 28px;
}

.petition-statement p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 130px;
  gap: 14px;
}

@media (max-width: 680px) {
  .field-row { grid-template-columns: 1fr; }
}

.field { display: grid; gap: 6px; }

.field span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field span em { font-style: normal; text-transform: none; font-weight: 500; opacity: 0.8; }

.field input {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.field input:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(31, 92, 65, 0.15);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
  flex: none;
}

#petition-form .btn { margin-top: 22px; border: none; cursor: pointer; font-family: var(--sans); }

#petition-form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fbeedd;
  border: 1px solid var(--heat);
  color: var(--heat-deep);
  font-weight: 600;
  font-size: 0.95rem;
}

.petition-done {
  background: var(--evergreen);
  border-radius: 14px;
  padding: 32px;
}

.petition-done h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #f4f0e2;
  margin-bottom: 10px;
}

.petition-done p { color: #b9cbb9; }

.petition-done .fine strong { color: var(--heat-bright); }

/* ---------- Final ---------- */

.final { text-align: center; }

.final blockquote { max-width: 52rem; margin: 0 auto 36px; }

.final blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.45;
  color: #f4f0e2;
}

.final blockquote footer {
  margin-top: 22px;
  font-size: 1.02rem;
  color: var(--heat-bright);
  font-weight: 600;
}

.final-alt { margin-top: 18px; font-size: 0.92rem; color: #b9cbb9; }

.final-alt a { color: var(--heat-bright); }

/* ---------- Footer ---------- */

.sitefoot {
  padding: 48px clamp(16px, 4vw, 48px) 56px;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.foot-brand img { width: 240px; }

.foot-brand p { margin-top: 14px; color: var(--ink-2); max-width: 34rem; font-size: 0.95rem; }

.sitefoot .fine { color: var(--ink-2); opacity: 0.8; max-width: 52rem; }

.sitefoot a { color: var(--pine); }

/* ---------- Reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
