:root {
  --ink: #0b0d09;
  --paper: #f2f3ea;
  --paper-deep: #e4e6d8;
  --green: #ccff00;
  --green-deep: #a6cf00;
  --fur: #d5a54c;
  --grey: #7d8274;
  --line: 2px solid var(--ink);
  --font-display: "Anton", Impact, "Arial Black", sans-serif;
  --font-body: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --header-h: 4.5rem;
  --shadow: 8px 8px 0 var(--green), 11px 11px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(204, 255, 0, 0.35), transparent 60%),
    radial-gradient(700px 480px at 10% 90%, rgba(213, 165, 76, 0.18), transparent 55%),
    linear-gradient(165deg, #f7f8ef 0%, #eef0e3 50%, #e5e7d8 100%);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: transform 0.8s var(--ease), opacity 0.5s ease;
}

.loader.is-done {
  transform: translateY(-112%) rotate(-3deg);
  opacity: 0;
  pointer-events: none;
}

.loader-panel {
  padding: 1.5rem 2rem;
  border: var(--line);
  background: var(--green);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.loader-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.loader-text {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: blink 1s steps(2, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(0.9rem, 3vw, 2rem);
  background: rgba(242, 243, 234, 0.88);
  border-bottom: var(--line);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.logo-feather {
  width: 0.65rem;
  height: 1.4rem;
  background: var(--green);
  border: 1.5px solid var(--ink);
  clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%);
  transform: rotate(-10deg);
}

.nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--green-deep);
}

.nav-cta {
  justify-self: end;
  padding: 0.5rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--green);
  border: var(--line);
  box-shadow: 3px 3px 0 var(--green);
  transition: transform 0.15s ease;
}

.nav-cta:hover {
  transform: translate(-1px, -1px);
}

@media (min-width: 800px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: var(--line);
  transition: transform 0.15s var(--ease), box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn:active {
  transform: translate(0, 0);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--green);
}

.btn-primary:hover {
  box-shadow: 7px 7px 0 var(--green);
}

.btn-ghost {
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.btn-lime {
  background: var(--green);
  box-shadow: var(--shadow-sm);
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 3.5rem) clamp(1rem, 4vw, 3rem) 3.25rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 30%, rgba(204, 255, 0, 0.28), transparent 42%),
    linear-gradient(180deg, transparent 70%, var(--paper) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  animation: rise 0.85s var(--ease) both;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 14vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-lede {
  margin: 1.1rem 0 1.6rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .hero-brand {
    font-size: clamp(4rem, 18vw, 6.5rem);
  }
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-block: var(--line);
  background: var(--ink);
  color: var(--green);
}

.ticker-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  letter-spacing: 0.04em;
  animation: ticker 28s linear infinite;
}

.ticker-track b {
  color: var(--fur);
  font-weight: 400;
}

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

/* Shared sections */
.section-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-lede {
  margin: 1rem 0 1.5rem;
  max-width: 34rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

.story,
.about,
.token,
.buy,
.principles,
.join {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}

/* About / origin */
.about-heading {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 360px);
    gap: 2.75rem;
    align-items: start;
  }

  .about-visual {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    width: 100%;
    max-width: 360px;
    justify-self: end;
  }
}

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

.about-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  column-gap: 1.15rem;
  padding: 0 0 1.85rem;
}

.about-step:last-child {
  padding-bottom: 0;
}

.about-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 2.75rem;
  bottom: 0;
  width: 3px;
  background: var(--ink);
  transform: translateX(-50%);
}

.about-step__index {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  background: var(--green);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.about-step__body {
  padding-top: 0.35rem;
  min-width: 0;
}

.about-step__body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.about-step__body p {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.about-step__body strong {
  color: var(--ink);
  font-weight: 700;
}

.about-visual {
  min-width: 0;
}

.source-post {
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 1.15rem 1.15rem 1rem;
}

.source-post__top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.source-post__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d8dbd1;
}

.source-post__identity {
  display: grid;
  gap: 1px;
  font-size: 0.875rem;
  min-width: 0;
}

.source-post__name {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.source-post__name b {
  font-size: 0.9rem;
}

.source-post__verified {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  font-size: 0.58rem;
  font-style: normal;
  line-height: 1;
}

.source-post__identity > span:last-child {
  color: #686d61;
  font-size: 0.75rem;
}

.source-post__x {
  margin-left: auto;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.source-post__media {
  display: block;
  margin-top: 0.85rem;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  background: #fff;
}

.source-post__media > img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: contain;
  background: #fff;
}

.source-post__quote {
  display: block;
  margin-top: 0.85rem;
  padding: 0.8rem 0.85rem;
  background: #f7f8f2;
  border: 1px solid #cfd3c6;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.source-post__quote:hover,
.source-post__quote:focus-visible {
  border-color: var(--ink);
  background: #fbfcf7;
}

.source-post__quote-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.source-post__quote-top > img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.source-post__quote-top > div {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.source-post__quote-top b {
  font-size: 0.78rem;
}

.source-post__quote-top span {
  color: #686d61;
  font-size: 0.68rem;
}

.source-post__quote p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.source-post__quote p span {
  color: #087fc4;
}

.source-post__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1.5px solid var(--ink);
}

.source-post__footer time {
  color: #686d61;
  font-size: 0.72rem;
}

.source-post__footer a {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.source-post__footer a:hover {
  color: var(--green-deep);
}

.story-grid,
.rep-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .story-grid,
  .rep-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.panel,
.rep {
  padding: 1.35rem 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.45);
  border: var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.panel:hover,
.rep:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--green), 10px 10px 0 var(--ink);
}

.panel-num,
.rep > span {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-deep);
  background: var(--ink);
  padding: 0.15rem 0.55rem;
  letter-spacing: 0.04em;
}

.panel h3,
.rep h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.panel p,
.rep p {
  margin: 0;
  color: var(--grey);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Transform */
.transform {
  padding: 1rem 0 clamp(3rem, 7vw, 5rem);
}

.transform-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.poster {
  margin: 0;
  border: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.poster img {
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .transform-grid {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 2.5rem;
  }
}

/* Token */
.ca-box {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.ca-box code {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  font-family: Consolas, Monaco, monospace;
  font-size: clamp(0.78rem, 2.2vw, 0.98rem);
  background: #fff;
  border: var(--line);
  box-shadow: var(--shadow-sm);
  word-break: break-all;
}

.token-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.token-meta span {
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: var(--line);
  background: var(--paper);
}

.token-meta b {
  color: var(--green-deep);
  margin-left: 0.35rem;
}

/* How to Buy */
.buy {
  background-color: var(--green);
  background-image: linear-gradient(
    90deg,
    transparent 49.8%,
    rgba(11, 13, 9, 0.06) 50%,
    transparent 50.2%
  );
  background-size: 42px 100%;
  border-block: var(--line);
}

.buy .eyebrow {
  color: #4e6200;
}

.buy-heading {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.buy-heading .section-lede {
  margin-top: 0.85rem;
  color: var(--ink-soft);
}

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

@media (min-width: 800px) {
  .buy-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.buy-steps li {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1.45rem;
  background: rgba(255, 255, 255, 0.42);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}

.buy-steps li:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.buy-steps li > span {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  background: var(--ink);
  color: var(--green);
}

.buy-steps b {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
}

.buy-steps p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.buy .btn-ghost {
  background: rgba(255, 255, 255, 0.35);
}

/* Gallery */
.gallery {
  padding: 1rem 0 3.5rem;
  overflow: hidden;
}

.gallery-head {
  margin-bottom: 1.75rem;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marquee-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: ticker 50s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  flex: 0 0 auto;
  width: clamp(150px, 20vw, 220px);
  aspect-ratio: 1;
  overflow: hidden;
  border: var(--line);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.marquee-item:hover img {
  transform: scale(1.07);
}

/* Join */
.join-panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--green);
  border: var(--line);
  box-shadow: 12px 12px 0 var(--ink);
}

.join-panel .eyebrow {
  color: var(--ink);
  opacity: 0.7;
}

.join-panel .section-lede {
  max-width: 32rem;
}

/* Footer */
.site-footer {
  padding: 2.25rem 1rem 3rem;
  border-top: var(--line);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
}

.site-footer p {
  margin: 0.55rem auto 0;
  max-width: 28rem;
  color: var(--grey);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

  .hero-copy,
  .ticker-track,
  .marquee-track,
  .loader-text {
    animation: none !important;
  }

  .loader.is-done {
    transform: none;
  }
}
