:root {
  --bg: #070706;
  --card: #11110f;
  --card-raised: #171714;
  --pink: #f24b68;
  --cyan: #67d8dc;
  --cream: #eee9dd;
  --muted: #8e8c84;
  --border: #2b2a26;
  --display: "Archivo Black", sans-serif;
  --mono: "Space Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 8%, rgba(242, 75, 104, 0.08), transparent 28rem),
    var(--bg);
  color: var(--cream);
  font-family: var(--mono);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--cyan);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

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

.scanline {
  position: fixed;
  top: -4px;
  left: 0;
  z-index: 49;
  width: 100%;
  height: 2px;
  opacity: 0.35;
  background: linear-gradient(90deg, transparent 5%, var(--cyan), transparent 95%);
  animation: scan 8s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  to {
    transform: translateY(100vh);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(43, 42, 38, 0.85);
  background: rgba(7, 7, 6, 0.82);
  backdrop-filter: blur(14px);
}

.logo {
  width: max-content;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.logo span {
  color: var(--pink);
}

.navlinks {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
}

.navlinks a,
.foot-links a {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.navlinks a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  content: "";
  transition: transform 180ms ease;
}

.navlinks a:hover,
.navlinks a:focus-visible,
.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--cream);
}

.navlinks a:hover::after,
.navlinks a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-status {
  justify-self: end;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--pink);
  animation: blink 1.8s ease-in-out infinite;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 10vw, 150px) clamp(24px, 6vw, 96px) 110px;
}

.eyebrow,
.section-eyebrow {
  margin-bottom: 26px;
  color: var(--pink);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-eyebrow::before {
  content: "[ ";
}

.eyebrow::after,
.section-eyebrow::after {
  content: " ]";
}

.section-eyebrow.cyan {
  color: var(--cyan);
}

.glitchwrap {
  position: relative;
  width: max-content;
  max-width: 100%;
}

.glitch {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(58px, 10vw, 146px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.065em;
  user-select: none;
}

.glitch::before,
.glitch::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  content: attr(data-text);
  pointer-events: none;
}

.glitch::before {
  color: var(--pink);
  opacity: 0.72;
  animation: glitch-top 3.3s infinite steps(1, end);
}

.glitch::after {
  color: var(--cyan);
  opacity: 0.62;
  animation: glitch-bottom 2.7s infinite steps(1, end) reverse;
}

@keyframes glitch-top {
  0%, 86%, 100% { clip-path: inset(0 0 94% 0); transform: translate(0); }
  88% { clip-path: inset(15% 0 62% 0); transform: translate(-4px, 1px); }
  90% { clip-path: inset(66% 0 11% 0); transform: translate(5px, -1px); }
  93% { clip-path: inset(37% 0 45% 0); transform: translate(-2px, 2px); }
  96% { clip-path: inset(82% 0 5% 0); transform: translate(3px, 0); }
}

@keyframes glitch-bottom {
  0%, 82%, 100% { clip-path: inset(92% 0 0 0); transform: translate(0); }
  84% { clip-path: inset(58% 0 16% 0); transform: translate(4px, 1px); }
  88% { clip-path: inset(22% 0 61% 0); transform: translate(-5px, -1px); }
  92% { clip-path: inset(74% 0 7% 0); transform: translate(2px, 2px); }
  95% { clip-path: inset(43% 0 37% 0); transform: translate(-3px, 0); }
}

.ticker {
  position: absolute;
  right: -112px;
  bottom: -18px;
  z-index: 0;
  padding: 6px 12px;
  transform: rotate(-4deg);
  background: var(--pink);
  color: #22050b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.mirror-line {
  width: max-content;
  margin: 35px 0 31px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: scaleX(-1);
  transform-origin: center;
  cursor: pointer;
  transition: color 220ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mirror-line:hover,
.mirror-line:focus-visible,
.mirror-line.is-flipped {
  color: var(--cyan);
  transform: scaleX(1);
}

.tagline {
  max-width: 620px;
  color: #b8b5ac;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.75;
}

.tagline strong {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.launch-panel {
  margin-top: 42px;
}

.ca-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(590px, 100%);
  min-height: 58px;
  border: 1px solid var(--border);
  background: var(--card);
}

.ca-label {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 17px;
  border-right: 1px solid var(--border);
  color: var(--pink);
  font-size: 10px;
  font-weight: 700;
}

.ca-box code {
  overflow: hidden;
  padding: 0 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  align-self: stretch;
  min-width: 94px;
  border: 0;
  border-left: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.copy-btn:not(:disabled):hover {
  background: var(--cyan);
  color: var(--bg);
}

.copy-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn svg {
  width: 18px;
  margin-left: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1.5;
}

.btn-primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #071719;
}

.btn-primary:not(.disabled-link):hover {
  transform: translateY(-3px);
  background: transparent;
  color: var(--cyan);
}

.btn-ghost:not(.disabled-link):hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  color: var(--pink);
}

.disabled-link {
  cursor: not-allowed;
  opacity: 0.52;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  overflow: hidden;
  border-left: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(103, 216, 220, 0.035), transparent 45%),
    repeating-linear-gradient(-45deg, transparent 0 20px, rgba(255,255,255,0.014) 20px 21px),
    var(--card);
}

.art-index {
  position: absolute;
  top: 27px;
  left: 29px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
}

.coffee-orbit {
  position: relative;
  width: min(30vw, 410px);
  aspect-ratio: 1;
}

.orbit {
  position: absolute;
  inset: 4%;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.orbit::before {
  top: 18%;
  left: 4%;
}

.orbit::after {
  right: 11%;
  bottom: 10%;
  background: var(--cyan);
}

.orbit-one {
  animation: rotate 24s linear infinite;
}

.orbit-two {
  inset: 16%;
  border-style: dashed;
  animation: rotate 18s linear infinite reverse;
}

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

.cup {
  position: absolute;
  inset: 25%;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  50% { transform: translateY(-9px) rotate(-1deg); }
}

.cup-body {
  position: absolute;
  top: 33%;
  left: 16%;
  width: 62%;
  height: 47%;
  border: 3px solid var(--cream);
  border-radius: 4px 4px 45% 45%;
  background: var(--bg);
}

.cup-body::before {
  position: absolute;
  top: -8px;
  left: -3px;
  width: calc(100% + 6px);
  height: 12px;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: #2a1614;
  content: "";
}

.cup-body::after {
  position: absolute;
  top: 37%;
  left: 50%;
  color: var(--pink);
  content: "$";
  font-family: var(--display);
  font-size: 27px;
  transform: translate(-50%, -50%);
}

.cup-handle {
  position: absolute;
  top: 44%;
  right: 1%;
  width: 29%;
  height: 25%;
  border: 3px solid var(--cream);
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.cup-shadow {
  position: absolute;
  right: 13%;
  bottom: 5%;
  left: 11%;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  filter: blur(4px);
}

.steam {
  position: absolute;
  top: 3%;
  width: 2px;
  height: 25%;
  background: linear-gradient(transparent, var(--cyan), transparent);
  animation: steam 2.4s ease-in-out infinite;
}

.steam-one { left: 32%; }
.steam-two { left: 49%; animation-delay: -0.9s; }
.steam-three { left: 63%; animation-delay: -1.6s; }

@keyframes steam {
  0% { opacity: 0; transform: translateY(12px) skewX(0); }
  50% { opacity: 0.8; transform: translateY(0) skewX(14deg); }
  100% { opacity: 0; transform: translateY(-12px) skewX(-10deg); }
}

.orbit-copy {
  position: absolute;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.orbit-copy-top { top: 8%; right: 12%; }
.orbit-copy-bottom { bottom: 9%; left: 9%; }

.art-note {
  position: absolute;
  right: 28px;
  bottom: 27px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.art-note span { color: var(--muted); }
.art-note strong { color: var(--cyan); }

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 55px;
  height: 1px;
  overflow: hidden;
  background: var(--border);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--pink);
  content: "";
  animation: cue 2s ease-in-out infinite;
}

@keyframes cue {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.reveal {
  opacity: 0;
  animation: reveal 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-delay-1 { animation-delay: 80ms; }
.reveal-delay-2 { animation-delay: 160ms; }
.reveal-delay-3 { animation-delay: 240ms; }
.reveal-delay-4 { animation-delay: 320ms; }

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

.content-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 9vw, 150px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(100px, 12vw, 180px) clamp(24px, 7vw, 110px);
  border-bottom: 1px solid var(--border);
}

.section-heading h2 {
  font-family: var(--display);
  font-size: clamp(35px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-intro,
.token-lede {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.section-intro {
  align-self: end;
  max-width: 560px;
  padding-bottom: 5px;
}

.timeline {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  margin-top: 25px;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
  padding: 38px 30px;
  border-top: 1px solid var(--border);
  transition: background 250ms ease, padding-left 250ms ease;
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--border);
}

.timeline-item:hover {
  padding-left: 42px;
  background: var(--card);
}

.timeline-year {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.timeline-item p {
  max-width: 650px;
  color: var(--muted);
  font-size: 13px;
}

.timeline-code {
  color: var(--border);
  font-family: var(--display);
  font-size: 44px;
  line-height: 0.9;
  transition: color 250ms ease;
}

.timeline-item:hover .timeline-code {
  color: var(--pink);
}

.token-section {
  background: var(--card);
}

.token-layout {
  display: grid;
  gap: 44px;
}

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

.tokenomics {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.tok-cell {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 27px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.tok-cell dt {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tok-cell dd {
  position: relative;
  z-index: 1;
  max-width: 390px;
  font-family: var(--display);
  font-size: clamp(21px, 3vw, 39px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.tok-cell > span {
  position: absolute;
  right: -3px;
  bottom: -12px;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--display);
  font-size: 76px;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.tok-dev dd { color: var(--pink); }
.tok-liquidity dd { color: var(--cyan); }
.tok-tax { background: var(--pink); color: #25070d; }
.tok-tax dt { color: rgba(37, 7, 13, 0.65); }
.tok-tax > span { color: rgba(37, 7, 13, 0.07); }

.disclaimer-section {
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  align-items: center;
}

.warning-mark {
  color: var(--pink);
  font-family: var(--display);
  font-size: clamp(160px, 22vw, 320px);
  line-height: 0.75;
  text-align: center;
  text-shadow: 8px 8px 0 rgba(103, 216, 220, 0.16);
}

.disclaimer-copy h2 {
  margin-bottom: 34px;
  font-family: var(--display);
  font-size: clamp(35px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.disclaimer-copy > p:last-child {
  max-width: 750px;
  padding-left: 24px;
  border-left: 2px solid var(--pink);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(75px, 9vw, 125px) clamp(24px, 7vw, 110px) 42px;
}

.footer-wordmark {
  display: block;
  overflow: hidden;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(74px, 17.6vw, 260px);
  line-height: 0.8;
  letter-spacing: -0.075em;
  text-decoration: none;
  transition: color 250ms ease;
}

.footer-wordmark:hover {
  color: var(--pink);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.footer-meta p,
.copyright {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-links {
  display: flex;
  gap: 25px;
}

.copyright {
  margin-top: 65px;
  text-align: right;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: calc(100svh - 72px);
  }

  .hero-art {
    min-height: 640px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .coffee-orbit {
    width: min(70vw, 430px);
  }

  .scroll-cue {
    display: none;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-intro {
    max-width: 680px;
  }

  .timeline {
    grid-column: auto;
  }

  .disclaimer-section {
    grid-template-columns: 0.35fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 20px;
  }

  .navlinks {
    gap: 16px;
  }

  .navlinks a {
    font-size: 9px;
  }

  .header-status {
    display: none;
  }

  .hero-copy {
    min-height: calc(100svh - 64px);
    padding: 85px 20px 76px;
  }

  .glitch {
    font-size: clamp(52px, 20vw, 92px);
  }

  .ticker {
    right: -5px;
    bottom: -25px;
  }

  .mirror-line {
    margin-top: 48px;
    font-size: 10px;
  }

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

  .copy-btn {
    grid-column: 1 / -1;
    min-height: 44px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .cta-row,
  .btn {
    width: 100%;
  }

  .hero-art {
    min-height: 480px;
  }

  .content-section {
    padding: 95px 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 30px 4px;
  }

  .timeline-item:hover {
    padding-left: 4px;
  }

  .timeline-year {
    grid-column: 1 / -1;
  }

  .timeline-code {
    font-size: 34px;
  }

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

  .tok-cell {
    min-height: 170px;
  }

  .disclaimer-section {
    grid-template-columns: 1fr;
  }

  .warning-mark {
    font-size: 170px;
    text-align: left;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .foot-links {
    flex-wrap: wrap;
  }

  .copyright {
    text-align: left;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
  }
}
