:root {
  --black: #020202;
  --panel: #0a0a0a;
  --panel-soft: #14110d;
  --burgundy: #510000;
  --gold: #d6ba69;
  --gold-bright: #f0d98c;
  --gold-dark: #6f5722;
  --ivory: #fff4cf;
  --green: #62a928;
  --green-dark: #244b13;
  --muted: #b8ad91;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #120000;
  color: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: inherit;
}

.page-shell {
  width: min(950px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--black);
  border-right: 1px solid #6f0000;
  border-left: 1px solid #6f0000;
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.92);
}

.original-masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-dark);
  background: #6c0000;
  animation: masthead-arrive 900ms ease-out both;
}

.original-masthead img {
  display: block;
  width: 100%;
  height: auto;
}

.image-nav a {
  position: absolute;
  top: 56%;
  height: 12%;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  outline-offset: -3px;
}

.image-nav a:focus-visible {
  outline: 2px solid var(--gold-bright);
}

.nav-home {
  left: 9.5%;
  width: 7.5%;
}

.nav-story {
  left: 17%;
  width: 26%;
}

.nav-live {
  left: 61%;
  width: 22%;
}

main {
  padding: 12px 13px 32px;
}

.story-section,
.live-section {
  border: 1px solid var(--gold-dark);
  background: var(--panel);
}

.live-section {
  margin-top: 16px;
}

.section-titlebar {
  display: flex;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 12px;
  background: var(--burgundy);
  border-top: 1px solid #bd1c1c;
  border-bottom: 1px solid var(--gold-dark);
  box-shadow: inset 0 -8px 12px rgba(0, 0, 0, 0.25);
}

.section-titlebar h1,
.section-titlebar h2 {
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 #000;
}

.section-titlebar a,
.section-titlebar span {
  flex: 0 0 auto;
  color: var(--ivory);
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-titlebar a {
  padding: 4px 14px 3px;
  border: 1px solid #4f8d27;
  border-radius: 12px;
  color: #9fe86e;
  text-decoration: none;
}

.section-titlebar a:hover,
.section-titlebar a:focus-visible {
  color: #fff;
  background: var(--green-dark);
}

.section-titlebar--green {
  background: #17210f;
  border-top-color: #4d7b31;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.8fr);
  gap: 18px;
  padding: 22px 18px 24px;
}

.story-copy {
  padding: 5px 24px 9px 4px;
  border-right: 1px solid #3c2c13;
}

.eyebrow {
  margin: 0 0 9px;
  color: #8fc55e;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-number {
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 10vw, 106px);
  font-weight: normal;
  line-height: 0.84;
  letter-spacing: -0.07em;
  text-shadow: 2px 2px 0 #4f2700, 4px 4px 0 #000;
}

.hero-number span {
  margin-left: 4px;
  font-size: 0.39em;
  letter-spacing: 0.03em;
}

.hero-caption {
  margin: 14px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 3vw, 31px);
  letter-spacing: 0.12em;
  text-shadow: 1px 1px 0 #000;
}

.valuation {
  width: fit-content;
  margin: 15px 0 0;
  padding: 5px 9px;
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  color: var(--gold);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: bold;
}

.archive-note {
  align-self: center;
  padding: 17px 16px 18px;
  border: 1px solid #4e4023;
  background: var(--panel-soft);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.65);
}

.archive-note h2 {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: normal;
  text-transform: uppercase;
}

.archive-note p {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
}

.classic-button {
  display: inline-block;
  padding: 7px 13px 6px;
  border: 1px solid #3a681f;
  border-radius: 4px;
  background: var(--green-dark);
  color: #eaffd9;
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 1px 1px 0 #000;
}

.classic-button:hover,
.classic-button:focus-visible {
  background: var(--green);
  color: #071000;
}

.status-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #423718;
}

.status-cell {
  min-height: 92px;
  padding: 17px 20px 15px;
  background: #0f0f0d;
}

.status-cell + .status-cell {
  border-left: 1px solid #423718;
}

.status-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: Verdana, Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-cell strong {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.7vw, 27px);
  font-weight: normal;
  text-shadow: 1px 1px 0 #000;
}

.activity-feed {
  padding: 17px 18px 21px;
}

.activity-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-dark);
}

.activity-heading h3 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: normal;
  text-transform: uppercase;
}

.activity-heading span {
  color: #79705b;
  font: 9px Verdana, Arial, sans-serif;
}

.activity-list {
  position: relative;
  min-height: 190px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.activity-row,
.activity-empty {
  min-height: 38px;
  border-bottom: 1px dotted #51482e;
}

.activity-link {
  display: grid;
  grid-template-columns: 75px 50px minmax(130px, 1fr) auto 118px;
  gap: 12px;
  min-height: 38px;
  align-items: center;
  padding: 0 7px;
  color: #bdb39a;
  font: 10px "Courier New", Courier, monospace;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.activity-link:hover,
.activity-link:focus-visible {
  background: #17190f;
  color: #fff;
  outline: none;
}

.activity-chain,
.activity-amount {
  color: var(--gold-bright);
}

.activity-amount,
.activity-explorer {
  text-align: right;
  white-space: nowrap;
}

.activity-explorer {
  color: #83c253;
}

.activity-empty {
  display: flex;
  align-items: center;
  padding: 0 7px;
  color: #8f856e;
  font: 10px "Courier New", Courier, monospace;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px 17px;
  border-top: 1px solid var(--gold-dark);
  background: #1e0000;
  color: #9e8c60;
  font: 9px Verdana, Arial, sans-serif;
  letter-spacing: 0.08em;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--gold);
  text-transform: uppercase;
}

.reveal {
  animation: section-arrive 650ms ease-out both;
}

.live-section.reveal {
  animation-delay: 130ms;
}

@keyframes masthead-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes section-arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes activity-enter {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.activity-row.is-entering {
  animation: activity-enter 520ms ease-out both;
}

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

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

@media (max-width: 700px) {
  body { background: #000; }

  .page-shell { border: 0; }

  main { padding: 8px 7px 22px; }

  .section-titlebar {
    min-height: 33px;
    padding-inline: 8px;
  }

  .section-titlebar h1,
  .section-titlebar h2 { font-size: 15px; }

  .section-titlebar a,
  .section-titlebar span { display: none; }

  .story-grid {
    grid-template-columns: 1fr;
    padding: 17px 12px;
  }

  .story-copy {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid #3c2c13;
  }

  .hero-number { font-size: clamp(58px, 21vw, 92px); }

  .hero-number span {
    display: block;
    margin: 8px 0 0;
    font-size: 0.34em;
    letter-spacing: 0.06em;
  }

  .status-table { grid-template-columns: 1fr; }

  .status-cell { min-height: 78px; }

  .status-cell + .status-cell {
    border-top: 1px solid #423718;
    border-left: 0;
  }

  .activity-feed { padding-inline: 10px; }

  .activity-link {
    grid-template-columns: 58px 38px minmax(0, 1fr) 86px;
    gap: 7px;
    padding-inline: 3px;
    font-size: 9px;
  }

  .activity-kind { display: none; }

  .activity-amount,
  .activity-explorer {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  footer { padding-inline: 10px; }
}

@media (max-width: 430px) {
  .original-masthead img {
    width: 134%;
    max-width: none;
    transform: translateX(-3%);
  }

  .image-nav { display: none; }

  .hero-caption {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .activity-link { grid-template-columns: 56px 32px minmax(0, 1fr); }

  .activity-explorer { display: none; }

  footer p { max-width: 230px; }
}
