:root {
  --paper: #f7f4ed;
  --ink: #111111;
  --muted: #5f5a53;
  --soft: #d9d1c5;
  --line: #1c1a17;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 20%, rgba(17, 17, 17, 0.035), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 72%);
  font-family: "Inter", Arial, sans-serif;
}

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

.site-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px clamp(22px, 4vw, 64px) 54px;
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  line-height: 1;
  letter-spacing: 0.33em;
  white-space: nowrap;
}

.wordmark__sinew {
  font-weight: 700;
}

.wordmark__labs {
  font-weight: 400;
  color: #38342f;
}

.nav-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-cta {
  padding: 0 18px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 132px);
  padding-top: 34px;
  overflow: hidden;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(5.4rem, 10vw, 10.2rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: 0;
}

.hero__subcopy {
  max-width: 620px;
  margin: 30px 0 0;
  color: #35312d;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-cta {
  min-width: 148px;
  padding: 0 24px;
  color: #f8f5ee;
  background: var(--ink);
  border-color: var(--ink);
}

.hero__actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.decision-map {
  position: absolute;
  z-index: 1;
  right: clamp(-260px, -12vw, -90px);
  bottom: clamp(-112px, -8vw, -52px);
  width: min(76vw, 1080px);
  min-width: 760px;
  pointer-events: none;
}

.decision-map svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.origin-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: 0.8;
}

.map-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.05;
  stroke-linecap: round;
  opacity: 0.38;
}

.map-line--main {
  stroke-width: 1.45;
  opacity: 0.72;
}

.map-line--soft {
  stroke-dasharray: 2 8;
  opacity: 0.2;
}

.node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.node--large {
  fill: var(--ink);
}

.particles circle {
  fill: var(--ink);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .site-shell {
    padding-top: 26px;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 82px;
    overflow: visible;
  }

  h1 {
    font-size: clamp(4rem, 16vw, 6.8rem);
  }

  .decision-map {
    position: relative;
    right: auto;
    bottom: auto;
    width: 116%;
    min-width: 0;
    margin-top: 48px;
    margin-left: -16%;
  }

  .decision-map svg {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-nav {
    align-items: flex-start;
  }

  .wordmark {
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 62px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 4.5rem);
  }

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