:root {
  --bg: #f5f1e8;
  --paper: #fffdf8;
  --ink: #171411;
  --muted: #6f665d;
  --line: rgba(32, 25, 18, 0.12);
  --soft-line: rgba(32, 25, 18, 0.08);
  --accent: #7d3c1f;
  --accent-dark: #4d2415;
  --accent-soft: #efe1d6;
  --olive: #68714a;
  --blue: #26384f;
  --green: #506547;
  --shadow: 0 24px 80px rgba(42, 31, 20, 0.11);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(125, 60, 31, 0.12), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(38, 56, 79, 0.12), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(23, 20, 17, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 20, 17, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

.nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 10;
  padding-top: 18px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 60px rgba(42, 31, 20, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fffaf1;
  background: var(--ink);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(23, 20, 17, 0.06);
}

.section-pad {
  padding: 84px 0;
}

.compact-top {
  padding-top: 34px;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
}

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

h1, h2 {
  font-family: Newsreader, Georgia, serif;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(54px, 8vw, 104px);
  max-width: 820px;
  margin-bottom: 24px;
}

.subtitle {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  color: var(--blue);
  font-weight: 700;
  max-width: 760px;
  letter-spacing: -0.04em;
}

.hero-text {
  color: var(--muted);
  font-size: 18px;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.button.primary {
  color: #fffaf1;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(248, 238, 225, 0.82));
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(125, 60, 31, 0.10);
  right: -110px;
  bottom: -110px;
}

.status-pill {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-card h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.hero-card p {
  color: var(--muted);
}

.signal-stack {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.signal-stack div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--soft-line);
  background: rgba(255, 253, 248, 0.76);
}

.signal-stack span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.signal-stack strong {
  font-size: 22px;
  color: var(--accent);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2, .method-grid h2, .next-card h2 {
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 16px;
}

.section-heading p:not(.eyebrow), .method-grid p, .next-card p {
  color: var(--muted);
  font-size: 17px;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.finding-card {
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(42, 31, 20, 0.06);
}

.finding-card.positive {
  background: linear-gradient(145deg, #fffdf8, #f4eadb);
}

.finding-card.neutral {
  background: linear-gradient(145deg, #fffdf8, #ecefe6);
}

.card-kicker {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.finding-card h3, .chart-card h3, .method-item h3, .name-grid h3 {
  font-size: 21px;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.finding-card p, .method-item p, .name-grid p {
  color: var(--muted);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  padding: 26px;
  background: var(--paper);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  min-height: 42px;
}

.metric strong {
  display: block;
  margin-top: 10px;
  font-family: Newsreader, Georgia, serif;
  font-size: 46px;
  letter-spacing: -0.04em;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.78);
}

.timeline-label {
  font-weight: 800;
  color: var(--accent);
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 10px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags span, .model-row span, .chips span {
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.8);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.alt-panel {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  background: rgba(23, 20, 17, 0.045);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.chart-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(42, 31, 20, 0.06);
}

.chart-card.wide {
  grid-column: span 2;
}

.chart-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.chart-title-row span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.bar-chart {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 70px;
  align-items: center;
  gap: 12px;
}

.bar-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.bar-track {
  height: 16px;
  background: rgba(23, 20, 17, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #c28252);
  width: var(--w);
}

.bar-value {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
  font-size: 13px;
}

.method-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.75);
}

.method-item > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fffaf1;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.name-grid article, .next-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 18px 55px rgba(42, 31, 20, 0.05);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.next-card {
  background: linear-gradient(145deg, #fffdf8, #ede4d8);
}

.model-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 34px 0 54px;
  border-top: 1px solid var(--line);
}

.footer p {
  color: var(--muted);
  margin-bottom: 0;
}

.footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid, .finding-grid, .metrics-band, .chart-grid, .method-grid, .name-grid {
    grid-template-columns: 1fr;
  }

  .chart-card.wide {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .nav {
    border-radius: 24px;
    align-items: flex-start;
  }

  .nav, .nav-links {
    flex-direction: column;
  }

  .nav-links {
    align-items: flex-start;
  }
}

@media (max-width: 580px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .section-pad {
    padding: 58px 0;
  }

  h1 {
    font-size: 52px;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bar-value {
    text-align: left;
  }

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