:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #656565;
  --line: #dddddd;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --accent: #c83e2f;
  --accent-dark: #922a22;
  --green: #21483a;
  --blue: #2459a7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "EB Garamond", Garamond, serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
  font-size: x-large;
}

#project_introduction {
  font-size: 50px;
  padding-top: 50px;
  font-weight: bolderl
}

.project_link {
  font-weight: bold;
  padding-top: 10px;
  color: #2459a7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-wordmark {
  font-optical-sizing: auto;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #2d2d2d;
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  align-items: center;
  min-height: calc(100vh - 79px);
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(64px, 11vw, 132px) clamp(20px, 5vw, 72px) clamp(44px, 8vw, 84px);
}

.hero-copy {
  max-width: 850px;
}

h1 {
  margin: 0;
  font-size: clamp(4.5rem, 15vw, 13rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 26px 0 0;
  max-width: 720px;
  color: var(--green);
  font-size: clamp(1.7rem, 4vw, 4.4rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 504px;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.06) 1px, transparent 1px);
  background-size: 53px 53px;
  display: grid;
  place-items: center;
  padding: 28px 24px 76px;
}

.crisis-graph {
  width: min(140%, 602px);
  height: auto;
  overflow: visible;
}

.graph-axis {
  stroke: rgba(17, 17, 17, 0.5);
  stroke-linecap: square;
  stroke-width: 1.25;
}

.graph-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2.6;
}

.graph-line-human {
  stroke: var(--accent);
}

.graph-line-values {
  stroke: var(--blue);
}

.graph-legend {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  color: #2f2f2f;
  font-size: 1.02rem;
  font-weight: 600;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot-values {
  background: var(--blue);
}

.legend-dot-human {
  background: var(--accent);
}

.content-section {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.content-section:nth-of-type(odd) {
  background: var(--surface);
}

.section-inner {
  max-width: 920px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-section h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.content-section p:not(.section-kicker) {
  margin: 24px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 340px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

}

@media (max-width: 520px) {
  .site-header {
    padding: 18px 18px;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding: 56px 18px 34px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .brand-wordmark {
    font-size: 2.3rem;
  }
}
