:root {
  --paper: #f7f2e3;
  --paper-2: #efe7cf;
  --ink: #14211a;
  --muted: #545f52;
  --money: #0f7a0a;
  --money-hi: #0b6107;
  --forest: #0a2e18;
  --forest-2: #103d22;
  --gold: #d3ae48;
  --cream: #f7f2e3;
  --cream-dim: #c2cdb9;
  --up: #58e06a;
  --down: #ff8f8f;
  --red: #c8202c;
  --display: "Besley", Georgia, serif;
  --body: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 19px/1.55 var(--body);
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  z-index: 50;
}
.skip:focus {
  left: 8px;
}
[hidden] {
  display: none !important;
}

/* ticker tape */
.tape {
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.02em;
}
.tape-track {
  display: flex;
  width: max-content;
  animation: tape 42s linear infinite;
}
.tape:hover .tape-track {
  animation-play-state: paused;
}
.tape-set {
  display: flex;
  gap: 38px;
  padding: 11px 19px;
  white-space: nowrap;
}
.tape-set > span + span::before {
  content: "\25C6";
  color: var(--gold);
  margin-right: 38px;
  font-size: 9px;
  vertical-align: 1px;
}
.tape b {
  color: var(--gold);
  font-weight: 500;
}
@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

/* masthead */
.masthead {
  padding: 26px 0 18px;
  text-align: center;
}
.nameplate {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font: 900 clamp(40px, 8.2vw, 92px) / 1 var(--display);
  letter-spacing: -0.025em;
}
.nameplate img {
  width: 0.86em;
  height: 0.86em;
}
.dateline {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-block: 1px solid var(--ink);
  box-shadow: 0 -3px 0 var(--paper), 0 -4px 0 var(--ink);
}
.dateline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  font-size: 16px;
}
.edition {
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
}
.dateline-links {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}
.dateline-links a:not(.btn) {
  text-decoration: none;
}
.dateline-links a:not(.btn):hover {
  text-decoration: underline;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--money);
  background: var(--money);
  color: #fff;
  font: 700 17px/1.2 var(--display);
  text-decoration: none;
  padding: 13px 24px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover {
  background: var(--money-hi);
  border-color: var(--money-hi);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 15px;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 19px;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}
.btn-light:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.cta-center {
  justify-content: center;
  margin-top: 40px;
}

/* type */
.kicker {
  font: 700 14px/1.3 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--money);
  margin-bottom: 14px;
}
h1 {
  font: 900 clamp(44px, 7.1vw, 88px) / 1.03 var(--display);
  letter-spacing: -0.028em;
}
.headline {
  font: 900 clamp(32px, 4.6vw, 54px) / 1.08 var(--display);
  letter-spacing: -0.02em;
  max-width: 21em;
  margin-bottom: 34px;
}
.marked {
  display: inline-block;
  border: 0.055em solid var(--red);
  padding: 0 0.1em;
  line-height: 1;
  white-space: nowrap;
  color: var(--money);
}
.marked-light {
  color: var(--up);
  border-color: #f0545f;
}
.deck {
  font-size: clamp(21px, 2.3vw, 26px);
  line-height: 1.35;
  margin-top: 22px;
  max-width: 30em;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 72px);
}
.hero-copy {
  min-width: 0;
}
.seal {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.seal img {
  width: 76%;
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--gold), 0 18px 40px rgba(10, 46, 24, 0.32);
}
.seal-text {
  position: absolute;
  inset: 0;
  animation: spin 48s linear infinite;
}
.seal-text text {
  font: 700 21px var(--display);
  letter-spacing: 0.06em;
  fill: var(--forest);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* certificate */
.certificate {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--paper-2);
  border: 4px double var(--ink);
}
.cert-label {
  flex-basis: 100%;
  font: 700 12px/1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.ca {
  flex: 1 1 280px;
  min-width: 0;
  font: 500 clamp(14px, 1.45vw, 17px) / 1.35 var(--mono);
  overflow-wrap: anywhere;
}
.certificate-wide {
  margin-top: 36px;
}

/* live board */
.board {
  background: var(--forest);
  color: var(--cream);
  padding-block: 36px 40px;
}
.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
}
.board-head h2 {
  font: 900 28px/1.15 var(--display);
}
.board-head p {
  font-size: 16px;
  color: var(--cream-dim);
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(247, 242, 227, 0.3);
}
.stats > div {
  padding: 16px 12px 4px 0;
}
.stats > div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(247, 242, 227, 0.18);
}
.stats dt {
  font-size: 15px;
  color: var(--cream-dim);
}
.stats dd {
  margin: 0;
  font: 500 clamp(19px, 2vw, 24px) / 1.3 var(--mono);
}
.is-up {
  color: var(--up);
}
.is-down {
  color: var(--down);
}
.flow {
  margin-top: 22px;
}
.flow-labels {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: var(--cream-dim);
  margin-bottom: 6px;
}
.flow-labels b {
  color: var(--cream);
  font: 500 16px var(--mono);
}
.flow-bar {
  height: 10px;
  background: #e0666c;
}
.flow-buys {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--up);
  transition: width 0.5s;
}

/* the case */
.case,
.record,
.buy {
  padding-block: clamp(52px, 8vw, 92px);
}
.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.columns > * {
  padding-inline: 26px;
  border-left: 1px solid rgba(20, 33, 26, 0.28);
}
.columns > :first-child {
  padding-left: 0;
  border-left: 0;
}
.columns > :last-child {
  padding-right: 0;
}
.columns h3,
.steps h3 {
  font: 700 23px/1.2 var(--display);
  margin-bottom: 10px;
}
.columns p + p {
  margin-top: 12px;
}
.dialogue {
  font-style: italic;
  padding-left: 14px;
  border-left: 3px solid var(--money);
}

/* pull quote */
.quote {
  background: var(--forest);
  color: var(--cream);
  padding-block: clamp(52px, 8vw, 96px);
}
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.quote-grid img {
  width: 100%;
  border: 4px double var(--gold);
}
.motto {
  font: 700 clamp(20px, 2.4vw, 28px) / 1.3 var(--display);
  color: var(--gold);
  margin-bottom: 28px;
}
blockquote {
  font: 900 clamp(34px, 5vw, 66px) / 1.12 var(--display);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* generations */
.generations {
  background: var(--paper-2);
  padding-block: clamp(52px, 8vw, 92px);
  border-bottom: 1px solid var(--ink);
}
.generations .headline {
  margin-bottom: 16px;
}
.lede {
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.45;
  max-width: 36em;
}
.lineage {
  list-style: none;
  padding: 0;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.lineage li {
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}
.lineage b {
  display: block;
  font: 900 24px/1.2 var(--display);
  color: var(--money);
  margin-bottom: 6px;
}
.lineage span {
  display: block;
  font-size: 18px;
  line-height: 1.4;
}

/* banner + partner */
.banner {
  padding-top: clamp(32px, 5vw, 56px);
}
.banner img {
  width: 100%;
  border: 4px double var(--ink);
}
.partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: clamp(52px, 8vw, 92px);
}
.partner img {
  width: 100%;
  border: 4px double var(--ink);
}
.partner .headline {
  margin-bottom: 16px;
}

/* record */
.facts {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--ink);
}
.facts li {
  padding: 22px 20px;
  border-left: 1px solid rgba(20, 33, 26, 0.28);
}
.facts li:first-child {
  border-left: 0;
  padding-left: 0;
}
.facts b {
  display: block;
  font: 900 26px/1.2 var(--display);
  color: var(--money);
  margin-bottom: 6px;
}
.facts span {
  display: block;
  font-size: 18px;
  line-height: 1.4;
}
.source {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

/* chart */
.chart-section {
  background: var(--forest);
  color: var(--cream);
  padding-block: 44px 52px;
}
.chart-section a {
  color: var(--cream);
}
.board a {
  color: var(--cream);
}
.chart-frame {
  height: clamp(420px, 62vh, 620px);
  background: #000;
  border: 1px solid rgba(247, 242, 227, 0.3);
}
.chart-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* how to buy */
.steps {
  list-style: none;
  padding: 0;
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.steps li {
  counter-increment: s;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}
.steps li::before {
  content: counter(s);
  display: block;
  font: 900 46px/1 var(--display);
  color: var(--money);
  margin-bottom: 10px;
}

/* memes */
.memes {
  padding-block: 0 clamp(52px, 8vw, 92px);
}
.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.meme-grid figure {
  margin: 0;
}
.meme-grid img {
  width: 100%;
  border: 1px solid var(--ink);
}
.meme-grid a {
  display: inline-block;
  margin-top: 8px;
  font: 700 16px var(--display);
  color: var(--money);
}

/* classifieds */
.classifieds {
  background: var(--paper-2);
  padding-block: clamp(52px, 8vw, 92px);
  border-top: 1px solid var(--ink);
}
.classifieds .headline {
  margin-bottom: 10px;
}
.classifieds-intro {
  margin-bottom: 28px;
  color: var(--muted);
}
.ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ad {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 20px 22px;
  font-size: 21px;
  line-height: 1.35;
}
.ad b {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.03em;
}
.ad-post {
  font: 700 16px var(--display);
  color: var(--money);
}

/* footer */
.fine-print {
  background: var(--forest);
  color: var(--cream-dim);
  padding-block: 44px;
  font-size: 16px;
  line-height: 1.5;
}
.fine-print p + p {
  margin-top: 12px;
  max-width: 58em;
}
.fine-print b {
  color: var(--cream);
}
.nameplate-sm {
  font-size: 30px;
  color: var(--cream);
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .seal {
    max-width: 320px;
    order: -1;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats > div:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }
  .stats > div:nth-child(n + 4) {
    border-top: 1px solid rgba(247, 242, 227, 0.18);
  }
  .columns {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 26px;
  }
  .columns > * {
    padding-inline: 0;
    border-left: 0;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facts li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .facts li:nth-child(n + 3) {
    border-top: 1px solid rgba(20, 33, 26, 0.28);
  }
}
@media (max-width: 640px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 9.6vw;
  }
  .edition {
    display: none;
  }
  .dateline-row {
    justify-content: center;
  }
  .dateline-links {
    gap: 14px;
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
  }
  .btn-lg {
    flex: 1 1 100%;
  }
  .seal {
    max-width: 250px;
  }
  .seal-text text {
    font-size: 21px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats > div:nth-child(n) {
    padding-left: 14px;
    border-left: 1px solid rgba(247, 242, 227, 0.18);
  }
  .stats > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .stats > div:nth-child(n + 3) {
    border-top: 1px solid rgba(247, 242, 227, 0.18);
  }
  .meme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .quote-grid,
  .partner {
    grid-template-columns: minmax(0, 1fr);
  }
  .partner img {
    max-width: 320px;
    margin-inline: auto;
  }
  .quote-grid img {
    max-width: 320px;
    margin-inline: auto;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts li:nth-child(n) {
    padding: 16px 0;
    border-left: 0;
  }
  .facts li + li {
    border-top: 1px solid rgba(20, 33, 26, 0.28);
  }
  .steps,
  .ads,
  .lineage {
    grid-template-columns: minmax(0, 1fr);
  }
  .ad {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tape-track,
  .seal-text {
    animation: none;
  }
  .tape-set[aria-hidden] {
    display: none;
  }
  .flow-buys {
    transition: none;
  }
}
