:root {
  --olive: #818b70;
  --olive-dark: #46503f;
  --paper: #f3eddf;
  --ink: #11140f;
  --yellow: #f8c928;
  --mint: #b5dfc4;
  --tomato: #d95642;
  --line: rgba(17, 20, 15, 0.32);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  background: var(--olive);
  color: var(--ink);
  font-family: var(--sans);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  font: 600 0.875rem var(--sans);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

:where(a, button, iframe):focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  height: 4.25rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 1.125rem;
  border-bottom: 1px solid transparent;
  background: var(--olive);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(129, 139, 112, 0.96);
  backdrop-filter: blur(0.625rem);
}

.brand {
  display: flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.5625rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.brand img {
  width: 2.375rem;
  height: 2.375rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.brand em {
  font-family: var(--serif);
  font-size: 1.3125rem;
  font-weight: 400;
  letter-spacing: -0.1em;
}

.site-header nav {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 1.125rem;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 4px 0 var(--ink);
}

.js .site-header nav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.js .site-header nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header nav a:last-child {
  border-bottom: 0;
}

.site-header nav small {
  margin-right: 0.5rem;
  color: rgba(17, 20, 15, 0.78);
  font: 0.6875rem var(--mono);
}

.menu-toggle {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-content: center;
  padding: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle > span {
  display: block;
  width: 1.4375rem;
  height: 2px;
  margin: 0.15625rem auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(1) {
  transform: translateY(0.4375rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  transform: translateY(-0.4375rem) rotate(-45deg);
}

.no-js .site-header {
  height: auto;
  flex-wrap: wrap;
}

.no-js .menu-toggle {
  display: none;
}

.no-js .site-header nav {
  position: static;
  order: 4;
  width: 100%;
  box-shadow: none;
}

.button {
  display: inline-flex;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.625rem 1.0625rem;
  border: 1.5px solid var(--ink);
  font: 600 0.6875rem var(--sans);
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
}

.button-yellow {
  background: var(--yellow);
}

.button-paper {
  background: var(--paper);
}

.button-icon {
  display: inline-grid;
  width: 1.5625rem;
  height: 1.5625rem;
  flex: 0 0 1.5625rem;
  place-items: center;
}

.button-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icon {
  display: inline-grid;
  width: 1.375rem;
  height: 1.375rem;
  flex: 0 0 1.375rem;
  place-items: center;
  line-height: 1;
}

.social-icon svg {
  width: 1.3125rem;
  height: 1.3125rem;
  fill: currentColor;
}

.header-buy {
  min-height: 2.75rem;
  flex: 0 0 auto;
  padding: 0.4375rem 0.75rem;
  font-size: 0.625rem;
}

.header-buy .button-icon {
  display: none;
}

.section {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 4.875rem 1.125rem;
  scroll-margin-top: 4.25rem;
}

.hero {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
  padding-top: 4.5rem;
  background: var(--olive);
}

.hero-copy {
  order: 1;
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 1.4375rem;
  font: 0.6875rem var(--mono);
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.dot {
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-left: 0.5625rem;
  border-radius: 50%;
  background: var(--tomato);
}

.hero h1 {
  max-width: 100%;
  margin: 0 0 1.75rem;
  font-size: clamp(3.35rem, 15vw, 5.5rem);
  letter-spacing: -0.085em;
  line-height: 0.86;
}

.hero h1 span,
.section-heading h2 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.lede {
  max-width: 27rem;
  margin: 0 0 1.5625rem;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ticker-stamp {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 0.6875rem;
  margin-bottom: 1.9375rem;
  font: 0.6875rem var(--mono);
}

.ticker-stamp strong {
  min-width: 0;
  padding-bottom: 0.25rem;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--ink);
  font-weight: 500;
}

.stamp-check {
  color: var(--tomato);
  font-size: 1.125rem;
}

.hero-actions {
  display: grid;
  width: 100%;
  max-width: 30.625rem;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5625rem;
}

.hero-actions .button {
  width: 100%;
}

.hero-art {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 23rem;
  max-height: 36.875rem;
  order: 2;
  place-items: center;
  padding-inline: 0.5rem;
  height: min(122vw, 36.875rem);
}

.art-frame {
  position: relative;
  width: calc(100% - 1rem);
  max-width: 35.625rem;
  height: 100%;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: #9aa389;
  transform: rotate(1deg);
}

.art-frame::after {
  position: absolute;
  inset: 0.75rem;
  border: 1px dashed rgba(17, 20, 15, 0.5);
  content: "";
  pointer-events: none;
}

.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sun-disc {
  position: absolute;
  top: 4%;
  right: 0.25rem;
  z-index: 0;
  width: clamp(11.25rem, 45vw, 20rem);
  height: clamp(11.25rem, 45vw, 20rem);
  border-radius: 50%;
  background: var(--yellow);
}

.scribble {
  position: absolute;
  z-index: 2;
  font: italic 1.0625rem var(--serif);
}

.scribble-a {
  right: 1rem;
  bottom: 10%;
  transform: rotate(-8deg);
}

.scribble-b {
  top: 11%;
  left: 0;
  color: var(--tomato);
  font-size: 2.0625rem;
}

.hero-note {
  position: absolute;
  bottom: 5%;
  left: 0.25rem;
  z-index: 3;
  display: grid;
  gap: 0.1875rem;
  padding: 0.8125rem 1.0625rem;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-5deg);
}

.hero-note span,
.hero-note small {
  font: 0.625rem var(--mono);
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 1.5625rem;
  line-height: 1;
}

.scroll-cue {
  display: none;
}

.roadmap {
  background-color: var(--paper);
  background-image: radial-gradient(var(--line) 0.6px, transparent 0.6px);
  background-size: 0.9375rem 0.9375rem;
}

.section-heading {
  max-width: 38.75rem;
  margin-bottom: 2.375rem;
}

.section-heading h2 {
  margin: 0 0 1.375rem;
  font-size: clamp(3.25rem, 14vw, 4.875rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.section-heading > p:last-child {
  max-width: 32.5rem;
  font-size: 1rem;
  line-height: 1.55;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9375rem;
}

.roadmap-card {
  display: flex;
  min-width: 0;
  min-height: 16.5625rem;
  flex-direction: column;
  padding: 1.125rem;
  border: 1.5px solid var(--ink);
  background: rgba(243, 237, 223, 0.78);
  transition: transform 0.25s ease;
}

.roadmap-card:nth-child(even) {
  transform: rotate(0.5deg);
}

.roadmap-card:hover {
  transform: translateY(-5px);
}

.phase {
  color: rgba(17, 20, 15, 0.75);
  font: 0.6875rem var(--mono);
  text-transform: uppercase;
}

.card-icon {
  margin: 2.1875rem 0 1.0625rem;
  font-size: 1.9375rem;
}

.roadmap-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5625rem;
  letter-spacing: -0.06em;
}

.roadmap-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
}

.status {
  padding-top: 0.875rem;
  margin-top: auto;
  border-top: 1px dashed var(--line);
  font: 0.6875rem var(--mono);
  text-transform: uppercase;
}

.status b {
  float: right;
  color: var(--tomato);
}

.chart {
  background: var(--olive-dark);
  color: var(--paper);
}

.chart .eyebrow {
  color: var(--mint);
}

.chart .section-heading > p:last-child {
  color: rgba(243, 237, 223, 0.9);
}

.chart-frame {
  max-width: 75rem;
  padding: 0.625rem;
  margin: auto;
  border: 1.5px solid var(--paper);
  background: #20261e;
}

.chart-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.4375rem 0.5625rem 0.8125rem;
  color: var(--mint);
  font: 0.6875rem var(--mono);
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-right: 0.4375rem;
  border-radius: 50%;
  background: var(--tomato);
}

.iframe-wrap {
  height: clamp(32rem, 138vw, 37rem);
  overflow: hidden;
  background: #111;
}

.iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.iframe-wrap.is-empty {
  display: grid;
  min-height: 16rem;
  place-items: center;
  padding: 1.5rem;
}

.chart-empty {
  max-width: 26rem;
  margin: 0;
  color: var(--mint);
  font: 0.8125rem/1.6 var(--mono);
  text-align: center;
  text-transform: uppercase;
}

.chart-fallback {
  padding: 0.75rem 0.4375rem 0.1875rem;
  margin: 0;
  color: rgba(243, 237, 223, 0.88);
  font: 0.75rem var(--mono);
}

.chart-fallback a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 1.125rem;
  background: var(--ink);
  color: var(--paper);
}

footer .brand img {
  width: 2.125rem;
  height: 2.125rem;
}

footer .brand {
  font-size: 0.9375rem;
}

footer .brand em {
  font-size: 1.0625rem;
}

.footer-copy {
  order: 3;
  width: 100%;
  color: rgba(243, 237, 223, 0.82);
  font: 0.75rem var(--mono);
}

.footer-site-link {
  color: var(--yellow);
}

.footer-site-link:hover {
  color: var(--paper);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.125rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .site-header {
    height: 4.875rem;
    gap: 1.5rem;
    padding: 0.75rem clamp(1.125rem, 4vw, 4rem);
  }

  .brand img {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-header nav,
  .js .site-header nav {
    position: static;
    display: flex;
    visibility: visible;
    flex-direction: row;
    gap: clamp(1rem, 3vw, 2.75rem);
    padding: 0;
    margin: auto;
    border: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
    transform: none;
  }

  .site-header nav a {
    min-height: 2.75rem;
    padding: 0.5rem 0.125rem;
    border: 0;
  }

  .menu-toggle {
    display: none;
  }

  .header-buy {
    min-height: 2.75rem;
    padding: 0.625rem 1.0625rem;
    font-size: 0.6875rem;
  }

  .header-buy .button-icon {
    display: inline-grid;
  }

  .section {
    padding: clamp(4.875rem, 10vw, 9.375rem) clamp(1.125rem, 7vw, 6.875rem);
    scroll-margin-top: 4.875rem;
  }

  .hero {
    display: grid;
    min-height: calc(100vh - 4.875rem);
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 3vw;
    padding-top: clamp(3.75rem, 8vw, 7rem);
  }

  .hero-copy,
  .hero-art {
    order: initial;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7vw, 6.5625rem);
  }

  .lede {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
  }

  .hero-art {
    height: min(43.125rem, 70vw);
    min-height: 26.875rem;
    max-height: none;
    padding-inline: 0;
  }

  .art-frame {
    width: min(90%, 35.625rem);
    transform: rotate(2deg);
  }

  .scroll-cue {
    position: absolute;
    bottom: 2.125rem;
    left: clamp(1.125rem, 7vw, 6.875rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font: 0.6875rem var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .scroll-cue i {
    width: 3.125rem;
    border-top: 1px solid var(--ink);
  }

  .section-heading {
    margin-bottom: 3.5rem;
  }

  .section-heading h2 {
    font-size: clamp(3rem, 6vw, 4.875rem);
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .roadmap-card {
    min-height: 20rem;
  }

  .roadmap-card:nth-child(even) {
    transform: none;
  }

  .iframe-wrap {
    height: clamp(30rem, 55vw, 40.625rem);
  }

  footer {
    gap: 1.875rem;
    padding-inline: clamp(1.125rem, 7vw, 6.875rem);
  }

  .footer-copy {
    order: initial;
    width: auto;
    margin: auto;
  }
}

@media (min-width: 1024px) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9375rem;
  }

  .roadmap-card:nth-child(even) {
    transform: translateY(1.6875rem) rotate(1deg);
  }

  .roadmap-card:nth-child(even):hover {
    transform: translateY(1.1875rem) rotate(-1deg);
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
