/* ===== Design tokens (Lando-style: neon-on-dark, huge type, high contrast) ===== */
:root {
  --bg: #0f130c;
  --bg-invert: #d8ff33;
  --ink: #eef2df;
  --ink-invert: #0f130c;
  --accent: #d8ff33;
  --accent-2: #8ba838;
  --muted: #838a72;
  --border: rgba(238, 242, 223, 0.14);
  /* Two display faces on purpose. --font-title is the voice: section headings
     and the wordmark. --font-display stays Anton for the small dense stuff
     (years, figures, step numbers) where a cartoon face reads worse. */
  --font-title: 'Luckiest Guy', 'Anton', 'Arial Narrow', sans-serif;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  /* the pointer is a lit cigarette; the hotspot sits on the burning tip.
     Kept as a variable so anything clickable can reuse it instead of
     falling back to the system pointer. */
  --cig-cursor: url('assets/cig-cursor.png') 5 3, auto;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Keyboard focus. :focus-visible rather than :focus so the ring only shows for
   keyboard and never after a mouse click. Every hover state on this page had a
   counterpart missing here, which left keyboard users with no cue at all. */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
/* on the lime sections the accent is the background, so the ring would vanish */
.section-invert :focus-visible { outline-color: var(--ink-invert); }
/* the pill sits on its own dark chip over whatever is behind it */
.nav.is-pill :focus-visible { outline-color: var(--accent); }

/* ===== Intro scene: the boys walk into the club ===== */
body.intro-active { overflow: hidden; }
body.intro-active,
body.intro-active * { cursor: none !important; }


.intro {
  position: fixed; inset: 0; z-index: 999;
  background: #05070a;
  overflow: hidden;
}
.intro-camera {
  position: absolute; inset: 0;
  transform-origin: 50% 52%;
  will-change: transform;
}

/* back wall + floor */
.intro-wall {
  position: absolute; left: 0; right: 0; top: 0; bottom: 28%;
  background: linear-gradient(180deg, #080b07 0%, #10160d 62%, #161d12 100%);
}
.intro-wall::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 82px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%);
}
.intro-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28%;
  background: linear-gradient(180deg, #0b0f08 0%, #05070a 100%);
  box-shadow: inset 0 1px 0 rgba(216,255,51,0.12);
}

/* neon sign over the door */
.intro-sign {
  position: absolute; left: 50%;
  /* 19% left a 98px hole between the sign and the door top — it read as
     floating rather than hanging over the entrance. This is the centre of the
     sign, so it lands ~29px above the frame at any viewport height. */
  top: 27%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: clamp(1rem, 3.2vh, 2.1rem);
  letter-spacing: 0.09em;
  color: var(--accent);
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(216,255,51,0.95),
    0 0 26px rgba(216,255,51,0.55),
    0 0 64px rgba(216,255,51,0.35);
}

/* the door */
.intro-door {
  position: absolute; left: 50%; top: 32%;
  height: 40%; aspect-ratio: 0.55;
  transform: translateX(-50%);
  perspective: 900px;
}
.intro-door-light {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 62%,
    #ffffff 0%, #f7ffdb 22%, var(--accent) 46%, rgba(216,255,51,0.28) 74%, transparent 100%);
  opacity: 0;
  will-change: opacity, transform;
}
.intro-door-panel {
  position: absolute; inset: 0;
  background: linear-gradient(118deg, #0d1209 0%, #1a2213 100%);
  border: 1px solid rgba(216,255,51,0.16);
  transform-origin: left center;
  backface-visibility: hidden;
  will-change: transform;
}
/* a vertical pull-bar, like a club door — his hand can meet it below head height */
.door-handle {
  position: absolute;
  right: 9%; top: 7%;
  width: 3%; height: 21%;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.7;
}
.intro-door-frame {
  position: absolute; inset: -1.5%;
  border: 0.85vh solid #0d1109;
  box-shadow:
    0 0 0 1px rgba(216,255,51,0.28),
    0 0 34px rgba(216,255,51,0.14);
  pointer-events: none;
}

/* press-to-open button on the wall — also well out of their reach */
.door-button {
  position: absolute; left: 112%; top: 18%;
  width: 16%; aspect-ratio: 1;
  border-radius: 50%;
  background: #10160d;
  box-shadow: 0 0 0 2px rgba(216, 255, 51, 0.45);
  display: flex; align-items: center; justify-content: center;
}
.door-button-cap {
  width: 62%; height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a4a1e 0%, #1b230f 70%);
  box-shadow: inset 0 0 0 1px rgba(216, 255, 51, 0.35);
}

/* the cigarette he flicks at it */
.thrown-cig {
  position: absolute; left: 50%; top: 72%;
  /* same size as the one in his hand (.cig-hand = 300% of a 6%-wide limb on a
     16vh body), so it never changes size when the two swap over */
  width: 2.88vh; aspect-ratio: 251 / 44;
  margin-left: -20vh; margin-top: -3vh;
  opacity: 0;
  /* above .intro-walkers (4), so at his lips it sits in front of his face */
  z-index: 5;
}
.thrown-cig img { width: 100%; height: 100%; display: block; }
/* the glow that swallows the screen at the end — the page comes out of it */
.cig-burst {
  position: absolute; right: -2%; top: 50%;
  width: 26%; aspect-ratio: 1;
  margin-top: -13%;
  border-radius: 50%;
  background: radial-gradient(circle,
    #ffffff 0%, #ffe9a8 22%, #ff9a20 46%, rgba(255, 120, 20, 0) 72%);
  opacity: 0;
  transform-origin: 50% 50%;
}

/* the boys, as little stick figures carrying their real heads */
.intro-walkers {
  position: absolute; inset: 0; z-index: 4;
  transform-origin: 50% 72%;
}
.walker {
  --stick: #ece9d8;             /* stick-figure line colour */
  --stick-far: #8d9179;         /* limbs on the far side */
  --unit: 16vh;                 /* body height reference */
  position: absolute; left: 50%; top: 72%;
  width: var(--unit);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.walker-inner {
  position: relative;
  width: 100%; height: var(--unit);
  animation: walkBounce 0.46s ease-in-out infinite;
}
.walker-head {
  position: absolute; left: 50%; bottom: 56%;
  height: 32%; width: auto; max-width: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: headBob 0.46s ease-in-out infinite;
  z-index: 4;
}
/* stick body: spine, two arms, two legs */
.torso {
  position: absolute; left: 50%; bottom: 26%;
  width: 7%; height: 30%;
  margin-left: -3.5%;
  background: var(--stick);
  border-radius: 999px;
  z-index: 3;
}
.limb {
  position: absolute;
  left: 50%; margin-left: -3%;
  width: 6%;
  background: var(--stick);
  border-radius: 999px;
  transform-origin: 50% 6%;
  animation: swing 0.46s ease-in-out infinite;
}
.leg { bottom: 0; height: 26%; }
.leg-f { z-index: 3; }
.leg-b { z-index: 1; animation-delay: -0.23s; }
.arm { bottom: 30%; height: 26%; }
.arm-f { z-index: 4; animation-delay: -0.23s; }
.arm-b { z-index: 1; }
.leg-b, .arm-b { background: var(--stick-far); }

/* standing still */
.walker-inner.is-idle,
.walker-inner.is-idle .limb,
.walker-inner.is-idle .walker-head { animation: none !important; }
.walker-inner.is-idle .leg-f { transform: rotate(10deg); }
.walker-inner.is-idle .leg-b { transform: rotate(-10deg); }
.walker-inner.is-idle .arm-f { transform: rotate(15deg); }
.walker-inner.is-idle .arm-b { transform: rotate(-15deg); }

/* mid-air panic: limbs flail much faster and wider */
.walker-inner.is-falling .limb { animation: flail 0.16s ease-in-out infinite; }
.walker-inner.is-falling .arm-b { animation-delay: -0.08s; }
.walker-inner.is-falling .leg-b { animation-delay: -0.08s; }
.walker-inner.is-falling .walker-head { animation: none; }

.trap-lid-l { left: 0;  border-radius: 100% 0 0 100% / 50% 0 0 50%; transform-origin: 0% 50%; }
.trap-lid-r { right: 0; border-radius: 0 100% 100% 0 / 0 50% 50% 0; transform-origin: 100% 50%; }

/* Landwolf's cigarette + smoke */
.cig {
  position: absolute;
  transform-origin: 10% 50%;
  z-index: 5;
}
/* lives inside the swinging arm, down at the hand end. Mirrored so the lit tip
   points away from him — unflipped, the arm's rotation aims the ember at his face. */
.cig-hand {
  left: -40%; bottom: -6%;
  width: 300%;
  aspect-ratio: 251 / 44;
  transform: rotate(-72deg) scaleX(-1);
}
.cig img { width: 100%; height: 100%; display: block; }
/* the drawing has its own burning tip, so this is just the glow around it */
.cig .ember {
  position: absolute; right: -4%; top: 50%;
  width: 20%; height: 130%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,150,40,0.85) 0%, rgba(255,110,20,0) 70%);
  box-shadow: 0 0 7px 3px rgba(255, 110, 20, 0.55);
}
.smoke {
  position: absolute; left: 60%; bottom: 70%;
  width: 15%; aspect-ratio: 0.8;
  border-radius: 46% 54% 61% 39% / 65% 55% 68% 52%;
  background:
    radial-gradient(circle at 40% 28%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(ellipse at 50% 60%,
      rgba(180, 186, 174, 0.62) 0%, rgba(180, 186, 174, 0.34) 45%, rgba(180, 186, 174, 0.1) 68%, rgba(180, 186, 174, 0) 85%);
  filter: blur(2px);
  opacity: 0;
  z-index: 5;
}
.smoke[data-puff="1"] { border-radius: 58% 42% 40% 60% / 40% 62% 38% 60%; }
.smoke[data-puff="2"] { border-radius: 38% 62% 55% 45% / 60% 38% 55% 45%; }
.smoke[data-puff="3"] { border-radius: 50% 50% 35% 65% / 45% 55% 65% 35%; }

@keyframes walkBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4%); }
}
@keyframes swing {
  0%, 100% { transform: rotate(26deg); }
  50%      { transform: rotate(-26deg); }
}
@keyframes flail {
  0%, 100% { transform: rotate(58deg); }
  50%      { transform: rotate(-58deg); }
}
@keyframes headBob {
  0%, 100% { transform: translateX(-50%) rotate(-2.5deg); }
  50%      { transform: translateX(-50%) rotate(2.5deg); }
}


/* white-out flash + skip */
.intro-flash {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 52%, #ffffff 0%, #f6ffd6 46%, var(--accent) 100%);
}
/* The whole scene is decoration. .intro-walkers is inset:0 at z-index 4, so it
   lay over the Skip button and swallowed every click and tap — the button was
   unreachable on any device. Nothing in here needs to receive input but Skip. */
.intro > *:not(.intro-skip) { pointer-events: none; }
.intro-skip {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 10;
  background: transparent; color: var(--ink);
  border: 1px solid rgba(238,242,223,0.3); border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.intro-skip:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Cursor blob ===== */
body,
body a, body button, body .btn, body .boy-card, body [role="button"] {
  cursor: var(--cig-cursor);
}
#cursor-dot { display: none; }

/* Landwolf creeping up on your cursor */
.thief {
  position: fixed; left: 0; top: 0;
  width: 46px; height: 66px;
  pointer-events: none;
  z-index: 997;
  opacity: 0;
  will-change: transform, opacity;
}
.thief-head {
  position: absolute; left: 50%; bottom: 54%;
  height: 36%; width: auto; max-width: none;
  transform: translateX(-50%);
  z-index: 2;
}
.thief-body {
  position: absolute; left: 50%; bottom: 26%;
  width: 8%; height: 30%; margin-left: -4%;
  background: #cf7c3f; border-radius: 999px;
}
.thief-leg {
  position: absolute; left: 50%; bottom: 0;
  width: 7%; height: 27%; margin-left: -3.5%;
  background: #cf7c3f; border-radius: 999px;
  transform-origin: 50% 6%;
}
.thief-leg-f { transform: rotate(13deg); }
.thief-leg-b { transform: rotate(-13deg); background: #92582c; }
/* the hand stretching out for your cigarette. The torso tops out at 56% and
   the head starts at 54%, so the shoulder has to sit right there — any higher
   and the arm sprouts out of his face. Negative angles swing it to the RIGHT,
   which is where the cursor is. */
.thief-arm {
  position: absolute; left: 50%; bottom: 28%;
  width: 7%; height: 28%; margin-left: -3.5%;
  background: #cf7c3f; border-radius: 999px;
  transform-origin: 50% 4%;
  animation: reach 0.9s ease-in-out infinite;
  z-index: 1;              /* behind the head, not drawn over his face */
}
@keyframes reach {
  0%, 100% { transform: rotate(-84deg); }
  50%      { transform: rotate(-102deg); }
}

/* smoke off the cigarette when you click */
.click-puff {
  position: fixed;
  width: 20px; aspect-ratio: 0.8;
  margin: -13px 0 0 -10px;
  border-radius: 46% 54% 61% 39% / 65% 55% 68% 52%;
  background:
    radial-gradient(circle at 40% 28%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(ellipse at 50% 60%,
      rgba(200, 205, 195, 0.7) 0%, rgba(200, 205, 195, 0.4) 45%, rgba(200, 205, 195, 0.12) 68%, rgba(200, 205, 195, 0) 85%);
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 996;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem;
  mix-blend-mode: difference;
  transition: padding 0.35s var(--ease);
}
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
/* The socials only ride along once the bar has collapsed into a pill. They stay
   in the DOM at zero width so the reveal can be animated — display:none can't. */
.nav-social {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border);
  overflow: hidden;
  flex: none;
}
.nav-social img { width: 18px; height: 18px; }
.nav-social:hover { border-color: var(--accent); background: rgba(216, 255, 51, 0.1); }

/* ---- collapsed state: a floating pill in the middle, like floki.com ---- */
.nav.is-pill {
  justify-content: center;
  padding: 1rem 2rem;
  /* difference blending would fight the pill's own background */
  mix-blend-mode: normal;
  pointer-events: none;          /* only the pill itself stays clickable */
}
/* display:none can't be animated, so the bar contents fade and lift out of the
   way instead, and go absolute so the pill can centre itself */
.nav-logo,
.nav-links {
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav.is-pill .nav-logo,
.nav.is-pill .nav-links {
  position: absolute;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}
.nav-right {
  border: 1px solid transparent;
  border-radius: 999px;
  /* Only paint properties transition here — never padding or gap. The pill is
     centred with left:50% + translateX(-50%), and that -50% is resolved to
     pixels once when the fly-in starts. If the width were still growing under
     it the pill would drift right for the length of the flight and then snap
     back to true centre when the animation handed over. */
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.nav.is-pill .nav-right {
  pointer-events: auto;
  /* pinned from the top rather than centred: once the logo and links go
     absolute the bar has no in-flow content, so its height is just padding
     and a 50% offset would sit almost against the top edge */
  position: absolute; left: 50%; top: 1.3rem;
  /* the centring lives here, not only in the keyframe's end state — otherwise
     the pill sits half its width off whenever the animation doesn't run */
  transform: translateX(-50%);
  gap: 0.7rem;
  padding: 0.5rem 0.65rem;
  background: rgba(12, 15, 9, 0.88);
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  /* the fly-in is driven from script.js, which measures the hero's social row
     so the pill appears to come from those buttons. Nothing is declared here:
     a CSS animation on the same properties fought the scripted one. */
}
/* The socials are hidden in the bar and full size in the pill, with no width
   transition of their own: animating max-width while the pill was flying in
   made it visibly grow and jitter mid-flight. The pill's own scale covers it. */
.nav-social {
  max-width: 0; opacity: 0; border-width: 0;
  transition: border-color 0.2s, background-color 0.2s;
}
.nav.is-pill .nav-social { max-width: 34px; opacity: 1; border-width: 1px; }
/* As the pill takes over, the hero's own CTA and social row bow out — without
   this you briefly see two near-identical button rows stacked on top of each
   other, which is what made the handover read as a glitch. !important because
   GSAP writes the hero's opacity inline when the intro hands over. */
.hero-content .hero-actions,
.hero-content .socials {
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.hero-content.is-handed-off .hero-actions,
.hero-content.is-handed-off .socials {
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.94);
  pointer-events: none;
}
.nav.is-pill .nav-cta {
  background: var(--accent); color: var(--ink-invert);
  border-color: var(--accent);
  padding: 0.55rem 1.2rem;
}
@media (prefers-reduced-motion: reduce) {
  .nav-logo, .nav-links, .nav-social,
  .hero-content .hero-actions, .hero-content .socials { transition: none; }
}
.nav-logo {
  font-family: var(--font-title);
  font-size: 1.1rem; letter-spacing: 0.04em; color: var(--ink);
}
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); opacity: 0.75; transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  border: 1px solid var(--ink); padding: 0.5rem 1.1rem; border-radius: 999px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink);
}
/* ---- phone menu ---- */
/* hidden on desktop, where the links sit in the bar */
.nav-toggle {
  display: none;
  position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  padding: 0; border: 0; background: none;
  cursor: var(--cig-cursor);
  /* the header goes pointer-events:none in pill state; this must stay live */
  pointer-events: auto;
  z-index: 2;
}
.nav-toggle-bar {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
/* the three bars fold into an X */
.nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  /* mix-blend-mode makes the panel's own background invert against the page */
  .nav.is-open { mix-blend-mode: normal; }

  /* the desktop link row becomes a full-screen sheet */
  .nav-links {
    display: flex; flex-direction: column; justify-content: center;
    gap: 0.35rem;
    position: fixed; inset: 0;
    padding: 6rem 2rem 2rem;
    background: var(--bg);
    /* not display:none, so opening and closing can be animated */
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
                visibility 0s linear 0.28s;
    z-index: 1;
  }
  .nav.is-open .nav-links {
    opacity: 1; visibility: visible; transform: none;
    transition-delay: 0s, 0s, 0s;
  }
  .nav-links a {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 9vw, 2.6rem);
    letter-spacing: 0.01em;
    opacity: 1;
    padding: 0.35rem 0;
    /* 44px is the floor even when the type happens to be smaller */
    min-height: 44px; display: flex; align-items: center;
  }
  /* in pill state the collapsed bar hides logo and links — the open sheet has
     to beat that, or tapping the burger past the hero opens nothing */
  .nav.is-pill.is-open .nav-links {
    position: fixed; opacity: 1; transform: none; pointer-events: auto;
  }
  .nav.is-pill.is-open .nav-logo { opacity: 1; transform: none; position: static; }

  /* the hero already carries its own BUY and socials, so the bar only needs the
     wordmark and the burger until it collapses into the pill */
  .nav:not(.is-pill) .nav-right { display: none; }
  body.menu-open { overflow: hidden; }
}


/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(216,255,51,0.16), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(139,168,56,0.18), transparent 50%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(2%, -3%) scale(1.05); }
}
.hero-lens {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-lens::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,19,12,0.05) 0%, rgba(15,19,12,0) 30%, rgba(15,19,12,0.55) 78%, rgba(15,19,12,0.92) 100%);
  pointer-events: none;
}
.hero-lens .hero-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* The art is square and the four of them stand side by side, so cropping it to
   a tall phone screen keeps only the middle ~46% — Pepe and Landwolf get cut
   off entirely. contain shows the whole cast; the dark background fills the
   rest, which is where the hero copy sits anyway. */
.hero-image {
  position: relative;
  filter: saturate(1.05);
}
.hero-lens-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: url(#lensClip);
}
/* promoted only while the hero is on screen — see the observer in script.js */
.hero-lens.is-live .hero-lens-layer { will-change: clip-path; }
.hero-lens-layer .hero-image {
  object-position: center 38%;
}
/* Phone framing. This sits after .hero-lens-layer .hero-image on purpose: both
   selectors weigh the same, so the later one wins and the two layers would
   otherwise end up 8% apart and the reveal visibly offset.
   The source is 1400x1400 but the drawing only occupies 31.7%-94.5% of it — the
   top third is empty — so centring the image *box* still left a hole above the
   art. 30% centres the drawing itself. */
@media (max-width: 700px) {
  /* The art can only ever be 241px tall here — that's its ratio at 390px wide.
     A full-height hero therefore leaves a screenful of nothing around it, so
     the section itself shrinks to fit rather than the art drifting inside it.
     The lens stays full-bleed: boxing it in clipped the reveal. */
  .hero { height: min(100svh, 35rem); min-height: 0; }
  /* hero-boys-m keeps a strip of transparent canvas above the characters — that
     is the room the height chart needs to show its 210 mark when the blob passes
     over it. 19% lands the drawing clear of the buttons with that strip on top. */
  .hero-lens .hero-image,
  .hero-lens-layer .hero-image { object-fit: contain; object-position: center 19%; }
}
/* This layer used to be display:none on touch, back when the blob could only be
   driven by a cursor. The blob now steers itself there, so hiding it left the
   script animating the clip-path of something invisible. */
.hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 0 1rem 3.25rem;
}
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* social + chart icons, sitting under the buy button in the hero */
.socials {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.65rem; margin-top: 1.1rem;
}
.social {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border); border-radius: 50%;
  background: rgba(15, 19, 12, 0.72);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.social img {
  width: 22px; height: 22px;
  transition: filter 0.2s;
}
.social:hover {
  border-color: var(--accent);
  background: rgba(15, 19, 12, 0.85);
  transform: translateY(-2px);
}
/* the icons are flat ink, so a hue rotate lands them on the lime accent */
.social:hover img {
  filter: brightness(0.9) sepia(1) saturate(6) hue-rotate(28deg);
}

/* heading kept for screen readers and search engines, not shown */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink-invert); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border: 1px solid var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-big { font-size: 1rem; padding: 1.1rem 2.5rem; }

.scroll-hint {
  position: absolute; bottom: 0.3rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.scroll-hint span { animation: bob 1.6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
/* Two dark sections in a row stack 8rem + 8rem into a 256px void. Where the
   background doesn't change there's no edge to breathe around, so halve it. */
.section:not(.section-invert) + .section:not(.section-invert) { padding-top: 4rem; }
/* 8rem is breathing room on a 1280px screen and a third of a blank phone
   screen on a 390px one — each transition stacks two of them. Measured at
   390px the gaps between one section's last element and the next section's
   first ran 192px to 427px before this. */
@media (max-width: 800px) {
  .section { padding: 4rem 1.5rem; }
  .section:not(.section-invert) + .section:not(.section-invert) { padding-top: 2.5rem; }
}
.section-invert {
  max-width: 100%;
  background: var(--bg-invert);
  color: var(--ink-invert);
}
.section-invert .section-index,
.section-invert .lede,
.section-invert .tl-desc { color: rgba(15,19,12,0.6); }
.section-invert .token-value,
.section-invert .ca-value { color: var(--ink-invert); }

.section-head { margin-bottom: 3rem; }
.section-index {
  display: block; font-size: 0.85rem; letter-spacing: 0.15em;
  color: var(--muted); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-title);
  /* ~15% down from Anton's 5rem: Luckiest Guy sets 18-24% wider at the same
     body, so matching the old numbers would push the long titles onto extra
     lines on narrow screens */
  font-size: clamp(1.9rem, 5vw, 4.2rem);
  /* 0.98 worked for Anton's short ascenders; this face needs the room */
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0;
}
/* 900px put the lede at ~92 characters a line; comfortable reading tops out
   around 70. Constraining the wrapper also lines the timeline rules up with
   the edge of the paragraph instead of running 500px past it. */
.section-body { max-width: 680px; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46em;
}

/* story section: copy on the left at its reading measure, art on the right */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.story-art {
  margin: 0;
  /* align-self:start shrinks the box to its content while the grid *area*
     stays row-height, which is the room sticky needs to travel */
  align-self: start;
  position: sticky;
  top: 7rem;
}
.story-art img {
  width: 100%;
  /* the height attribute is a presentational hint, so without this the image
     renders at its intrinsic pixel height instead of scaling to its ratio */
  height: auto;
  border: 5px solid var(--ink-invert);
  border-radius: 3px;
  /* taped-in comic panel rather than a floating illustration */
  transform: rotate(2deg);
  box-shadow: 8px 10px 0 rgba(15, 19, 12, 0.18);
}
@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; }
  /* portrait art, so it needs a tighter cap here than a landscape one would */
  .story-art { position: static; margin: 3rem auto 0; max-width: 360px; }
}

.timeline { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.tl-item {
  display: flex; align-items: baseline; gap: 1.5rem;
  border-top: 1px solid rgba(15,19,12,0.15); padding-top: 1.25rem;
}
.tl-year { font-family: var(--font-display); font-size: 1.4rem; min-width: 5ch; }
.tl-desc { font-size: 1rem; }

/* world tour: an infinite filmstrip, cards at a fixed height with their own
   natural width (the source art isn't all one aspect ratio) */
.tour-section { padding-bottom: 2.5rem; }
.tour-lede { max-width: 40em; }
.tour-strip {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 5rem;
  /* fade the strip out at both edges instead of cutting cards off hard */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.tour-track {
  display: inline-flex; gap: 1.25rem;
  animation: tourScroll 20s linear infinite;
  will-change: transform;
}
.tour-strip:hover .tour-track { animation-play-state: paused; }
.tour-card {
  position: relative;
  flex: none;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--ink-invert);
  box-shadow: 0 10px 0 0 var(--ink-invert);
  /* a touch lighter than the page, so a card that hasn't decoded yet reads as
     "loading" rather than as a hole in the strip */
  background: #1a2213;
  cursor: var(--cig-cursor);
  min-width: 130px;
}
.tour-card img {
  height: 100%; width: auto; max-width: none;
  display: block;
  transition: transform 0.35s var(--ease);
}
.tour-card:hover img { transform: scale(1.06); }

.tour-lightbox {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6, 8, 5, 0.9);
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 4vh 4vw;
}
.tour-lightbox.is-open { opacity: 1; pointer-events: auto; }
.tour-lightbox img {
  max-width: 100%; max-height: 88vh;
  border-radius: 18px;
  border: 2px solid var(--ink-invert);
  box-shadow: 0 20px 0 0 var(--ink-invert);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}
.tour-lightbox.is-open img { transform: scale(1); }
.tour-lightbox-label {
  position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(15, 19, 12, 0.85);
  border: 1px solid rgba(216, 255, 51, 0.4);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tour-lightbox-close {
  position: absolute; top: 3vh; right: 3vh;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(238, 242, 224, 0.4);
  background: rgba(15, 19, 12, 0.85);
  color: var(--ink);
  font-size: 1.4rem; line-height: 1;
  cursor: var(--cig-cursor);
}
.tour-label {
  position: absolute; left: 0.6rem; bottom: 0.6rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 19, 12, 0.78);
  border: 1px solid rgba(216, 255, 51, 0.4);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes tourScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 620px) {
  .tour-card { height: 190px; }
}
/* The strip carries 5rem of its own below the cards on top of the section's
   padding, which is why Tour -> The Boys was the worst gap on the page. */
@media (max-width: 800px) {
  .tour-strip { padding-bottom: 2rem; }
  .tour-section { padding-bottom: 1rem; }
}

/* boys grid */
.boys-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .boys-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .boys-grid { grid-template-columns: 1fr; } }
.boy-card {
  border: 1px solid var(--border); border-radius: 18px; padding: 2rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.boy-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.boy-anim {
  width: 100%; max-width: 190px;
  aspect-ratio: 1;
  margin: 0 auto 0.75rem;
  /* transparent artwork — a soft shadow lifts it off the card */
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s var(--ease);
}
.boy-anim svg { display: block; }
.boy-card:hover .boy-anim { transform: scale(1.06); }
.boy-card h3 { font-family: var(--font-title); font-size: 1.4rem; margin: 0 0 0.15rem; text-transform: uppercase; }
.boy-aka {
  display: block; margin-bottom: 0.85rem;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2);
}
.boy-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
/* their own line out of the comic, set apart from the description */
.boy-card p.boy-quote {
  font-family: var(--font-display);
  font-size: 1.05rem; line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

/* tokenomics */
.tokenomics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: rgba(15,19,12,0.15);
  border: 1px solid rgba(15,19,12,0.15); border-radius: 18px; overflow: hidden;
}
.token-stat {
  background: var(--bg-invert); padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.token-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(15,19,12,0.55); }
.token-value { font-family: var(--font-display); font-size: 1.6rem; }

/* --- Total supply: slot-machine reels --- */
.reel {
  display: inline-block; overflow: hidden;
  height: 1em; line-height: 1em; vertical-align: bottom;
}
.reel-strip { display: block; will-change: transform; }
.reel-strip span { display: block; height: 1em; line-height: 1em; }

/* --- LP burned: the word chars and crumbles, letter by letter --- */
.burn { display: inline-flex; }
.burn-letter {
  position: relative;
  display: inline-block;
  white-space: pre;
  will-change: transform, opacity;
}
.burn-letter .ember-puff {
  position: absolute; left: 50%; bottom: 15%;
  width: 0.42em; aspect-ratio: 1;
  margin-left: -0.21em;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%,
    #fff3b0 0%, #ffb020 38%, #ff5a00 72%, rgba(255, 60, 0, 0) 100%);
  filter: blur(0.5px);
  opacity: 0;
  pointer-events: none;
}

/* contract band, directly under the hero */
.ca-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #131810;
}
.ca-band-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 1.6rem clamp(1.2rem, 5vw, 4rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.ca-row {
  display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
}
.ca-row .ca-value { color: var(--ink); }
.ca-row .ca-copy { background: var(--accent); color: var(--ink-invert); }

.ca-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  /* bottoms aligned, so the small static fact and the big live ones read as
     deliberate hierarchy rather than a mismatch */
  align-items: end;
  gap: 0.75rem 3rem; margin: 0;
  text-align: center;
}
.ca-fact-live dt { justify-content: center; }
.ca-fact dt {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.2rem;
}
.ca-fact dd {
  margin: 0; font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: 0.02em; color: var(--ink);
}
/* numbers we read off-chain on every load — flagged so they read as live */
.ca-fact-live dt {
  display: flex; align-items: center; gap: 0.45rem;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
}
.ca-fact-live dt::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(216, 255, 51, 0.6);
  animation: livePulse 2s ease-out infinite;
}
.ca-fact-live dd {
  color: var(--accent);
  font-size: clamp(2rem, 4.8vw, 2.9rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;   /* digits don't jiggle as they tick */
}
/* brief flash whenever a refresh brings a new number in */
.ca-fact-live dd.just-changed {
  animation: valueFlash 0.9s ease-out;
}
@keyframes valueFlash {
  0%   { color: #fff; text-shadow: 0 0 18px rgba(216, 255, 51, 0.9); }
  100% { color: var(--accent); text-shadow: none; }
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(216, 255, 51, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(216, 255, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 255, 51, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ca-fact-live dt::before { animation: none; }
}

.ca-verify {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(216, 255, 51, 0.35);
}
.ca-verify:hover { border-bottom-color: var(--accent); }
.ca-verify span { font-size: 0.75em; }


@media (max-width: 620px) {
  .ca-facts { gap: 0.75rem 1.75rem; }
  /* four figures wrap into three ragged rows on a phone. The price is the one
     that's a tap away on DexScreener anyway, so it's the one that goes. */
  #priceFact { display: none; }
}

/* Touch targets. Everything you can tap gets to 44px on a phone — measured at
   375px, fifteen of them were under it. Inline links inside running prose are
   deliberately left alone: padding them out would wreck the line spacing, and
   they're the documented exception to the 44px rule. */
@media (pointer: coarse), (max-width: 800px) {
  .ca-copy,
  .nav-cta,
  .nav-logo,
  .footer-links a,
  .ca-verify,
  .intro-skip,
  a.token-value {          /* the "Burned" / "Renounced" links in tokenomics */
    min-height: 44px;
    display: inline-flex; align-items: center;
  }
  .ca-copy, .nav-cta, .footer-links a { justify-content: center; }
  .footer-links { gap: 0.5rem 1.25rem; flex-wrap: wrap; justify-content: center; }
  .footer-links a { padding: 0 0.35rem; }
  /* needs to out-specify the .footer-links a rule above, which sets display */
  .footer-links a.footer-link-extra { display: none; }
  .nav-social { width: 44px; height: 44px; }
  .nav.is-pill .nav-social { max-width: 44px; }
  .tour-lightbox-close { width: 48px; height: 48px; }
}

.ca-label { font-family: var(--font-display); font-size: 0.9rem; }
.ca-value {
  flex: 1; min-width: 200px; font-size: 0.8rem; word-break: break-all;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  letter-spacing: -0.01em;
}
.ca-copy {
  background: var(--ink-invert); color: var(--bg-invert); border: none; border-radius: 999px;
  padding: 0.55rem 1.1rem; font-size: 0.75rem; text-transform: uppercase; cursor: var(--cig-cursor);
  letter-spacing: 0.05em;
}

/* steps */
.steps { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; max-width: 800px; }
.step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); min-width: 3ch; }
.step p { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--muted); }
.step a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.btn-big { margin-top: 3rem; }

/* footer */
.footer {
  padding: 4rem 2rem 3rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  text-align: center; border-top: 1px solid var(--border);
}
.footer-logo { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
/* attribution + non-affiliation: quiet, but it has to stay legible */
.footer-note {
  margin: 0; max-width: 46em;
  font-size: 0.75rem; line-height: 1.6; color: var(--muted);
}

/* reveal defaults (JS animates these) */
[data-reveal] { opacity: 1; }


/* community memes — 3D ring carousel, same construction as andybnb.live:
   cards sit on a circle via rotateY(i·angle) translateZ(R) inside a perspective
   scene, and the whole ring spins. */
.memes-section { padding-bottom: 4rem; }
.memes-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center;
}
/* the intro line is gone, so the button carries the spacing under the heading */
.memes-copy .btn { margin-top: 2rem; }
/* the ring's radius is wider than its column, so cards swing over this one —
   same as Andy's. The copy rides in front of them instead of being wiped out. */
.memes-copy { position: relative; z-index: 2; }
.carousel-scene { z-index: 1; }
/* face and size now come from .section-title like everywhere else — all this
   one still needs is the outline, because cards pass behind it */
.memes-copy .section-title {
  /* a hard dark edge all the way round, so no card behind it can eat a letter */
  text-shadow:
    3px 0 0 var(--bg), -3px 0 0 var(--bg), 0 3px 0 var(--bg), 0 -3px 0 var(--bg),
    2px 2px 0 var(--bg), -2px 2px 0 var(--bg), 2px -2px 0 var(--bg), -2px -2px 0 var(--bg),
    0 10px 26px rgba(0, 0, 0, 0.75);
}

.carousel-scene {
  /* just enough for the ring plus its shadow — any taller and the centred text
     column beside it gets padded out with dead space */
  min-height: 440px;
  display: grid; place-items: center;
  perspective: 1300px;
}
.carousel-ring {
  position: relative;
  width: min(320px, 64vw);
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  animation: carouselSpin 18s linear infinite;
}
.carousel-ring:hover { animation-play-state: paused; }
.carousel-ring figure {
  /* 5 cards evenly round the circle; the radius keeps the same gap-to-card
     ratio Andy's six-card ring has, so the spacing reads the same */
  --angle: calc(var(--i) * (360deg / 5));
  position: absolute; inset: 0; margin: 0;
  transform: rotateY(var(--angle)) translateZ(334px);
  transform-style: preserve-3d;
}
.carousel-ring img {
  width: 100%; height: 100%; object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 10px;
  background: #1a2213;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.22s, box-shadow 0.22s;
}
.carousel-ring figure:hover img {
  transform: translateZ(34px) scale(1.04);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
}
@keyframes carouselSpin {
  0%   { transform: rotateX(-6deg) rotateY(0deg); }
  100% { transform: rotateX(-6deg) rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-ring { animation: none; transform: rotateX(-6deg); }
}
@media (max-width: 900px) {
  .memes-layout { grid-template-columns: 1fr; }
  .carousel-scene { min-height: 420px; perspective: 1000px; }
  .carousel-ring { width: min(200px, 52vw); }
  .carousel-ring figure { transform: rotateY(var(--angle)) translateZ(209px); }
}
/* On a phone a 209px radius throws the cards 309px either side of centre, so
   most of each one lands off a 390px screen. Tightened so the ring still bleeds
   past the edges — that reads as depth — without the cards being half gone.
   body{overflow-x:hidden} is what keeps the bleed from becoming a scrollbar. */
@media (max-width: 560px) {
  /* the ring is ~250px tall here, so 360 was padding the scene out with dead
     space between the gallery button and the cards */
  .carousel-scene { min-height: 270px; perspective: 820px; }
  .carousel-ring { width: min(158px, 44vw); }
  .carousel-ring figure { transform: rotateY(var(--angle)) translateZ(165px); }
  .memes-layout { gap: 1rem; }
}
