:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --ink: #20201d;
  --muted: #6e6a61;
  --line: #dfdacf;
  --line-strong: #c7c0b3;
  --sage: #697f68;
  --blue: #4d6f86;
  --gold: #b18745;
  --shadow: 0 18px 50px rgba(55, 48, 38, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(32, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 29, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 218, 207, 0.84);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 760;
}

.brand img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--ink);
  color: var(--ink);
}

.page-hero {
  padding: 92px 0 74px;
}

.eyebrow,
.section-kicker,
.card-kicker {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family:
    Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.6vw, 5.4rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.lede {
  max-width: 760px;
  color: #38362f;
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 650;
}

.button:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

section {
  border-top: 1px solid var(--line);
  padding: 76px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 34px;
}

.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.38fr);
  gap: 42px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 20px;
}

.copy-stack p,
.body-copy p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.callout {
  border-left: 3px solid var(--sage);
  padding-left: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
.project-card,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.card p,
.project-card p,
.proof-card p,
.link-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.side-panel h2,
.side-panel h3 {
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 760;
  line-height: 1.2;
}

.side-panel p {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  background: var(--line);
}

.list li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
}

.problem-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: var(--muted);
}

.project-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.project-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: var(--surface);
}

.project-card:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.project-card img {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: contain;
  padding: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.project-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-card {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.link-card strong {
  display: block;
  margin-bottom: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-head,
  .body-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .two-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 10px 18px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .page-hero {
    padding: 68px 0 58px;
  }

  section {
    padding: 58px 0;
  }

  .card-grid,
  .two-grid,
  .project-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
