:root {
  --paper: #f4efe4;
  --paper-2: #ebe3d3;
  --ink: #161816;
  --forest: #173d2e;
  --forest-2: #0f2e23;
  --clay: #b74a2c;
  --mustard: #d79a2b;
  --sage: #6f7c55;
  --line: rgba(22, 24, 22, .16);
  --muted: #5f625b;
  --white: #fffdfa;
  --shadow: 0 24px 70px rgba(39, 29, 18, .10);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(183,74,44,.035), transparent 28%),
    radial-gradient(circle at 90% 35%, rgba(23,61,46,.035), transparent 25%),
    var(--paper);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 1000;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  z-index: 2000;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 56px; object-fit: contain; }
.brand-name { font-family: "Fraunces", Georgia, serif; font-weight: 700; line-height: .88; font-size: 18px; letter-spacing: -.02em; }

.primary-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.primary-nav a { text-decoration: none; }
.primary-nav a:not(.nav-cta):hover { color: var(--clay); }
.nav-cta { background: var(--clay); color: white; padding: 12px 17px; border-radius: 7px; box-shadow: 0 7px 20px rgba(183,74,44,.18); }

.menu-button { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-button span { display: block; width: 100%; height: 2px; background: var(--ink); margin: 6px 0; transition: .2s ease; }

.hero { padding: clamp(48px, 8vw, 96px) 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--forest); }
.eyebrow-light { color: #d9c7a0; }
.hero h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.04em; line-height: .98; margin: 0; }
.hero h1 { font-size: clamp(52px, 7.5vw, 104px); max-width: 820px; }
.hero h1 em { color: var(--clay); font-style: normal; }
.hero-lede { max-width: 720px; font-size: clamp(18px, 2vw, 23px); color: #44473f; margin: 26px 0 32px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 19px; border-radius: 6px; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: 12px; font-weight: 700; }
.button-primary { background: var(--clay); color: white; }
.button-secondary { border: 1px solid rgba(22,24,22,.4); }
.button:hover { transform: translateY(-1px); }

.hero-panel { background: var(--forest); color: white; padding: clamp(28px, 5vw, 54px); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-panel::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; right: -95px; top: -70px; }
.hero-symbol-wrap { width: 120px; height: 120px; background: var(--paper); display: grid; place-items: center; border-radius: 18px; margin-bottom: 28px; }
.hero-symbol { width: 64px; }
.hero-panel-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .22em; color: #d9c7a0; margin: 0 0 16px; }
.hero-panel-line { font-family: "Fraunces", Georgia, serif; font-size: clamp(32px, 4vw, 54px); line-height: 1; margin: 0; }
.hero-panel-line.accent { color: #f2d8cb; }
.hero-panel-small { border-top: 1px solid rgba(255,255,255,.2); margin: 24px 0 0; padding-top: 20px; color: rgba(255,255,255,.78); }

.category-strip { padding: 18px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.25); }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; text-align: center; }
.category-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #4f534b; padding: 10px; }

.section { padding: clamp(72px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.statement-block h2, .section-heading h2 { font-size: clamp(42px, 5vw, 72px); max-width: 800px; }
.statement-block > p:not(.eyebrow) { max-width: 540px; color: var(--muted); font-size: 18px; }
.body-copy { max-width: 720px; font-size: clamp(18px, 1.8vw, 22px); color: #353932; }
.body-copy p:first-child { margin-top: 0; }
.callout-line { font-family: "Fraunces", Georgia, serif; font-size: clamp(25px, 3vw, 38px); line-height: 1.12; color: var(--forest); margin-top: 34px; }

.section-dark { background: var(--forest-2); color: white; border-bottom: 0; }
.standard-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 90px); }
.standard-grid h2 { font-size: clamp(44px, 5.5vw, 78px); }
.standard-card { background: #f6f1e8; color: var(--ink); border-radius: var(--radius); padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); }
.standard-text { font-family: "Fraunces", Georgia, serif; font-size: clamp(25px, 2.7vw, 37px); line-height: 1.16; margin-top: 0; }
.standard-card p:not(.standard-text) { font-size: 17px; color: #44483f; }
.rule { width: 68px; height: 5px; background: var(--clay); margin: 28px 0; }

.section-heading { margin-bottom: 42px; }
.section-heading.centered { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-heading.centered h2 { margin-left: auto; margin-right: auto; }
.section-heading p:not(.eyebrow) { font-size: 18px; color: var(--muted); }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step-card { border-top: 1px solid var(--line); padding: 22px 4px 0; }
.step-number { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: white; font-size: 12px; font-weight: 700; margin-bottom: 18px; }
.step-card:nth-child(2) .step-number, .step-card:nth-child(5) .step-number { background: var(--clay); }
.step-card:nth-child(3) .step-number { background: var(--mustard); color: var(--ink); }
.step-card h3 { margin: 0 0 8px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.certificate-demo { margin-top: 48px; border: 1px solid rgba(22,24,22,.28); background: rgba(255,255,255,.46); border-radius: 16px; padding: 22px; display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; }
.certificate-mark-wrap { display: flex; align-items: center; gap: 14px; }
.certificate-mark { width: 43px; }
.certificate-label { margin: 0; font-size: 10px; letter-spacing: .15em; font-weight: 700; }
.certificate-title { margin: 0; font-size: 19px; font-weight: 700; }
.certificate-id span { display: block; color: var(--muted); font-size: 12px; }
.certificate-id strong { font-size: 16px; }
.text-button { border: 0; background: transparent; padding: 10px 0; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; cursor: pointer; color: var(--clay); }

.values-section { background: rgba(255,255,255,.24); }
.values-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 100px); }
.values-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values-list article { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-list h3 { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--forest); }
.values-list p { margin: 0; color: var(--muted); }
.values-list article:last-child { grid-column: 1 / -1; }

.roadmap-section { background: var(--paper-2); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.roadmap-card { background: rgba(255,255,255,.58); border: 1px solid rgba(22,24,22,.12); border-radius: 16px; padding: 28px; position: relative; }
.roadmap-card.active { background: var(--forest); color: white; }
.roadmap-number { font-family: "Fraunces", Georgia, serif; font-size: 56px; line-height: 1; color: rgba(23,61,46,.23); }
.roadmap-card.active .roadmap-number { color: rgba(255,255,255,.18); }
.roadmap-status { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; margin: 20px 0 8px; color: var(--clay); }
.roadmap-card.active .roadmap-status { color: #f2d8cb; }
.roadmap-card h3 { font-family: "Fraunces", Georgia, serif; font-size: 32px; margin: 0 0 12px; }
.roadmap-card p:last-child { margin-bottom: 0; color: var(--muted); }
.roadmap-card.active p:last-child { color: rgba(255,255,255,.78); }

.funding-section { background: #f7f2e9; }

.get-involved { background: var(--clay); color: white; }
.involved-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.get-involved h2 { font-size: clamp(46px, 5.5vw, 80px); }
.get-involved p:not(.eyebrow) { color: rgba(255,255,255,.82); font-size: 18px; max-width: 600px; }
.involved-actions { background: #fff8ee; color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.involved-actions a { display: grid; grid-template-columns: 1fr 30px; gap: 4px 16px; padding: 20px 22px; text-decoration: none; border-bottom: 1px solid var(--line); }
.involved-actions a:last-child { border-bottom: 0; }
.involved-actions a::after { content: "→"; grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 22px; }
.involved-actions strong { font-size: 17px; }
.involved-actions span { font-size: 13px; color: var(--muted); }
.involved-actions a:hover { background: #f3eadb; }

.site-footer { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); background: #efe7d8; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px; align-items: start; }
.footer-statement { font-family: "Fraunces", Georgia, serif; font-size: 24px; margin: 0; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 20px; }
.footer-nav a { font-size: 13px; text-decoration: none; }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; font-size: 11px; color: var(--muted); }

.verify-dialog { width: min(640px, calc(100% - 30px)); border: 0; border-radius: 20px; padding: 30px; background: #f8f2e7; color: var(--ink); box-shadow: 0 30px 120px rgba(0,0,0,.35); }
.verify-dialog::backdrop { background: rgba(14,18,15,.72); backdrop-filter: blur(3px); }
.verify-dialog h2 { font-size: clamp(34px, 6vw, 54px); margin-bottom: 24px; }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.record-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.record-grid > div { background: #f8f2e7; padding: 15px; }
.record-grid dt { font-size: 10px; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); font-weight: 700; }
.record-grid dd { margin: 5px 0 0; font-size: 14px; }
.status-pill { background: #ead59c; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 700; }
.dialog-note { color: var(--muted); font-size: 13px; margin-bottom: 0; }

@media (max-width: 960px) {
  .menu-button { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-cta { margin-top: 12px; border: 0; text-align: center; padding: 14px; }
  .hero-grid, .split-grid, .standard-grid, .values-grid, .involved-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .certificate-demo { grid-template-columns: 1fr 1fr; }
  .text-button { grid-column: 1 / -1; justify-self: start; }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 34px; height: 46px; }
  .brand-name { font-size: 15px; }
  .primary-nav { top: 72px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero-lede { font-size: 17px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-panel { padding: 26px; }
  .hero-symbol-wrap { width: 92px; height: 92px; }
  .hero-symbol { width: 50px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid span { font-size: 9px; padding: 8px 2px; }
  .section { padding: 70px 0; }
  .statement-block h2, .section-heading h2, .standard-grid h2, .get-involved h2 { font-size: clamp(40px, 12vw, 58px); }
  .body-copy { font-size: 17px; }
  .standard-card { padding: 24px; }
  .standard-text { font-size: 25px; }
  .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .step-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .step-card .step-number { grid-row: 1 / span 2; }
  .step-card h3, .step-card p { grid-column: 2; }
  .certificate-demo { grid-template-columns: 1fr; }
  .certificate-id { padding-top: 14px; border-top: 1px solid var(--line); }
  .values-list { grid-template-columns: 1fr; }
  .values-list article:last-child { grid-column: auto; }
  .roadmap-card { padding: 23px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .record-grid { grid-template-columns: 1fr; }
}

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

/* v0.2 mobile polish - quieter layout, stronger navigation */
.nav-backdrop { display: none; }

@media (max-width: 960px) {
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-button {
    position: relative;
    z-index: 103;
    border: 1px solid rgba(22,24,22,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.34);
  }

  .menu-button span {
    transform-origin: center;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-backdrop {
    position: fixed;
    inset: 82px 0 0;
    z-index: 98;
    background: rgba(12,20,16,.44);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  body.nav-open .nav-backdrop { display: block; }
  body.nav-open { overflow: hidden; }

  .primary-nav {
    position: fixed;
    z-index: 102;
    top: 94px;
    left: 14px;
    right: 14px;
    bottom: auto;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    background: var(--forest-2);
    color: var(--white);
    border: 0;
    border-radius: 18px;
    padding: 12px 16px 16px;
    box-shadow: 0 24px 70px rgba(8,18,13,.28);
  }

  .primary-nav a {
    padding: 15px 8px;
    border-bottom: 1px solid rgba(255,255,255,.11);
    font-family: "Fraunces", Georgia, serif;
    font-size: 23px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.02em;
  }

  .primary-nav a:not(.nav-cta):hover,
  .primary-nav a:not(.nav-cta):focus-visible { color: #efd5c8; }

  .primary-nav .nav-cta {
    margin-top: 14px;
    padding: 16px;
    background: var(--clay);
    color: white;
    border-radius: 10px;
    font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 36px, 1180px); }
  .header-inner { min-height: 76px; }
  .brand-mark { width: 35px; height: 48px; }
  .brand-name { font-size: 16px; }
  .nav-backdrop { inset: 76px 0 0; }
  .primary-nav { top: 88px; left: 12px; right: 12px; max-height: calc(100dvh - 102px); }

  .hero { padding: 52px 0 46px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(44px, 12.2vw, 58px); line-height: .99; max-width: 9.5ch; }
  .hero-lede { font-size: 16px; line-height: 1.55; margin: 22px 0 26px; }
  .button-row { gap: 10px; }
  .button { min-height: 48px; font-size: 11px; }

  .hero-panel {
    padding: 22px;
    border-radius: 14px;
    box-shadow: none;
  }
  .hero-panel::after,
  .hero-symbol-wrap,
  .hero-panel-kicker,
  .hero-panel-small { display: none; }
  .hero-panel-line { font-size: 29px; line-height: 1.03; }
  .hero-panel-line + .hero-panel-line { margin-top: 3px; }

  .category-strip { display: none; }

  .section { padding: 58px 0; }
  .split-grid,
  .standard-grid,
  .values-grid,
  .involved-grid { gap: 28px; }
  .statement-block h2,
  .section-heading h2,
  .standard-grid h2,
  .get-involved h2 { font-size: clamp(38px, 10.8vw, 50px); line-height: 1; }
  .eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: .17em; }
  .body-copy { font-size: 16px; }
  .body-copy p { margin: 0 0 16px; }
  .callout-line { font-size: 26px; margin-top: 28px; }

  .section-dark { padding-top: 60px; padding-bottom: 60px; }
  .standard-card {
    padding: 22px;
    border-radius: 14px;
    box-shadow: none;
  }
  .standard-text { font-size: 23px; }
  .standard-card p:not(.standard-text) { font-size: 15px; }
  .rule { margin: 22px 0; }

  .section-heading { margin-bottom: 26px; }
  .section-heading.centered { text-align: left; }
  .section-heading p:not(.eyebrow) { font-size: 16px; }

  .steps-grid { gap: 0; }
  .step-card {
    padding: 18px 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 42px 1fr;
    column-gap: 14px;
  }
  .step-card:first-child { border-top: 1px solid var(--line); }
  .step-number { width: 36px; height: 36px; margin: 0; }
  .step-card h3 { font-size: 17px; margin-bottom: 4px; }
  .step-card p { font-size: 13px; line-height: 1.5; }

  .certificate-demo {
    margin-top: 30px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255,255,255,.32);
    gap: 14px;
  }

  .values-list {
    border: 0;
    display: block;
  }
  .values-list article,
  .values-list article:last-child {
    padding: 17px 0;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .values-list article:last-child { border-bottom: 1px solid var(--line); }
  .values-list h3 { margin-bottom: 5px; }
  .values-list p { font-size: 14px; }

  .roadmap-grid { gap: 0; }
  .roadmap-card,
  .roadmap-card.active {
    background: transparent;
    color: var(--ink);
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 22px 0;
  }
  .roadmap-card:last-child { border-bottom: 1px solid var(--line); }
  .roadmap-number,
  .roadmap-card.active .roadmap-number {
    font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    color: var(--forest);
    font-weight: 700;
    letter-spacing: .12em;
  }
  .roadmap-status { margin: 8px 0 4px; }
  .roadmap-card.active .roadmap-status { color: var(--clay); }
  .roadmap-card h3 { font-size: 28px; margin-bottom: 7px; }
  .roadmap-card p:last-child,
  .roadmap-card.active p:last-child { color: var(--muted); font-size: 14px; }

  .involved-actions { border-radius: 12px; }
  .involved-actions a { padding: 17px 18px; }
  .involved-actions strong { font-size: 16px; }
  .involved-actions span { font-size: 12px; }

  .site-footer { padding-top: 38px; }
  .footer-grid { gap: 22px; }
  .footer-statement { font-size: 22px; }
}
