:root {
  --gold: #f4c542;
  --gold-bright: #ffd84d;
  --ink: #11100d;
  --paper: #ffffff;
  --blue: #2678ff;
  --muted: #5d5b55;
  --border: 3px solid var(--ink);
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Space Grotesk", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--gold);
  font-family: var(--body);
  letter-spacing: 0;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 48px, 1440px);
  height: 92px;
  transform: translateX(-50%);
  border-bottom: 2px solid rgba(17, 16, 13, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
}

.brand-dot {
  width: 17px;
  height: 17px;
  margin-right: 9px;
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 6px -5px 0 -3px var(--gold), 7px -7px 0 0 var(--ink);
}

.desktop-nav {
  display: flex;
  gap: 34px;
  font-weight: 700;
}

.desktop-nav a,
.text-link {
  position: relative;
}

.desktop-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 25px;
  border: 3px solid var(--ink);
  border-radius: 2px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

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

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

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

.button-gold {
  color: var(--ink);
  background: var(--gold);
}

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

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  min-height: min(760px, 92vh);
  padding: 128px max(24px, calc((100vw - 1440px) / 2)) 76px;
  overflow: hidden;
  background: var(--gold);
  border-bottom: var(--border);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 20px 42px 54px 0;
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.92;
}

h1 {
  max-width: 840px;
  font-size: clamp(65px, 6.8vw, 110px);
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 560px;
  margin: 31px 0 32px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
}

.text-link {
  font-weight: 800;
}

.text-link span {
  display: inline-block;
  margin-left: 7px;
  font-size: 20px;
}

.hero-media {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: 0 0 52px auto;
  border: var(--border);
  background: var(--paper);
  box-shadow: 16px 16px 0 var(--blue);
  transform: rotate(2deg);
}

.hero-media img {
  position: relative;
  z-index: 2;
  height: 100%;
  object-fit: cover;
}

.sunburst {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 200px;
  height: 200px;
  border: 18px solid var(--ink);
  border-radius: 50%;
}

.sunburst::before,
.sunburst::after {
  position: absolute;
  inset: -52px;
  content: "";
  border-top: 18px solid var(--ink);
  border-bottom: 18px solid var(--ink);
  transform: rotate(45deg);
}

.sunburst::after {
  transform: rotate(-45deg);
}

.stamp {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border: 3px solid var(--paper);
  outline: 3px solid var(--ink);
  font-family: var(--display);
}

.stamp-good {
  right: -28px;
  bottom: 26px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  font-size: 19px;
  transform: rotate(-12deg);
}

.stamp-wow {
  top: 25px;
  left: -45px;
  padding: 12px 17px;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-8deg);
}

.ticker {
  position: absolute;
  right: -20px;
  bottom: 26px;
  left: -20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  height: 65px;
  padding: 0 30px;
  color: var(--paper);
  background: var(--ink);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 30px);
  white-space: nowrap;
  transform: rotate(-1.5deg);
}

.ticker i,
.marquee i {
  color: var(--gold);
  font-style: normal;
}

.story {
  padding: 110px max(24px, calc((100vw - 1320px) / 2)) 130px;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  margin-bottom: 75px;
}

.section-number {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 16px;
}

.section-number.light {
  color: var(--paper);
  border-color: var(--paper);
}

h2 {
  font-size: clamp(62px, 7vw, 112px);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(480px, 1.12fr) minmax(360px, 0.88fr);
  gap: 90px;
  align-items: center;
}

.portrait-stack {
  position: relative;
  min-height: 650px;
}

.portrait-stack figure {
  margin: 0;
  border: var(--border);
  background: var(--paper);
}

.portrait-stack figcaption {
  padding: 13px 16px;
  border-top: var(--border);
  font-family: var(--display);
}

.cobie-portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: min(78%, 520px);
  box-shadow: 15px 15px 0 var(--gold);
  transform: rotate(-2deg);
}

.cobie-portrait img {
  aspect-ratio: 1;
  object-fit: cover;
}

.doji-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(50%, 330px);
  box-shadow: 12px 12px 0 var(--blue);
  transform: rotate(4deg);
}

.doji-card img {
  aspect-ratio: 1;
  object-fit: cover;
}

.story-copy {
  max-width: 590px;
}

.story-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.story-copy .lead {
  color: var(--ink);
  font-size: clamp(25px, 2.5vw, 37px);
  font-weight: 700;
  line-height: 1.25;
}

.story-copy .button {
  margin-top: 15px;
}

.marquee {
  overflow: hidden;
  color: var(--ink);
  background: var(--blue);
  border-top: var(--border);
  border-bottom: var(--border);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 31px;
  height: 84px;
  padding: 0 30px;
  font-family: var(--display);
  font-size: 34px;
  animation: marquee 19s linear infinite;
}

.marquee i {
  color: var(--paper);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.token {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 95px;
  padding: 125px max(24px, calc((100vw - 1320px) / 2));
  color: var(--paper);
  background: var(--ink);
}

.token-intro .section-number {
  margin-bottom: 43px;
}

.token-intro h2 {
  font-size: clamp(56px, 6vw, 96px);
}

.token-intro p {
  max-width: 560px;
  margin: 34px 0 0;
  color: #c9c7c0;
  font-size: 18px;
  line-height: 1.65;
}

.contract-panel {
  align-self: center;
  padding: 42px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--paper);
  box-shadow: 14px 14px 0 var(--blue);
}

.contract-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contract-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 15px;
  align-items: center;
  width: 100%;
  padding: 23px;
  color: var(--ink);
  background: var(--gold);
  border: var(--border);
  border-radius: 0;
  text-align: left;
  cursor: pointer;
}

.contract-value {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(15px, 1.4vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}

.copy-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.contract-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.copy-feedback {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.community {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 770px;
  overflow: hidden;
  background: var(--gold);
  border-bottom: var(--border);
}

.community-copy {
  align-self: center;
  padding: 90px 70px 90px max(24px, calc((100vw - 1320px) / 2));
}

.community-copy .section-number {
  margin-bottom: 40px;
}

.community-copy p {
  max-width: 530px;
  margin: 31px 0 30px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
}

.community-image {
  position: relative;
  min-height: 640px;
  border-left: var(--border);
  background: var(--blue);
}

.community-image img {
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

.community-image span {
  position: absolute;
  right: 35px;
  bottom: 35px;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 3px solid var(--paper);
  font-family: var(--display);
  font-size: 22px;
  transform: rotate(-3deg);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 35px;
  align-items: center;
  padding: 38px max(24px, calc((100vw - 1320px) / 2));
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-ca {
  padding: 7px 10px;
  color: var(--gold);
  background: transparent;
  border: 1px solid #4a4842;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 32px);
    height: 78px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 7px;
    background: transparent;
    border: 0;
  }

  .menu-button span {
    width: 27px;
    height: 3px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 15;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding: 85px 30px 30px;
    background: var(--gold);
    font-family: var(--display);
    font-size: 42px;
    transform: translateY(-110%);
    transition: transform 220ms ease;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-copy {
    padding-right: 0;
    padding-bottom: 45px;
  }

  .hero-media {
    width: min(82vw, 600px);
    margin: 0 auto 95px;
  }

  .story-layout,
  .token {
    grid-template-columns: 1fr;
  }

  .story-layout {
    gap: 60px;
  }

  .story-copy {
    max-width: 720px;
  }

  .token {
    gap: 60px;
  }

  .community {
    grid-template-columns: 1fr;
  }

  .community-image {
    min-height: 680px;
    border-top: var(--border);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding: 96px 20px 48px;
  }

  h1 {
    font-size: clamp(39px, 11.8vw, 48px);
    line-height: 0.94;
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 20px;
  }

  .hero-media {
    width: min(78vw, 300px);
    margin: 25px auto 68px;
    box-shadow: 9px 9px 0 var(--blue);
  }

  .stamp-good {
    right: -14px;
    width: 88px;
    height: 88px;
    font-size: 14px;
  }

  .stamp-wow,
  .sunburst {
    display: none;
  }

  .ticker {
    gap: 22px;
    justify-content: flex-start;
    overflow: hidden;
    font-size: 18px;
  }

  .story,
  .token {
    padding: 78px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
  }

  h2 {
    font-size: clamp(49px, 14vw, 70px);
  }

  .portrait-stack {
    min-height: 500px;
  }

  .cobie-portrait {
    width: 82%;
  }

  .doji-card {
    width: 51%;
  }

  .story-copy .lead {
    font-size: 24px;
  }

  .marquee-track {
    height: 67px;
    font-size: 25px;
  }

  .contract-panel {
    padding: 22px;
    box-shadow: 8px 8px 0 var(--blue);
  }

  .contract-copy {
    grid-template-columns: minmax(0, 1fr) 30px;
    padding: 16px;
  }

  .contract-actions {
    flex-direction: column;
  }

  .community-copy {
    padding: 78px 20px;
  }

  .community-image {
    min-height: 430px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
