/* ============ TOKENS ============ */
:root{
  --cream: #f4ecdd;
  --paper: #fffaf0;
  --paper-2: #efe4cf;
  --ink: #1c140c;
  --ink-soft: #4a3c2c;
  --hoodie: #8a5a2f;
  --hoodie-dark: #5f3d1f;
  --hoodie-light: #c4915c;
  --skin: #d8d2c6;
  --green: #caf70c;
  --red-text: #a3271c;
  --red: #e2483d;
  --shadow: 0 6px 0 var(--ink);
  --shadow-sm: 0 3px 0 var(--ink);
  --radius: 18px;
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ticker-h: 36px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font-family:inherit;cursor:pointer}
.sr-only{
  position:absolute !important; width:1px !important; height:1px !important; padding:0 !important;
  margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important;
  white-space:nowrap !important; border:0 !important;
}

/* accessibility: respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* custom scrollbar */
html{ scrollbar-color: var(--hoodie) var(--cream); scrollbar-width: thin; }
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background: var(--cream); }
::-webkit-scrollbar-thumb{ background: var(--hoodie); border-radius:999px; border:2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover{ background: var(--hoodie-dark); }

/* scroll progress bar */
.scroll-progress{
  position: fixed; top:0; left:0; height:3px; width:0%;
  background: linear-gradient(90deg, var(--green), var(--hoodie));
  z-index: 1000; transition: width .08s linear;
}

/* scroll reveal */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible{ opacity:1; transform:none; }

/* scroll to top */
.scroll-top{
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--cream); border: 2.5px solid var(--cream);
  font-size: 1.2rem; box-shadow: 0 3px 0 rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform: translateY(12px) scale(.85); pointer-events:none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.scroll-top.visible{ opacity:1; transform:none; pointer-events:auto; }
.scroll-top:hover{ background: var(--hoodie-dark); }
@media (max-width: 640px){
  .scroll-top{ width:42px; height:42px; bottom:1rem; right:1rem; font-size:1.05rem; }
}

.grain{
  position:fixed; inset:0; pointer-events:none; z-index:999; opacity:.05; mix-blend-mode:multiply;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--hoodie-dark);
  margin-bottom: .5rem;
}

h1,h2,h3{ font-family: var(--font-display); font-weight:600; color:var(--ink); line-height:1.1; }

.ink-underline{
  position:relative;
  display:inline-block;
}
.ink-underline::after{
  content:"";
  position:absolute; left:0; right:0; bottom:.05em; height:.34em;
  background: var(--green);
  z-index:-1; opacity:.55; border-radius:3px;
}

/* ============ BUTTONS ============ */
.btn{
  position: relative; overflow: hidden;
  display:inline-flex; align-items:center; justify-content:center; gap:.4rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-display);
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn::before{
  content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
  pointer-events:none;
}
.btn:hover::before{ left: 130%; }
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.btn--buy{ background: var(--green); color: var(--ink); }
.btn--ghost{ background: var(--paper); color: var(--ink); }
.btn--sm{ padding:.55rem 1rem; font-size:.82rem; }
.btn--lg{ padding: 1.1rem 2.2rem; font-size: 1.1rem; }

/* ============ NAV ============ */
.nav{
  position: sticky; top: var(--ticker-h); z-index: 100;
  background: rgba(244,236,221,.88);
  backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--ink);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled{ background: rgba(244,236,221,.97); box-shadow: 0 6px 18px rgba(28,20,12,.1); }

/* ============ BUY TICKER ============ */
.ticker{
  position: sticky; top:0; z-index: 101;
  background: var(--ink);
  border-bottom: 2.5px solid var(--ink);
  overflow: hidden; white-space: nowrap;
  height: var(--ticker-h);
  display:flex; align-items:center;
}
.ticker__track{
  display:inline-flex; align-items:center; gap: 2.6rem;
  padding-left: 2.6rem;
  animation: tickerScroll 60s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track{ animation-play-state: paused; }
@keyframes tickerScroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.ticker__item{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family: var(--font-mono); font-size:.76rem; font-weight:600;
  color: var(--cream);
}
.ticker__item strong{ color: var(--green); letter-spacing:.04em; }
.ticker__dot{
  width:7px; height:7px; border-radius:50%; background: var(--green);
  box-shadow: 0 0 6px var(--green); flex-shrink:0;
}
.nav__inner{
  max-width: 1200px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding: .85rem 1.5rem;
  gap: 1.5rem;
}
.brand{ display:flex; align-items:center; gap:.55rem; font-family:var(--font-display); font-weight:700; font-size:1.25rem; }
.nav__inner .brand{ margin-right:auto; }
.brand__mark{ width:34px; height:34px; border-radius:50%; object-fit:cover; border:2px solid var(--ink); }
.footer__brand .brand__mark{ border-color: var(--cream); }
@media (max-width: 1260px) and (min-width: 981px){
  .nav__inner{ gap:.8rem; }
  .ca-pill{ padding:.5rem .6rem; }
  .ca-pill__label{ display:none; }
}
.nav__menu-ca{ display:none; }
.ca-pill{
  display:flex; align-items:center; gap:.4rem;
  background: var(--paper); border:2px solid var(--ink); border-radius:999px;
  padding:.5rem .8rem; font-family: var(--font-mono); font-size:.72rem; font-weight:700;
  color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .15s ease, background .2s ease;
}
.ca-pill:hover{ transform: translateY(-2px); }
.ca-pill:active{ transform: translateY(1px); }
.ca-pill.copied{ background: var(--green); }
.ca-pill__label{ color: var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; font-size:.62rem; }
.ca-pill.copied .ca-pill__label{ color: rgba(28,20,12,.65); }
.ca-pill__addr{ white-space:nowrap; }
.ca-pill__icon{ color: var(--ink-soft); flex-shrink:0; }
.ca-pill--mobile{ margin: 0 1.5rem 1rem; justify-content:center; }
.hero__ca{ grid-column: 1 / -1; min-height:49px; padding:.65rem 1rem; justify-content:center; }
.ca-pill__addr--full{ display:none; }
@media (max-width: 640px){
  .hero__ca .ca-pill__addr--short{ display:none; }
  .hero__ca .ca-pill__addr--full{ display:inline; font-size: clamp(.5rem, 2.55vw, .72rem); }
}
/* One hamburger menu at every width: the desktop header stays brand + Buy $HOODIE. */
.nav__burger{ display:flex; flex-direction:column; gap:5px; background:none; border:none; padding:.4rem; cursor:pointer; }
.nav__burger span{
  width:24px; height:3px; background:var(--ink); border-radius:2px;
  transition: transform .2s ease, opacity .15s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }
.nav__menu{
  display:none; flex-direction:column; gap:0;
  border-top: 2.5px solid var(--ink);
  background: var(--paper);
}
.nav__menu a{ padding: 1rem 1.5rem; font-weight:600; border-bottom:1px solid var(--paper-2); }
.nav__menu a:hover{ background: var(--paper-2); color: var(--hoodie-dark); }
.nav__menu a.active{ color: var(--hoodie-dark); box-shadow: inset 4px 0 0 var(--green); }
.nav__menu .btn{ margin: 1rem 1.5rem; }
.nav__menu.open{ display:flex; }
/* Desktop: a panel anchored under the burger instead of a full-width drawer. */
@media (min-width: 981px){
  .nav__menu{
    position:absolute; top:100%;
    /* Mirror .nav__inner's centered 1200px container so the panel's right edge
       lands on the burger and the page's content edge, not the window edge. */
    right: max(1.5rem, calc((100% - 1200px) / 2 + 1.5rem));
    width: min(260px, calc(100% - 3rem));
    border: 2.5px solid var(--ink); border-radius:14px;
    box-shadow: var(--shadow);
    /* Scroll inside the panel on short windows instead of pushing Buy $HOODIE
       past the bottom edge — the menu grows every time a route is added. */
    max-height: calc(100vh - var(--ticker-h) - 76px - 1rem);
    overflow: hidden auto;
  }
  .nav__menu a:last-of-type{ border-bottom:none; }
  .nav__menu .btn{ margin:.8rem 1rem 1rem; }
}

/* ============ HERO ============ */
.hero{
  position: relative;
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display:grid; grid-template-columns: 1.15fr .85fr; gap: 2rem;
  align-items:center;
  overflow: hidden;
}

.hero__inner{ position:relative; z-index:1; }
.hero__title{ font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.1rem; text-align:center; }
.hero__sub{ font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; margin: 0 auto 1.8rem; text-align:center; }
.hero__ctas{ display:grid; grid-template-columns: max-content max-content; justify-content:center; gap: .9rem; margin-bottom: 2.2rem; }
.hero__stats{
  display:grid; grid-template-columns: repeat(4,1fr); gap: .8rem;
  background: var(--paper); border:2.5px solid var(--ink); border-radius: var(--radius);
  padding: 1rem; box-shadow: var(--shadow);
}
.hstat{ display:flex; flex-direction:column; gap:.25rem; transition: transform .2s ease; }
.hstat:hover{ transform: translateY(-2px); }
.hstat__label{ font-family: var(--font-mono); font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color: var(--ink-soft); }
.hstat__value{ font-family: var(--font-mono); font-weight:700; font-size:1.05rem; }

/* Flush right so the mascot's edge lines up with the burger and the section grid. */
.hero__art{ position:relative; z-index:1; display:flex; justify-content:flex-end; }
.hero__art::before{
  content:""; position:absolute; inset: -10%;
  background: radial-gradient(circle, rgba(202,247,12,.22), transparent 65%);
  filter: blur(10px); z-index:-1;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse{ 0%,100%{ opacity:.6; transform:scale(1);} 50%{ opacity:1; transform:scale(1.08);} }
.mascot--hero{
  width: min(100%, 340px); border-radius: 28px; border: 3px solid var(--ink);
  box-shadow: var(--shadow); background: var(--paper);
  animation: float 4.5s ease-in-out infinite;
}
@keyframes float{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ============ SECTIONS ============ */
.section{ max-width:1200px; margin:0 auto; padding: 5rem 1.5rem; scroll-margin-top: calc(var(--ticker-h) + 76px); }
.section--flip{ background: var(--paper-2); max-width:none; border-top:2.5px solid var(--ink); border-bottom:2.5px solid var(--ink); }
.section--flip > *{ max-width:1200px; margin-left:auto; margin-right:auto; }
.section__head{ text-align:center; max-width:640px; margin: 0 auto 3rem; }
.section__head h2{ font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section__sub{ color:var(--ink-soft); margin-top:.6rem; }
.meme-depot-link{
  color:var(--hoodie-dark); font-weight:700; text-decoration:underline;
  text-decoration-thickness:2px; text-underline-offset:.18em;
}

/* about */
.about-center{ display:flex; justify-content:center; }
.about-card{
  background: var(--paper); border:2.5px solid var(--ink); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-card--lead{ max-width: 760px; }
.about-card:hover{ transform: translateY(-3px); box-shadow: 0 9px 0 var(--ink); }
.about-card p + p{ margin-top: 1rem; }

/* chain grid */
.chain-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.chain-card{
  background: var(--paper); border:2.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chain-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.chain-card h3{ font-size:1.15rem; margin-bottom:.6rem; }
.chain-card p{ color: var(--ink-soft); font-size:.95rem; }
.chain-card--highlight{ background: var(--green); }
.chain-card--highlight p{ color: rgba(28,20,12,.75); }

/* jake */
.jake-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items:start; }
.jake-art{ display:flex; justify-content:center; }
.mascot--jake{
  width:100%; max-width:320px; border-radius: 22px; border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm); background: var(--paper);
}
.jake-copy{ max-width: 60ch; padding-top: .3rem; }
.jake-copy h2{ font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-top:.4rem; }
.jake-copy h2 + p{ margin-top:1.4rem; color: var(--ink-soft); }
.jake-copy p + p{ margin-top:1rem; color: var(--ink-soft); }
.jake-copy strong{ color: var(--ink); }
.jake-copy p a{
  color:var(--hoodie-dark); font-weight:700; text-decoration:underline;
  text-decoration-thickness:2px; text-underline-offset:.18em;
}
.jake-copy p a:hover{ color:var(--ink); }
.hero__sub a{
  color:var(--hoodie-dark); font-weight:700; text-decoration:underline;
  text-decoration-thickness:2px; text-underline-offset:.18em;
}
.hero__sub a:hover{ color:var(--ink); }

/* First-visit film overlay */
.film-modal{ position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:1.5rem; }
.film-modal[hidden]{ display:none; }
.film-modal__backdrop{ position:absolute; inset:0; background:rgba(28,20,12,.72); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); }
.film-modal__dialog{ position:relative; width:min(920px, 100%); }
.film-modal__video{ display:block; width:100%; border:3px solid var(--ink); border-radius:var(--radius); background:#000; box-shadow:var(--shadow); }
.film-modal__close{
  position:absolute; top:-1.1rem; right:-1.1rem; z-index:1;
  width:44px; height:44px; border-radius:50%;
  background:var(--green); border:2.5px solid var(--ink);
  font-size:1.05rem; font-weight:700; color:var(--ink);
  cursor:pointer; box-shadow:var(--shadow-sm);
  transition: transform .15s ease;
}
.film-modal__close:hover{ transform:scale(1.06); }
body.film-modal-open{ overflow:hidden; }

/* Homepage explore grid */
.explore-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(195px, 1fr));
  gap:1.2rem; max-width:1100px; margin:0 auto;
}
.explore-card{
  display:block; background:var(--paper);
  border:2.5px solid var(--ink); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease;
}
.explore-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.explore-card__shot{
  display:block; width:100%; height:auto; aspect-ratio:16/10;
  object-fit:cover; object-position:top;
  border-bottom:2.5px solid var(--ink);
}
.explore-card__label{
  display:flex; align-items:center; justify-content:center; gap:.4rem;
  padding:.75rem .9rem; font-weight:700;
}
.jake-links{ display:flex; gap:.8rem; margin-top:1.5rem; flex-wrap:wrap; }

/* genesis */
.genesis-card{ display:flex; flex-direction:column; align-items:center; gap:1.1rem; max-width:420px; margin:0 auto; }
.genesis-post{ display:block; width:100%; border:2.5px solid var(--ink); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.genesis-post:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.genesis-post__shot{ display:block; width:100%; height:auto; }
.genesis-credit{ display:flex; align-items:center; gap:.6rem; color: var(--ink-soft); font-size:.92rem; }
.genesis-credit:hover{ color: var(--ink); }
.genesis-credit__avatar{ width:40px; height:40px; border-radius:50%; border:1.5px solid var(--ink); display:block; }
.genesis-credit strong{ color: var(--ink); }

/* story film */
.hoodie-film-section{
  max-width:none; padding-top:5.5rem; padding-bottom:5.5rem;
  border-bottom:2.5px solid var(--ink);
}
.hoodie-film{ max-width:980px; margin:0 auto; }
.hoodie-film__frame{
  position:relative; padding:.65rem;
  background:var(--ink); border:3px solid var(--ink); border-radius:22px;
  box-shadow:10px 10px 0 var(--green);
  transform:rotate(-.25deg);
}
.hoodie-film__video{
  display:block; width:100%; aspect-ratio:16/9;
  object-fit:cover; background:#000; border-radius:13px;
}
.hoodie-film__stamp{
  position:absolute; right:1.4rem; top:-1rem;
  padding:.42rem .7rem;
  background:var(--green); color:var(--ink);
  border:2px solid var(--ink); border-radius:999px;
  box-shadow:var(--shadow-sm);
  font:700 .68rem/1 var(--font-mono);
  letter-spacing:.06em; transform:rotate(2deg);
}
.hoodie-film figcaption{
  max-width:680px; margin:1.4rem auto 0;
  color:var(--ink-soft); text-align:center; font-size:.92rem;
}

/* tracker */
.tracker-stats{
  display:grid; grid-template-columns: repeat(4,1fr); gap:1rem;
  margin-bottom: 1.5rem;
}
.tstat{
  background: var(--paper); border:2.5px solid var(--ink); border-radius: 14px;
  padding: 1rem 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, background-color .4s ease;
}
.tstat:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.tstat.pulse{ animation: statPulse .7s ease; }
@keyframes statPulse{
  0%{ background-color: var(--paper); }
  35%{ background-color: rgba(202,247,12,.22); }
  100%{ background-color: var(--paper); }
}
.tstat__label{ display:block; font-family:var(--font-mono); font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); margin-bottom:.35rem; }
.tstat__value{ display:block; font-family:var(--font-mono); font-weight:700; font-size:1.15rem; }
.tstat__value.up{
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: .28em;
  text-underline-offset: -.18em;
  text-decoration-skip-ink: none;
}
.tstat__value.down{ color: var(--red-text); }
.tracker-controls{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin-bottom:2rem; font-size:.85rem; color:var(--ink-soft); }
.tracker-status{ display:inline-block; padding:.08rem .35rem; border-radius:4px; font-family:var(--font-mono); }
.refresh-icon{ display:inline-block; transition: transform .3s ease; }
.refresh-icon.spinning{ animation: spin .8s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.chart-embed{
  border:2.5px solid var(--ink); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow);
  height: 560px; background:var(--paper);
}
.chart-embed iframe{ width:100%; height:100%; border:none; }

/* memes */
.meme-grid{
  column-count: 3; column-gap: 1.2rem;
}
.meme-card{
  display:block; break-inside: avoid; margin-bottom: 1.2rem;
  background: var(--paper); border:2.5px solid var(--ink); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease;
}
.meme-card:hover{ transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); }
.meme-card__img{ display:block; width:100%; height:auto; cursor: zoom-in; }

/* lightbox */
.lightbox{
  position: fixed; inset:0; z-index: 300;
  background: rgba(28,20,12,.9);
  display:flex; align-items:center; justify-content:center; padding: 3rem 1.5rem;
}
.lightbox.hidden{ display:none; }
.lightbox__img{
  max-width: min(100%, 900px); max-height: 88vh; border-radius: 14px;
  border: 3px solid var(--cream); box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__close{
  position:absolute; top: 1.2rem; right: 1.2rem;
  background: var(--paper); border:2px solid var(--ink); border-radius:999px;
  width:42px; height:42px; font-weight:700; font-size:1.1rem;
}
.lightbox__nav{
  position:absolute; top:50%; transform: translateY(-50%);
  background: var(--paper); border:2px solid var(--ink); border-radius:999px;
  width:46px; height:46px; font-size:1.1rem;
}
.lightbox__nav--prev{ left: 1.2rem; }
.lightbox__nav--next{ right: 1.2rem; }
@media (max-width: 640px){
  .lightbox__nav{ width:38px; height:38px; }
  .lightbox__nav--prev{ left:.5rem; }
  .lightbox__nav--next{ right:.5rem; }
  .lightbox__close{ top:.6rem; right:.6rem; }
}

/* bell curve meme maker */
.meme-maker-section{
  max-width:none;
  position:relative;
  overflow:hidden;
  background-color:var(--green);
  background-image:repeating-linear-gradient(-45deg, transparent 0 34px, rgba(28,20,12,.045) 34px 36px);
  border-bottom:2.5px solid var(--ink);
}
.meme-maker-section::before{
  content:"MAKE IT • SAVE IT • POST IT •";
  position:absolute; top:2.4rem; left:-2.4rem;
  width:230px; padding:.35rem 0;
  background:var(--ink); color:var(--green);
  font-family:var(--font-mono); font-size:.62rem; font-weight:700; letter-spacing:.08em;
  text-align:center; transform:rotate(-38deg); pointer-events:none;
}
.meme-maker-section > *{ max-width:1200px; margin-left:auto; margin-right:auto; }
.meme-maker-section .section__sub{ color:rgba(28,20,12,.72); }
.meme-maker-shell{
  display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr); gap:2.4rem; align-items:start;
}
.meme-maker-preview-wrap{ min-width:0; padding:.5rem 0 0 .5rem; }
.meme-maker-preview{
  position:relative; padding:.7rem;
  background:var(--paper); border:3px solid var(--ink); border-radius:20px;
  box-shadow:10px 10px 0 var(--ink); transform:rotate(-.65deg);
}
.meme-maker-preview::after{
  content:"$HOODIE MEME LAB";
  position:absolute; right:1.3rem; bottom:-1rem;
  padding:.34rem .58rem; border:2px solid var(--ink); border-radius:5px;
  background:var(--cream); color:var(--ink);
  font-family:var(--font-mono); font-size:.6rem; font-weight:700; letter-spacing:.06em;
  transform:rotate(2deg);
}
.meme-maker-sticker{
  position:absolute; z-index:2; top:-1.05rem; left:1.3rem;
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.45rem .7rem; border:2px solid var(--ink); border-radius:999px;
  background:var(--red); color:var(--paper);
  font-family:var(--font-mono); font-size:.66rem; font-weight:700; letter-spacing:.06em;
  box-shadow:var(--shadow-sm); transform:rotate(-2deg);
}
.meme-maker-sticker::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--paper); }
.meme-canvas-stage{
  position:relative; overflow:hidden; width:100%; aspect-ratio:1537/1340;
  border:2px solid var(--ink); border-radius:11px; background:#fff;
}
.meme-maker-canvas{ display:block; width:100%; height:100%; }
.meme-caption-box{
  position:absolute; z-index:2;
  border:2px dashed rgba(28,20,12,.68); border-radius:6px;
  background:rgba(202,247,12,.08); cursor:grab; touch-action:none;
  transition:border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.meme-caption-box:hover,.meme-caption-box:focus-visible,.meme-caption-box.is-selected{
  outline:none; border-color:var(--green); background:rgba(202,247,12,.14); box-shadow:0 0 0 2px rgba(28,20,12,.7);
}
.meme-caption-box:active{ cursor:grabbing; }
.meme-caption-resize{
  position:absolute; right:-1px; bottom:-1px; width:18px; height:18px;
  border:2px solid var(--ink); border-radius:4px 0 4px 0; background:var(--green); cursor:nwse-resize;
}
.meme-caption-resize::before,.meme-caption-resize::after{
  content:""; position:absolute; right:3px; bottom:3px; width:7px; height:1.5px; background:var(--ink); transform:rotate(-45deg); transform-origin:right center;
}
.meme-caption-resize::after{ right:6px; bottom:2px; width:4px; }
.meme-maker-controls{
  min-width:0; padding:1.35rem;
  background:var(--ink); color:var(--cream);
  border:3px solid var(--ink); border-radius:20px;
  box-shadow:9px 9px 0 rgba(28,20,12,.28);
}
.meme-maker-control-head{
  display:flex; align-items:flex-start; justify-content:space-between; gap:1rem;
  padding-bottom:1rem; margin-bottom:1rem; border-bottom:1px dashed rgba(244,236,221,.35);
}
.meme-maker-control-head h3{ font-size:1.35rem; color:var(--paper); }
.meme-maker-kicker{
  display:block; margin-bottom:.2rem;
  font-family:var(--font-mono); font-size:.64rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--green);
}
.meme-maker-drag-note{ margin-top:.28rem; color:rgba(244,236,221,.58); font-size:.72rem; }
.meme-field{ display:block; margin-top:.8rem; }
.meme-field__head{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  margin-bottom:.35rem; font-family:var(--font-mono); font-size:.64rem; letter-spacing:.04em; text-transform:uppercase;
  color:rgba(244,236,221,.68);
}
.meme-field__head b{
  display:inline-grid; place-items:center; width:22px; height:22px; margin-right:.35rem;
  border:1px solid rgba(244,236,221,.4); border-radius:50%; color:var(--green); font-size:.6rem;
}
.meme-field--mid .meme-field__head b{ background:var(--green); border-color:var(--green); color:var(--ink); }
.meme-field textarea{
  display:block; width:100%; min-height:64px; resize:vertical;
  padding:.72rem .82rem; border:2px solid var(--cream); border-radius:10px;
  background:rgba(255,250,240,.08); color:var(--paper);
  font:700 .88rem/1.35 var(--font-body); caret-color:var(--green);
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.meme-field--mid textarea{ min-height:82px; }
.meme-field textarea:focus{
  outline:none; border-color:var(--green); background:rgba(255,250,240,.12); box-shadow:0 0 0 3px rgba(202,247,12,.16);
}
.meme-maker-style{
  min-width:0; display:grid; grid-template-columns:auto auto minmax(130px,1fr) auto; gap:.8rem; align-items:end;
  margin-top:1.15rem; padding:.85rem; border:1px dashed rgba(244,236,221,.38); border-radius:12px;
}
.meme-maker-style legend{
  padding:0 .35rem; color:rgba(244,236,221,.68);
  font-family:var(--font-mono); font-size:.62rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
.meme-color-control,.meme-size-control{ display:flex; flex-direction:column; gap:.35rem; min-width:0; }
.meme-color-control > span,.meme-size-control > span{
  color:rgba(244,236,221,.7); font-family:var(--font-mono); font-size:.61rem; text-transform:uppercase;
}
.meme-color-control input{
  width:42px; height:34px; padding:3px; border:1px solid rgba(244,236,221,.45); border-radius:7px;
  background:transparent; cursor:pointer;
}
.meme-size-control output{ color:var(--green); font-weight:700; }
.meme-size-control input{ width:100%; accent-color:var(--green); cursor:pointer; }
.meme-caps-control{
  position:relative; display:flex; align-items:center; justify-content:center; align-self:end;
  min-height:34px; cursor:pointer;
}
.meme-caps-control input{ position:absolute; opacity:0; pointer-events:none; }
.meme-caps-control span{
  display:block; padding:.47rem .58rem; border:1px solid rgba(244,236,221,.45); border-radius:7px;
  color:rgba(244,236,221,.7); font-family:var(--font-mono); font-size:.6rem; font-weight:700; white-space:nowrap;
}
.meme-caps-control input:checked + span{ background:var(--green); border-color:var(--green); color:var(--ink); }
.meme-caps-control input:focus-visible + span{ outline:2px solid var(--paper); outline-offset:2px; }
.meme-maker-actions{ display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; margin-top:1.2rem; }
.meme-maker-actions .btn{ box-shadow:0 3px 0 rgba(0,0,0,.65); }
.meme-download-btn{ margin-left:auto; }
.meme-maker-status{
  min-height:1.2em; margin-top:.8rem; color:rgba(244,236,221,.58);
  font-family:var(--font-mono); font-size:.65rem; text-align:right;
}
@media (max-width: 920px){
  .meme-maker-shell{ grid-template-columns:1fr; gap:2rem; }
  .meme-maker-preview-wrap{ max-width:680px; width:100%; margin:0 auto; }
  .meme-maker-controls{ max-width:680px; width:100%; margin:0 auto; }
}
@media (max-width: 560px){
  .meme-maker-section::before{ display:none; }
  .meme-maker-preview-wrap{ padding:0; }
  .meme-maker-preview{ padding:.45rem; box-shadow:6px 6px 0 var(--ink); transform:none; }
  .meme-maker-preview::after{ right:auto; left:.7rem; font-size:.52rem; }
  .meme-maker-sticker{ left:.7rem; font-size:.56rem; }
  .meme-caption-box{ border-width:1.5px; }
  .meme-caption-resize{ width:22px; height:22px; }
  .meme-maker-controls{ padding:1rem; }
  .meme-maker-style{ grid-template-columns:auto auto minmax(0,1fr); }
  .meme-caps-control{ grid-column:1/-1; justify-content:stretch; }
  .meme-caps-control span{ width:100%; text-align:center; }
  .meme-maker-actions{ display:grid; grid-template-columns:1fr 1fr; }
  .meme-maker-actions .btn{ width:100%; padding-left:.55rem; padding-right:.55rem; }
  .meme-download-btn{ grid-column:1/-1; margin-left:0; }
  .meme-maker-status{ text-align:center; }
}

/* merch — all sample photos are portrait shots, so cells match that aspect
   ratio (close to the images' own ~0.7-0.8 ratio) instead of forcing them
   into a wide landscape frame, which was cropping most of each photo away. */
.merch-gallery{
  display:grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; margin-bottom: 2.6rem;
}
.merch-gallery__item{
  aspect-ratio: 3/4;
  border:2.5px solid var(--ink); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  position:relative; background: var(--paper-2);
}
.merch-gallery__item:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.merch-gallery__item img{
  width:100%; height:100%; object-fit:cover; object-position: center top; display:block;
  transition: transform .4s ease;
}
.merch-gallery__item:hover img{ transform: scale(1.05); }
.merch-cta{ display:flex; justify-content:center; }
@media (max-width: 560px){
  .merch-gallery{ grid-template-columns: 1fr; gap:.8rem; }
}

/* community builds */
.community-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.community-card{
  display:block; background: var(--paper); border:2.5px solid var(--ink); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.community-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.community-builder{
  display:flex; align-items:center; gap:.5rem; margin-top:.7rem; padding: 0 .2rem;
  font-size:.86rem; color: var(--ink-soft);
}
.community-builder:hover{ color: var(--ink); }
.community-builder__avatar{ width:28px; height:28px; border-radius:50%; border:1.5px solid var(--ink); display:block; }
.community-card__chrome{
  display:flex; align-items:center; gap:.5rem; padding:.6rem .8rem;
  background: var(--paper-2); border-bottom: 2.5px solid var(--ink);
}
.community-card__dot{ width:9px; height:9px; border-radius:50%; background: var(--ink); opacity:.25; }
.community-card__url{
  font-family: var(--font-mono); font-size:.72rem; color: var(--ink-soft);
  margin-left:.3rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.community-card__shot-wrap{ aspect-ratio: 8/5; overflow:hidden; background: var(--paper-2); }
.community-card__shot{
  width:100%; height:100%; object-fit:cover; object-position: top; display:block;
  transition: transform .4s ease;
}
.community-card:hover .community-card__shot{ transform: scale(1.04); }
.community-card__body{ padding: 1.1rem 1.2rem 1.3rem; }
.community-card__title{ font-family: var(--font-display); font-weight:600; font-size:1.1rem; display:flex; align-items:center; gap:.4rem; }
.community-card__title .arrow{ font-size:.85rem; opacity:.5; transition: transform .2s ease, opacity .2s ease; }
.community-card:hover .community-card__title .arrow{ transform: translate(3px,-3px); opacity:1; }
.community-card__desc{ margin-top:.4rem; font-size:.88rem; color: var(--ink-soft); }
@media (max-width: 900px){
  .community-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px){
  .community-grid{ grid-template-columns: 1fr; }
}

/* HOODIE map — follows Avinash's original QR Map: black banner, full map, one action */
.hoodie-map-section{ max-width:none; padding-left:0; padding-right:0; }
.hoodie-map-section > .section__head{ max-width:1200px; margin-left:auto; margin-right:auto; padding-left:1.5rem; padding-right:1.5rem; }
.hoodie-map-shell{
  width:100%; min-width:0; overflow:hidden; background:#fff;
  border-top:2.5px solid #000; border-bottom:2.5px solid #000;
  box-shadow:0 8px 24px rgba(28,20,12,.14);
}
.hoodie-map-bar{
  position:relative; z-index:3; min-height:56px; padding:.55rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  color:#000; background:var(--green); box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.hoodie-map-bar__title{ font-family:var(--font-body); font-size:1.05rem; font-weight:600; line-height:1.25; }
.hoodie-map-bar__mobile{ display:none; }
.hoodie-map-add{
  position:absolute; right:28px; bottom:28px; z-index:2;
  padding:.8rem 1.55rem; color:#000; background:var(--green);
  border:2px solid #000; border-radius:0; box-shadow:0 4px 14px rgba(0,0,0,.25);
  font-family:var(--font-body); font-size:1rem; font-weight:700;
  transition:background .15s ease, color .15s ease, transform .15s ease;
}
.hoodie-map-add:hover{ color:var(--green); background:#000; transform:translateY(-1px); }
.hoodie-map-add:active{ transform:translateY(0); }
.hoodie-map-stage{ position:relative; min-width:0; height:min(58vh, 620px); min-height:520px; background:#d7e5ee; }
.hoodie-map-canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:1; }
.hoodie-map-status{
  position:absolute; z-index:2; margin:0; color:#111; background:rgba(255,255,255,.94);
  border:1px solid rgba(0,0,0,.2); border-radius:6px; box-shadow:0 1px 5px rgba(0,0,0,.22);
  font-family:var(--font-body);
}
.hoodie-map-status{ left:50%; bottom:18px; transform:translateX(-50%); padding:.45rem .7rem; font-size:.78rem; white-space:nowrap; }
.hoodie-map-status[hidden]{ display:none; }
.hoodie-map-status[data-state="error"]{ color:#7d1711; }

.hoodie-map-canvas .leaflet-control-zoom a{ color:#111; }
.hoodie-map-canvas .leaflet-control-attribution{ font-size:10px; }
.hoodie-map-canvas .leaflet-popup-content-wrapper{ border-radius:8px; box-shadow:0 3px 14px rgba(0,0,0,.25); }
.hoodie-map-canvas .leaflet-popup-content{ margin:14px 16px; }
.hoodie-map-popup{ min-width:170px; display:flex; align-items:center; gap:.7rem; font-family:var(--font-body); }
.hoodie-map-popup__avatar{ width:46px; height:46px; flex:0 0 auto; object-fit:cover; border:2px solid #111; border-radius:50%; }
.hoodie-map-popup__copy{ min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:.18rem; }
.hoodie-map-popup__handle{ color:#3366cc; font-weight:700; line-height:1.2; }
.hoodie-map-popup__location{ color:#333; font-size:.84rem; }
.hoodie-map-marker{ background:transparent; border:0; }
.hoodie-map-marker__pin{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; padding:3px; background:#fff; border:3px solid #111; border-radius:50%;
  box-shadow:0 2px 5px rgba(0,0,0,.35);
}
.hoodie-map-marker__pin::after{
  content:""; position:absolute; left:50%; bottom:-12px; transform:translateX(-50%);
  border-left:9px solid transparent; border-right:9px solid transparent; border-top:14px solid #111;
}
.hoodie-map-marker--verified .hoodie-map-marker__pin{ border-color:var(--green); }
.hoodie-map-marker--verified .hoodie-map-marker__pin::after{ border-top-color:var(--green); }
.hoodie-map-marker__pin img{ position:relative; z-index:1; width:38px; height:38px; object-fit:cover; border-radius:50%; }

.hoodie-map-dialog{
  width:min(560px, calc(100vw - 2rem)); max-height:calc(100vh - 2rem); margin:auto; padding:0;
  color:#111; background:#fff; border:0; border-radius:0; box-shadow:0 20px 60px rgba(0,0,0,.45); overflow:auto;
}
.hoodie-map-dialog::backdrop{ background:rgba(0,0,0,.65); }
.hoodie-map-dialog__panel{ padding:1.6rem; display:flex; flex-direction:column; gap:1rem; }
.hoodie-map-dialog__head{ display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.hoodie-map-dialog__head h3{ flex:1; color:#111; font-family:var(--font-body); font-size:1.3rem; text-align:center; }
.hoodie-map-dialog__close{
  width:34px; height:34px; flex:0 0 auto; display:grid; place-items:center;
  color:#111; background:#eee; border:0; border-radius:50%; font-weight:700;
  transition:background .15s ease;
}
.hoodie-map-dialog__close:hover{ background:#ddd; }
.hoodie-map-dialog__intro{ color:#4b5563; font-size:.9rem; }
.hoodie-map-step{ display:grid; grid-template-columns:32px minmax(0,1fr); gap:.75rem; padding:.9rem; background:#f7f7f7; border:1px solid #ddd; border-radius:0; }
.hoodie-map-step__number{ width:28px; height:28px; display:grid; place-items:center; color:#fff; background:#111; border-radius:50%; font-size:.78rem; font-weight:800; }
.hoodie-map-step__content{ min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:.55rem; }
.hoodie-map-step__content p{ color:#5f6670; font-size:.82rem; }
.hoodie-map-step__content em{ color:#666; font-size:.7rem; font-style:normal; font-weight:500; text-transform:uppercase; }
.hoodie-map-dialog .btn{ padding:.55rem 1rem; border:1px solid #111; border-radius:0; box-shadow:none; font-family:var(--font-body); }
.hoodie-map-dialog .btn--ghost{ color:#111; background:#fff; }
.hoodie-map-dialog .btn--buy{ color:#fff; background:#000; }
.hoodie-map-dialog .btn:disabled{ cursor:not-allowed; opacity:.55; transform:none; }
.hoodie-map-location-row{ width:100%; display:flex; gap:.55rem; }
.hoodie-map-autocomplete{ position:relative; min-width:0; flex:1; }
.hoodie-map-location-row input{
  width:100%; min-width:0; padding:.7rem .8rem; color:#111; background:#fff;
  border:1px solid #aaa; border-radius:0; font:inherit;
}
.hoodie-map-suggestions-panel{
  position:absolute; top:calc(100% + 3px); left:0; right:0; z-index:1000;
  color:#111; background:#fff;
  border:1px solid #999; box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.hoodie-map-suggestions-panel[hidden]{ display:none; }
.hoodie-map-suggestions{ max-height:190px; overflow-y:auto; }
.hoodie-map-suggestions[hidden]{ display:none; }
.hoodie-map-suggestions__option{
  padding:.7rem .8rem; color:#111; background:#fff; border-bottom:1px solid #e5e5e5;
  cursor:pointer; font:inherit; font-size:.82rem; line-height:1.3; text-align:left;
}
.hoodie-map-suggestions__option:hover,
.hoodie-map-suggestions__option[aria-selected="true"]{ background:#f0f0f0; }
.hoodie-map-suggestions__attribution{
  padding:.38rem .8rem; color:#666; background:#fafafa; font-size:.65rem; text-align:right;
}
.hoodie-map-suggestions__attribution a{ text-decoration:underline; }
.hoodie-map-dialog__actions{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-top:.15rem; }
.hoodie-map-dialog__actions p{ max-width:48ch; color:#666; font-size:.78rem; }
.hoodie-map-dialog__actions p[data-state="error"]{ color:#9e241c; }
.hoodie-map-dialog__actions .btn{ margin-left:auto; }

@media (max-width: 768px){
  .hoodie-map-section > .section__head{ padding-left:1.2rem; padding-right:1.2rem; }
  .hoodie-map-bar{ padding:.7rem 1rem; }
  .hoodie-map-bar__desktop{ display:none; }
  .hoodie-map-bar__mobile{ display:inline; font-size:1.15rem; font-weight:700; }
  .hoodie-map-add{ right:18px; bottom:30px; padding:.7rem 1.1rem; font-size:.9rem; }
  .hoodie-map-stage{ height:64vh; min-height:500px; }
  .hoodie-map-status{ max-width:calc(100% - 24px); bottom:84px; white-space:normal; text-align:center; }
  .hoodie-map-dialog__panel{ padding:1rem; }
  .hoodie-map-location-row{ flex-direction:column; }
  .hoodie-map-location-row .btn{ align-self:stretch; }
  .hoodie-map-dialog__actions{ align-items:stretch; flex-direction:column; }
  .hoodie-map-dialog__actions .btn{ align-self:stretch; margin-left:0; }
}

/* game */
.game-wrap{ display:grid; grid-template-columns: auto 1fr; gap:2rem; align-items:start; justify-content:center; min-width:0; }
.game-frame{
  position:relative; border:2.5px solid var(--ink); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow); background: #f8f1e0;
  width: 480px; max-width: 100%; min-width:0;
}
#gameCanvas{ display:block; width:100%; height:auto; background: #f8f1e0; }
.game-overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: .8rem; background: rgba(244,236,221,.92); text-align:center; padding: 1.5rem;
}
.game-overlay__title{ font-family: var(--font-display); font-size:1.6rem; font-weight:700; }
.game-overlay__sub{ color: var(--ink-soft); max-width: 34ch; font-size:.9rem; }
.game-overlay.hidden{ display:none; }
.game-overlay--pause{ background: rgba(28,20,12,.78); }
.game-overlay--pause .game-overlay__title{ color: var(--cream); }
.game-side{ display:flex; flex-direction:column; gap:1.2rem; min-width:220px; }
.game-score{ display:flex; gap:1.5rem; background:var(--paper); border:2.5px solid var(--ink); border-radius:14px; padding:1rem 1.2rem; box-shadow:var(--shadow-sm); }
.game-score__label{ display:block; font-family:var(--font-mono); font-size:.7rem; text-transform:uppercase; color:var(--ink-soft); }
.game-score__value{ display:block; font-family:var(--font-mono); font-weight:700; font-size:1.4rem; }
.game-tip{ font-size:.88rem; color:var(--ink-soft); }
.game-controls-mobile{ display:none; gap:.8rem; }

/* game HUD */
.game-hud{
  max-width: 1200px; margin: 0 auto 1rem; padding: 0 1.5rem;
  display:flex; flex-wrap:wrap; gap: .8rem; align-items:center; justify-content:center;
}
.ghud-item{
  background: var(--paper); border:2px solid var(--ink); border-radius: 12px;
  padding: .5rem .9rem; display:flex; flex-direction:column; gap:.1rem; min-width:84px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.ghud-item:hover{ transform: translateY(-2px); }
.ghud-item.pulse{ animation: statPulse .7s ease; }
.ghud-label{ font-family: var(--font-mono); font-size:.62rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); }
.ghud-value{ font-family: var(--font-mono); font-weight:700; font-size:1.05rem; }
.ghud-item--goal .ghud-value{ color: var(--hoodie-dark); }
.ghud-item--wallet{ background: var(--green); }
.ghud-item--wallet .ghud-label{ color: rgba(28,20,12,.7); }
.ghud-item--combo{ background: #ffe9a8; border-color: var(--ink); }
.ghud-item--combo.hidden{ display:none; }
.ghud-item--combo .ghud-value{ color: #8a5a00; }
.ghud-item--combo.tierup{ animation: comboTierUp .4s ease; }
@keyframes comboTierUp{ 0%{ transform:scale(1);} 40%{ transform:scale(1.25) rotate(-3deg);} 100%{ transform:scale(1);} }
.ghud-icon-btn{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--shadow-sm);
  font-size: 1.1rem; display:flex; align-items:center; justify-content:center;
  transition: transform .15s ease;
}
.ghud-icon-btn:hover{ transform: translateY(-2px); }
.ghud-icon-btn:active{ transform: translateY(1px); }

/* boss bar */
.boss-bar-wrap{
  max-width: 480px; margin: 0 auto 1rem; padding: 0 1.5rem;
  display:flex; flex-direction:column; gap:.3rem; align-items:center;
}
.boss-bar-wrap.hidden{ display:none; }
.boss-bar-label{ font-family: var(--font-mono); font-weight:700; font-size:.78rem; letter-spacing:.06em; color: var(--red-text); }
.boss-bar-track{
  width:100%; height:16px; background: var(--paper); border:2.5px solid var(--ink); border-radius:999px; overflow:hidden;
}
.boss-bar-fill{ height:100%; width:100%; background: linear-gradient(90deg, var(--red), #ff8a7a); transition: width .25s ease; }
.boss-bar-fill.low{ animation: bossLow .8s ease-in-out infinite; }
@keyframes bossLow{ 0%,100%{ filter:brightness(1);} 50%{ filter:brightness(1.35);} }
.boss-bar-label.shake{ animation: shakeText .4s ease; }
@keyframes shakeText{ 0%,100%{ transform:translateX(0);} 25%{ transform:translateX(-3px);} 75%{ transform:translateX(3px);} }

/* shop modal */
.shop-modal{
  position: fixed; inset:0; z-index: 200;
  background: rgba(28,20,12,.55);
  display:flex; align-items:center; justify-content:center; padding: 1.5rem;
}
.shop-modal.hidden{ display:none; }
.shop-panel{
  background: var(--cream); border:2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 640px; width:100%; max-height: 85vh; overflow-y:auto;
  padding: 1.6rem;
}
.shop-panel__head{ display:flex; align-items:center; gap:1rem; margin-bottom: 1.2rem; flex-wrap:wrap; }
.shop-panel__head h3{ font-size:1.4rem; flex:1; }
.shop-wallet{ font-size:.85rem; color: var(--ink-soft); }
.shop-wallet strong{
  color: var(--ink); background: var(--green); border-radius:4px;
  padding: .08rem .3rem; font-family: var(--font-mono);
}
.shop-close{
  background: var(--paper); border:2px solid var(--ink); border-radius:999px;
  width:32px; height:32px; font-weight:700; line-height:1;
}
.shop-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.shop-card{
  background: var(--paper); border:2.5px solid var(--ink); border-radius: 14px;
  padding: 1rem; display:flex; flex-direction:column; gap:.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shop-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.shop-card__title{ font-weight:700; font-size:.95rem; }
.shop-card__desc{ font-size:.8rem; color: var(--ink-soft); flex:1; }
.shop-card__tier{ font-family: var(--font-mono); font-size:.72rem; color: var(--hoodie-dark); }
.shop-card__buy{ align-self:flex-start; }
.shop-card__buy:disabled{ opacity:.45; cursor:not-allowed; transform:none !important; }
.shop-stats{
  display:grid; grid-template-columns: repeat(3,1fr); gap:.8rem; margin-top:1.2rem;
}
.shop-stat{
  background: var(--ink); border-radius: 12px; padding: .7rem .5rem; text-align:center;
}
.shop-stat__label{ display:block; font-family:var(--font-mono); font-size:.62rem; text-transform:uppercase; color:rgba(244,236,221,.6); }
.shop-stat__value{ display:block; font-family:var(--font-mono); font-weight:700; font-size:1.15rem; color:var(--cream); margin-top:.2rem; }
.shop-note{ margin-top:1.2rem; font-size:.78rem; color: var(--ink-soft); }
@media (max-width: 480px){
  .shop-stats{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .shop-grid{ grid-template-columns:1fr; }
  .game-hud{ gap:.5rem; }
  .ghud-item{ min-width:72px; padding:.4rem .6rem; }
}

/* ============ FOOTER ============ */
.footer{ background: var(--ink); color: var(--cream); padding: 3rem 1.5rem 2rem; }
.footer__inner{ max-width:1200px; margin:0 auto; display:flex; flex-direction:column; gap:1.5rem; align-items:center; text-align:center; }
.footer__brand{ display:flex; align-items:center; gap:.5rem; font-family:var(--font-display); font-weight:700; font-size:1.2rem; }
.footer__links{ display:flex; gap:1.4rem; flex-wrap:wrap; justify-content:center; font-size:.9rem; }
.footer__links a{ opacity:.85; display:inline-flex; align-items:center; }
.footer__icon{ height:22px; width:auto; display:block; }
.footer__links a:hover{ opacity:1; color: var(--green); }
.footer__disclaimer{ max-width: 640px; font-size:.78rem; opacity:.55; line-height:1.6; }
.footer__copy{ font-size:.78rem; opacity:.5; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; padding-top:2.5rem; }
  .hero__art{ order:-1; justify-content:center; }
  .mascot--hero{ max-width:220px; }
  .hero__stats{ grid-template-columns: repeat(2,1fr); }
  .jake-grid{ grid-template-columns:1fr; }
  .jake-art{ order:-1; }
  .chain-grid{ grid-template-columns:1fr; }
  .tracker-stats{ grid-template-columns: repeat(2,1fr); }
  .meme-grid{ column-count: 2; }
  .game-wrap{ grid-template-columns:1fr; justify-items:center; width:100%; }
  .game-frame{ width:100%; max-width:480px; }
  .game-side{ width:100%; min-width:0; max-width:480px; }
  .game-controls-mobile{ display:flex; }
}
@media (max-width: 560px){
  .meme-grid{ column-count: 1; }
  .hero__stats{ grid-template-columns: repeat(2,1fr); }
  .tracker-stats{ grid-template-columns: repeat(2,1fr); }
  .section{ padding: 3.5rem 1.2rem; }
  .hoodie-film-section{ padding-top:4rem; padding-bottom:4rem; }
  .hoodie-film__frame{ padding:.35rem; border-radius:14px; box-shadow:6px 6px 0 var(--green); transform:none; }
  .hoodie-film__video{ border-radius:8px; }
  .hoodie-film__stamp{ right:.6rem; top:-.8rem; font-size:.58rem; }
  .hoodie-film figcaption{ margin-top:1rem; font-size:.82rem; }
}

/* ============ COMING SOON (future routes) ============ */
/* Same look as the map's old launch gate, but as a page section so the
   hamburger menu stays reachable instead of being covered by an overlay. */
.coming-soon{
  display:grid; place-items:center;
  min-height: calc(100vh - var(--ticker-h) - 76px);
  padding: 4rem 1.5rem;
  background: var(--green);
  border-bottom: 2.5px solid var(--ink);
}
.coming-soon__panel{
  width:min(680px, 100%);
  padding: clamp(2rem, 7vw, 4.5rem) clamp(1.5rem, 7vw, 4rem);
  color:#fff; background: var(--ink);
  border:3px solid var(--ink);
  box-shadow: clamp(7px, 1.3vw, 14px) clamp(7px, 1.3vw, 14px) 0 rgba(0,0,0,.28);
  text-align:center;
}
.coming-soon__mascot{ width: clamp(70px, 14vw, 104px); height:auto; margin:0 auto 1.2rem; display:block; }
.coming-soon__eyebrow{
  margin:0 0 .45rem; color: var(--green);
  font-family: var(--font-mono); font-size: clamp(.8rem, 2vw, 1rem);
  font-weight:700; letter-spacing:.14em;
}
.coming-soon h1{
  margin:0; color:#fff; font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem); font-weight:700; line-height:.92; letter-spacing:-.045em;
}
.coming-soon__copy{ margin:1.25rem 0 0; color:#fff; font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight:600; }
.coming-soon__home{
  display:inline-flex; margin-top:2rem; padding:.75rem 1rem;
  color: var(--ink); background: var(--green); border:2px solid var(--green);
  font-size:.9rem; font-weight:800; line-height:1;
  transition: color .15s ease, background .15s ease;
}
.coming-soon__home:hover{ color: var(--green); background: var(--ink); }

/* ============ LEADERBOARD ============ */
.leaderboard-section{
  max-width: 1100px;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}
.leaderboard-section .section__head h1{
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -.03em;
}
.leaderboard-meta{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:1.25rem; margin-bottom:1.5rem;
}
.leaderboard-filter{
  display:inline-flex; align-items:center; padding:.25rem;
  border:2px solid var(--ink); border-radius:999px; background:var(--paper-2);
  box-shadow:var(--shadow-sm);
}
.leaderboard-filter__btn{
  border:0; border-radius:999px; padding:.55rem .85rem;
  background:transparent; color:var(--ink-soft); cursor:pointer;
  font-family:var(--font-mono); font-size:.75rem; font-weight:800;
}
.leaderboard-filter__btn:hover,
.leaderboard-filter__btn:focus-visible{ color:var(--ink); outline:none; }
.leaderboard-filter__btn.is-active{ background:var(--green); color:var(--ink); }
.leaderboard-controls{
  display:flex; align-items:center; gap:.75rem; flex-wrap:wrap;
  font-size:.85rem; color: var(--ink-soft);
}
.leaderboard-status{
  display:inline-block; padding:.08rem .4rem; border-radius:4px;
  font-family: var(--font-mono); font-size:.78rem; font-weight:700;
  background: var(--green); color: var(--ink);
}
.leaderboard-status.is-error{
  background: transparent; color: var(--red-text);
}
.leaderboard-table-wrap{
  overflow-x: auto;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
.leaderboard-table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .95rem;
}
.leaderboard-table thead th{
  position: sticky; top: 0; z-index: 1;
  text-align: left;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-2);
  border-bottom: 2px solid var(--ink);
  padding: .85rem 1rem;
  white-space: nowrap;
}
.leaderboard-table thead th.lb-sort{
  cursor: pointer;
  user-select: none;
  transition: color .12s ease, background .12s ease;
}
.leaderboard-table thead th.lb-sort:hover,
.leaderboard-table thead th.lb-sort:focus-visible{
  color: var(--ink);
  background: rgba(202,247,12,.28);
  outline: none;
}
.leaderboard-table thead th.lb-sort::after{
  content: "";
  display: inline-block;
  margin-left: .35rem;
  font-size: .72em;
  opacity: .35;
  vertical-align: .05em;
}
.leaderboard-table thead th.lb-sort[aria-sort="ascending"]::after{
  content: "▲";
  opacity: 1;
  color: var(--ink);
}
.leaderboard-table thead th.lb-sort[aria-sort="descending"]::after{
  content: "▼";
  opacity: 1;
  color: var(--ink);
}
.leaderboard-pager{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 1rem;
}
.leaderboard-pager[hidden]{ display:none; }
.leaderboard-pager__meta{
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}
.leaderboard-pager__nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  flex-wrap: wrap;
}
.leaderboard-pager__pages{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  flex-wrap: wrap;
}
.leaderboard-pager__page{
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 .45rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.leaderboard-pager__page:hover,
.leaderboard-pager__page:focus-visible{
  background: rgba(202,247,12,.35);
  outline: none;
}
.leaderboard-pager__page.is-current{
  background: var(--green);
  cursor: default;
  box-shadow: 0 1px 0 var(--ink);
}
.leaderboard-pager__gap{
  min-width: 1.2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: .08em;
  user-select: none;
}
.leaderboard-pager__btn[disabled]{
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}
.leaderboard-table tbody td{
  padding: .8rem 1rem;
  border-bottom: 1.5px solid rgba(28,20,12,.1);
  vertical-align: middle;
}
.leaderboard-table tbody tr:last-child td{ border-bottom: none; }
.leaderboard-table tbody tr:hover{ background: rgba(202,247,12,.12); }
.leaderboard-row--skeleton td,
.leaderboard-row--empty td,
.leaderboard-row--error td{
  text-align:center; color: var(--ink-soft); font-weight:600;
  padding: 2.4rem 1rem;
}
.lb-col-rank{
  width: 3.2rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--ink-soft);
}
.lb-rank-medal{
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 1.7rem; height: 1.7rem; padding: 0 .3rem;
  border-radius: 999px; border: 2px solid var(--ink);
  font-family: var(--font-mono); font-weight: 800; font-size: .78rem;
  color: var(--ink); background: var(--paper);
}
.lb-rank-medal--1{ background: var(--green); }
.lb-rank-medal--2{ background: #e8e0d2; }
.lb-rank-medal--3{ background: #d8b48a; }
.lb-holder{
  display:flex; align-items:center; gap: .75rem; min-width: 0;
}
.lb-holder__avatar{
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); object-fit: cover; background: var(--paper-2);
  flex: 0 0 auto;
}
.lb-holder__avatar-link{
  display:flex; flex: 0 0 auto; border-radius:50%;
  color:inherit; text-decoration:none;
}
.lb-holder__avatar-link:focus-visible{
  outline: 3px solid var(--green); outline-offset: 3px;
}
.lb-holder__avatar--fallback{
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-weight: 800; font-size: .72rem;
  color: var(--ink-soft);
}
.lb-holder__meta{ min-width: 0; display:flex; flex-direction:column; gap: .1rem; }
.lb-holder__name{
  font-weight: 800; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid transparent;
  width: fit-content; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
a.lb-holder__name:hover{
  border-bottom-color: var(--green);
}
.lb-holder__addr{
  font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft);
}
.lb-holder__identity-note{
  font-family: var(--font-mono); font-size: .66rem; font-weight: 700; color: var(--ink-soft);
}
.lb-num{
  font-family: var(--font-mono); font-weight: 700; white-space: nowrap;
}
.lb-col-balance, .lb-col-usd, .lb-col-supply, .lb-col-hood{ text-align: right; }
.leaderboard-table thead th.lb-col-balance,
.leaderboard-table thead th.lb-col-usd,
.leaderboard-table thead th.lb-col-supply,
.leaderboard-table thead th.lb-col-hood{ text-align: right; }
.leaderboard-table.is-hold-hidden .lb-col-hood{ display: none; }
.leaderboard-footnote{
  margin-top: 1.1rem;
  font-size: .82rem;
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.45;
}
@media (max-width: 800px){
  .leaderboard-section{ padding-top: 3.2rem; padding-bottom: 3.5rem; }
}

/* Launch-tweet link under the hero stats */
.hero__launch-tweet{
  display:flex; width:fit-content; align-items:center; gap:.4rem;
  margin:1.1rem auto 0; font-weight:700; font-size:.71rem; font-style:italic;
  color: var(--ink); text-decoration:none;
  border-bottom:2px solid var(--green);
  padding-bottom:2px;
  transition: color .15s ease, gap .15s ease;
}
.hero__launch-tweet:hover{ color: var(--hoodie-dark); gap:.65rem; }
