/* ============================================================
   $JACK — Jack of all trades. Memecoin site.
   Palette: warm cave-ink black · treasure gold · tentacle-glow blue
   ============================================================ */

:root {
  --ink:        #0b0a07;
  --ink-2:      #131009;
  --ink-3:      #1c1710;
  --ink-4:      #26200f;

  --gold:       #f4c24b;
  --gold-deep:  #c8912e;
  --gold-bright:#ffdd82;
  --gold-soft:  rgba(244, 194, 75, .14);

  --cream:      #f6efdd;
  --cream-dim:  #b6a988;
  --cream-fade: #7c7256;

  --glow:       #4ea8ff;
  --glow-deep:  #2b6fd6;

  --pop-blue:   #4ea8ff;
  --pop-lime:   #b6e83a;
  --pop-pink:   #ff5fa2;
  --pop-teal:   #2fd9c9;
  --pop-red:    #ff5a3c;

  --line:       rgba(244, 194, 75, .16);
  --line-soft:  rgba(244, 194, 75, .08);

  --shadow-hard: 6px 6px 0 var(--ink);

  --wobble-a: 63% 37% 54% 46% / 55% 48% 52% 45%;
  --wobble-b: 42% 58% 63% 37% / 48% 62% 38% 52%;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: "Bagel Fat One", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--ink);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
}

.section-head { margin-bottom: 46px; max-width: 640px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: .95;
  margin: 14px 0 0;
  text-transform: uppercase;
}
.section-head p {
  margin: 16px 0 0;
  color: var(--cream-dim);
  font-size: 1.05rem;
  font-weight: 600;
}
.gold-word { color: var(--gold); }
.glow-word { color: var(--glow); }

section { position: relative; padding: 100px 0; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gold);
  border-bottom: 3px solid var(--ink);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .02em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: var(--wobble-a);
  object-fit: cover;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 3px var(--gold);
  animation: bob 5s var(--ease) infinite;
}
.brand { color: var(--ink); }
.brand b { color: var(--ink); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(20,14,2,.66);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav .btn-ghost { border-color: rgba(0,0,0,.34); color: var(--ink); }
.nav .btn-ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.06); color: var(--ink); }
.nav .btn-primary { background: var(--ink); color: var(--gold); box-shadow: 4px 4px 0 rgba(0,0,0,.28); }
.nav .btn-primary:hover { background: #000; box-shadow: 6px 6px 0 rgba(0,0,0,.28); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.menu-btn { display: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .02em;
  padding: 13px 24px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #241a05;
  box-shadow: var(--shadow-hard);
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--ink); background: var(--gold-bright); }
.btn-primary:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-glow {
  background: var(--glow);
  color: #041225;
  border-color: var(--ink);
  box-shadow: var(--shadow-hard);
}
.btn-glow:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--ink); }

.btn-sm { padding: 9px 16px; font-size: .8rem; border-radius: 11px; }

/* ============ HERO — MEW-style ============ */
.hero-mew {
  background: var(--gold);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 30px 0 0;
  text-align: center;
}
.hero-stack {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 20px 0;
  min-height: clamp(340px, 52vw, 640px);
  display: grid;
  place-items: center;
}
.hero-word {
  font-family: var(--font-display);
  font-size: clamp(7rem, 31vw, 010rem);
  line-height: .8;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
  position: relative;
  z-index: 1;
  width: 100%;
  user-select: none;
}
.hero-word span { display: inline-block; }
.hero-mascot {
  position: absolute;
  left: 50%; top: 53%;
  transform: translate(-50%, -50%);
  width: min(30%, 330px);
  z-index: 2;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,.26));
  will-change: transform;
}
.hero-mascot img { width: 100%; height: auto; display: block; }
.hero-mascot .bob {
  display: block;
  opacity: 0;
  animation: pop-in .7s var(--ease) .45s forwards, bob 5.5s var(--ease) 1.2s infinite;
}
@keyframes pop-in { 0% { opacity: 0; transform: scale(.7) translateY(12px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }

.hero-flank {
  position: absolute;
  bottom: 12%;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.1vw, 1.7rem);
  line-height: .96;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 3;
}
.hero-flank.left  { left: 22px;  text-align: left; }
.hero-flank.right { right: 22px; text-align: right; }
.hero-flank small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .58rem;
  letter-spacing: .18em;
  color: #6b4e10;
  margin-bottom: 8px;
}

.hero-bar {
  position: relative;
  z-index: 3;
  border-top: 3px solid var(--ink);
  background: var(--gold);
  padding: 22px;
}
.hero-bar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px;
}
.hero-bar .tagline {
  font-weight: 800; font-size: 1.02rem; color: #3a2a06;
  margin-right: auto;
}
.hero-bar .tagline b { color: var(--ink); }
.hero-ca {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); border-radius: 12px; padding: 8px 8px 8px 14px;
}
.hero-ca .k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.hero-ca .a { font-family: var(--font-mono); font-size: .78rem; color: var(--cream); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-ca button {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); border: 0; border-radius: 8px; padding: 7px 12px; cursor: pointer;
}
.hero-ca button.copied { background: var(--pop-lime); }

/* ============ MARQUEE ============ */
.marquee {
  padding: 0;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background: linear-gradient(180deg, #1a1408, #120d05);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scroll 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 16px 30px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 30px;
}
.marquee-track span::after { content: "🐙"; font-size: 1.1rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee-track.rev { animation: scroll-rev 24s linear infinite; }
.marquee.alt { background: linear-gradient(180deg, #171105, #100b04); }
.marquee.alt .marquee-track span { color: var(--gold-bright); }

.img-marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--ink-2);
  border-block: 2px solid var(--ink);
}
.img-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll 46s linear infinite;
}
.img-track.rev { animation: scroll-rev 46s linear infinite; }
.img-marquee:hover .img-track { animation-play-state: paused; }
.img-track img {
  height: 168px; width: auto;
  border-radius: 14px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.img-track img:hover { transform: translateY(-6px) rotate(-2deg); }

/* ============ TOP TICKER ============ */
.ticker {
  background: var(--ink);
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 9px 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-track span b { padding: 0 22px; font-weight: 700; }
.ticker-track span i { font-style: normal; opacity: .45; }

/* ============ BAND ============ */
.band {
  background: var(--gold);
  color: #211705;
  padding: 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.band-inner { padding: 78px 22px 88px; position: relative; }
.band .band-inner { max-width: var(--maxw); margin: 0 auto; }
.band .kick {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #6b4e10;
}
.band h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8.5rem);
  line-height: .82;
  text-transform: uppercase;
  margin: 20px 0 0;
  color: var(--ink);
  letter-spacing: -.01em;
}
.band h2 .stroke {
  color: var(--gold);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
}
.band p {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #4a370c;
}
.band .btn-primary { background: var(--ink); color: var(--gold); box-shadow: 6px 6px 0 rgba(0,0,0,.35); margin-top: 30px; }
.band .btn-primary:hover { background: #000; }

.band.blue { background: var(--glow); color: #04203f; }
.band.blue .kick { color: rgba(4,26,51,.62); }
.band.blue h2 { color: #05213f; }
.band.blue h2 .stroke { color: var(--glow); -webkit-text-stroke: 3px #05213f; }
.band.blue p { color: #0a2f57; }
.band.blue .btn-primary { background: #05213f; color: #fff; box-shadow: 6px 6px 0 rgba(0,0,0,.28); }
.band.blue .btn-primary:hover { background: #021129; }
.cta-band .cta-actions { margin-top: 30px; }
.cta-band .cta-actions .btn-primary { margin-top: 0; }
.cta-band .cta-ghost { border-color: rgba(0,0,0,.32); color: #211705; }
.cta-band .cta-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(0,0,0,.06); }
.cta-band .social { background: var(--ink); border-color: rgba(0,0,0,.3); }
.cta-band .social:hover { background: #000; border-color: var(--ink); }

.drip { display: block; width: 100%; height: 46px; }
.drip.down { margin-bottom: -1px; }
.drip.up { margin-top: -1px; transform: scaleY(-1); }

/* ============ TOKENOMICS ============ */
.tok-hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 18px;
}
.tok-big {
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-hard);
}
.tok-big .k {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6b4e10;
}
.tok-big .n {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: .9;
  margin-top: 8px;
  word-break: break-word;
}
.tok-split {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
}
.tok-split .cell {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tok-split .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold);
  line-height: .9;
}
.tok-split .k {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 8px;
}

/* ============ FULL-BLEED GOLD SECTION ============ */
.sec-gold { background: var(--gold); color: #211705; padding: 0; }
.sec-gold .sec-inner { padding: 92px 22px 98px; max-width: var(--maxw); margin: 0 auto; }
.sec-gold .section-head h2 { color: var(--ink); }
.sec-gold .section-head .eyebrow { color: #6b4e10; }
.sec-gold .section-head .eyebrow::before { background: linear-gradient(90deg, #6b4e10, transparent); }
.sec-gold .section-head p { color: #4a370c; }
.sec-gold .gold-word { color: transparent; -webkit-text-stroke: 2.5px var(--ink); }
.sec-gold .tok-note { color: #6b4e10; }
.sec-gold .tok-big { background: var(--ink); border-color: var(--ink); }
.sec-gold .tok-big .k { color: var(--gold); }
.sec-gold .tok-big .n { color: var(--gold); }
.sec-gold .tok-split .cell { background: var(--ink); }
.sec-gold .tok-card { background: var(--ink); border-color: var(--ink); }
.sec-gold .tok-card .k { color: var(--cream-dim); }

.tok-split .cell:nth-child(1) { border-color: rgba(78,168,255,.5); }
.tok-split .cell:nth-child(1) .n { color: var(--pop-blue); }
.tok-split .cell:nth-child(2) { border-color: rgba(255,95,162,.42); }
.tok-split .cell:nth-child(2) .n { color: var(--pop-pink); }
.tok-card:nth-child(1) { border-top-color: var(--pop-blue); }
.tok-card:nth-child(2) { border-top-color: var(--pop-lime); }
.tok-card:nth-child(3) { border-top-color: var(--pop-pink); }
.tok-card:nth-child(4) { border-top-color: var(--pop-teal); }
.step:nth-child(1) .num { -webkit-text-stroke-color: var(--pop-blue); }
.step:nth-child(2) .num { -webkit-text-stroke-color: var(--pop-lime); }
.step:nth-child(3) .num { -webkit-text-stroke-color: var(--pop-pink); }
.step:nth-child(4) .num { -webkit-text-stroke-color: var(--pop-teal); }

.nav.scrolled { box-shadow: 0 8px 26px rgba(0,0,0,.32); }

.tok-grid, .steps, .gallery-grid, .reel, .tok-hero { perspective: 1000px; }
.tilt { will-change: transform; transition: transform .3s var(--ease); }
.tilt.tilting { transition: transform .08s linear; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}
.about-portrait {
  position: relative;
  border-radius: var(--wobble-b);
  overflow: hidden;
  border: 3px solid var(--line);
  transform: rotate(-2deg);
  box-shadow: 8px 8px 0 var(--ink);
}
.about-portrait img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-body p {
  font-size: 1.14rem;
  color: var(--cream);
  font-weight: 600;
  margin: 0 0 18px;
}
.about-body p.lead { font-size: 1.32rem; color: var(--cream); }
.about-body b { color: var(--gold); }

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.stat {
  flex: 1;
  min-width: 130px;
  padding: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.stat .n {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}
.stat .k {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 8px;
}

/* ============ TRADES ============ */
.trades { background: var(--ink-2); border-block: 1px solid var(--line-soft); }
.reel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.reel-stage {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--wobble-a);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 6px var(--ink), 0 16px 40px rgba(0,0,0,.5), 0 0 48px rgba(244,194,75,.18);
}
.reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease);
}
.reel-slide img { width: 100%; height: 100%; object-fit: cover; }
.reel-slide.active { opacity: 1; transform: scale(1); }

.reel-copy .kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.reel-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: .9;
  text-transform: uppercase;
  margin: 8px 0 0;
  min-height: 1.8em;
}
.reel-title .role { color: var(--gold); display: block; }
.reel-desc {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: var(--cream-dim);
  font-weight: 600;
  min-height: 3.4em;
}
.reel-dots { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.reel-dots button {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream-dim);
  cursor: pointer;
  transition: all .2s;
}
.reel-dots button:hover { color: var(--gold); border-color: var(--gold); }
.reel-dots button.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.tok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tok-card {
  padding: 30px 24px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold-deep);
  border-radius: 18px;
  position: relative;
  transition: transform .2s var(--ease), border-color .2s;
}
.tok-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.tok-card .n {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}
.tok-card .k {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 10px;
}
.tok-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--cream-fade);
  text-align: center;
}

/* ============ HOW TO BUY ============ */
.buy { background: var(--ink-2); border-block: 1px solid var(--line-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  padding: 26px 22px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
}
.step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--ink-4);
  -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1;
}
.step h3 {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.14rem;
  margin: 14px 0 8px;
  color: var(--cream);
}
.step p { margin: 0; font-size: .96rem; color: var(--cream-dim); font-weight: 600; }
.step a { color: var(--gold); border-bottom: 1px dashed var(--gold); }

/* ============ GALLERY ============ */
.gallery-grid {
  columns: 4;
  column-gap: 14px;
}
.gallery-grid figure {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s var(--ease), border-color .25s;
}
.gallery-grid figure:hover { transform: scale(1.02) rotate(-1deg); border-color: var(--gold); z-index: 2; }
.gallery-grid img { width: 100%; }
.gallery-grid figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(11,10,7,.78);
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* ============ CTA / SOCIALS ============ */
.cta { text-align: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.socials { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.social {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--ink);
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.social svg { width: 22px; height: 22px; fill: var(--cream); transition: fill .2s; }
.social:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--gold-soft); }
.social:hover svg { fill: var(--gold); }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0;
  text-align: center;
}
.footer .brand { justify-content: center; margin-bottom: 16px; }
.footer .disc {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--cream-fade);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.footer .copy {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--cream-fade);
}

/* ============ ANIMATIONS ============ */
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
@keyframes bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.05); } }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-word span {
  opacity: 0;
  transform: translateY(-.5em) rotate(-8deg);
  animation: drop .7s var(--ease) forwards;
}
.hero-word span:nth-child(1) { animation-delay: .05s; }
.hero-word span:nth-child(2) { animation-delay: .16s; }
.hero-word span:nth-child(3) { animation-delay: .27s; }
.hero-word span:nth-child(4) { animation-delay: .38s; }
@keyframes drop { 0% { opacity: 0; transform: translateY(-.6em) rotate(-9deg); } 60% { opacity: 1; transform: translateY(.06em) rotate(2deg); } 100% { opacity: 1; transform: translateY(0) rotate(0); } }

.hero-flank { opacity: 0; animation: flank-in .7s var(--ease) .75s forwards; }
@keyframes flank-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }
.reveal { opacity: 0; transform: translateY(52px); transition: opacity .7s var(--ease), transform .75s var(--spring); }
.reveal.left  { transform: translateX(-64px) translateY(20px); }
.reveal.right { transform: translateX(64px) translateY(20px); }
.reveal.pop   { transform: scale(.82); }
.reveal.spin  { transform: translateY(40px) rotate(-4deg) scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(44px) scale(.96); transition: opacity .6s var(--ease), transform .7s var(--spring); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .07s; }
.stagger.in > *:nth-child(3) { transition-delay: .14s; }
.stagger.in > *:nth-child(4) { transition-delay: .21s; }
.stagger.in > *:nth-child(5) { transition-delay: .28s; }
.stagger.in > *:nth-child(6) { transition-delay: .35s; }
.stagger.in > *:nth-child(7) { transition-delay: .42s; }
.stagger.in > *:nth-child(8) { transition-delay: .49s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .reel { grid-template-columns: 1fr; }
  .about-portrait { transform: none; max-width: 460px; }
  .tok-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .tok-hero { grid-template-columns: 1fr; }
  .tok-split { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 3; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  section { padding: 72px 0; }
  .tok-grid, .steps { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .marquee-track span { font-size: 1.15rem; padding: 13px 20px; }
  .nav-cta .btn-ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reel-slide { transition: opacity .3s; }
}
