:root {
  --ink: #171714;
  --paper: #f1eee3;
  --paper-deep: #ded9c9;
  --signal: #ed5e35;
  --blue: #76c5c7;
  --muted: #625f56;
  --rule: rgba(23, 23, 20, 0.24);
  --page: min(1180px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 11%, rgba(118, 197, 199, 0.22), transparent 25rem),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero,
.section,
footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark span:first-child {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, 'Times New Roman', serif;
}

nav {
  display: flex;
  gap: clamp(1rem, 4vw, 3rem);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover,
footer a:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(21rem, 0.9fr);
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding-block: 4rem;
  gap: clamp(2rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 8.5vw, 8.5rem);
}

h1 em,
h2 em {
  color: var(--signal);
  font-weight: 400;
}

.dek {
  max-width: 38rem;
  margin: 2rem 0;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.text-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.universe-figure {
  margin: 0;
}

.universe-figure svg {
  display: block;
  width: 100%;
  filter: drop-shadow(0 1.5rem 2rem rgba(23, 23, 20, 0.08));
}

.orbit,
.arc {
  fill: none;
}

.orbit {
  stroke: rgba(23, 23, 20, 0.16);
  stroke-width: 1;
  stroke-dasharray: 3 8;
}

.arc {
  stroke-linecap: round;
}

.dark-energy {
  stroke: var(--signal);
  stroke-width: 18;
}

.dark-matter {
  stroke: var(--ink);
  stroke-width: 12;
}

.matter {
  stroke: var(--blue);
  stroke-width: 9;
}

.center-dot {
  fill: var(--ink);
}

.universe-figure figcaption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: -1.5rem;
  font-size: 0.72rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.universe-figure figcaption p {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 2px solid var(--ink);
}

.universe-figure figcaption p:first-child {
  border-color: var(--signal);
}

.universe-figure figcaption p:last-child {
  border-color: var(--blue);
}

.universe-figure figcaption strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  font-weight: 400;
}

.statement {
  padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100% - 1180px) / 2));
  color: var(--paper);
  background: var(--ink);
}

.statement p {
  max-width: 1120px;
  margin: auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.08;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--rule);
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 5vw, 5.5rem);
}

h3 {
  margin: 0 0 0.75rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
}

.evidence-list article {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-block: 2rem;
  border-top: 1px solid var(--rule);
}

.index {
  color: var(--signal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.8;
}

.evidence-list article div {
  display: grid;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(16rem, 1.2fr);
  gap: 2rem;
}

.evidence-list p,
.theory-grid p,
.expansion-copy > p:last-child,
.questions > p {
  margin: 0;
  color: var(--muted);
}

.expansion {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(25rem, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.expansion-copy h2 {
  margin-bottom: 2rem;
}

.expansion-chart {
  margin: 0;
}

.expansion-chart svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.axis,
.guide {
  stroke: var(--rule);
  stroke-width: 1;
}

.guide {
  stroke-dasharray: 5 7;
}

.history {
  fill: none;
  stroke: var(--signal);
  stroke-width: 7;
  stroke-linecap: round;
}

.turn {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 3;
}

.expansion-chart text {
  fill: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.expansion-chart .axis-label,
.expansion-chart figcaption {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.expansion-chart figcaption {
  margin-left: 3.5rem;
}

.theory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.theory-grid article {
  padding: 2rem;
  border-right: 1px solid var(--rule);
}

.theory-grid article:first-child {
  padding-left: 0;
}

.theory-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.theory-grid .symbol {
  min-height: 7rem;
  margin: 0 0 2rem;
  color: var(--signal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 5rem;
  line-height: 1;
}

.unknowns > h2 {
  max-width: 12ch;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.unknowns-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.w-figure {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2rem 0;
  border-block: 1px solid var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
}

.w-figure span {
  color: var(--signal);
  font-size: 4rem;
  font-style: italic;
}

.w-figure strong {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.questions ul {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.questions li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
}

.questions li::before {
  content: "→";
  margin-right: 0.75rem;
  color: var(--signal);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
}

footer p span {
  color: var(--signal);
}

footer a {
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 2rem, 42rem);
  }

  .hero,
  .expansion,
  .unknowns-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5rem;
  }

  .universe-figure {
    max-width: 32rem;
    margin-inline: auto;
  }

  .section-intro,
  .evidence-list article {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 0;
  }

  .evidence-list article {
    gap: 1.5rem;
  }

  .index {
    font-size: 3rem;
  }

  .theory-grid {
    grid-template-columns: 1fr;
  }

  .theory-grid article,
  .theory-grid article:first-child,
  .theory-grid article:last-child {
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .theory-grid article:last-child {
    border-bottom: 0;
  }

  .theory-grid .symbol {
    min-height: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 560px) {
  nav {
    gap: 0.8rem;
    font-size: 0.65rem;
  }

  .wordmark span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .evidence-list article div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .universe-figure figcaption strong {
    font-size: 1.35rem;
  }

  .expansion-chart text {
    font-size: 11px;
  }

  .w-figure {
    display: block;
  }

  .w-figure span,
  .w-figure strong {
    display: block;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  nav,
  .skip-link,
  .text-link,
  footer a {
    display: none;
  }

  body {
    background: #fff;
  }

  .hero {
    min-height: auto;
  }
}
