/* Via Cancion Neighbors · public front site. Shares the Case File palette (deep green, warm neutrals, rust accent). */
:root {
  --ink: #1b2420;
  --ink-2: #3a4540;
  --ink-3: #5f6b66;
  --line: #dcd9d0;
  --bg: #fbfaf7;
  --alt: #f3f1ea;
  --card: #ffffff;
  --brand: #1d4b3f;
  --brand-2: #2f6b4f;
  --brand-deep: #143429;
  --brand-soft: #e5efe9;
  --accent: #a8432a;
  --amber: #b7791f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 36, 32, .06), 0 8px 24px rgba(27, 36, 32, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 99; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: 6px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--brand); border-color: #fff; }
.btn-light:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251, 250, 247, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); min-width: 0; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.logo-text strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.logo-text small { font-size: 12px; color: var(--ink-3); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links > a { white-space: nowrap; }
.nav-links > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 550; padding: 8px 6px; border-radius: 8px; white-space: nowrap; }
.nav-links > a:not(.btn):hover { background: var(--alt); color: var(--ink); }
.nav-links .nav-casefile { color: var(--brand); border: 1.5px solid var(--brand); border-radius: 999px; padding: 6px 13px; margin: 0 4px; }
.nav-links .nav-casefile:hover { background: var(--brand-soft); }
.menu-btn { display: none; margin-left: auto; font-size: 22px; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2f6b4f 0%, transparent 60%), linear-gradient(160deg, var(--brand-deep), var(--brand) 70%); color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: repeating-radial-gradient(circle at 20% 120%, transparent 0 38px, rgba(255, 255, 255, .035) 38px 39px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: #b8d8c6; margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 62px); font-weight: 600; letter-spacing: -.015em; margin-bottom: 20px; }
.lede { font-size: 19px; color: #e3eee8; max-width: 620px; }
.statement { margin: 26px 0 30px; padding: 16px 20px; border-left: 4px solid #e8b48a; background: rgba(255, 255, 255, .08); border-radius: 0 10px 10px 0; font-size: 15.5px; color: #f4efe6; font-style: italic; max-width: 620px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.status-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.status-title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-family: var(--font); margin-bottom: 16px; }
.status-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.status-row b { display: block; font-size: 15.5px; }
.status-row small { color: var(--ink-3); font-size: 13.5px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--line); margin-top: 5px; flex-shrink: 0; }
.dot-done { background: var(--brand); border-color: var(--brand); }
.dot-now { background: #fff; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(183, 121, 31, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(183, 121, 31, .05); } }
.countdown { display: flex; align-items: center; gap: 16px; margin: 18px 0 14px; padding: 14px 16px; background: var(--alt); border-radius: 12px; }
.cd-num { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--brand); line-height: 1; min-width: 64px; text-align: center; }
.cd-label { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.cd-label span { color: var(--ink-3); }
.status-link { font-weight: 650; font-size: 15px; text-decoration: none; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--alt); }
.section-brand { background: var(--brand); color: #fff; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 750; color: var(--accent); margin-bottom: 10px; }
.kicker-light { color: #e8b48a; }
.h-section { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 44px); font-weight: 600; letter-spacing: -.01em; }
.h-sub { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-top: 56px; }
.sub { font-size: 18.5px; color: var(--ink-2); max-width: 760px; margin-bottom: 40px; }
.sub-light { color: #dbe9e1; }
.source-note { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat-num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--brand); line-height: 1.05; }
.stat-label { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split-map { grid-template-columns: 1.1fr 1fr; }
.viz { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.viz svg { width: 100%; height: auto; display: block; }
.viz figcaption { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
.viz-map { position: sticky; top: 90px; }
.facts-list h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts li span { color: var(--ink-3); font-size: 14px; }
.facts li b { font-weight: 600; }

/* Impacts */
.impacts { display: flex; flex-direction: column; gap: 14px; }
.impact { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.impact-ico { font-size: 26px; width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--alt); display: grid; place-items: center; }
.impact h3 { font-size: 18.5px; margin-bottom: 6px; }
.impact p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* Findings */
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.finding { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: relative; }
.finding-n { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.finding h3 { font-size: 20px; }
.finding p { color: var(--ink-2); font-size: 15.5px; }
.finding small { color: var(--ink-3); font-size: 12.5px; font-family: ui-monospace, Menlo, monospace; }
.callout { margin-top: 24px; background: var(--brand-soft); border: 1px solid #c7dccf; border-radius: var(--radius); padding: 20px 24px; font-size: 16px; }
.callout a { display: inline-block; margin-top: 8px; font-weight: 650; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 11px; left: 10%; right: 10%; height: 3px; background: var(--line); }
.timeline li { position: relative; text-align: center; padding: 0 8px; }
.tl-dot { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 12px; position: relative; z-index: 1; }
.timeline li.done .tl-dot { background: var(--brand); border-color: var(--brand); }
.timeline li.now .tl-dot { border-color: var(--amber); box-shadow: 0 0 0 5px rgba(183, 121, 31, .2); }
.timeline li b { display: block; font-size: 15.5px; }
.timeline li.now b { color: var(--amber); }
.timeline li small { color: var(--ink-3); font-size: 13.5px; line-height: 1.4; display: block; margin-top: 4px; }

/* Action ladder */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rung { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.rung-head { margin-bottom: 4px; }
.rung-time { display: inline-block; background: #e8b48a; color: var(--brand-deep); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.rung h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; }
.task { display: block; text-align: left; font: inherit; width: 100%; background: #fff; color: var(--ink); border: 0; border-radius: 12px; padding: 14px 16px; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.task:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); color: var(--ink); }
.task b { display: block; font-size: 16px; color: var(--brand); }
a.task b::after, button.task b::after { content: " →"; }
.task span { display: block; font-size: 14px; color: var(--ink-3); line-height: 1.45; margin-top: 3px; }
.task-static { cursor: default; background: rgba(255, 255, 255, .92); }
.task-static:hover { transform: none; box-shadow: none; }

/* Do / Don't */
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.do-col { border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--line); background: var(--card); }
.do-col h3 { font-size: 21px; }
.do-yes { border-top: 5px solid var(--brand-2); }
.do-yes h3 { color: var(--brand-2); }
.do-no { border-top: 5px solid var(--accent); }
.do-no h3 { color: var(--accent); }
.do-col ul { margin: 0; padding-left: 20px; }
.do-col li { margin: 8px 0; color: var(--ink-2); font-size: 16px; }

/* Organize */
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0 36px; }
.org-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.org-ico { font-size: 28px; margin-bottom: 8px; }
.org-card h3 { font-size: 18.5px; }
.org-card p { font-size: 15px; color: var(--ink-2); margin: 0; }
.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feed { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feed h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.feed > a { font-weight: 650; font-size: 15px; text-decoration: none; }
.feed-list { list-style: none; margin: 0 0 14px; padding: 0; }
.feed-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.feed-list li:last-child { border-bottom: 0; }
.feed-date { flex-shrink: 0; width: 54px; text-align: center; background: var(--alt); border-radius: 10px; padding: 6px 0; line-height: 1.1; }
.feed-date b { display: block; font-size: 20px; font-family: var(--serif); color: var(--brand); }
.feed-date small { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.feed-list li strong { display: block; font-size: 15.5px; }
.feed-list li span { color: var(--ink-3); font-size: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-right: 6px; }

/* Case File promo */
.casefile-promo { background: linear-gradient(180deg, var(--bg), var(--brand-soft)); }
.casefile-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.cf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.cf-links a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.cf-links a:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.cf-links b { display: block; color: var(--brand); font-size: 15.5px; }
.cf-links span { font-size: 13.5px; color: var(--ink-3); }
.cf-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-counts div { background: var(--brand); color: #fff; border-radius: 16px; padding: 24px 20px; text-align: center; }
.cf-counts b { display: block; font-family: var(--serif); font-size: 48px; line-height: 1; }
.cf-counts span { font-size: 14px; color: #cfe3d8; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; vertical-align: 2px; }
.b-ver { background: #e5efe9; color: #1d4b3f; }
.b-rep { background: #fbf1df; color: #8a5a12; }
.b-unv { background: #eee; color: #5f6b66; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 650; font-size: 17px; list-style: none; position: relative; padding-right: 50px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 24px; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); font-size: 16px; }

/* Join */
.join { background: linear-gradient(160deg, var(--brand-deep), var(--brand)); color: #fff; }
.join-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 20px 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; font-size: 17px; color: #e3eee8; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #e8b48a; color: var(--brand-deep); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.small-light { font-size: 14px; color: #b8d8c6; }
.join-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.join-form label { display: block; margin-bottom: 14px; font-size: 14px; }
.join-form label > span { display: block; font-weight: 650; margin-bottom: 5px; color: var(--ink-2); }
.join-form input[type=text], .join-form input[type=email], .join-form input[type=tel], .join-form select { width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.join-form input:focus, .join-form select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 107, 79, .18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk { display: flex !important; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.chk input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.consent { font-size: 12.5px; background: var(--alt); border-radius: 8px; padding: 10px; }
.consent.dim { opacity: .55; }
.form-msg { font-size: 14.5px; margin: 12px 0 0; min-height: 1em; }
.form-msg.err { color: #a12d2d; }
.form-msg.ok { color: var(--brand); }
.small { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; }
.joined { text-align: center; padding: 20px 6px; }
.joined h3 { font-family: var(--serif); font-size: 26px; }

/* Footer */
.footer { background: var(--brand-deep); color: #b8d8c6; padding: 36px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer b { color: #fff; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer a { color: #e3eee8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 15px; transition: transform .25s, opacity .25s, visibility .25s; z-index: 50; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

/* Responsive */
@media (max-width: 1200px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 2px; box-shadow: 0 16px 30px rgba(0, 0, 0, .08); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 12px 10px; font-size: 16px; }
  .nav-links .nav-casefile { margin: 8px 0; text-align: center; }
  .nav-links .btn { margin-top: 4px; }
  .ladder { grid-template-columns: 1fr 1fr; }
  .org-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .split, .split-map, .casefile-grid, .join-grid, .feeds, .dos { grid-template-columns: 1fr; }
  .viz-map { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .findings { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 12px; bottom: 12px; left: 11px; right: auto; width: 3px; height: auto; }
  .timeline li { display: flex; gap: 14px; text-align: left; padding: 0 0 18px; }
  .tl-dot { margin: 0; flex-shrink: 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .logo-text small { display: none; }
  .ladder, .org-grid, .cf-links, .row2 { grid-template-columns: 1fr; }
  .stat-num { font-size: 36px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .lede { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot-now { animation: none; }
  .btn, .task, .cf-links a { transition: none; }
}
