:root {
  --sky: #7ec8f0;
  --sky-deep: #4aa3d8;
  --cloud: #fffdf8;
  --grass: #5cb85a;
  --grass-deep: #2f7a35;
  --gold: #f0c43a;
  --gold-deep: #c48a12;
  --crimson: #c42828;
  --crimson-deep: #8a1515;
  --frog: #8ba9c3;
  --armor: #1a1a1b;
  --ink: #171717;
  --line: #111111;
  --cream: #fff6e8;
  --panel: #fffaf0;
  --font-display: "Bangers", system-ui, sans-serif;
  --font-title: "Cinzel", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --radius: 22px;
  --header-h: 76px;
  --section-h: calc(100svh - var(--header-h));
  --outline: 3.5px solid var(--line);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.55;
  font-weight: 700;
  background: var(--sky-deep);
  overflow-x: hidden;
  cursor: none;
}

body.is-touch {
  cursor: auto;
}

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

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

/* Custom cursor */
.fx-cursor,
.fx-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: normal;
  opacity: 0;
  transition: opacity 0.25s;
}

body.has-pointer .fx-cursor,
body.has-pointer .fx-cursor-ring {
  opacity: 1;
}

.fx-cursor {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--line);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.fx-cursor-ring {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  border: 2.5px solid rgba(26, 26, 27, 0.45);
  transition: width 0.2s var(--pop), height 0.2s var(--pop), margin 0.2s var(--pop), background 0.2s;
}

body.cursor-hot .fx-cursor-ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(240, 196, 58, 0.18);
  border-color: var(--crimson);
}

.sky-wash {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 20% 15%, #c7e9ff 0%, transparent 40%),
    radial-gradient(circle at 80% 10%, #ffe7a3 0%, transparent 35%),
    linear-gradient(180deg, #8fd0f5 0%, #62b4e4 45%, #4fa85a 100%);
  pointer-events: none;
}

.float-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  display: block;
  width: 120px;
  height: 46px;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 40px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
  animation: drift 28s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 50%;
}

.cloud::before {
  width: 48px;
  height: 48px;
  left: 18px;
  top: -28px;
}

.cloud::after {
  width: 64px;
  height: 64px;
  left: 48px;
  top: -36px;
}

.c1 { top: 12%; left: -10%; animation-duration: 34s; }
.c2 { top: 28%; left: -20%; width: 90px; animation-duration: 42s; animation-delay: -12s; }
.c3 { top: 55%; left: -15%; width: 140px; animation-duration: 50s; animation-delay: -22s; opacity: 0.85; }

.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border: 2px solid var(--line);
  transform: rotate(45deg);
  animation: twinkle 2.8s ease-in-out infinite;
}

.s1 { top: 18%; left: 72%; animation-delay: 0s; }
.s2 { top: 42%; left: 18%; animation-delay: 0.6s; }
.s3 { top: 66%; left: 84%; animation-delay: 1.1s; }
.s4 { top: 78%; left: 40%; animation-delay: 1.7s; }

.leaf {
  position: absolute;
  width: 18px;
  height: 28px;
  background: var(--gold);
  border: 2.5px solid var(--line);
  border-radius: 0 80% 0 80%;
  animation: leaf-fall 14s linear infinite;
}

.l1 { left: 25%; top: -10%; animation-delay: -2s; }
.l2 { left: 70%; top: -10%; animation-delay: -8s; background: var(--crimson); }

.wrap {
  width: min(1140px, calc(100% - 2.25rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.15rem;
  background: rgba(255, 246, 232, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: var(--outline);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--pop);
}

.brand-mark:hover {
  transform: rotate(-3deg) scale(1.04);
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.2));
  animation: wiggle 3.5s ease-in-out infinite;
}

.brand-mark span {
  background: linear-gradient(180deg, #ffe27a, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--line);
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: none;
  gap: 0.35rem;
  margin-left: 1rem;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 2.5px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s var(--pop), background 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 3px 3px 0 var(--line);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  border: var(--outline);
  box-shadow: 3px 3px 0 var(--line);
  transition: transform 0.2s var(--pop), background 0.2s, box-shadow 0.2s;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--gold);
  transform: translate(-2px, -2px) rotate(-6deg);
  box-shadow: 5px 5px 0 var(--line);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: 0.2rem;
  border: var(--outline);
  border-radius: 14px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--line);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 3px;
  margin-inline: auto;
  background: var(--line);
  border-radius: 2px;
}

.mobile-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 39;
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1.15rem 1.15rem;
  background: var(--cream);
  border-bottom: var(--outline);
}

.mobile-nav a {
  padding: 0.7rem 0.5rem;
  font-weight: 800;
  border-radius: 12px;
}

.mobile-nav a:hover {
  background: #fff;
}

.mobile-nav[hidden] {
  display: none;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 18px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1rem;
  border: var(--outline);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s var(--pop), box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--line);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--line);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--line);
}

.btn-ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--line);
}

.btn-gold {
  background: linear-gradient(180deg, #ffe27a, var(--gold) 48%, var(--gold-deep));
  color: var(--ink);
}

.btn-crimson {
  background: linear-gradient(180deg, #ef4d4d, var(--crimson) 48%, var(--crimson-deep));
  color: #fff8f0;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
}

/* Sections */
.section-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-bg__img {
  position: absolute;
  inset: -4% 0;
  z-index: -2;
  background-image: var(--bg);
  background-size: cover;
  background-position: center center;
  transform: scale(1.06);
  filter: contrast(1.05) saturate(1.08);
  will-change: transform;
}

.hero .section-bg__img {
  background-position: center 35%;
}

.lore .section-bg__img {
  background-position: center 45%;
}

.memes .section-bg__img {
  background-position: center 62%;
}

.join .section-bg__img {
  background-position: center 55%;
}

.section-bg__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-veil {
  background:
    linear-gradient(105deg, rgba(143, 208, 245, 0.55) 0%, rgba(143, 208, 245, 0.12) 48%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(47, 122, 53, 0.18));
}

.lore-veil {
  background: linear-gradient(180deg, rgba(255, 246, 232, 0.18), rgba(255, 250, 240, 0.28) 50%, rgba(255, 246, 232, 0.22));
}

.memes-veil {
  background: linear-gradient(180deg, rgba(255, 214, 120, 0.12), rgba(255, 250, 240, 0.22) 55%, rgba(90, 40, 20, 0.18));
}

.join-veil {
  background: linear-gradient(180deg, rgba(18, 16, 48, 0.18), rgba(12, 10, 36, 0.28) 60%, rgba(8, 8, 20, 0.45));
}

/* Hero */
.hero {
  position: relative;
  height: var(--section-h);
  min-height: var(--section-h);
  max-height: var(--section-h);
  display: grid;
  align-items: end;
  padding: 1.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-inner {
  width: min(1180px, calc(100% - 1.75rem));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 2.5rem;
}

.hero-copy {
  max-width: 36rem;
  position: relative;
  z-index: 2;
}

.ticker {
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border: var(--outline);
  box-shadow: 3px 3px 0 var(--line);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticker-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #32d26b;
  border: 2px solid var(--line);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

.title-burst {
  margin: 0;
  display: grid;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.title-burst .word {
  position: relative;
  display: inline-block;
  -webkit-text-stroke: 3px var(--line);
  paint-order: stroke fill;
  text-shadow:
    4px 4px 0 #fff,
    7px 7px 0 var(--line);
  animation: title-pop 0.7s var(--pop) both;
}

.title-burst .word:nth-child(2) {
  animation-delay: 0.08s;
  color: var(--crimson);
}

.lede {
  margin: 1.05rem 0 1.45rem;
  max-width: 28rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: 4px 4px 0 var(--line);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ca-chip {
  margin: 0.95rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: 14px;
  background: #fff;
  border: var(--outline);
  box-shadow: 3px 3px 0 var(--line);
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s var(--pop), background 0.2s;
}

.ca-chip code {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.ca-label {
  flex-shrink: 0;
  padding: 0.1rem 0.4rem;
  border-radius: 8px;
  background: var(--gold);
  border: 2px solid var(--line);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.ca-chip svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ca-chip:hover,
.ca-chip.is-copied {
  background: #fff6c9;
  transform: translate(-2px, -2px);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 2.5px solid var(--line);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.2s var(--pop), background 0.2s;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  background: var(--gold);
  transform: translateY(-2px) rotate(-2deg);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(440px, 88vw);
  z-index: 1;
}

.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  animation: float-in 0.9s var(--pop) both;
}

.burst-ring {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, var(--gold) 0 8deg, transparent 8deg 18deg);
  opacity: 0.55;
  filter: blur(0.2px);
  animation: spin-slow 18s linear infinite;
  z-index: 0;
}

.burst-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 208, 245, 0.65), transparent 70%);
}

.shadow-blob {
  position: absolute;
  bottom: 4%;
  width: 58%;
  height: 28px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 50%;
  filter: blur(4px);
  animation: shadow-pulse 2.4s ease-in-out infinite;
  z-index: 1;
}

.hero-logo {
  position: relative;
  width: 92%;
  z-index: 2;
  filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, 0.18));
  animation: hop 2.4s var(--pop) infinite;
  transform-origin: 50% 90%;
}

.sticker {
  position: absolute;
  z-index: 3;
  font-family: var(--font-display);
  pointer-events: none;
  user-select: none;
}

.star-a,
.star-b {
  color: var(--gold);
  -webkit-text-stroke: 2px var(--line);
  font-size: 2rem;
  animation: twinkle 2.2s ease-in-out infinite;
}

.star-a { top: 8%; left: 2%; }
.star-b { top: 18%; right: 0; animation-delay: 0.5s; font-size: 1.5rem; }

.boom {
  right: -2%;
  bottom: 22%;
  padding: 0.35rem 0.55rem;
  background: var(--crimson);
  color: #fff;
  border: 3px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  box-shadow: 3px 3px 0 var(--line);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  transform: rotate(12deg);
  animation: stamp 2.8s var(--pop) infinite;
}

.hero-hill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background:
    radial-gradient(120% 100% at 50% -10%, transparent 52%, #4fa85a 53%),
    linear-gradient(180deg, transparent, rgba(47, 122, 53, 0.55));
  border-top: 3px solid transparent;
  pointer-events: none;
}

/* Lore */
.lore,
.memes,
.join {
  height: var(--section-h);
  min-height: var(--section-h);
  max-height: var(--section-h);
  display: flex;
  align-items: center;
  padding: clamp(1rem, 2.5vh, 2rem) 0;
  overflow: hidden;
}

.lore-grid {
  display: grid;
  gap: 1.75rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--gold);
  border: 2.5px solid var(--line);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lore-text h2,
.section-head h2,
.join-panel h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: 0.02em;
  -webkit-text-stroke: 1.5px transparent;
}

.lore-text {
  padding: 1.35rem 1.4rem 1.15rem;
  background: rgba(255, 250, 240, 0.88);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--line);
}

.lore-text p {
  margin: 0 0 1rem;
  max-width: 38rem;
  font-size: 1.08rem;
}

.lore-punch {
  font-family: var(--font-display);
  font-size: 1.45rem !important;
  letter-spacing: 0.03em;
  color: var(--crimson);
  -webkit-text-stroke: 1.5px var(--line);
  paint-order: stroke fill;
}

.lore-traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.comic-panel {
  background: var(--panel);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--line);
}

.lore-traits li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  transition: transform 0.25s var(--pop);
}

.lore-traits li:hover {
  transform: translate(-3px, -3px) rotate(-0.5deg);
  box-shadow: 9px 9px 0 var(--line);
}

.trait-ico {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe27a, var(--gold-deep));
  border: 3px solid var(--line);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--line);
}

.trait-ico svg {
  width: 22px;
  height: 22px;
}

.lore-traits strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.1rem;
}

.lore-traits span {
  color: rgba(23, 23, 23, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Memes */

.section-head {
  text-align: center;
  margin-bottom: 0;
  padding: 1.1rem 1.2rem 1.25rem;
  background: rgba(255, 250, 240, 0.9);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--line);
}

.section-head p {
  margin: 0.35rem auto 0;
  max-width: 28rem;
  color: rgba(23, 23, 23, 0.78);
}

.memes .wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: min(1140px, calc(100% - 2.25rem));
  height: 100%;
  min-height: 0;
}

.meme-grid {
  display: grid;
  gap: 1rem;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  perspective: 1200px;
}

.meme-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border-radius: 24px;
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 var(--line);
  background: #fff;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s, transform 0.35s var(--pop);
}

.meme-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--smooth);
}

.meme-tile figcaption {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--line);
  box-shadow: 3px 3px 0 var(--line);
  text-align: center;
}

.meme-tile:hover {
  box-shadow: 12px 12px 0 var(--line);
}

.meme-tile:hover img {
  transform: scale(1.08);
}

/* Join */

.join-panel {
  text-align: center;
  padding: 2.4rem 1.2rem 2rem;
  position: relative;
  overflow: hidden;
}

.join-panel::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 220px;
  height: 220px;
  background: repeating-conic-gradient(from 0deg, rgba(240, 196, 58, 0.35) 0 10deg, transparent 10deg 22deg);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
  pointer-events: none;
}

.join-mascot-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.join-mascot {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(5px 6px 0 rgba(0, 0, 0, 0.18));
  animation: hop 2.4s var(--pop) infinite;
  transform-origin: 50% 90%;
}

.join-panel h2,
.join-panel > p,
.join-panel .eyebrow {
  color: var(--ink);
}

.join-panel h2 {
  position: relative;
}

.join-panel > p {
  margin: 0 auto 1.6rem;
  max-width: 26rem;
  color: rgba(23, 23, 23, 0.78);
  position: relative;
}

.join-links {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  position: relative;
}

.join-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.05rem;
  align-items: center;
  text-align: left;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: #fff;
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  transition: transform 0.2s var(--pop), box-shadow 0.2s, background 0.2s;
}

.join-card svg {
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  color: var(--ink);
}

.join-card span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.join-card small {
  color: rgba(23, 23, 23, 0.65);
  font-size: 0.85rem;
  font-weight: 700;
}

.join-card:hover {
  transform: translate(-3px, -3px) rotate(-1deg);
  box-shadow: 7px 7px 0 var(--line);
  background: #fff6c9;
}

.join-card--accent {
  background: linear-gradient(135deg, #ffe0e0, #fff1c2);
}

/* Footer */
.site-footer {
  background: #111;
  color: rgba(255, 246, 232, 0.72);
  padding: 1.5rem 0 2rem;
  border-top: 4px solid var(--gold);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Motion helpers */
.pop-in {
  animation: pop-in 0.65s var(--pop) both;
}

.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.22s; }
.delay-4 { animation-delay: 0.32s; }

.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition:
    opacity 0.7s var(--smooth),
    transform 0.7s var(--pop);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes title-pop {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.8) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hop {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  35% {
    transform: translateY(-16px) scale(0.97, 1.04);
  }
  50% {
    transform: translateY(-18px) scale(0.98, 1.03);
  }
  70% {
    transform: translateY(0) scale(1.05, 0.92);
  }
  82% {
    transform: translateY(-4px) scale(0.99, 1.02);
  }
}

@keyframes shadow-pulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.35;
  }
  50% {
    transform: scaleX(0.78);
    opacity: 0.22;
  }
}

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

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(130vw);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: rotate(45deg) scale(0.85);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1.2);
  }
}

@keyframes leaf-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0.2;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(50, 210, 107, 0.5);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(50, 210, 107, 0);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-6deg);
  }
  75% {
    transform: rotate(6deg);
  }
}

@keyframes stamp {
  0%,
  70%,
  100% {
    transform: rotate(12deg) scale(1);
  }
  78% {
    transform: rotate(18deg) scale(1.18);
  }
  86% {
    transform: rotate(8deg) scale(0.94);
  }
}

/* Desktop */
@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    padding-bottom: 1rem;
  }

  .hero-visual {
    width: min(500px, 100%);
    justify-self: end;
  }

  .lore-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }


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

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .meme-grid {
    grid-template-columns: repeat(2, minmax(1fr, 1fr));
    grid-template-rows: minmax(2, 1fr);
    align-content: center;
  }

  .meme-tile img {
    max-height: calc(var(--section-h) - 14rem);
  }

  .join-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    cursor: auto;
  }

  .fx-cursor,
  .fx-cursor-ring {
    display: none !important;
  }
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }

  .fx-cursor,
  .fx-cursor-ring {
    display: none !important;
  }
}
