@font-face {
  font-family: "Catatan Perjalanan";
  src: url("../fonts/CP.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #cbfd2a;
  --green-deep: #b6e61c;
  --ink: #111111;
  --ink-soft: #1c1c1c;
  --silver: #d7d7d7;
  --muted: rgba(17, 17, 17, 0.72);
  --line: 4px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --radius: 18px;
  --nav-h: 84px;
  --font-display: "Catatan Perjalanan", cursive;
  --font-body: "Catatan Perjalanan", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

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

.nav,
main,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.7rem 6vw;
  background: var(--green);
  border-bottom: var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-weight: 400;
  font-size: 1.15rem;
}

.nav-links a:not(.nav-cta):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta,
.btn-dark {
  background: var(--ink);
  color: var(--green);
}

.btn-ghost {
  background: var(--green);
  color: var(--ink);
}

.nav-cta:hover,
.btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 3px solid var(--ink);
  background: var(--green);
  border-radius: 10px;
  padding: 10px 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3vw;
  align-items: center;
  padding: 4.5rem 6vw 3rem;
}

.eyebrow {
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.78;
}

.hero-word {
  display: inline-block;
}

.lede {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 1.25rem 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.btn {
  min-width: 9.5rem;
  font-size: 1.35rem;
  padding: 0.85rem 1.4rem;
}

.ca-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  max-width: 34rem;
  padding: 0.7rem 0.85rem;
  border: var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.28);
}

.ca-label {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ca-box code {
  flex: 1;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

.copy-btn {
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--green);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-family: var(--font-body);
  font-weight: 400;
  cursor: pointer;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}

.sticker {
  width: 100%;
  border: 6px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--green);
}

.sticker-hero {
  max-width: 520px;
  transform: rotate(2.5deg);
}

.tilt-left {
  transform: rotate(-2.2deg);
}

.tilt-right {
  transform: rotate(2.4deg);
}

.stamp {
  position: absolute;
  right: 6%;
  bottom: 4%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--silver);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 0.9;
  text-align: center;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.marquee {
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--green);
  overflow: hidden;
  padding: 0.7rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  animation: ticker 22s linear infinite;
}

.banner-strip {
  padding: 0;
}

.banner-strip img {
  width: 100%;
  height: min(38vh, 340px);
  object-fit: cover;
  object-position: center 30%;
  border-bottom: var(--line);
}

.section {
  padding: 5.5rem 6vw;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.about-grid,
.tokenomics-layout,
.split-card {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

.about-copy p,
.split-card p,
.tokenomics-copy > p {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.checklist {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  font-weight: 400;
  border-top: 3px solid var(--ink);
}

.checklist li::before {
  content: "●";
  position: absolute;
  left: 0;
}

.split {
  padding-top: 0;
  display: grid;
  gap: 3.5rem;
}

.split-card {
  grid-template-columns: 0.9fr 1.1fr;
}

.split-card.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split-card.reverse img {
  order: 2;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat {
  padding: 1.1rem 1rem 1rem;
  border: var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 5px 5px 0 var(--ink);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.caption {
  margin-top: 0.9rem;
  text-align: center;
  font-weight: 400;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step {
  padding: 1.3rem 1.15rem 1.4rem;
  border: var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.step h3 {
  font-size: 1.55rem;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}

.footer {
  display: grid;
  gap: 1.2rem;
  padding: 2.4rem 6vw 2.8rem;
  border-top: var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-weight: 400;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.disclaimer {
  max-width: 42rem;
  font-size: 0.92rem;
  color: var(--muted);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

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

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

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .tokenomics-layout,
  .split-card,
  .split-card.reverse,
  .steps {
    grid-template-columns: 1fr;
  }

  .split-card.reverse img {
    order: 0;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .sticker-hero {
    max-width: 420px;
  }

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

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

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--green);
    border-bottom: var(--line);
    padding: 0.4rem 6vw 1rem;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0;
    border-bottom: 2px solid rgba(17, 17, 17, 0.15);
  }

  .nav-cta {
    margin-top: 0.6rem;
    justify-content: center;
  }

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

  .steps,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.6rem 6vw;
  }
}

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

  html.js .reveal,
  html.js .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }
}
