:root {
  --paper: #f3eee4;
  --paper-soft: #f8f5ee;
  --paper-deep: #ebe3d6;
  --ink: #16120e;
  --ink-soft: rgba(22, 18, 14, 0.68);
  --line: rgba(22, 18, 14, 0.14);
  --line-soft: rgba(22, 18, 14, 0.08);
  --gold: #9a7a47;
  --gold-soft: rgba(154, 122, 71, 0.22);
  --panel: rgba(255, 252, 246, 0.72);
  --shadow: 0 24px 80px rgba(38, 27, 15, 0.07);
  --content-width: min(1440px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--paper);
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.76), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(214, 194, 161, 0.22), transparent 24%),
    linear-gradient(180deg, #fcf9f3 0%, var(--paper) 36%, #f0e9dc 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

.page-frame {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.page-frame::before {
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 0.5px),
      rgba(22, 18, 14, 0.05) calc(50% - 0.5px),
      rgba(22, 18, 14, 0.05) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      180deg,
      transparent 0,
      transparent 128px,
      rgba(22, 18, 14, 0.05) 128px,
      rgba(22, 18, 14, 0.05) 129px,
      transparent 129px
    );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.paper-glow,
.page-rules {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.paper-glow {
  background:
    radial-gradient(circle at 64% 24%, rgba(255, 255, 255, 0.76), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(154, 122, 71, 0.13), transparent 24%),
    radial-gradient(circle at 14% 54%, rgba(255, 255, 255, 0.62), transparent 22%);
}

.page-rules {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-position: center;
  background-size: clamp(72px, 7vw, 112px) clamp(72px, 7vw, 112px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), black 14%, black 84%, rgba(0, 0, 0, 0.3));
  opacity: 0.3;
}

.site-header,
.landing {
  margin: 0 auto;
  position: relative;
  width: var(--content-width);
  z-index: 1;
}

.site-header {
  padding-top: 28px;
}

.site-header__rule {
  background: linear-gradient(90deg, transparent 0%, rgba(22, 18, 14, 0.2) 14%, rgba(154, 122, 71, 0.5) 52%, rgba(22, 18, 14, 0.2) 86%, transparent 100%);
  height: 1px;
}

.landing {
  padding: 36px 0 96px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: calc(100vh - 120px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 104px) 0;
  position: relative;
}

.hero-copy__accent {
  background: linear-gradient(180deg, rgba(154, 122, 71, 0.7), rgba(154, 122, 71, 0));
  height: 164px;
  left: 0;
  opacity: 0.72;
  position: absolute;
  top: 0;
  width: 1px;
}

h1 {
  font-family: "Newsreader", serif;
  font-size: clamp(4.25rem, 9vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
  max-width: 8.4ch;
  text-wrap: balance;
}

h1 span {
  display: block;
  margin-left: clamp(20px, 4vw, 84px);
}

.hero-figure {
  align-self: stretch;
  min-height: 700px;
  padding: 18px 0 0;
  position: relative;
}

.hero-figure__frame,
.panel,
.horizon {
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), var(--panel));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.hero-figure__frame {
  border-radius: 40px 40px 220px 40px;
  height: 100%;
  min-height: 700px;
  overflow: hidden;
  position: relative;
}

.hero-figure__frame::before {
  background: linear-gradient(180deg, transparent 0%, rgba(22, 18, 14, 0.08) 22%, transparent 100%);
  content: "";
  height: 100%;
  left: 18%;
  position: absolute;
  top: 0;
  width: 1px;
}

.hero-figure__frame::after {
  border: 1px solid rgba(22, 18, 14, 0.12);
  border-radius: 999px;
  content: "";
  height: 78%;
  left: 52%;
  position: absolute;
  top: 10%;
  transform: translateX(-50%);
  width: 56%;
}

.hero-figure__wash {
  background:
    radial-gradient(circle at 52% 28%, rgba(255, 255, 255, 0.86), transparent 18%),
    radial-gradient(circle at 52% 40%, rgba(154, 122, 71, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34%, rgba(22, 18, 14, 0.06) 100%);
  inset: 0;
  position: absolute;
}

.hero-figure__orbital {
  border: 1px solid rgba(22, 18, 14, 0.12);
  border-radius: 50%;
  height: min(54vw, 520px);
  left: 50%;
  position: absolute;
  top: 18%;
  transform: translateX(-50%);
  width: min(54vw, 520px);
}

.hero-figure__orbital--inner {
  height: min(36vw, 356px);
  top: 28%;
  width: min(36vw, 356px);
}

.hero-figure__core {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 34%, rgba(154, 122, 71, 0.24) 62%, rgba(154, 122, 71, 0) 100%);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(255, 255, 255, 0.42);
  height: 180px;
  left: 50%;
  position: absolute;
  top: 39%;
  transform: translate(-50%, -50%);
  width: 180px;
}

.hero-figure__axis,
.ring-axis,
.stack-line {
  background: rgba(22, 18, 14, 0.12);
  position: absolute;
}

.hero-figure__axis--vertical {
  height: 100%;
  left: 50%;
  top: 0;
  width: 1px;
}

.hero-figure__axis--horizontal {
  height: 1px;
  left: 0;
  top: 39%;
  width: 100%;
}

.hero-figure__signal {
  border-radius: 999px;
  position: absolute;
}

.hero-figure__signal--one {
  background: linear-gradient(90deg, transparent, rgba(154, 122, 71, 0.68), transparent);
  height: 1px;
  left: 14%;
  top: 66%;
  width: 72%;
}

.hero-figure__signal--two {
  background: linear-gradient(180deg, transparent, rgba(22, 18, 14, 0.2), transparent);
  height: 42%;
  left: 73%;
  top: 12%;
  width: 1px;
}

.hero-figure__signal--three {
  border: 1px solid rgba(154, 122, 71, 0.22);
  bottom: 12%;
  height: 128px;
  left: 16%;
  width: 128px;
}

.editorial {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 24px;
}

.panel {
  border-radius: 32px;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.panel::before {
  background: linear-gradient(90deg, rgba(154, 122, 71, 0.56), transparent);
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 24px;
}

.panel__inner {
  height: 100%;
  position: relative;
}

.panel--ledger {
  grid-column: span 5;
}

.panel--chart {
  grid-column: span 7;
}

.panel--rings {
  grid-column: span 7;
}

.panel--stack {
  grid-column: span 5;
}

.panel__inner--ledger,
.panel__inner--chart,
.panel__inner--rings,
.panel__inner--stack {
  min-height: inherit;
}

.ledger-grid,
.ledger-column,
.ledger-pulse {
  position: absolute;
}

.ledger-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  inset: 28px;
  opacity: 0.58;
}

.ledger-column {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(22, 18, 14, 0.06));
  border: 1px solid rgba(22, 18, 14, 0.08);
  border-radius: 999px;
  bottom: 28px;
  left: 18%;
  top: 18%;
  width: 92px;
}

.ledger-column--offset {
  left: auto;
  right: 18%;
  top: 28%;
}

.ledger-pulse {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(154, 122, 71, 0.24) 44%, transparent 74%);
  border-radius: 50%;
  height: 184px;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 184px;
}

.chart-svg {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.chart-grid line {
  stroke: rgba(22, 18, 14, 0.14);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: url(#chartStroke);
  stroke-linecap: round;
  stroke-width: 3.2;
}

.chart-points circle {
  fill: var(--paper-soft);
  stroke: var(--ink);
  stroke-width: 2.2;
}

.chart-points circle:last-child {
  fill: var(--gold);
  stroke: var(--gold);
}

.panel__inner--rings {
  background:
    radial-gradient(circle at 46% 48%, rgba(255, 255, 255, 0.88), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(22, 18, 14, 0.03));
}

.ring-field {
  border: 1px solid rgba(22, 18, 14, 0.12);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
}

.ring-field--outer {
  height: min(52vw, 480px);
  width: min(52vw, 480px);
}

.ring-field--middle {
  height: min(38vw, 340px);
  width: min(38vw, 340px);
}

.ring-field--inner {
  background: radial-gradient(circle, rgba(154, 122, 71, 0.18), rgba(154, 122, 71, 0) 72%);
  height: 148px;
  width: 148px;
}

.ring-axis--vertical {
  height: 100%;
  left: 50%;
  top: 0;
  width: 1px;
}

.ring-axis--horizontal {
  height: 1px;
  left: 0;
  top: 52%;
  width: 100%;
}

.panel__inner--stack {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(22, 18, 14, 0.03)),
    radial-gradient(circle at top right, rgba(154, 122, 71, 0.12), transparent 34%);
}

.stack-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(22, 18, 14, 0.08);
  box-shadow: 0 18px 42px rgba(22, 18, 14, 0.06);
  position: absolute;
}

.stack-card--wide {
  border-radius: 32px;
  height: 42%;
  left: 10%;
  top: 18%;
  width: 74%;
}

.stack-card--tall {
  border-radius: 28px;
  height: 48%;
  right: 12%;
  top: 30%;
  width: 28%;
}

.stack-card--slim {
  background: linear-gradient(180deg, rgba(154, 122, 71, 0.12), rgba(255, 255, 255, 0.36));
  border-radius: 999px;
  bottom: 16%;
  height: 1px;
  left: 14%;
  width: 56%;
}

.stack-line--gold {
  background: linear-gradient(180deg, rgba(154, 122, 71, 0.7), transparent);
  height: 44%;
  left: 14%;
  top: 12%;
  width: 1px;
}

.stack-line--dark {
  background: linear-gradient(90deg, transparent, rgba(22, 18, 14, 0.14), transparent);
  height: 1px;
  left: 18%;
  top: 72%;
  width: 66%;
}

.horizon {
  border-radius: 40px 40px 180px 40px;
  margin-top: 24px;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.horizon__rule,
.horizon__disc {
  position: absolute;
}

.horizon__rule {
  background: linear-gradient(90deg, transparent, rgba(22, 18, 14, 0.14), rgba(154, 122, 71, 0.44), rgba(22, 18, 14, 0.14), transparent);
  height: 1px;
  left: 8%;
  right: 8%;
  top: 58%;
}

.horizon__disc {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68) 28%, rgba(154, 122, 71, 0.22) 56%, rgba(154, 122, 71, 0) 100%);
  border-radius: 50%;
  box-shadow: 0 0 140px rgba(255, 255, 255, 0.34);
  height: 260px;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 260px;
}

.horizon__disc--small {
  background: transparent;
  border: 1px solid rgba(22, 18, 14, 0.12);
  box-shadow: none;
  height: 440px;
  top: 80%;
  width: 780px;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-figure {
    min-height: 560px;
  }

  .hero-figure__frame {
    min-height: 560px;
  }

  .panel--ledger,
  .panel--chart,
  .panel--rings,
  .panel--stack {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  :root {
    --content-width: min(100vw - 24px, 100%);
  }

  .site-header {
    padding-top: 18px;
  }

  .landing {
    padding: 20px 0 56px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
    line-height: 0.96;
  }

  h1 span {
    margin-left: 0;
    margin-top: 0.08em;
  }

  .hero-figure,
  .hero-figure__frame {
    min-height: 460px;
  }

  .panel,
  .horizon {
    border-radius: 26px;
  }

  .horizon {
    min-height: 280px;
  }

  .horizon__disc {
    height: 180px;
    width: 180px;
  }

  .horizon__disc--small {
    height: 300px;
    width: 520px;
  }

  .stack-card--wide {
    left: 8%;
    width: 82%;
  }
}
