@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --charcoal: #2D313A;
  --charcoal-deep: #22252C;
  --slate: #6E717D;
  --olive: #87A52A;      /* the logo's green: graphics, and text on charcoal */
  --olive-text: #58701A; /* the same hue, dark enough for small text on light backgrounds (5.6:1 on white) */
  --paper: #F6F7F4;
  --lime: #D4E7B1;       /* light lime: tints and the "we are here" marker */
  --lime-deep: #A3BE4A;
  --white: #FFFFFF;
  --muted: #5B5F6B;
  --line: rgba(45, 49, 58, .12);
  --gutter: clamp(16px, 5vw, 72px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 10px 16px; background: var(--charcoal); color: var(--white); border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0 var(--gutter);
}
.top-inner { max-width: var(--max); margin: 0 auto; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 30px; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.brand-name span { color: var(--olive-text); font-weight: 700; }

.nav-desktop { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-desktop a, .nav-mobile nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--charcoal); }
.nav-desktop a[aria-current="page"]:not(.nav-cta) { box-shadow: inset 0 -2px 0 var(--olive); padding-bottom: 4px; }
.nav-desktop .nav-cta {
  color: var(--white); background: var(--charcoal);
  padding: 9px 18px; border-radius: 8px;
}
.nav-desktop .nav-cta:hover, .nav-desktop .nav-cta[aria-current="page"] { color: var(--white); background: var(--charcoal-deep); }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 8px;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-mobile[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
.nav-mobile[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile nav {
  position: fixed; left: 0; right: 0; top: 68px;
  display: flex; flex-direction: column;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
  box-shadow: 0 18px 30px rgba(45, 49, 58, .08);
}
.nav-mobile nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--charcoal); }
.nav-mobile nav a[aria-current="page"] { color: var(--olive-text); }
.nav-mobile nav .nav-cta { border-bottom: 0; margin-top: 14px; text-align: center; background: var(--charcoal); color: var(--white); border-radius: 10px; }

/* ---------- shared pieces ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive-text);
}
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  border: 1.5px solid var(--charcoal);
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: rgba(45, 49, 58, .06); }
.btn.primary { background: var(--charcoal); color: var(--white); }
.btn.primary:hover { background: var(--charcoal-deep); }
.btn.light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn.light:hover { background: rgba(255, 255, 255, .1); }
.btn.light-fill { background: var(--olive); border-color: var(--olive); color: var(--charcoal-deep); }
.btn.light-fill:hover { background: #97B536; border-color: #97B536; }
.text-link { display: inline-block; margin-top: 28px; font-weight: 700; color: var(--olive-text); text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--slate); }

/* faint isometric grid that echoes the mark */
.grid-bg { position: relative; overflow: hidden; background: var(--paper); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(30deg, var(--line) 0 1px, transparent 1px 52px),
    repeating-linear-gradient(150deg, var(--line) 0 1px, transparent 1px 52px);
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 80%);
}
.grid-bg > .wrap { position: relative; }

/* ---------- home hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.025em; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 40px rgba(45, 49, 58, .12)); }

/* ---------- inner page hero ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) var(--gutter); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -.025em; max-width: 880px; }

/* ---------- bands ---------- */
.band { padding: clamp(64px, 9vw, 112px) var(--gutter); }
.band.dark { background: var(--charcoal); color: var(--white); }
.band.dark .eyebrow { color: var(--olive); }
.mission { display: flex; flex-direction: column; gap: 22px; }
.statement { font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; max-width: 980px; }
.statement-sub { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .75); max-width: 720px; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .75); font-size: 18px; max-width: 560px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) var(--gutter); }
.section.alt { background: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; max-width: 760px; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; }
.section-lede { font-size: 18px; color: var(--muted); }
.narrow .section-lede { margin: 16px 0 28px; }
.note { margin-top: 32px; color: var(--muted); }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: 16px;
}
.section.alt .card { background: var(--white); }
.card p { color: var(--muted); }
.card h2 { font-size: 20px; letter-spacing: -.01em; }
.card .icon { width: auto; height: 56px; margin-bottom: 8px; align-self: flex-start; }
.link-card { text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(45, 49, 58, .1); border-color: rgba(45, 49, 58, .2); }
.more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--olive-text); }
.more::after { content: " \2192"; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.split-text p { color: var(--muted); font-size: 18px; }
.split-text .eyebrow { color: var(--olive-text); font-size: 13px; }
a.inline { color: var(--olive-text); font-weight: 700; text-underline-offset: 3px; }
.split-text .text-link { margin-top: 4px; }
.split-art { display: flex; justify-content: center; }
.split-art img { width: min(100%, 320px); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principles li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--charcoal); }
.principles p { color: var(--muted); }

/* roadmap: three steps on one track; the first is where we are */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 9px; right: 0; top: 9px; height: 2px; background: linear-gradient(90deg, var(--olive), var(--lime) 60%, var(--line)); }
.roadmap li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; }
.roadmap li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; box-sizing: border-box;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--lime-deep);
}
.roadmap li.now::before { background: var(--olive); border-color: var(--olive); box-shadow: 0 0 0 6px rgba(135, 165, 42, .18); }
.roadmap p { color: var(--muted); max-width: 340px; }
.phase { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phase em { font-style: normal; letter-spacing: .08em; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: var(--charcoal); }

/* home: research and production */
.proof, .split.align-start { align-items: start; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--white); }
.facts strong { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-text); }
.facts span { color: var(--muted); font-size: 16px; line-height: 1.55; }
.pipeline { margin: clamp(44px, 6vw, 72px) 0 0; }
.pipeline img { width: 100%; }
.pipeline figcaption { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; text-align: center; }
.pipeline figcaption span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }

/* home: project cards (shown only when a project is published) */
.projects { display: grid; gap: 20px; }
.project { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
.project img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 3.5vw, 44px); }
.project-body h3 { font-size: clamp(24px, 2.4vw, 30px); }
@media (max-width: 920px) { .project { grid-template-columns: 1fr; } .project img { height: auto; } }
.project-body p { color: var(--muted); }
.project-body .text-link { margin-top: 8px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* small pieces */
.traits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.traits.two { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.traits li { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 2px solid var(--olive); }
.traits strong { font-size: 18px; }
.traits span { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.status-line { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--slate); }

/* research areas */
.area { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 88px); }
.area-head { display: flex; flex-direction: column; gap: 12px; }
.area-head .icon { width: auto; height: 64px; margin-bottom: 8px; align-self: flex-start; }
.area-head { position: sticky; top: 100px; align-self: start; }
.area-body { display: flex; flex-direction: column; gap: 34px; max-width: 720px; }
.qa { display: flex; flex-direction: column; gap: 12px; }
.qa > p { font-size: 18px; color: var(--muted); }
.qa:first-child > p { font-size: clamp(19px, 1.7vw, 21px); color: var(--charcoal); line-height: 1.55; }
.area-body h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.learned { padding: 22px 24px; border-left: 3px solid var(--olive); background: rgba(212, 231, 177, .35); border-radius: 0 12px 12px 0; }
.learned > p { color: var(--charcoal); }
.learned h3 { color: var(--olive-text); }
.aside { font-size: 16px; color: var(--muted); font-style: italic; }
.intro-band { padding-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.research-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px 64px; align-items: center; }
.research-intro p { color: var(--muted); font-size: 17px; max-width: 680px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; }
.jump a:hover { border-color: var(--charcoal); }
.ticks { display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li strong { color: var(--charcoal); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px;
  background: var(--olive); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* company */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 48px); border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.pillar h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }

/* responsibility */
.commitments { display: flex; flex-direction: column; }
.commitments li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.commitments li:last-child { border-bottom: 1px solid var(--line); }
.commitments .num { font-size: 15px; padding-top: 8px; }
.commitments h2 { font-size: clamp(24px, 2.6vw, 30px); }
.commitments p { margin-top: 10px; color: var(--muted); font-size: 18px; max-width: 720px; }
.commitments a, .note a { color: var(--olive-text); font-weight: 700; }

/* research notes (built only once a note is published) */
.note-list { display: flex; flex-direction: column; }
.note-list a { display: flex; flex-direction: column; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; }
.note-list a:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.note-list time, .note-date { font-size: 14px; font-weight: 700; color: var(--slate); }
.note-list h2 { font-size: 24px; }
.note-list p { color: var(--muted); }
.note h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 8px; }
.note .eyebrow a { text-decoration: none; }
.note .note-date { margin-bottom: 36px; }

/* privacy */
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose strong { color: var(--charcoal); }
.prose a { color: var(--olive-text); font-weight: 700; }

.notfound { min-height: 64vh; display: flex; align-items: center; }

/* ---------- footer ---------- */
.foot { background: var(--charcoal-deep); color: rgba(255, 255, 255, .72); padding: 64px var(--gutter) 28px; font-size: 15px; }
.foot-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.foot-grid > div > a { padding: 4px 0; }
.mark-chip { display: inline-flex; padding: 6px; border-radius: 9px; background: var(--paper); }
.foot .mark-chip img { width: 26px; }
.foot h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot .brand { color: var(--white); }
.foot .brand-name span { color: var(--olive); }
.foot-brand p { margin-top: 6px; }
.foot-base {
  max-width: var(--max); margin: 48px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: 14px;
}
.foot a:focus-visible { outline-color: var(--white); }
.foot-base a { padding: 4px 0; }

/* ---------- responsive ---------- */
/* a gentle entrance for the hero only */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-text > *, .page-hero .wrap > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .12s; }
.hero-text > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: .18s; }

@media (max-width: 1080px) {
  .cards.four, .traits { grid-template-columns: repeat(2, 1fr); }
  .research-intro { grid-template-columns: 1fr; }
  .jump { justify-content: flex-start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .hero-grid, .split, .area, .two-col { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; }
  .split-art img { width: min(100%, 300px); }
  .cards.three, .principles { grid-template-columns: 1fr; }
  .area-head { position: static; }
  .roadmap { grid-template-columns: 1fr; gap: 32px; padding-left: 40px; }
  .roadmap::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--olive), var(--lime) 60%, var(--line)); }
  .roadmap li { padding-top: 0; }
  .roadmap li::before { left: -40px; top: 2px; }
}
@media (max-width: 560px) {
  .cards.four, .traits, .traits.two, .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .pipeline figcaption span { font-size: 11px; letter-spacing: .1em; }
  .commitments li { grid-template-columns: 1fr; gap: 6px; }
  .btn { width: 100%; }
  .brand-name { font-size: 14px; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link-card, .nav-mobile summary span, .btn { transition: none; }
  .link-card:hover { transform: none; }
  .hero-text > *, .page-hero .wrap > * { animation: none; }
}
