:root {
  --ink: #132b2e;
  --ink-2: #334b4d;
  --paper: #f4f1e9;
  --paper-2: #fbfaf6;
  --line: #d8d6cc;
  --green: #0f6157;
  --green-2: #dcebe5;
  --lime: #dceaa7;
  --amber: #b26b22;
  --amber-bg: #f4e5cd;
  --red: #9e453d;
  --shadow: 0 18px 55px rgba(18, 43, 46, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(220, 234, 167, .35), transparent 22rem),
    var(--paper);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
.shell { max-width: 1480px; margin: 0 auto; padding: 0 34px 56px; }
.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(19,43,46,.18);
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: 15px; }
.brand b { font-weight: 700; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; }
.brand-mark i { display: block; background: var(--green); border-radius: 2px 2px 0 0; }
.brand-mark i:nth-child(1) { height: 44%; }
.brand-mark i:nth-child(2) { height: 72%; }
.brand-mark i:nth-child(3) { height: 100%; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.privacy-pill { border: 1px solid rgba(15,97,87,.25); background: rgba(255,255,255,.45); padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.privacy-pill span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4c9b70; margin-right: 7px; box-shadow: 0 0 0 3px rgba(76,155,112,.13); }
.subscribe-link { color: var(--green); border: 1px solid #9bbab1; border-radius: 999px; padding: 8px 13px; text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.subscribe-link:hover, .subscribe-link:focus-visible { background: var(--green-2); }
.icon-button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: var(--paper-2); font-family: "Newsreader", serif; font-size: 17px; }

.hero { padding: 62px 0 44px; }
.eyebrow, .overline { color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 700; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr); gap: 70px; align-items: end; }
h1 { font-family: "Newsreader", serif; font-size: clamp(48px, 6vw, 78px); line-height: .96; letter-spacing: -.04em; margin: 16px 0 20px; max-width: 850px; font-weight: 600; }
h1 em { color: var(--green); font-style: italic; font-weight: 500; }
.lede { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 670px; margin: 0; }
.snapshot { background: var(--ink); color: #f8f6ef; border-radius: 18px; padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.snapshot::after { content: ""; position: absolute; width: 130px; height: 130px; border: 1px solid rgba(220,234,167,.24); border-radius: 50%; right: -43px; top: -57px; box-shadow: 0 0 0 26px rgba(220,234,167,.04); }
.snapshot-head { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #bed0cb; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); margin: 26px 0 21px; }
.metric-row div { border-right: 1px solid rgba(255,255,255,.14); padding-left: 16px; }
.metric-row div:first-child { padding-left: 0; }
.metric-row div:last-child { border: 0; }
.metric-row strong { display: block; font-family: "Newsreader", serif; font-size: 34px; line-height: 1; color: var(--lime); }
.metric-row span { display: block; font-size: 10px; color: #bed0cb; margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }
.zero-state { border-top: 1px solid rgba(255,255,255,.13); padding-top: 15px; font-size: 12px; color: #bed0cb; }
.zero-state b { color: #f7f4eb; font-weight: 600; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #dd9f5b; margin-right: 7px; }

.workspace { background: var(--paper-2); border: 1px solid var(--line); border-radius: 22px; display: grid; grid-template-columns: 290px minmax(0,1fr); min-height: 720px; overflow: hidden; box-shadow: 0 6px 28px rgba(19,43,46,.06); }
.filters { border-right: 1px solid var(--line); padding: 26px 22px; background: rgba(239,237,229,.7); }
.filter-heading { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.text-button { border: 0; color: var(--green); background: transparent; font-size: 12px; padding: 4px; }
.search-wrap { position: relative; display: block; }
.search-wrap svg { position: absolute; width: 17px; height: 17px; left: 12px; top: 12px; fill: none; stroke: #728183; stroke-width: 1.8; }
.search-wrap input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 11px 12px 11px 38px; color: var(--ink); outline: 0; font-size: 12px; }
.search-wrap input:focus, .filter-group select:focus, .sort-label select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,97,87,.1); }
.segmented { display: grid; grid-template-columns: repeat(3,1fr); background: #e5e3da; border-radius: 10px; padding: 3px; margin: 16px 0 23px; gap: 2px; }
.seg { border: 0; background: transparent; border-radius: 8px; padding: 8px 4px; color: #607174; font-size: 10px; font-weight: 600; }
.seg span { display: block; margin-top: 2px; }
.seg.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(19,43,46,.1); }
.filter-group { margin-top: 15px; }
.filter-group label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #617274; font-weight: 700; margin-bottom: 6px; }
.filter-group select { width: 100%; appearance: none; color: var(--ink); border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23586d6e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; border-radius: 9px; padding: 9px 31px 9px 10px; font-size: 11px; outline: 0; }
.evidence-key { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 19px; }
.evidence-key h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 11px; }
.evidence-key p { font-size: 10.5px; line-height: 1.5; color: #647476; margin: 8px 0; }
.evidence-key b { color: var(--ink); }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; }
.dot.confirmed { background: var(--green); }
.dot.lead { background: var(--amber); }

.results { padding: 28px 30px 34px; min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; }
.results-head h2 { font-family: "Newsreader", serif; font-size: 31px; margin: 5px 0 0; letter-spacing: -.02em; }
.sort-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #68787a; }
.sort-label select { margin-left: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 30px 8px 10px; background: #fff; font-size: 11px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; min-height: 0; margin-bottom: 10px; }
.filter-chip { border: 1px solid #bdd0c9; background: var(--green-2); color: var(--green); padding: 5px 8px; border-radius: 999px; font-size: 10px; }
.filter-chip button { border: 0; background: transparent; color: inherit; padding: 0 0 0 5px; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.project-card { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 18px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; cursor: pointer; min-width: 0; position: relative; }
.project-card:hover, .project-card:focus-visible { transform: translateY(-2px); border-color: #9fbab2; box-shadow: 0 10px 24px rgba(19,43,46,.08); outline: none; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.badge { border-radius: 999px; padding: 6px 9px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.badge.confirmed { background: var(--green-2); color: var(--green); }
.badge.lead { background: var(--amber-bg); color: #8a541b; }
.status-date { font-size: 10px; color: #718083; white-space: nowrap; }
.project-card h3 { font-family: "Newsreader", serif; font-size: 22px; line-height: 1.12; margin: 17px 0 5px; letter-spacing: -.01em; }
.place { color: #667679; font-size: 11px; }
.status-line { margin: 18px 0 15px; padding-left: 11px; border-left: 3px solid var(--green); }
.project-card.lead .status-line { border-color: var(--amber); }
.status-line span { display: block; font-size: 9px; color: #758487; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.status-line b { font-size: 12px; line-height: 1.4; display: block; }
.asset-line { color: var(--green); font-size: 12px; line-height: 1.4; font-weight: 700; margin: -6px 0 14px 11px; }
.card-meta { border-top: 1px solid #eceae3; padding-top: 13px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.card-meta span { color: #798587; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; display: block; }
.card-meta b { display: block; font-size: 10.5px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.open-record { color: var(--green); font-weight: 700; font-size: 10px; }
.no-results { text-align: center; padding: 80px 20px; }
.no-results div { font-family: "Newsreader", serif; font-size: 70px; color: #c6cdc7; }
.no-results h3 { margin: 0; font-family: "Newsreader", serif; font-size: 27px; }
.no-results p { color: #718083; font-size: 13px; }
.primary-button { border: 0; border-radius: 9px; background: var(--green); color: white; padding: 10px 15px; font-weight: 600; font-size: 12px; }

.method { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 58px 10px 12px; }
.method h2 { font-family: "Newsreader", serif; font-size: 38px; margin: 8px 0 0; letter-spacing: -.03em; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.method-grid p { margin: 0; border-top: 1px solid rgba(19,43,46,.25); padding-top: 13px; }
.method-grid b { display: block; font-size: 12px; margin-bottom: 7px; }
.method-grid span { font-size: 11px; line-height: 1.55; color: #627376; }
.policy-updates { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); gap: 34px 58px; margin-top: 30px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper-2); }
.policy-intro h2 { font-family: "Newsreader", serif; font-size: 36px; line-height: 1.05; letter-spacing: -.03em; margin: 8px 0 12px; }
.policy-intro p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.policy-fields { margin: 0; border-top: 1px solid var(--line); }
.policy-fields > div { display: grid; grid-template-columns: minmax(105px, .35fr) minmax(0, 1fr); gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.policy-fields dt { color: #627376; font-size: 13px; font-weight: 700; }
.policy-fields dd { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.policy-fields a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.expansion { margin-top: 50px; border: 1px solid var(--line); background: #e8f0ea; border-radius: 22px; padding: 34px; display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); gap: 34px 58px; }
.expansion-intro h2 { font-family: "Newsreader", serif; font-size: 39px; line-height: 1.02; letter-spacing: -.03em; margin: 8px 0 12px; }
.expansion-intro p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.cohort-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(19,43,46,.22); }
.cohort { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 15px 0; border-bottom: 1px solid rgba(19,43,46,.18); }
.cohort-number { color: var(--green); font-size: 11px; font-weight: 700; padding-top: 2px; }
.cohort b { font-size: 13px; }
.cohort p { color: #506668; font-size: 11px; line-height: 1.48; margin: 4px 0 0; max-width: 585px; }
.cohort-status { border: 1px solid #bdccc2; border-radius: 999px; color: #536a64; font-size: 9px; font-weight: 700; letter-spacing: .07em; padding: 5px 7px; text-transform: uppercase; }
.cohort.active .cohort-status { border-color: #6e9e8e; background: var(--green); color: #fff; }
.expansion-note { grid-column: 1 / -1; border-top: 1px solid rgba(19,43,46,.22); margin: 0; padding-top: 17px; color: #506668; font-size: 11px; line-height: 1.55; }
.expansion-note b { color: var(--ink); }

.scrim { position: fixed; inset: 0; background: rgba(10,24,25,.45); backdrop-filter: blur(2px); z-index: 20; }
.detail-panel { position: fixed; z-index: 30; top: 0; right: 0; height: 100vh; width: min(620px, 94vw); background: var(--paper-2); box-shadow: -18px 0 50px rgba(8,28,29,.22); transform: translateX(105%); transition: transform .28s ease; overflow-y: auto; }
.detail-panel.open { transform: translateX(0); }
.detail-inner { min-height: 100%; }
.detail-hero { background: var(--ink); color: white; padding: 26px 34px 32px; position: relative; overflow: hidden; }
.detail-hero::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(220,234,167,.15); border-radius: 50%; right: -75px; bottom: -110px; box-shadow: 0 0 0 34px rgba(220,234,167,.035); }
.detail-nav { display: flex; justify-content: space-between; align-items: center; }
.record-id { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #acc2bd; }
.close-button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.24); background: transparent; color: #fff; font-size: 19px; line-height: 1; }
.detail-hero .badge { display: inline-block; margin-top: 31px; }
.detail-hero .badge.confirmed { background: rgba(220,234,167,.14); color: var(--lime); }
.detail-hero .badge.lead { background: rgba(217,154,82,.16); color: #f1c28d; }
.detail-hero h2 { font-family: "Newsreader", serif; font-size: 41px; line-height: 1.02; letter-spacing: -.03em; margin: 16px 0 8px; max-width: 470px; }
.detail-hero p { margin: 0; color: #b9ccc8; font-size: 13px; }
.detail-body { padding: 30px 34px 45px; }
.action-row { display: flex; gap: 9px; margin-bottom: 27px; }
.secondary-button { border: 1px solid #b9c6c2; background: white; color: var(--green); border-radius: 9px; padding: 9px 12px; font-size: 11px; font-weight: 700; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 28px; }
.fact { padding: 15px; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #738184; margin-bottom: 5px; }
.fact b { display: block; font-size: 12px; line-height: 1.4; }
.detail-section { margin-top: 27px; }
.detail-section h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .11em; color: #607476; margin: 0 0 10px; }
.detail-section > p { font-size: 13px; line-height: 1.65; color: var(--ink-2); margin: 0; }
.contribution-list { display: grid; gap: 9px; }
.contribution-list > div { border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px; background: #fff; }
.contribution-list b { font-size: 12px; }
.contribution-list p { margin: 4px 0 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.contribution-list a, .event a { color: var(--green); font-weight: 700; white-space: nowrap; }
.broader-question { border-left: 3px solid var(--green); padding-left: 15px; }
.unknown-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.unknown-list li { border-left: 3px solid #c9803c; background: #f7eee0; padding: 10px 12px; font-size: 11px; line-height: 1.45; }
.source-list { display: grid; gap: 8px; }
.source-link { display: grid; grid-template-columns: 34px minmax(0,1fr) 20px; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; text-decoration: none; transition: border-color .15s ease; }
.source-link:hover { border-color: var(--green); }
.source-icon { width: 32px; height: 32px; display: grid; place-items: center; background: var(--green-2); color: var(--green); border-radius: 8px; font-size: 10px; font-weight: 700; }
.source-link span { display: block; font-size: 9px; color: #728083; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.source-link b { display: block; font-size: 11px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.source-arrow { color: var(--green); }
.timeline { position: relative; margin-left: 5px; }
.timeline::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 4px; border-left: 1px solid #bac5c2; }
.event { position: relative; padding: 0 0 15px 24px; }
.event::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--green); }
.event time { display: block; font-size: 9px; color: #738184; text-transform: uppercase; letter-spacing: .06em; }
.event p { font-size: 11.5px; line-height: 1.45; margin: 3px 0 0; }
.checked-note { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 18px; color: #738184; font-size: 10px; }
.checked-note b { color: var(--ink); }
.subscribe-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; border-top: 1px solid var(--line); padding: 42px 8px 0; margin-top: 42px; scroll-margin-top: 25px; }
.subscribe-section h2 { font-family: "Newsreader", serif; font-size: 36px; margin: 8px 0; }
.subscribe-section p { color: var(--ink-2); line-height: 1.55; font-size: 15px; margin: 0 0 19px; }
.subscribe-section .secondary-button { display: inline-block; font-size: 13px; text-decoration: none; margin: 0 8px 8px 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: white; padding: 10px 14px; border-radius: 9px; z-index: 50; font-size: 11px; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .shell { padding: 0 20px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .snapshot { max-width: 560px; }
  .workspace { grid-template-columns: 240px minmax(0,1fr); }
  .project-list { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; gap: 28px; }
  .subscribe-section { grid-template-columns: 1fr; gap: 8px; }
  .policy-updates { grid-template-columns: 1fr; gap: 26px; }
  .expansion { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  .shell { padding: 0 13px 30px; }
  .privacy-pill { display: none; }
  .subscribe-link { font-size: 11px; padding: 7px 10px; }
  .hero { padding: 42px 4px 30px; }
  h1 { font-size: 48px; }
  .workspace { display: block; border-radius: 16px; }
  .filters { border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-key { display: none; }
  #selectFilters { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .results { padding: 24px 16px; }
  .method-grid { grid-template-columns: 1fr; gap: 18px; }
  .policy-updates { padding: 25px 20px; border-radius: 16px; }
  .policy-intro h2 { font-size: 32px; }
  .policy-fields > div { grid-template-columns: 1fr; gap: 4px; }
  .expansion { padding: 25px 20px; border-radius: 16px; }
  .expansion-intro h2 { font-size: 33px; }
  .cohort { grid-template-columns: 27px minmax(0,1fr); }
  .cohort-status { grid-column: 2; justify-self: start; }
  .detail-body, .detail-hero { padding-left: 22px; padding-right: 22px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
