:root {
  --cream: #f4ecdf;
  --paper: #fffaf1;
  --ink: #1c1a17;
  --coral: #d87968;
  --coral-strong: #bf5547;
  --rose: #efb7a7;
  --mint: #12b978;
  --mint-dark: #056b47;
  --ochre: #e7a53e;
  --blue: #229ed9;
  --muted: #635d55;
  --line: rgba(28, 26, 23, 0.2);
  --shadow: 8px 8px 0 var(--ink);
  --display: "Bowlby One SC", Impact, sans-serif;
  --body: "Instrument Sans", sans-serif;
  --mono: "DM Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(239, 183, 167, 0.55), transparent 27rem),
    radial-gradient(circle at 87% 27%, rgba(18, 185, 120, 0.13), transparent 28rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--mint);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.section-shell,
.nav-shell {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding-top: 18px;
  transition: padding 220ms ease;
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 10px 12px 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: rgba(244, 236, 223, 0.9);
  box-shadow: 5px 5px 0 rgba(28, 26, 23, 0.95);
  backdrop-filter: blur(14px);
  transition:
    min-height 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
}

.site-header.is-scrolled .nav-shell {
  min-height: 66px;
  background: rgba(255, 250, 241, 0.96);
  box-shadow: 3px 3px 0 rgba(28, 26, 23, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--rose);
}

.brand-mark::after {
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(28, 26, 23, 0.5);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.main-nav a {
  position: relative;
  padding: 10px 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 3px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a span {
  margin-right: 4px;
  color: #9b382b;
  font-family: var(--mono);
  font-size: 0.65rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-buy {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.header-buy img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.header-buy:hover {
  background: #27d691;
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

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

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

.section {
  position: relative;
  scroll-margin-top: 96px;
}

.hero {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 124px 0 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  align-items: start;
  gap: clamp(36px, 5.2vw, 76px);
  padding-block: clamp(28px, 4.5vh, 48px) clamp(48px, 6vh, 72px);
}

.hero-orbit {
  position: absolute;
  border: 2px dashed rgba(28, 26, 23, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 8%;
  right: -12rem;
  width: 46rem;
  height: 46rem;
  animation: orbit-spin 36s linear infinite;
}

.orbit-two {
  bottom: 2%;
  left: -13rem;
  width: 32rem;
  height: 32rem;
  animation: orbit-spin 28s linear infinite reverse;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-dot,
.live-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(18, 185, 120, 0.5);
  animation: signal 1.8s ease-out infinite;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.hero h1 {
  font-size: clamp(4rem, 6.8vw, 6.6rem);
}

.hero h1 span {
  display: block;
}

.hero-title-accent {
  width: max-content;
  padding: 0.02em 0.12em 0.12em;
  background: var(--coral-strong);
  color: var(--paper);
  text-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1.7deg);
}

.hero-lede {
  max-width: 600px;
  margin: 22px 0 24px;
  font-size: clamp(1.04rem, 1.5vw, 1.26rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.action-card {
  display: grid;
  min-height: 88px;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    background-color 170ms ease;
}

.action-card:hover {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(3px, 3px) rotate(-0.5deg);
}

.action-buy:hover {
  background: var(--mint);
}

.action-x:hover {
  background: var(--ink);
  color: var(--paper);
}

.action-telegram:hover {
  background: #bfeaff;
}

.action-dex:hover {
  background: var(--rose);
}

.action-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}

.action-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.social-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.action-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.action-copy small {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.action-x:hover .action-copy small {
  color: rgba(255, 250, 241, 0.66);
}

.action-copy strong {
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.action-arrow {
  align-self: start;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
  margin-top: 8px;
  padding: 16px 6px 28px 22px;
}

.character-card {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 24px 24px 76px 24px;
  background: var(--paper);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(0.7deg);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual:hover .character-card {
  transform: rotate(0.15deg) translateY(-5px);
}

.knit-edge {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 18px;
  border-right: 2px solid var(--ink);
  background:
    radial-gradient(circle, var(--paper) 0 2px, transparent 2.5px) 0 0 / 10px 10px,
    var(--coral);
}

.character-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: saturate(0.95) contrast(1.02);
}

.character-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 15px 31px;
  border-top: 3px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.06em;
}

.character-card figcaption strong {
  color: var(--mint-dark);
}

.baton-shadow {
  position: absolute;
  z-index: 1;
  right: -32px;
  bottom: 22%;
  width: 72%;
  height: 58px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--paper) 0 61%, var(--mint) 61% 84%, var(--paper) 84%);
  box-shadow: 8px 8px 0 rgba(28, 26, 23, 0.22);
  transform: rotate(-39deg);
}

.stamp {
  position: absolute;
  z-index: 4;
  right: -22px;
  bottom: 10px;
  display: grid;
  width: 112px;
  height: 112px;
  place-content: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.61rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transform: rotate(11deg);
}

.stamp::after {
  position: absolute;
  inset: 7px;
  border: 1.5px dashed var(--ink);
  border-radius: 50%;
  content: "";
}

.stamp strong {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 400;
}

.visual-caption {
  position: absolute;
  z-index: 5;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.caption-top {
  top: 1px;
  left: -10px;
  transform: rotate(-5deg);
}

.caption-bottom {
  right: 54px;
  bottom: 4px;
  transform: rotate(2deg);
}

.ticker-strip {
  position: relative;
  z-index: 4;
  width: 102%;
  margin-left: -1%;
  overflow: hidden;
  border-block: 3px solid var(--ink);
  background: var(--mint);
  transform: rotate(-0.5deg);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 30px;
  padding: 13px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  line-height: 1;
  animation: ticker 24s linear infinite;
}

.ticker-track i {
  font-style: normal;
}

.roadmap {
  overflow: hidden;
  padding: clamp(100px, 13vw, 180px) 0 clamp(110px, 14vw, 190px);
  background:
    linear-gradient(rgba(28, 26, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
}

.roadmap::before {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 310px;
  height: 310px;
  border: 46px solid var(--rose);
  border-radius: 50%;
  content: "";
  opacity: 0.5;
}

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(72px, 8vw, 112px);
}

.section-kicker {
  margin-bottom: 22px;
  color: var(--mint-dark);
}

.section-heading h2 {
  font-size: clamp(3.25rem, 6.4vw, 6.5rem);
}

.section-heading h2 em {
  color: var(--coral);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--ink);
}

.section-heading > p {
  max-width: 360px;
  margin: 0 0 5px;
  padding: 18px 0 2px 19px;
  border-left: 4px solid var(--mint);
  font-size: 1.05rem;
  font-weight: 600;
}

.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.track-line {
  position: absolute;
  z-index: 0;
  top: 24px;
  right: 7%;
  left: 7%;
  height: 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(255, 250, 241, 0.9) 9px 12px),
    var(--mint);
  box-shadow: 3px 3px 0 rgba(28, 26, 23, 0.25);
}

.roadmap-card {
  position: relative;
  z-index: 1;
  min-height: 350px;
  margin-top: 72px;
  padding: 29px 24px 25px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--ink);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.roadmap-card:nth-of-type(2) {
  transform: rotate(-1.2deg);
}

.roadmap-card:nth-of-type(3) {
  transform: rotate(1.2deg);
}

.roadmap-card:nth-of-type(4) {
  transform: rotate(-0.8deg);
}

.roadmap-card:nth-of-type(5) {
  transform: rotate(1deg);
}

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

.roadmap-card::before {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(28, 26, 23, 0.08);
  content: attr(data-step);
  font-family: var(--display);
  font-size: 4.4rem;
  line-height: 1;
}

.roadmap-card:nth-of-type(2) {
  background: #f3cfbf;
}

.roadmap-card:nth-of-type(3) {
  background: #c9ebdc;
}

.roadmap-card:nth-of-type(4) {
  background: #f4d99d;
}

.roadmap-card:nth-of-type(5) {
  background: #e9ddd0;
}

.roadmap-pin {
  position: absolute;
  top: -72px;
  left: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translateX(-50%);
}

.roadmap-pin span {
  width: 20px;
  height: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.roadmap-card:nth-of-type(3) .roadmap-pin span,
.roadmap-card:nth-of-type(5) .roadmap-pin span {
  background: var(--mint);
}

.phase {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.roadmap-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 15px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.roadmap-card > p:not(.phase) {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.46;
}

.roadmap-card ul {
  display: grid;
  gap: 7px;
  margin: 23px 0 0;
  padding: 19px 0 0;
  border-top: 1.5px dashed rgba(28, 26, 23, 0.45);
  list-style: none;
}

.roadmap-card li {
  position: relative;
  padding-left: 17px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
}

.roadmap-card li::before {
  position: absolute;
  top: 0.43em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.roadmap-note {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 44px auto 0;
  padding: 10px 15px;
  border: 1.5px dashed var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-align: center;
  transform: rotate(-0.4deg);
}

.roadmap-note span {
  color: var(--coral);
  font-size: 1.1rem;
}

.chart {
  overflow: hidden;
  padding: clamp(100px, 13vw, 170px) 0 clamp(110px, 13vw, 165px);
  background:
    radial-gradient(circle at 80% 0, rgba(18, 185, 120, 0.2), transparent 33rem),
    var(--cream);
}

.chart::after {
  position: absolute;
  right: -120px;
  bottom: -90px;
  width: 360px;
  height: 110px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--paper) 0 56%, var(--mint) 56% 76%, var(--paper) 76%);
  content: "";
  transform: rotate(-28deg);
}

.chart-heading {
  margin-bottom: 58px;
}

.chart-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: #121310;
  box-shadow: 12px 12px 0 var(--ink);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 58px;
  padding: 10px 16px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.window-dots span:nth-child(2) {
  background: var(--ochre);
}

.window-dots span:nth-child(3) {
  background: var(--mint);
}

.window-bar p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.window-bar a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  text-underline-offset: 3px;
}

.dex-frame {
  display: block;
  width: 100%;
  height: clamp(540px, 66vw, 760px);
  border: 0;
  background: #121310;
}

.chart-fallback {
  margin: 0;
  padding: 20px;
  background: var(--paper);
  color: var(--ink);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.25fr auto;
  align-items: center;
  gap: 30px;
  min-height: 126px;
  padding-block: 28px;
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.15rem;
  text-decoration: none;
}

.footer-brand span {
  display: block;
  margin-top: 5px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.footer-grid > p:nth-child(2) {
  font-size: 0.88rem;
  font-weight: 600;
}

.fine-print,
.copyright {
  color: rgba(255, 250, 241, 0.58);
  font-family: var(--mono);
  font-size: 0.61rem;
}

[data-reveal] {
  opacity: 0;
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal="up"] {
  transform: translateY(34px);
}

[data-reveal="left"] {
  transform: translateX(-34px);
}

[data-reveal="right"] {
  transform: translateX(34px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

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

@keyframes signal {
  70% {
    box-shadow: 0 0 0 8px rgba(18, 185, 120, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(18, 185, 120, 0);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .brand-copy {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    gap: 40px;
  }

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

  .action-card {
    grid-template-columns: 38px 1fr auto;
    min-height: 82px;
    padding: 11px;
  }

  .action-icon {
    width: 38px;
    height: 38px;
  }

  .roadmap-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 76px 20px;
  }

  .track-line {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 20px;
    width: 13px;
    height: auto;
    background:
      repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 250, 241, 0.9) 9px 12px),
      var(--mint);
  }

  .roadmap-card {
    margin-top: 60px;
  }

  .roadmap-pin {
    top: -62px;
    left: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 92px;
  }

  .section-shell,
  .nav-shell {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    padding-top: 10px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 8px 9px 8px 11px;
    border-radius: 15px;
  }

  .brand-copy {
    display: grid;
  }

  .main-nav {
    position: absolute;
    z-index: 10;
    top: calc(100% + 10px);
    right: 0;
    bottom: auto;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 15px 18px;
    border: 2px solid var(--ink);
    border-radius: 15px;
    background: var(--coral);
    box-shadow: 5px 5px 0 var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top center;
    visibility: hidden;
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 0s linear 220ms;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition-delay: 0s;
  }

  .main-nav a {
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
    margin-inline: auto;
    padding: 13px 10px;
    border-bottom: 1.5px dashed rgba(28, 26, 23, 0.46);
    font-family: var(--display);
    font-size: clamp(1.35rem, 7vw, 2.2rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.05;
  }

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

  .main-nav a span {
    color: var(--ink);
    font-size: 0.72rem;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 40px 80px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: min(78vw, 500px);
    justify-self: center;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 13.2vw, 6.6rem);
  }

  .hero-lede {
    max-width: 610px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    max-width: 520px;
  }

  .window-bar {
    grid-template-columns: 1fr 1fr;
  }

  .window-bar p {
    display: none;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 24px, 560px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 0.68rem;
  }

  .brand-copy small {
    font-size: 0.55rem;
  }

  .header-buy {
    min-height: 42px;
    padding: 7px 12px 7px 8px;
  }

  .header-buy img {
    width: 24px;
    height: 24px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-visual {
    width: min(80vw, 390px);
    padding: 11px 3px 25px 10px;
  }

  .character-card {
    border-radius: 18px 18px 50px 18px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .character-card figcaption {
    padding: 12px 13px 12px 25px;
    font-size: 0.54rem;
  }

  .stamp {
    right: -5px;
    width: 86px;
    height: 86px;
  }

  .stamp strong {
    font-size: 1.7rem;
  }

  .visual-caption {
    font-size: 0.5rem;
  }

  .caption-bottom {
    right: 46px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 74px;
  }

  .section-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 70px;
    padding-left: 36px;
  }

  .track-line {
    left: 19px;
  }

  .roadmap-card {
    min-height: 0;
    margin-top: 0;
  }

  .roadmap-pin {
    top: 22px;
    left: -37px;
    width: 42px;
    height: 42px;
  }

  .roadmap-pin span {
    width: 16px;
    height: 16px;
  }

  .roadmap-note {
    align-items: flex-start;
    text-align: left;
  }

  .chart-window {
    border-radius: 15px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .window-bar {
    min-height: 52px;
  }

  .window-bar a {
    font-size: 0.58rem;
  }

  .dex-frame {
    height: 580px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 40px;
  }
}

@media (max-width: 480px) {
  .brand-copy {
    display: none;
  }

  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-actions {
    gap: 7px;
  }

  .header-buy span {
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-title-accent {
    text-shadow: 2px 2px 0 var(--ink);
  }

  .caption-bottom {
    display: none;
  }

  .window-bar {
    grid-template-columns: auto 1fr;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
