@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-500.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-600.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/outfit-700.woff2") format("woff2");
}

:root {
  --paper: #eef1ea;
  --ink: #151c16;
  --moss: #3a4a34;
  --mist: #c5cebc;
  --muted: #4d5848;
  --leaf: #dfe6d4;
  --btn-fg: #f4f7ef;
  --ref-bg: #151c16;
  --ref-ink: #e8ece4;
  --ref-mute: #b7c2b0;
  --radius: 2px;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --paper: #0e1410;
    --ink: #e6ece4;
    --moss: #8fa37a;
    --mist: #2a3328;
    --muted: #9aa894;
    --leaf: #172016;
    --btn-fg: #12180f;
    --ref-bg: #070a08;
    --ref-ink: #e6ece4;
    --ref-mute: #8b9684;
  }
}

html { color-scheme: light; scroll-behavior: smooth; }
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1410;
  --ink: #e6ece4;
  --moss: #8fa37a;
  --mist: #2a3328;
  --muted: #9aa894;
  --leaf: #172016;
  --btn-fg: #12180f;
  --ref-bg: #070a08;
  --ref-ink: #e6ece4;
  --ref-mute: #8b9684;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.55;
  font-size: 1.0625rem;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.25rem;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
}

.nav-name {
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.theme-btn {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0;
  margin-right: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.theme-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nav-cta {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  background: var(--moss);
  color: var(--btn-fg);
  border-radius: var(--radius);
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-cta:active { transform: translateY(1px); }

.hero {
  display: grid;
}

.hero-copy {
  padding: 1.8rem 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
}

.kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 14ch;
  overflow-wrap: break-word;
}

.lede {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.who-line {
  margin: 0;
  color: var(--moss);
  font-size: 0.95rem;
  font-weight: 500;
}
.who-line a,
.firm {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.who-line a:hover,
.firm:hover { color: var(--moss); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  background: var(--moss);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--moss);
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible,
.nav-cta:focus-visible,
.nav-name:focus-visible,
.foot a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.hero-photo {
  margin: 0;
  background: var(--moss);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  min-height: 34vh;
  max-height: 42vh;
}

.path,
.help,
.way,
.talk,
.ref,
.cases,
.data,
.side {
  padding: 4.5rem 1.25rem;
}

.path h2,
.help h2,
.fit h2,
.way h2,
.talk h2,
.cases h2,
.data h2,
.side h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.trust {
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  color: var(--muted);
  font-size: 0.98rem;
}
.trust p { margin: 0; max-width: 50rem; }

.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.timeline li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--mist);
}
.when {
  font-weight: 600;
  color: var(--moss);
  font-size: 0.92rem;
}
.timeline h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
}
.timeline p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.help { border-top: 1px solid var(--mist); }
.help-intro {
  margin: 0 0 1.8rem;
  color: var(--muted);
  max-width: 36ch;
}
.modes article {
  max-width: 34rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--mist);
}
.modes article:nth-child(2) { margin-left: 0; }
.modes h3 { margin: 0 0 0.4rem; font-size: 1.12rem; }
.modes p { margin: 0; color: var(--muted); max-width: 46ch; }
.mode-late { opacity: 0.78; }
.mode-late h3 { font-weight: 500; }

.fit {
  display: grid;
  gap: 2rem;
  padding: 4rem 1.25rem;
  background: var(--leaf);
}
.fit p { margin: 0; color: var(--muted); max-width: 36ch; }

.ref {
  background: var(--ref-bg);
  color: var(--ref-ink);
}
.ref blockquote {
  margin: 0 0 1.4rem;
  padding: 0;
  max-width: 38rem;
}
.ref blockquote p {
  margin: 0 0 0.9rem;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.ref blockquote footer {
  color: var(--ref-mute);
  font-size: 0.95rem;
}
.ref-note {
  margin: 0;
  max-width: 42ch;
  color: var(--ref-mute);
}

.cases { border-top: 1px solid var(--mist); }
.cases article {
  max-width: 38rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--mist);
}
.cases h3 { margin: 0 0 0.45rem; font-size: 1.12rem; }
.cases p { margin: 0 0 0.55rem; color: var(--muted); max-width: 50ch; }
.cases p:last-child { margin-bottom: 0; }

.steps {
  margin: 0;
  padding: 0 0 0 1.2rem;
  max-width: 44rem;
  color: var(--muted);
}
.steps li { margin: 0.45rem 0; }

.data,
.side {
  border-top: 1px solid var(--mist);
}
.data p,
.side p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.talk {
  padding: 5rem 1.25rem 4.5rem;
}
.talk p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 36ch;
}
.talk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 1.4rem 1.25rem 2rem;
  border-top: 1px solid var(--mist);
  color: var(--muted);
  font-size: 0.92rem;
}
.foot p { margin: 0; }
.foot a {
  margin-right: 1rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.legal h1 { font-size: 2rem; letter-spacing: -0.03em; }
.legal h2 { font-size: 1.05rem; margin-top: 2rem; }
.legal p { color: var(--muted); }
.legal a { color: var(--moss); }

.miss {
  min-height: 70dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.25rem;
}
.miss h1 { max-width: none; }

html[data-theme="dark"] .hero-photo img {
  filter: saturate(0.78) contrast(1.06);
}

@media (min-width: 860px) {
  .nav { padding: 0 2.5rem; height: 68px; }
  .hero {
    grid-template-columns: minmax(22rem, 1fr) minmax(20rem, 1.05fr);
    min-height: min(72dvh, 40rem);
  }
  .hero-copy {
    padding: 2.5rem 3rem 2.8rem 2.5rem;
    justify-content: center;
  }
  html[data-theme="dark"] .hero-copy { order: 2; }
  html[data-theme="dark"] .hero-photo { order: 1; }
  .hero-photo img { min-height: 100%; max-height: none; }
  .path, .help, .talk, .way, .ref, .fit, .cases, .data, .side { padding-left: 2.5rem; padding-right: 2.5rem; }
  .timeline li {
    grid-template-columns: 8.5rem 1fr;
    align-items: start;
  }
  .modes article:nth-child(2) { margin-left: 10vw; }
  .modes article:nth-child(3) { margin-left: 4vw; }
  .fit { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .foot { padding-left: 2.5rem; padding-right: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-cta { transition: none; }
}
