/* Merge Lane — shared styles
   Palette: asphalt gray + lane-line yellow/white.
   Direct, confident, human. One idea per section. */

/* NOTE: color pairs in this sheet were checked against WCAG 2.1 AA
   (see contrast-check.py run notes). Do not change hex values without
   re-running the check. */

:root {
  --asphalt-deep: #131416;
  --asphalt: #1e2023;
  --road: #2b2e33;
  --road-line: #3a3e44;
  --paper: #f5f2ea;
  --paper-card: #ffffff;
  --ink: #1d2126;
  --ink-soft: #4d535b;
  --on-dark: #f4f5f6;
  --on-dark-muted: #b9bec5;
  --yellow: #f2b705;
  --yellow-soft: #ffd23f;
  --amber-text: #7c5a00;
  --white: #ffffff;
  --danger: #b3261e;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: none;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }
.lead { font-size: 1.15rem; line-height: 1.6; }
.lede-big { font-size: 1.2rem; line-height: 1.65; max-width: 46rem; }

a { color: #0b5fff; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
.on-dark-bg a, .topbar a, footer a { color: var(--yellow-soft); }

/* ---------- Accessibility: skip link + focus ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--yellow); color: #141518; font-weight: 700;
  padding: 12px 20px; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Top bar / nav ---------- */
.topbar { background: var(--asphalt-deep); color: var(--on-dark); position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--yellow); }
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.7rem; color: var(--on-dark); }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.brand-name { font-family: "Arial Narrow", Arial, sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; line-height: 1.1; }
.brand-name small { display: block; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--yellow); }
.nav { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; padding: 4px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--yellow-soft); }
.nav a.active { color: var(--yellow); border-bottom-color: var(--yellow); }
.nav-cta { background: var(--yellow); color: #141518 !important; padding: 9px 20px !important; border-radius: 999px; font-weight: 800 !important; border-bottom: none !important; }
.nav-cta:hover { background: var(--yellow-soft); color: #141518 !important; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--asphalt-deep); color: var(--on-dark); overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19,20,22,.92) 20%, rgba(19,20,22,.55) 55%, rgba(19,20,22,.25) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 5rem 1.5rem; width: 100%; }
.kicker { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.kicker::before { content: ""; display: inline-block; width: 34px; height: 3px; background: var(--yellow); vertical-align: middle; margin-right: 10px; }
.hero h1 { color: var(--white); margin-bottom: 0.6em; max-width: 14em; }
.hero h1 .strike { color: var(--yellow); }
.hero .lede { font-size: 1.25rem; line-height: 1.6; max-width: 38rem; color: var(--on-dark); margin-bottom: 1.6rem; }
.hero-credit { position: absolute; right: 14px; bottom: 10px; z-index: 3; font-size: 0.72rem; color: rgba(255,255,255,.75); }
.hero-credit a { color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--yellow); color: #141518; font-weight: 800; font-size: 1.02rem; padding: 14px 30px; border-radius: 999px; text-decoration: none; border: none; cursor: pointer; margin: 6px 10px 6px 0; }
.btn:hover { background: var(--yellow-soft); color: #141518; }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ghost:hover { background: var(--white); color: #141518; }
.btn-dark { background: var(--asphalt-deep); color: var(--white); }
.btn-dark:hover { background: var(--road); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section .kicker { color: var(--amber-text); }
.section .kicker::before { background: var(--amber-text); }
.section-dark { background: var(--asphalt); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lede-big, .section-dark p { color: var(--on-dark); }
.band-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 36px; }
.card { background: var(--paper-card); border: 1px solid #e3ddcd; border-radius: 14px; padding: 30px 28px; box-shadow: 0 4px 16px rgba(20,21,24,.06); border-top: 5px solid var(--yellow); }
.card h3 { margin-bottom: 0.6em; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 0; }
.card-dark { background: var(--road); border: 1px solid var(--road-line); border-top: 5px solid var(--yellow); color: var(--on-dark); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--on-dark-muted); }
.icon { width: 46px; height: 46px; margin-bottom: 14px; }

/* ---------- Signal map ---------- */
.signalmap { background: var(--asphalt-deep); padding: 64px 0; }
.signalmap .sm-kicker { display: block; text-align: center; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.signalmap .sm-sub { text-align: center; color: var(--on-dark-muted); max-width: 44rem; margin: 0 auto 8px; font-size: 1rem; }
.signalmap svg { display: block; width: 100%; height: auto; max-width: 1060px; margin: 0 auto; }
.signalmap .sm-core { animation: smpulse 3.2s ease-in-out infinite; }
@keyframes smpulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .signalmap .sm-core { animation: none; } }

/* ---------- Stat band ---------- */
.statband { background: var(--yellow); color: #141518; padding: 46px 0; }
.statband .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.stat { text-align: left; }
.stat .num { font-family: "Arial Narrow", Arial, sans-serif; font-weight: 800; font-size: 2.1rem; line-height: 1.1; }
.stat .cap { font-size: 0.95rem; font-weight: 600; margin-top: 6px; }
.stat .src { font-size: 0.8rem; margin-top: 4px; }
.stat .src a { color: #141518; font-weight: 700; }

/* ---------- Transparency promise ---------- */
.tpromise { list-style: none; padding: 0; margin: 26px 0 0; }
.tpromise li { padding: 10px 0 10px 40px; position: relative; font-size: 1.05rem; line-height: 1.55; }
.tpromise li::before { content: "\2713"; position: absolute; left: 0; top: 8px; color: var(--amber-text); font-weight: 800; font-size: 1.3rem; }
.section-dark .tpromise li::before { color: var(--yellow); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin-top: 36px; }
.founder img { width: 100%; border-radius: 14px; border: 4px solid var(--yellow); }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 300px; } }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 36px 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 34px 76px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--asphalt-deep); color: var(--yellow);
  font-family: "Arial Narrow", Arial, sans-serif; font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 4px; width: 3px; background: repeating-linear-gradient(to bottom, var(--yellow) 0 8px, transparent 8px 16px); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.35em; }
.steps p { color: var(--ink-soft); max-width: 44rem; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid #e3ddcd; border-radius: 12px; margin-bottom: 14px; background: var(--paper-card); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-weight: 800; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; color: var(--amber-text); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 24px 24px; color: var(--ink-soft); }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; max-width: 640px; margin-top: 28px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit;
  border: 1.5px solid #b9b2a0; border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 0.88rem; color: var(--ink-soft); margin-top: 4px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 30px 0; }

/* ---------- Footer ---------- */
footer { background: var(--asphalt-deep); color: var(--on-dark); border-top: 3px solid var(--yellow); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 52px 1.5rem 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px; }
footer h4 { color: var(--yellow); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 0.95rem; }
footer p { font-size: 0.92rem; color: var(--on-dark-muted); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 18px 1.5rem 8px; border-top: 1px solid var(--road-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: var(--on-dark-muted); }
.legal { max-width: var(--maxw); margin: 0 auto; padding: 6px 1.5rem 26px; font-size: 0.82rem; color: var(--on-dark-muted); line-height: 1.6; }
.legal a { color: var(--yellow-soft); }
.nl-block { max-width: var(--maxw); margin: 0 auto; padding: 8px 1.5rem 10px; }
.nl-block h4 { margin-bottom: 6px; }
.transparency-line { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem 22px; font-size: 0.88rem; color: var(--on-dark-muted); }
p.wa-foot { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem 6px; font-size: 0.92rem; }

/* ---------- Accessibility toolbar ---------- */
.a11y-toolbar {
  position: fixed; left: 14px; bottom: 14px; z-index: 1500;
  background: var(--asphalt-deep); color: var(--white);
  border: 2px solid var(--yellow); border-radius: 12px;
  display: flex; gap: 4px; padding: 6px; align-items: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.35);
}
.a11y-toolbar button {
  background: transparent; color: var(--white); border: 1px solid transparent;
  border-radius: 8px; font-size: 0.85rem; font-weight: 700;
  padding: 8px 10px; cursor: pointer; min-width: 40px;
}
.a11y-toolbar button:hover { border-color: var(--yellow); }
.a11y-toolbar button[aria-pressed="true"] { background: var(--yellow); color: #141518; }
.a11y-toolbar .a11y-label { font-size: 0.72rem; color: var(--on-dark-muted); padding: 0 4px; letter-spacing: 0.06em; }
html.ts-1 body { font-size: 106.25%; }
html.ts-2 body { font-size: 112.5%; }
html.ts-3 body { font-size: 125%; }
html.hc body { background: #000; color: #fff; }
html.hc .section, html.hc .card, html.hc .faq-item, html.hc .paper-bg { background: #000 !important; color: #fff !important; }
html.hc .card, html.hc .faq-item { border-color: #fff; }
html.hc h1, html.hc h2, html.hc h3, html.hc .card h3, html.hc .card p, html.hc .faq-item .faq-a, html.hc .steps p { color: #fff !important; }
html.hc a { color: var(--yellow-soft) !important; }
html.hc .field input, html.hc .field select, html.hc .field textarea { background: #000; color: #fff; border-color: #fff; }
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Misc ---------- */
.divider-lane { border: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 78px); margin: 0; opacity: .9; }
.quote-band { border-left: 6px solid var(--yellow); padding: 6px 0 6px 26px; margin: 30px 0; }
.quote-band blockquote { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.5; color: var(--white); margin-bottom: 10px; }
.quote-band cite { color: var(--on-dark-muted); font-style: normal; font-size: 0.95rem; }
.paper-bg { background: var(--paper); }
.badge { display: inline-block; background: var(--asphalt-deep); color: var(--yellow); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.checklist { list-style: none; margin: 18px 0; padding: 0; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--amber-text); font-weight: 800; }

@media (max-width: 720px) {
  .nav { gap: 0.85rem; }
  .nav a { font-size: 0.88rem; }
  .hero { min-height: 78vh; }
  .hero-inner { padding: 3.5rem 1.25rem; }
  .a11y-toolbar { left: 8px; bottom: 8px; }
}


/* Tree of Life quote + donation match (site-wide footer) */
.tree-of-life{text-align:center;padding:20px 22px 8px;max-width:780px;margin:0 auto}
.tree-quote{font-style:italic;font-size:1.06rem;line-height:1.55;margin:0 0 6px}
.tree-match{font-size:.92rem;opacity:.85;margin:0;line-height:1.5}
