* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #fff4dd;
  --field: #b49a73;
  --paper: var(--field);
  --cream: #f3e6ce;
  --gray: var(--field);
  --shadow: 4px 4px 0 rgba(0, 0, 0, 0.85);
  --shadow-lg: 8px 8px 0 #000;
  --radius: 12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--field);
  background-image: url("assets/field-texture.jpg");
  background-size: 680px 840px;
  background-repeat: repeat;

  color: var(--ink);
  text-shadow: 0 1px 3px #302315, 0 0 8px rgba(48,35,21,.7);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Custom cursor (like the reference site) */
@media (hover: hover) and (pointer: fine) {
  html, html * { cursor: none !important; }
}
#fakeCursor {
  position: fixed; width: 44px; height: 44px;
  background: var(--cream) url("assets/logo.jpg") center/cover no-repeat;
  border: 2px solid #000; border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(0,0,0,.6);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 2147483647;
  top: -100px; left: -100px;
  transition: width .15s, height .15s;
}
#fakeCursor.hovering { width: 58px; height: 58px; }
@media (hover: none), (pointer: coarse) { #fakeCursor { display: none; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; height: 70px; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px;
  background: var(--field) url("assets/field-texture.jpg") repeat;
  background-size: 680px 840px;
  border-bottom: 3px solid #000;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.nav.visible { transform: translateY(0); }
.nav-logo { font-weight: 900; font-size: 26px; text-decoration: none; letter-spacing: -1px; display: inline-flex; align-items: center; gap: 10px; }
.nav-logo-img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #000; object-fit: cover; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 15px; }
.nav-links a:hover { text-decoration: underline; }
.nav-social { display: flex; gap: 8px; }
.icon-btn {
  min-width: 42px; height: 42px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #000; border-radius: 8px; background: transparent;
  font-weight: 900; font-size: 13px; text-decoration: none;
  box-shadow: 2px 2px 0 rgba(0,0,0,.85);
  transition: transform .15s, box-shadow .15s;
}
.icon-btn:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 #000; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; font: inherit; font-weight: 900; font-size: 18px;
  text-transform: uppercase; letter-spacing: .5px; text-decoration: none;
  color: var(--ink); background: transparent;
  border: 3px solid #000; border-radius: var(--radius);
  box-shadow: 0 5px 0 #000;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #000; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #000; }
.btn-black { background: #000; color: #fff; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 100px 20px 60px; text-align: center;
  background: transparent;
  position: relative;
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.tag {
  display: inline-block; padding: 8px 16px; margin-bottom: 18px;
  border: 0; background: transparent;
  font-weight: 700; font-size: 14px; box-shadow: none;
}
.hero-title {
  font-size: clamp(88px, 20vw, 220px); font-weight: 900; line-height: .9; letter-spacing: -6px;
  -webkit-text-stroke: 3px #000; color: #fff;
  text-shadow: 8px 8px 0 #000;
}
.hero-sub { font-size: clamp(20px, 3vw, 30px); font-weight: 700; margin: 18px 0 10px; }
.hero-logo {
  display: block; width: min(100%, clamp(260px, 48vw, 520px)); height: auto; aspect-ratio: 1; margin: 0 auto 32px;
  border: 2px solid #000; border-radius: 0; object-fit: cover;
  box-shadow: none; background: var(--cream);
}
.hero-art { position: relative; max-width: 720px; margin: 14px auto 30px; }
.hero-photo {
  display: block; width: 100%; height: auto;
  border: 2px solid #000; border-radius: 0; box-shadow: none;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes wobble { 0%,100% { rotate: -8deg; } 50% { rotate: 8deg; } }

/* Farm crew clip (silent, loops like a GIF) */
.clip-section { padding-top: 70px; padding-bottom: 20px; }
.clip-frame {
  max-width: 900px; margin: 0 auto; border: 2px solid #000; border-radius: 0;
  overflow: hidden; box-shadow: none; background: #000;
}
.clip { display: block; width: 100%; height: auto; aspect-ratio: 848 / 478; pointer-events: none; }

/* Marquee */
.marquee {
  overflow: hidden; background: transparent; padding: 14px 0;
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-item {
  flex: none; display: flex; align-items: center; gap: 10px;
  background: transparent; border: 0; padding: 6px 16px 6px 6px;
  font-weight: 900; text-transform: uppercase; font-size: 15px; white-space: nowrap;
  transition: transform .2s;
}
.m-item:hover { transform: scale(1.12) rotate(-3deg); }
.m-item img { width: 46px; height: 46px; border: 2px solid #000; border-radius: 8px; object-fit: cover; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-gray { max-width: none; background: transparent; }
.section-gray > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.section-title {
  font-size: clamp(40px, 7vw, 80px); font-weight: 900; text-align: center;
  letter-spacing: -2px; line-height: 1; margin-bottom: 18px;
}
.lead { text-align: center; font-size: 20px; max-width: 720px; margin: 0 auto 50px; }

/* Timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.t-card, .card {
  background: transparent; border: 0;
  padding: 28px 12px; box-shadow: none;
  transition: transform .2s, box-shadow .2s;
}
.t-card:hover, .card:hover { transform: none; box-shadow: none; }
.t-year {
  display: inline-block; background: transparent; color: var(--ink); font-weight: 900;
  padding: 4px 0; margin-bottom: 14px; font-size: 14px; text-transform: uppercase;
}
.t-card h3, .card h3 { font-size: 24px; font-weight: 900; line-height: 1.15; margin-bottom: 10px; }
.t-sad { background: transparent; color: var(--ink); }
.t-sad .t-year { background: transparent; }
.t-big { background: transparent; color: var(--ink); }
.t-big .t-year { background: transparent; }

/* Kingdom cards */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.card { position: relative; }
.card-num { position: absolute; top: 16px; right: 20px; font-weight: 900; font-size: 40px; opacity: .15; }
.card-icon {
  width: 70px; height: 70px; display: grid; place-items: center; font-size: 34px;
  margin-bottom: 18px; background: transparent;
}
.card-link { text-decoration: none; display: block; }
.stat-strip {
  margin-top: 50px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: transparent; overflow: hidden;
}
.stat-strip > div { padding: 24px; text-align: center; border-right: 0; }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip b { display: block; font-size: 48px; font-weight: 900; line-height: 1; }
.stat-strip span { font-weight: 700; text-transform: uppercase; font-size: 13px; }
@media (max-width: 760px) {
  .stat-strip > div { border-right: 0; border-bottom: 0; }
  .stat-strip > div:last-child { border-bottom: 0; }
}

/* Crew carousel */
.crew-wrap { display: flex; align-items: center; gap: 14px; }
.crew {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 6px 24px; scrollbar-width: none; flex: 1;
}
.crew::-webkit-scrollbar { display: none; }
.crew-card {
  flex: 0 0 220px; scroll-snap-align: start; text-align: center;
  border: 0; background: transparent;
  padding: 0; box-shadow: none; transition: transform .2s;
}
.crew-card:hover { transform: none; }
.crew-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 0 auto 12px; border: 2px solid #000; border-radius: 0; }
.crew-card h4 { font-size: 20px; font-weight: 900; text-transform: lowercase; }
.crew-card p { font-size: 14px; }
.crew-arrow {
  flex: none; width: 52px; height: 52px; border-radius: 50%; font-size: 22px; font-weight: 900;
  border: 3px solid #000; background: transparent; color: var(--ink); box-shadow: none;
}
.crew-arrow:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
@media (max-width: 600px) { .crew-arrow { display: none; } }

/* Steps */
.steps { display: grid; gap: 26px; }
.step {
  display: flex; align-items: center; gap: 30px;
  background: transparent; border: 0;
  padding: 26px 12px; box-shadow: none;
}
.step-alt { flex-direction: row-reverse; text-align: right; }
.step-num {
  flex: none; width: 110px; height: 110px; display: grid; place-items: center;
  font-size: 72px; font-weight: 900; color: var(--ink);
}
.step h3 { font-size: 30px; font-weight: 900; margin-bottom: 6px; }
@media (max-width: 640px) {
  .step, .step-alt { flex-direction: column; text-align: center; }
  .step-num { width: 80px; height: 80px; font-size: 48px; }
}

/* Tokenomics */
.tok-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.tok-cat {
  width: 100%; max-width: 380px; margin: 0 auto; background: var(--cream);
  border: 2px solid #000; border-radius: 0; box-shadow: none;
}
.ca-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  border: 0; padding: 18px 0; background: transparent;
  box-shadow: none; margin-bottom: 26px;
}
.ca-label { width: 100%; font-weight: 900; text-transform: uppercase; font-size: 13px; }
.ca-box code { flex: 1; min-width: 0; font-family: ui-monospace, Menlo, monospace; font-size: 16px; font-weight: 700; word-break: break-all; }
.ca-box .btn { padding: 12px 22px; font-size: 15px; }
.tok-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tok-stat {
  border: 0; padding: 20px 0; background: transparent; box-shadow: none;
}
.tok-stat span { display: block; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.tok-stat b { font-size: 30px; font-weight: 900; }
@media (max-width: 800px) { .tok-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: transparent; color: var(--ink); text-align: center; padding: 70px 20px 40px; }
.footer-logo { font-size: clamp(60px, 12vw, 140px); font-weight: 900; letter-spacing: -4px; line-height: 1; }
.footer-quote { font-size: 20px; font-weight: 700; margin: 14px 0 30px; }
.disclaimer { max-width: 760px; margin: 0 auto 24px; font-size: 13px; }
.copy { font-size: 13px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%);
  background: #000; color: #fff; font-weight: 900; padding: 14px 26px;
  border: 3px solid #fff; border-radius: 10px; box-shadow: 4px 4px 0 rgba(0,0,0,.5);
  transition: transform .3s; z-index: 5000;
}
.toast.show { transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .6s, translate .6s, transform .2s, box-shadow .2s; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: 0 0; }
}
