:root {
  --bone: #eee8dc;
  --bone-deep: #dfd5c7;
  --soft-white: #faf7f0;
  --graphite: #20201e;
  --graphite-muted: #5d5b55;
  --stone: #cfc6b8;
  --copper: #ad6636;
  --copper-deep: #7d4527;
  --pale-blue: #c7dce6;
  --pale-blue-deep: #9fbfcd;
  --rule: rgba(32, 32, 30, 0.14);
  --shadow: 0 24px 70px rgba(49, 44, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(32, 32, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 30, 0.035) 1px, transparent 1px),
    var(--bone);
  background-size: 44px 44px;
  color: var(--graphite);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--rule);
  background: rgba(238, 232, 220, 0.82);
  backdrop-filter: blur(18px);
}

.brand-mark,
.desktop-nav,
.header-action,
.site-footer,
.section-kicker,
.primary-action,
.secondary-action {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark,
.section-kicker,
.site-footer > div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-wordmark {
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-logo,
.footer-logo {
  display: block;
  height: auto;
  filter: brightness(0) saturate(100%);
}

.brand-logo {
  width: clamp(96px, 8.6vw, 112px);
}

.footer-logo {
  width: 96px;
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  color: var(--graphite-muted);
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--graphite);
}

.header-action {
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: var(--soft-white);
  white-space: nowrap;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  min-height: calc(100svh - 156px);
  padding: clamp(44px, 5vw, 64px) clamp(20px, 4vw, 64px) 26px;
}

.hero-copy {
  align-self: center;
  max-width: 780px;
}

.section-kicker {
  margin-bottom: 28px;
  color: var(--copper-deep);
  text-transform: uppercase;
}

.kicker-line {
  width: 42px;
  height: 1px;
  background: var(--copper);
}

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

h1,
h2 {
  max-width: 760px;
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(42px, 4.85vw, 68px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(32px, 3.35vw, 52px);
  line-height: 1.02;
}

h3 {
  color: var(--graphite);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  color: var(--graphite-muted);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

.hero-lede {
  width: min(92%, 640px);
  margin-top: 24px;
  color: var(--graphite-muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.48;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--graphite);
}

.primary-action {
  background: var(--copper);
  color: var(--soft-white);
  border-color: var(--copper);
}

.secondary-action {
  background: rgba(250, 247, 240, 0.58);
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: clamp(380px, 34vw, 430px);
  border: 1px solid var(--rule);
  background:
    radial-gradient(circle at 78% 18%, rgba(199, 220, 230, 0.76), transparent 30%),
    linear-gradient(145deg, rgba(250, 247, 240, 0.92), rgba(223, 213, 199, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--rule);
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  background: var(--soft-white);
}

.organism-map {
  position: absolute;
  inset: 72px 36px 152px;
  border: 1px solid rgba(32, 32, 30, 0.09);
  background:
    linear-gradient(rgba(32, 32, 30, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 30, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
}

.node {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  background: var(--soft-white);
  box-shadow: 0 0 0 8px rgba(199, 220, 230, 0.34);
}

.node-a {
  left: 14%;
  top: 22%;
}

.node-b {
  left: 38%;
  top: 16%;
}

.node-c {
  left: 68%;
  top: 31%;
}

.node-d {
  left: 24%;
  top: 64%;
}

.node-e {
  left: 54%;
  top: 58%;
}

.node-f {
  left: 78%;
  top: 73%;
}

.path {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: var(--copper);
}

.path-one {
  left: 18%;
  top: 28%;
  width: 55%;
  transform: rotate(8deg);
}

.path-two {
  left: 28%;
  top: 67%;
  width: 52%;
  transform: rotate(-22deg);
}

.path-three {
  left: 41%;
  top: 22%;
  width: 42%;
  transform: rotate(46deg);
}

.signal-panel {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.65fr 1.1fr;
  gap: 10px;
  align-items: end;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--rule);
  background: rgba(250, 247, 240, 0.76);
}

.signal-panel span {
  display: block;
  min-height: 20px;
  background: linear-gradient(180deg, var(--pale-blue), var(--pale-blue-deep));
}

.signal-panel span:nth-child(1) {
  height: 42px;
}

.signal-panel span:nth-child(2) {
  height: 70px;
}

.signal-panel span:nth-child(3) {
  height: 54px;
  background: linear-gradient(180deg, #d29a70, var(--copper));
}

.signal-panel span:nth-child(4) {
  height: 32px;
}

.signal-panel span:nth-child(5) {
  height: 62px;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
  background: rgba(250, 247, 240, 0.48);
}

.proof-item {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 142px;
  padding: 28px clamp(20px, 4vw, 64px);
  border-right: 1px solid var(--rule);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-label {
  display: block;
  max-width: 220px;
  color: var(--graphite);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: 0;
}

.proof-item p {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.45;
}

.support-item {
  gap: 14px;
}

.support-label {
  color: var(--graphite-muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.support-item a {
  display: inline-block;
  width: fit-content;
}

.support-item a:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 6px;
}

.support-item img {
  display: block;
  width: min(100%, 186px);
  height: auto;
  filter: sepia(0.12);
}

.split-section,
.platform-section,
.notes-section {
  scroll-margin-top: 92px;
  padding: clamp(72px, 10vw, 124px) clamp(20px, 4vw, 64px);
}

.site-footer {
  scroll-margin-top: 92px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(36px, 7vw, 96px);
}

.section-copy {
  max-width: 560px;
  margin-top: 24px;
}

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

.principle-card {
  display: flex;
  min-height: 312px;
  padding: 22px;
  border: 1px solid var(--rule);
  background: rgba(250, 247, 240, 0.66);
  flex-direction: column;
}

.card-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--copper);
  color: var(--copper-deep);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.principle-card h3 {
  max-width: 220px;
  margin-top: auto;
}

.principle-card p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--graphite);
  color: var(--soft-white);
}

.platform-section h2,
.platform-section h3 {
  color: var(--soft-white);
}

.platform-section p {
  color: rgba(250, 247, 240, 0.72);
}

.platform-section .section-kicker {
  color: var(--pale-blue);
}

.platform-section .kicker-line {
  background: var(--pale-blue);
}

.platform-wedge {
  margin-top: 22px;
  padding-left: 16px;
  border-left: 1px solid var(--copper);
  color: var(--pale-blue);
  font-size: 14px;
  font-weight: 650;
}

.platform-board {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 420px;
  border: 1px solid rgba(250, 247, 240, 0.18);
  background: #292926;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.board-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-right: 1px solid rgba(250, 247, 240, 0.14);
}

.board-sidebar span {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(250, 247, 240, 0.11);
  color: rgba(250, 247, 240, 0.72);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1;
}

.board-sidebar span:nth-child(1) {
  background: var(--pale-blue);
  color: var(--graphite);
}

.board-main {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  padding: 22px;
}

.board-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(250, 247, 240, 0.12);
  background:
    linear-gradient(rgba(250, 247, 240, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 247, 240, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.board-chart span {
  display: block;
  background: var(--pale-blue);
}

.board-chart span:nth-child(1) {
  height: 34%;
}

.board-chart span:nth-child(2) {
  height: 72%;
}

.board-chart span:nth-child(3) {
  height: 54%;
  background: var(--copper);
}

.board-chart span:nth-child(4) {
  height: 86%;
}

.board-rows {
  display: grid;
  gap: 10px;
}

.board-rows span {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(250, 247, 240, 0.11);
  color: rgba(250, 247, 240, 0.72);
  font-size: 13px;
  line-height: 1.25;
}

.notes-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(28px, 6vw, 84px);
}

.note-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.note-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  min-height: 120px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.note-rule {
  width: 100%;
  height: 1px;
  margin-top: 8px;
  background: var(--copper);
}

.note-lines {
  display: grid;
  align-content: start;
  gap: 12px;
}

.note-item h3 {
  max-width: 520px;
}

.note-item p {
  max-width: 620px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--rule);
  background: var(--soft-white);
}

.site-footer a {
  color: var(--copper-deep);
}

.site-footer > div {
  max-width: 760px;
}

.site-footer strong,
.site-footer small {
  display: block;
}

.site-footer small {
  margin-top: 6px;
  color: var(--graphite-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-section,
  .split-section,
  .platform-section,
  .notes-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .proof-band,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-board {
    grid-template-columns: 140px 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand-mark span:last-child {
    max-width: none;
  }

  .header-action {
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero-section,
  .split-section,
  .platform-section,
  .notes-section {
    padding-inline: 16px;
  }

  .headline-line {
    height: clamp(42px, 13vw, 58px);
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 390px;
  }

  .organism-map {
    inset: 64px 18px 136px;
  }

  .proof-band,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .platform-board {
    grid-template-columns: 1fr;
  }

  .board-sidebar {
    display: none;
  }

  .note-item {
    grid-template-columns: 46px 1fr;
  }
}
