:root {
  --navy: #061f3a;
  --navy-deep: #021225;
  --navy-soft: #0a3153;
  --green: #19dc7b;
  --green-dark: #087844;
  --cream: #fff8e8;
  --white: #ffffff;
  --orange: #f4a345;
  --ink: #10243a;
  --muted: #667486;
  --line: rgba(255, 255, 255, 0.16);
  --radius: 28px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 12px 16px; border-radius: 10px; background: var(--green); color: var(--navy); font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; z-index: 100; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1240px, calc(100% - 32px)); margin: 14px auto 0; padding: 10px 12px 10px 14px;
  border: 1px solid transparent; border-radius: 18px;
  color: white; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease, transform .3s ease;
}
.site-header.scrolled { background: rgba(2,18,37,.78); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Fredoka", sans-serif; font-size: 1.25rem; font-weight: 700; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: .9rem; }
.nav a { opacity: .82; transition: opacity .2s ease, color .2s ease; }
.nav a:hover, .nav a:focus-visible { opacity: 1; color: var(--green); }
.nav .nav-cta { padding: 12px 18px; border-radius: 12px; background: var(--green); color: var(--navy); opacity: 1; }
.nav .nav-cta:hover { color: var(--navy); transform: translateY(-1px); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: white; transition: .25s ease; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: white; background: var(--navy-deep); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,18,37,.97) 0%, rgba(2,18,37,.87) 30%, rgba(2,18,37,.28) 63%, rgba(2,18,37,.05) 100%), linear-gradient(0deg, rgba(2,18,37,.48), transparent 42%); }
.hero-orbit { position: absolute; left: -12vw; bottom: -50vw; width: 92vw; aspect-ratio: 1; border: 1px solid rgba(25,220,123,.25); border-radius: 50%; box-shadow: 0 0 80px rgba(25,220,123,.08); }
.hero-content { position: relative; z-index: 2; padding-top: 92px; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green-dark); }
.hero h1, h2 { margin: 0; font-family: "Fredoka", sans-serif; letter-spacing: -.04em; line-height: .96; }
.hero h1 { max-width: 790px; font-size: clamp(3.3rem, 7.2vw, 6.9rem); text-wrap: balance; }
.hero h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-copy { max-width: 610px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.6vw, 1.17rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: var(--navy); box-shadow: 0 12px 34px rgba(25,220,123,.18); }
.button-primary:hover { background: #48eb98; }
.button-ghost { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: white; backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.button-disabled { cursor: default; opacity: .72; }
.button-disabled:hover { transform: none; }
.launch-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(2,18,37,.35); font-size: .78rem; font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(25,220,123,.6); animation: pulse 2s infinite; }
.scroll-cue { position: absolute; z-index: 3; bottom: 24px; left: 50%; width: 30px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 10px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: white; animation: scrollCue 1.8s infinite; }

.ticker { position: relative; z-index: 5; width: 100%; max-width: 100vw; overflow: hidden; isolation: isolate; border-block: 1px solid rgba(255,255,255,.12); background: var(--green); color: var(--navy); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 24px; padding: 15px 0; font-family: "Fredoka", sans-serif; font-size: 1.03rem; font-weight: 700; white-space: nowrap; animation: ticker 24s linear infinite; will-change: transform; }
.ticker-track i { font-style: normal; opacity: .5; }

.story-intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: .78fr 1.42fr; gap: 78px; align-items: center; }
.section-copy h2, .chapter-heading h2, .token-title h2 { color: var(--navy); font-size: clamp(2.8rem, 5.2vw, 5.3rem); }
.section-copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.section-copy h2 + p { margin-top: 28px; }
.story-frame, .wide-frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 26px 80px rgba(10,49,83,.17); }
.story-frame img { min-height: 520px; width: 100%; object-fit: cover; }
.story-frame figcaption, .wide-frame figcaption { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 10px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; color: white; background: rgba(2,18,37,.68); backdrop-filter: blur(12px); font-size: .85rem; font-weight: 700; }
.story-frame figcaption span, .wide-frame figcaption span { color: var(--green); }
.image-reveal img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.image-reveal:hover img { transform: scale(1.025); }

.mission { position: relative; overflow: hidden; color: white; background: var(--navy); }
.mission::before { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -300px; border: 1px solid rgba(25,220,123,.18); border-radius: 50%; box-shadow: 0 0 120px rgba(25,220,123,.08); }
.mission-heading { text-align: center; }
.mission-heading h2 { font-size: clamp(3.2rem, 7vw, 7rem); }
.mission-heading > p:last-child { max-width: 640px; margin: 28px auto 0; color: rgba(255,255,255,.67); font-size: 1.1rem; line-height: 1.75; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 62px; }
.mission-card { position: relative; min-height: 310px; padding: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); }
.mission-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.mission-card:hover::after { transform: scaleX(1); }
.mission-number { display: inline-block; color: var(--green); font-family: "Fredoka", sans-serif; font-size: 1.65rem; line-height: 1; font-weight: 700; }
.mission-card h3 { margin: 90px 0 14px; font-family: "Fredoka", sans-serif; font-size: 2rem; }
.mission-card p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.7; }

.homecoming { background: #f3eddd; }
.chapter-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.chapter-heading > p { max-width: 430px; margin: 0 0 8px; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.wide-frame img { width: 100%; aspect-ratio: 16/8.8; object-fit: cover; }

.rewards { position: relative; overflow: hidden; color: white; background: var(--navy-deep); }
.rewards-glow { position: absolute; right: -220px; bottom: -260px; width: 650px; height: 650px; border-radius: 50%; background: rgba(25,220,123,.12); filter: blur(100px); }
.rewards-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; }
.rewards-visual { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.rewards-visual img { min-height: 610px; width: 100%; object-fit: cover; object-position: 54% center; }
.rewards-copy h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.lead { color: rgba(255,255,255,.7); font-size: 1.06rem; line-height: 1.75; }
.reward-steps { margin: 30px 0 0; padding: 0; list-style: none; }
.reward-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.reward-steps li > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--navy); background: var(--green); font-weight: 800; }
.reward-steps h3 { margin: 0 0 4px; font-family: "Fredoka", sans-serif; font-size: 1.3rem; }
.reward-steps p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.55; }
.fine-print { color: rgba(255,255,255,.43); font-size: .78rem; line-height: 1.6; }

.token { background: var(--cream); }
.token-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: start; }
.token-panel { padding: 28px; border: 1px solid rgba(6,31,58,.12); border-radius: var(--radius); background: white; box-shadow: 0 22px 60px rgba(10,49,83,.09); }
.token-logo-wrap { display: grid; place-items: center; min-height: 320px; border-radius: 20px; background: radial-gradient(circle, #effff5 0%, #edf6f0 45%, #e8edf0 100%); }
.token-logo-wrap img { width: min(330px, 82%); filter: drop-shadow(0 20px 24px rgba(6,31,58,.16)); }
.token-details { margin-top: 18px; }
.token-details > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 16px 4px; border-bottom: 1px solid rgba(6,31,58,.1); }
.token-details span { color: var(--muted); font-size: .85rem; }
.token-details strong { color: var(--navy); font-size: .9rem; text-align: right; }
.token-details .pending { color: var(--green-dark); }
.ticker-note { grid-column: 1 / -1; display: grid; grid-template-columns: .45fr 1fr; gap: 50px; padding: 26px 30px; border-radius: 18px; color: white; background: var(--navy); }
.ticker-note strong { font-family: "Fredoka", sans-serif; font-size: 1.2rem; }
.ticker-note p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.65; }

.join { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: white; background: radial-gradient(circle at 75% 35%, #12517b 0%, var(--navy) 42%, var(--navy-deep) 100%); }
.join::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(circle, white 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to right, transparent, black 45%); }
.join-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; }
.join-copy { position: relative; z-index: 2; padding: 100px 0; }
.join-copy h2 { max-width: 680px; font-size: clamp(3rem, 6vw, 6rem); }
.join-copy > p:not(.eyebrow) { max-width: 590px; color: rgba(255,255,255,.7); font-size: 1.08rem; line-height: 1.75; }
.join-mascot { align-self: end; filter: drop-shadow(0 35px 45px rgba(0,0,0,.28)); }
.join-mascot img { width: 760px; max-width: none; transform: translateX(-20px); }

.footer { padding: 42px 0 28px; color: white; background: #010c19; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-top { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top > p { margin: 0; color: rgba(255,255,255,.48); }
.footer-bottom { align-items: flex-start; padding-top: 24px; color: rgba(255,255,255,.4); font-size: .72rem; line-height: 1.6; }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 720px; text-align: right; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(25,220,123,0); } 100% { box-shadow: 0 0 0 0 rgba(25,220,123,0); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%,0); } 45% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,16px); } }

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 30px; background: rgba(2,18,37,.97); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; font-family: "Fredoka", sans-serif; font-size: 1.7rem; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero-art { object-position: 64% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,18,37,.96), rgba(2,18,37,.72) 58%, rgba(2,18,37,.15)), linear-gradient(0deg, rgba(2,18,37,.55), transparent 55%); }
  .hero h1 { max-width: 660px; }
  .intro-grid, .rewards-grid, .token-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 48px; }
  .story-frame { order: -1; }
  .story-frame img { min-height: 440px; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: 230px; }
  .mission-card h3 { margin-top: 55px; }
  .chapter-heading { grid-template-columns: 1fr; gap: 22px; }
  .rewards-grid { gap: 48px; }
  .rewards-visual img { min-height: 490px; }
  .ticker-note { grid-column: auto; }
  .join-grid { grid-template-columns: 1fr 1fr; }
  .join-mascot img { width: 620px; }
}

@media (max-width: 680px) {
  :root { --wrap: min(100% - 28px, 1180px); --radius: 20px; }
  .site-header { width: calc(100% - 20px); margin-top: 10px; }
  .brand img { width: 42px; height: 42px; }
  .hero { min-height: 900px; align-items: end; }
  .hero-art { height: 57%; top: 0; bottom: auto; object-position: 68% center; }
  .hero-shade { background: linear-gradient(0deg, var(--navy-deep) 37%, rgba(2,18,37,.9) 51%, rgba(2,18,37,.05) 88%); }
  .hero-content { padding: 0 0 92px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-copy { margin-top: 20px; font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .ticker-track { font-size: .9rem; }
  .section { padding: 72px 0; }
  .story-frame img { min-height: 330px; }
  .section-copy h2, .chapter-heading h2, .token-title h2 { font-size: 2.9rem; }
  .mission-heading { text-align: left; }
  .mission-heading h2 { font-size: 3.5rem; }
  .mission-heading > p:last-child { margin-left: 0; }
  .mission-card { padding: 26px; }
  .wide-frame img { aspect-ratio: 4/5; object-position: 55% center; }
  .rewards-copy h2 { font-size: 3rem; }
  .rewards-visual img { min-height: 420px; object-position: 42% center; }
  .token-panel { padding: 16px; }
  .token-logo-wrap { min-height: 260px; }
  .token-details > div { grid-template-columns: 80px 1fr; }
  .ticker-note { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .join { min-height: 880px; align-items: stretch; }
  .join-grid { grid-template-columns: 1fr; }
  .join-copy { padding: 76px 0 0; }
  .join-copy h2 { font-size: 3.3rem; }
  .join-mascot { width: 100%; margin-top: -20px; justify-self: center; overflow: visible; }
  .join-mascot img { position: relative; left: 50%; width: 470px; max-width: 125vw; transform: translateX(-50%); }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .disclaimer { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
