:root {
  --abyss: #031018;
  --deep: #051f2e;
  --lagoon: #0a384d;
  --foam: #dbf5fa;
  --phosphor: #3de0d1;
  --lantern: #ffc747;
  --muted: #9ec7d1;
  --rust: #db6138;
  --panel: 240px;
  --pad: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--foam);
  font-family: Outfit, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--phosphor); }
img { max-width: 100%; display: block; }

.chart-shell {
  display: grid;
  grid-template-columns: var(--panel) 1fr;
  min-height: 100vh;
}

.margin-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 22px;
  background:
    linear-gradient(180deg, rgba(61, 224, 209, 0.08), transparent 28%),
    var(--deep);
  border-right: 1px solid rgba(61, 224, 209, 0.28);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.margin-kicker,
.kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lantern);
}

.wordmark {
  font-family: Fraunces, serif;
  font-size: 32px;
  line-height: 0.95;
  color: var(--foam);
  text-decoration: none;
}

.margin-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.margin-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.margin-nav a {
  color: var(--foam);
  text-decoration: none;
  border-bottom: 1px solid rgba(219, 245, 250, 0.16);
  padding-bottom: 8px;
  font-weight: 560;
}

.margin-nav a:hover { color: var(--phosphor); }

main { min-width: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  padding: 36px var(--pad) 20px;
  min-height: 78vh;
}

.collage {
  position: relative;
  height: 520px;
}

.shot {
  position: absolute;
  object-fit: cover;
  border: 3px solid rgba(219, 245, 250, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.shot-a { width: 68%; height: 62%; left: 0; top: 0; }
.shot-b { width: 42%; height: 38%; right: 0; top: 8%; }
.shot-c { width: 46%; height: 42%; left: 8%; bottom: 0; }
.shot-d { width: 34%; height: 34%; right: 4%; bottom: 6%; }

.hero-copy h1 {
  font-family: Fraunces, serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.96;
  font-weight: 560;
  margin: 8px 0 16px;
}

.lede { margin: 0; color: var(--muted); font-size: 18px; max-width: 36ch; }

.hunt, .charts { padding: 28px var(--pad) 10px; }

.intro { max-width: 28ch; margin-bottom: 22px; }
.intro h2, .sheet h2 {
  font-family: Fraunces, serif;
  font-weight: 560;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  margin: 8px 0 0;
}
.intro-right { margin-left: auto; text-align: right; }
.intro-left { margin-right: auto; text-align: left; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(61, 224, 209, 0.28);
}

.steps li:nth-child(even) { padding-left: 12%; }
.steps h3 { margin: 0 0 6px; font-size: 22px; }
.steps p { margin: 0; color: var(--muted); max-width: 62ch; }
.num {
  font-family: "IBM Plex Mono", monospace;
  color: var(--phosphor);
  font-size: 20px;
}

.peek {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.peek-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.peek-track figure {
  flex: 0 0 72%;
  scroll-snap-align: start;
  margin: 0;
}

.peek-track img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  background: var(--lagoon);
}

figcaption {
  margin-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lantern);
}

.peek-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--phosphor);
  background: transparent;
  color: var(--foam);
  font-size: 18px;
  cursor: pointer;
}

.sheet {
  margin: 36px var(--pad) 28px;
  padding: 28px;
  background: var(--foam);
  color: var(--abyss);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  border-radius: 18px 18px 0 0;
}

.sheet .kicker { color: var(--rust); }
.sheet a { color: #0a384d; }
.sheet p { color: #1a3340; }
.colophon {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .chart-shell { grid-template-columns: 1fr; }
  .margin-panel {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(61, 224, 209, 0.28);
  }
  .margin-nav { margin-top: 8px; }
  .hero, .sheet { grid-template-columns: 1fr; }
  .collage { height: 380px; }
  .hero { min-height: 0; padding-top: 24px; }
  .steps li:nth-child(even) { padding-left: 0; }
  .intro-right { margin-left: 0; text-align: left; }
  .peek-track figure { flex-basis: 84%; }
}
