/* ───── loading screen ───── */
.loading-screen {
  position: fixed; inset: 0; z-index: 9999;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255,236,170,.45), transparent 70%),
    linear-gradient(180deg, #dbeefb 0%, #bcdef5 38%, #8ec4ea 78%, #6aafdf 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease-out, visibility .4s ease-out;
}
.loading-screen.is-done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.loading-screen__inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.loading-screen__pfp {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 4px solid #0a2540;
  box-shadow: 6px 6px 0 #0098EA, 6px 6px 0 4px #0a2540;
  opacity: 0;
  animation: ls-pfp-pop .65s cubic-bezier(.34, 1.56, .64, 1) forwards;
  user-select: none;
}
@keyframes ls-pfp-pop {
  0%   { opacity: 0; transform: scale(0) rotate(-180deg); }
  60%  { opacity: 1; transform: scale(1.12) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.loading-screen__title {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 64px);
  color: #0a2540;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-style: italic;
  text-shadow:
    3px 3px 0 #f5c842,
    6px 6px 0 #0098EA,
    9px 9px 0 #0a2540;
  opacity: 0;
  animation: ls-title-stamp .7s .45s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
@keyframes ls-title-stamp {
  0%   { opacity: 0; transform: scale(2) rotate(-4deg); filter: blur(10px); }
  60%  { opacity: 1; transform: scale(0.95) rotate(1deg); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0); }
}
.loading-screen__ca {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 3px solid #0a2540;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #0a2540;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: #0a2540;
  cursor: pointer;
  opacity: 0;
  max-width: min(560px, 88vw);
  animation: ls-fade-in .3s .9s forwards;
  transition: translate .15s, box-shadow .15s;
}
.loading-screen__ca:hover { translate: -2px -2px; box-shadow: 6px 6px 0 #0a2540; }
.loading-screen__ca:active { translate: 0 0; box-shadow: 2px 2px 0 #0a2540; }
.loading-screen__ca code {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  letter-spacing: .02em;
  flex: 1; min-width: 0;
}
.loading-screen__ca-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: #0098EA;
  color: #fff;
  border: 2px solid #0a2540;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.loading-screen__ca.is-copied .loading-screen__ca-btn {
  background: #f5c842;
  color: #0a2540;
}

.loading-screen__dots {
  display: flex; gap: 10px;
  opacity: 0;
  animation: ls-fade-in .3s 1s forwards;
}
.loading-screen__dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #0098EA;
  border: 2px solid #0a2540;
  animation: ls-bounce .9s infinite ease-in-out;
}
.loading-screen__dots span:nth-child(2) { animation-delay: .15s; background: #f5c842; }
.loading-screen__dots span:nth-child(3) { animation-delay: .3s; }
@keyframes ls-fade-in { to { opacity: 1; } }
@keyframes ls-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ───────────── tokens (Jungle Throne palette) ───────────── */
:root {
  --jade-0:  #f3faf3;   /* almost white-jade */
  --jade-1:  #e3f3e8;   /* pale jade */
  --jade-2:  #c8e6cd;   /* sage */
  --jade-3:  #9dd1ab;   /* medium green */
  --jade-4:  #5fa979;   /* leaf green */
  --jungle:  #2d5d3f;   /* deep jungle */
  --jungle-deep: #16331f;

  /* legacy aliases so existing rules still resolve */
  --navy-0: var(--jade-0);
  --navy-1: var(--jade-1);
  --navy-2: var(--jade-2);
  --navy-3: var(--jade-3);

  --gold-0: #ffe27a;
  --gold-1: #f5c842;
  --gold-2: #d4a017;
  --gold-3: #8a6510;
  --ton-blue: #0098EA;
  --ton-blue-dark: #0079bf;
  --coral: #e07b5a;

  --ink:        #1a3a2a;
  --ink-mute:   #4f6e5c;
  --ink-faint:  #8aa697;
  --cream: var(--ink);
  --cream-mute: var(--ink-mute);

  --glass-bg: rgba(255,255,255,.6);
  --glass-bd: rgba(45,93,63,.22);

  --shadow-soft: 0 16px 36px -18px rgba(20,60,30,.3);
  --shadow-deep: 0 30px 60px -20px rgba(20,60,30,.45);
  --shadow-gold: 0 0 60px rgba(245,200,66,.45);
  --shadow-leaf: 0 0 80px rgba(95,169,121,.35);
  --rad: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #e3f0fa;
  color: var(--ink);
  font: 16px/1.6 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold-2); }
strong { color: var(--ton-blue-dark); }

.hl-gold { color: var(--gold-2); font-weight: 700; }
.hl-blue { color: var(--ton-blue-dark); font-weight: 700; background: linear-gradient(transparent 60%, rgba(245,200,66,.4) 60%); padding: 0 2px; }

/* ───────────── ambient bg — Jungle Throne (sky shading) ───────────── */
.bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: #f3f9ff;
}

/* base sky-gradient — soft TON-blue dapple from above */
.bg-mesh {
  position: absolute; inset: -10%;
  background:
    radial-gradient(55% 45% at 20% 10%, rgba(255,236,170,.55), transparent 70%),
    radial-gradient(50% 45% at 85% 22%, rgba(0,152,234,.40),    transparent 72%),
    radial-gradient(55% 55% at 78% 92%, rgba(0,121,191,.40),    transparent 75%),
    radial-gradient(50% 50% at 8%  80%, rgba(95,170,225,.55),   transparent 75%),
    linear-gradient(180deg, #dbeefb 0%, #bcdef5 38%, #8ec4ea 78%, #6aafdf 100%);
  animation: mesh-flow 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mesh-flow {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

/* repurpose old "brick" slot as botanical pattern (subtle palm fronds) */
.bg-brick {
  position: absolute; inset: -5%; opacity: .12;
  background-image:
    radial-gradient(closest-side, rgba(45,93,63,.5) 0 6%, transparent 8%),
    radial-gradient(closest-side, rgba(45,93,63,.4) 0 5%, transparent 8%);
  background-size: 220px 220px, 320px 320px;
  background-position: 0 0, 110px 110px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  will-change: transform;
}

/* dappled sun rays through canopy */
.bg-rays {
  position: absolute; top: -10%; left: 50%;
  width: 1600px; height: 1600px;
  opacity: .10; pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(255,247,206,0)    0deg 9deg,
      rgba(255,247,206,.85)  9deg 10deg,
      rgba(255,247,206,0)    10deg 22deg);
  mask-image: radial-gradient(circle at center, black 0%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 55%);
  animation: spin 120s linear infinite;
  will-change: transform;
  transform: translateX(-50%);
}
@keyframes spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

/* drifting LEAF field — big monstera leaves */
.bg-planes { position: absolute; inset: 0; pointer-events: none; }
.leaf {
  position: absolute; width: 140px; height: 140px;
  color: var(--jade-4);
  opacity: .4;
  filter: drop-shadow(0 8px 18px rgba(45,93,63,.35));
  animation: leaf-drift 26s linear infinite;
  will-change: transform;
  transform-origin: center;
}
@keyframes leaf-drift {
  0%   { transform: translate3d(-12vw, -10vh, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--leaf-op, .35); }
  92%  { opacity: var(--leaf-op, .35); }
  100% { transform: translate3d(112vw, 110vh, 0) rotate(540deg); opacity: 0; }
}
/* a slower, gentler tumble variant for some leaves */
.leaf--slow { animation-name: leaf-tumble; animation-duration: 36s; }
@keyframes leaf-tumble {
  0%   { transform: translate3d(110vw, -10vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: var(--leaf-op, .35); }
  90%  { opacity: var(--leaf-op, .35); }
  100% { transform: translate3d(-12vw, 110vh, 0) rotate(-540deg); opacity: 0; }
}

/* twinkling SUN-FLECKS (replaces gold dust) */
.bg-dust { position: absolute; inset: 0; pointer-events: none; }
.dust {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #fff5b8, rgba(255,226,122,.7) 60%, transparent);
  box-shadow: 0 0 12px rgba(255,226,122,.6);
  animation: twinkle-dust 5s ease-in-out infinite;
  will-change: opacity, transform;
  filter: blur(.5px);
}
@keyframes twinkle-dust {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: .9; transform: scale(1.4); }
}

/* mouse-follow warm sunbeam */
.bg-spotlight {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%),
    rgba(255,235,170,.35), transparent 60%);
  mix-blend-mode: screen;
}

/* soft outer vignette so edges feel sky */
.bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0,80,127,.18) 100%);
}

/* corner ambience */
.bg-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  filter: blur(110px); opacity: .55; pointer-events: none;
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-glow--gold { background: radial-gradient(circle, rgba(255,226,122,.7), transparent 65%); top: -120px; left: -100px; }
.bg-glow--blue { background: radial-gradient(circle, rgba(0,152,234,.55), transparent 65%);   bottom: -160px; right: -120px; animation-delay: -10s; }
@keyframes drift { to { transform: translate3d(60px, 50px, 0) scale(1.12); } }

/* ───── decorative vine swags top + bottom ───── */
.vines {
  position: fixed; left: 0; right: 0; pointer-events: none; z-index: -1;
  height: 110px; opacity: .55;
}
.vines--top    { top: 0; }
.vines--bottom { bottom: 0; transform: scaleY(-1); }
.vines svg { width: 100%; height: 100%; display: block; }

/* ───── corner palm fronds ───── */
.jungle-corner {
  position: fixed; width: 380px; height: auto; pointer-events: none;
  z-index: -1; opacity: .8;
  filter: drop-shadow(0 12px 24px rgba(20,60,30,.35));
  animation: palm-sway 8s ease-in-out infinite;
  transform-origin: center;
}
.jungle-corner--tl { top: -120px; left: -100px; color: var(--jungle); transform: rotate(-25deg) scaleY(-1); }
.jungle-corner--tr { top: -120px; right: -100px; color: var(--jade-4); transform: rotate(25deg) scaleY(-1) scaleX(-1); animation-delay: -2s; }
.jungle-corner--bl { bottom: -140px; left: -120px; color: var(--jade-4); transform: rotate(-160deg); animation-delay: -4s; }
.jungle-corner--br { bottom: -140px; right: -120px; color: var(--jungle); transform: rotate(160deg) scaleX(-1); animation-delay: -6s; }
@keyframes palm-sway {
  0%, 100% { rotate: 0deg; }
  50%      { rotate: 2deg; }
}

/* ───── hanging vines from top edge ───── */
.hangvine {
  position: fixed; top: 0; width: 80px; height: 320px;
  pointer-events: none; z-index: -1;
  opacity: .7;
  transform-origin: top center;
  animation: vine-sway 6s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(20,60,30,.25));
}
.hangvine--1 { left: 8%;  height: 280px; animation-delay: 0s; }
.hangvine--2 { left: 32%; height: 360px; animation-delay: -1.5s; }
.hangvine--3 { right: 28%; height: 240px; animation-delay: -3s; }
.hangvine--4 { right: 6%;  height: 400px; animation-delay: -4.5s; }
@keyframes vine-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

/* ───── hibiscus flowers, fixed accents ───── */
.hibiscus {
  position: fixed; width: 90px; height: 90px;
  pointer-events: none; z-index: -1;
  opacity: .85;
  filter: drop-shadow(0 6px 12px rgba(120,40,20,.35));
}
.hibiscus--1 { top: 15%; left: 4%;  transform: rotate(-15deg); }
.hibiscus--2 { top: 70%; left: 3%;  transform: rotate(20deg);  width: 70px; height: 70px; }
.hibiscus--3 { top: 45%; right: 5%; transform: rotate(10deg);  width: 80px; height: 80px; }

/* ───── butterfly cruising the hero ───── */
.butterfly {
  position: fixed; width: 60px; height: 45px;
  pointer-events: none; z-index: -1;
  top: 30%; left: -10vw;
  filter: drop-shadow(0 4px 10px rgba(245,200,66,.4));
  animation:
    butterfly-fly 38s cubic-bezier(.42, .0, .58, 1) infinite,
    butterfly-flap .9s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
@keyframes butterfly-fly {
  0%   { transform: translate(0, 0)         rotate(0deg); }
  25%  { transform: translate(35vw, -6vh)   rotate(4deg); }
  50%  { transform: translate(60vw, 6vh)    rotate(-3deg); }
  75%  { transform: translate(90vw, -2vh)   rotate(2deg); }
  100% { transform: translate(120vw, 4vh)   rotate(0deg); }
}
@keyframes butterfly-flap {
  0%, 100% { scale: 1    1; }
  50%      { scale: .85  1; }
}

/* ───────────── floating crown deco ───────────── */
.crown-deco {
  position: fixed; width: 56px; height: 42px; opacity: .35;
  z-index: -1; filter: drop-shadow(0 4px 8px rgba(45,93,63,.3));
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}
.crown-deco--1 { top: 18%; left: 6%;  animation-delay: 0s; }
.crown-deco--2 { top: 60%; right: 4%; animation-delay: -3s; transform: scale(.7); }
.crown-deco--3 { top: 85%; left: 12%; animation-delay: -6s; transform: scale(.9); }
.crown-deco--4 { top: 35%; right: 12%; animation-delay: -1.5s; transform: scale(.55); }
.crown-deco--5 { top: 75%; right: 22%; animation-delay: -4.5s; transform: scale(.8); }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-22px) rotate(4deg); }
}

/* ───────────── nav ───────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 32px 18px;
  background: #fff7d6;
  border-bottom: 4px solid #0a2540;
  box-shadow: 0 6px 0 0 var(--ton-blue), 0 6px 0 4px #0a2540;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Cinzel Decorative', serif; font-weight: 900;
  letter-spacing: .12em; font-size: 20px;
  color: #0a2540;
  text-shadow: 2px 2px 0 var(--ton-blue);
  rotate: -1.5deg;
  transition: rotate .25s;
}
.nav__brand:hover { rotate: 1.5deg; }
.nav__brand img {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid #0a2540;
  box-shadow: 2px 2px 0 var(--gold-1);
}
.nav__links {
  display: flex; gap: 28px; margin-left: auto;
  font-weight: 500; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.nav__links a {
  color: #0a2540;
  font-weight: 700;
  position: relative;
  padding: 6px 4px;
  transition: color .25s, transform .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 4px; width: 0;
  background: var(--ton-blue);
  border-radius: 2px;
  transition: width .25s cubic-bezier(.2,.9,.2,1.2);
}
.nav__links a:hover { color: var(--ton-blue-dark); transform: translateY(-2px); }
.nav__links a:hover::after { width: 100%; }
/* ───── language switcher ───── */
.nav__lang {
  display: flex; gap: 4px;
  padding: 3px;
  border: 2.5px solid #0a2540;
  border-radius: 10px;
  background: #fff7d6;
  box-shadow: 3px 3px 0 #0a2540;
  margin-right: 4px;
}
.lang-btn {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 5px 9px;
  min-width: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-mute);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.lang-btn:hover { color: var(--ton-blue-dark); transform: translateY(-1px); }
.lang-btn--active {
  background: var(--ton-blue);
  color: #fff;
  box-shadow: 1px 1px 0 #0a2540;
}
@media (max-width: 980px) {
  .nav__lang { margin-left: auto; }
}

.nav__cta {
  padding: 9px 16px !important;
  font-size: 12.5px !important;
  rotate: 0deg !important;
  border-radius: 12px !important;
  box-shadow: 4px 4px 0 0 var(--ton-blue), 4px 4px 0 3px #0a2540 !important;
}
.nav__cta:hover {
  rotate: 2deg !important;
  box-shadow: 6px 6px 0 0 var(--ton-blue), 6px 6px 0 3px #0a2540 !important;
}

/* ───────────── btn ───────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 14px;
  font-family: 'Cinzel Decorative', 'Cinzel', serif; font-weight: 800; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; border: 3px solid #0a2540; overflow: hidden;
  transition: rotate .25s cubic-bezier(.2,.9,.2,1.2),
              translate .2s cubic-bezier(.2,.9,.2,1.2),
              box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { translate: -2px -3px; }
.btn:active { translate: 0 0; }

.btn--gold {
  color: #0a2540;
  background: linear-gradient(180deg, #ffe27a 0%, #f5c842 60%, #d4a017 100%);
  box-shadow: 5px 5px 0 0 var(--ton-blue), 5px 5px 0 3px #0a2540;
  rotate: -1.5deg;
}
.btn--gold:hover { rotate: 1deg; box-shadow: 8px 8px 0 0 var(--ton-blue), 8px 8px 0 3px #0a2540; }
.btn--gold:active { box-shadow: 2px 2px 0 0 var(--ton-blue), 2px 2px 0 3px #0a2540; }

.btn--ghost {
  color: #fff;
  background: var(--ton-blue);
  box-shadow: 5px 5px 0 0 #f5c842, 5px 5px 0 3px #0a2540;
  rotate: 1.5deg;
}
.btn--ghost:hover { rotate: -1deg; box-shadow: 8px 8px 0 0 #f5c842, 8px 8px 0 3px #0a2540; }
.btn--ghost:active { box-shadow: 2px 2px 0 0 #f5c842, 2px 2px 0 3px #0a2540; }
.btn__shine {
  position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine {
  0%,40% { left: -120%; }
  60%,100% { left: 140%; }
}

/* ───────────── HERO ───────────── */
.hero { position: relative; padding: 80px 32px 60px; overflow: visible; }
.hero__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 30px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(45,93,63,.35);
  background: rgba(255,255,255,.55);
  /* removed backdrop-filter for perf */
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--jungle);
}
.kicker__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--jade-4); box-shadow: 0 0 12px var(--jade-4);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  50% { opacity: .35; transform: scale(.8); }
}
.title {
  margin: 0 0 22px;
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  line-height: 1; letter-spacing: .02em;
}
.title__line { display: block; }
.title__the {
  display: block;
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1;
  color: var(--ton-blue-dark);
  letter-spacing: .04em;
  margin: 0 0 10px 12px;
  rotate: -3deg;
  text-shadow: 2px 2px 0 rgba(255,226,122,.6);
}
.title__line--small {
  font-family: 'Cinzel', serif;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--jungle); font-weight: 500;
}
.title__line--big {
  position: relative;
  font-size: clamp(46px, 8vw, 110px);
  font-weight: 900;
  margin: 0;
  display: inline-block;
  white-space: nowrap;
  letter-spacing: -.01em;
  filter: drop-shadow(0 3px 0 rgba(0,111,173,.35)) drop-shadow(0 12px 24px rgba(0,152,234,.25));
}
/* letter stagger entry + per-char gradient */
.title__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%) rotate(-8deg);
  animation: char-in .7s cubic-bezier(.2,.8,.2,1) forwards;
  background: linear-gradient(180deg, #0098EA 0%, #006fad 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@keyframes char-in {
  to { opacity: 1; transform: none; }
}
.lead {
  max-width: 540px; font-size: 17px; color: var(--ink-mute);
  margin: 0 0 28px;
}
.lead strong { color: var(--ton-blue-dark); background: linear-gradient(transparent 60%, rgba(245,200,66,.45) 60%); padding: 0 2px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 560px;
}
.hero__chips li {
  padding: 12px 14px;
  border: 1px solid rgba(45,93,63,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.55);
  /* removed backdrop-filter for perf */
  transition: border-color .25s, background .25s, transform .25s;
}
.hero__chips li:hover { border-color: var(--gold-1); background: rgba(255,247,206,.7); transform: translateY(-2px); }
.hero__chips span {
  display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 4px;
}
.hero__chips strong { font-family: 'Cinzel', serif; font-size: 15px; color: var(--jungle); }

/* hero art */
.hero__art { position: relative; justify-self: start; align-self: stretch; display: flex; align-items: stretch; }
.hero__art-glow {
  position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,200,66,.45), transparent 60%);
  filter: blur(40px); animation: pulse-glow 5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { opacity: .55; transform: scale(1); }
  50%     { opacity: .9;  transform: scale(1.06); }
}
.hero__art-frame {
  position: relative;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  margin-top: -80px;              /* fists ride up toward the header */
  margin-bottom: -220px;          /* feet sink behind the marquee strip */
  translate: -90px 0;             /* scooch left so the right fist clears the edge */
  transform: perspective(1000px) rotateY(3deg) rotateX(2deg);
  animation: throne-bob 6s ease-in-out infinite;
  transition: transform .15s ease-out;
  will-change: transform;
}
@keyframes throne-bob {
  0%, 100% { transform: perspective(1000px) rotateY(3deg) rotateX(2deg) translateY(0); }
  50%      { transform: perspective(1000px) rotateY(3deg) rotateX(2deg) translateY(-14px); }
}
/* mouse parallax overrides bob via JS-set CSS vars */
.hero__art-frame.has-parallax {
  animation: none;
  transform:
    perspective(1000px)
    rotateY(calc(3deg + var(--ry, 0deg)))
    rotateX(calc(2deg - var(--rx, 0deg)))
    translateY(var(--ty, 0px));
}
.hero__throne {
  display: block;
  width: min(820px, 58vw);
  max-width: none;
  height: auto;
  filter: drop-shadow(6px 6px 0 rgba(10,37,64,.85))
          drop-shadow(0 30px 30px rgba(0,40,80,.3));
}
.sparkle { position: absolute; width: 24px; height: 24px; opacity: 0; animation: twinkle 2.4s ease-in-out infinite; }
.sparkle--a { top: 8%;  left: -12px; animation-delay: 0s; }
.sparkle--b { top: 30%; right: -16px; animation-delay: -.8s; width: 18px; height: 18px; }
.sparkle--c { bottom: 12%; left: 8%;  animation-delay: -1.6s; width: 16px; height: 16px; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}

.hero__scroll {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-mute); opacity: .8;
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll span {
  width: 1px; height: 28px; background: linear-gradient(180deg, var(--jungle), transparent);
  display: inline-block; animation: drop 2s infinite;
}
@keyframes drop {
  0% { opacity: 0; transform: scaleY(.2); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1) translateY(20px); }
}

/* ───────────── marquee ───────────── */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, #00547f, var(--ton-blue), #00547f);
  border-top: 3px solid var(--gold-1);
  border-bottom: 3px solid var(--gold-1);
  padding: 18px 0; margin: 40px 0;
  position: relative; z-index: 20;
  box-shadow: 0 8px 24px -8px rgba(0,80,127,.55), inset 0 0 30px rgba(0,0,0,.15);
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, #00547f, transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #00547f, transparent); }
.marquee__track {
  display: flex; gap: 56px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: 'Cinzel Decorative', serif; font-weight: 900;
  font-size: clamp(22px, 3vw, 36px); letter-spacing: .15em;
  color: var(--gold-0);
  text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 0 20px rgba(245,200,66,.5);
}
.marquee__track span { display: inline-block; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ───────────── sections ───────────── */
.section { padding: 100px 32px; max-width: 1200px; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block; padding: 6px 14px;
  border: 1px solid rgba(45,93,63,.3); border-radius: 999px;
  background: rgba(255,255,255,.5);
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--jungle); margin-bottom: 16px;
}
.section__title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  margin: 0;
  background: linear-gradient(180deg, var(--ton-blue), var(--ton-blue-dark) 60%, #00547f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__sub {
  margin: 14px auto 0; max-width: 600px;
  color: var(--ink-mute); font-size: 17px;
}

/* ABOUT / LORE */
.lore {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.lore__text .lore__p {
  font-size: 17px; line-height: 1.75; color: var(--ink-mute);
  margin: 0 0 18px;
}
.lore__pillars { display: grid; gap: 16px; }
.pillar {
  position: relative; padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid rgba(45,93,63,.2);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.45));
  /* removed backdrop-filter for perf */
  box-shadow: var(--shadow-soft);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--gold-1); box-shadow: var(--shadow-deep); }
.pillar__icon { font-size: 28px; margin-bottom: 8px; }
.pillar h3 {
  font-family: 'Cinzel', serif; font-size: 18px; margin: 0 0 6px;
  color: var(--ton-blue-dark); letter-spacing: .04em;
}
.pillar p { margin: 0; color: var(--ink-mute); font-size: 14.5px; }

/* CONTRACT */
.contract { padding: 0 32px; max-width: 1100px; margin: 60px auto; }
.contract__inner {
  position: relative;
  padding: 24px 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 30%, rgba(0,40,80,.06) 2px, transparent 3px),
    radial-gradient(circle at 75% 70%, rgba(0,40,80,.06) 2px, transparent 3px),
    linear-gradient(180deg, #fff7d6 0%, #ffe39e 100%);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  border: 3px solid #0a2540;
  box-shadow: 6px 6px 0 0 var(--ton-blue), 6px 6px 0 3px #0a2540;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  rotate: -.5deg;
}
.contract__label {
  font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ton-blue-dark);
}
.contract__copy {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: #fff;
  border: 2.5px solid #0a2540;
  box-shadow: 3px 3px 0 #0a2540;
  border-radius: 10px; padding: 10px 14px; min-width: 0;
  font: inherit; color: inherit;
  transition: translate .2s, box-shadow .2s;
}
.contract__copy:hover { translate: -1px -2px; box-shadow: 5px 5px 0 #0a2540; }
.contract__copy code {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 13.5px; color: var(--ink); letter-spacing: .03em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;
}
.contract__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--ton-blue);
  color: #fff;
  border: 2px solid #0a2540;
  font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
}
.contract__links { display: flex; gap: 14px; font-size: 13px; }
.contract__links a {
  color: var(--ink-mute); border-bottom: 1px dashed rgba(45,93,63,.3);
  padding-bottom: 1px; transition: color .25s, border-color .25s;
}
.contract__links a:hover { color: var(--ton-blue-dark); border-color: var(--ton-blue-dark); }

/* TOKENOMICS */
.tokenomics {
  display: flex; justify-content: center;
}
.tokenomics__cards {
  display: grid; grid-template-columns: repeat(3, minmax(220px, 280px));
  gap: 20px; justify-content: center;
  width: 100%; max-width: 900px;
}
.tcard {
  position: relative; padding: 70px 22px 26px;
  border-radius: 22px;
  border: 3px solid #0a2540;
  background:
    radial-gradient(circle at 22% 28%, rgba(0,40,80,.08) 2px, transparent 3px),
    radial-gradient(circle at 76% 72%, rgba(0,40,80,.08) 2px, transparent 3px),
    radial-gradient(circle at 48% 12%, rgba(0,40,80,.08) 2px, transparent 3px),
    linear-gradient(180deg, #fff7d6 0%, #ffe39e 100%);
  background-size: 60px 60px, 60px 60px, 60px 60px, 100% 100%;
  box-shadow: 7px 7px 0 0 var(--ton-blue), 7px 7px 0 3px #0a2540;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transition: rotate .35s cubic-bezier(.2,.9,.2,1.2),
              translate .35s cubic-bezier(.2,.9,.2,1.2),
              box-shadow .25s ease;
  isolation: isolate;
  min-width: 0;
}
.tcard:nth-child(1) { rotate: -2.5deg; }
.tcard:nth-child(2) { rotate:  1.2deg; }
.tcard:nth-child(3) { rotate: -1deg; }
.tcard:hover {
  rotate: 0deg;
  translate: -2px -4px;
  box-shadow: 10px 10px 0 0 var(--ton-blue), 10px 10px 0 3px #0a2540;
}
.tilt {
  transform:
    perspective(900px)
    rotateX(var(--ry,0deg))
    rotateY(var(--rx,0deg))
    translateY(-6px);
}
.tilt > * { transform: translateZ(20px); }
.tcard__crown {
  width: 130px; height: 130px;
  margin: -56px 0 6px;
  display: flex; align-items: center; justify-content: center;
  animation: crown-wobble 4.5s ease-in-out infinite;
  transform-origin: center bottom;
}
.tcard__crown img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(3px 3px 0 rgba(10,37,64,.85))
          drop-shadow(0 6px 10px rgba(0,40,80,.25));
  pointer-events: none;
  user-select: none;
}
@keyframes crown-wobble {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}
.tcard:nth-child(1) .tcard__crown { animation-delay: 0s;     }
.tcard:nth-child(2) .tcard__crown { animation-delay: -1.5s;  }
.tcard:nth-child(3) .tcard__crown { animation-delay: -3s;    }
.tcard__num {
  font-family: 'Cinzel Decorative', serif; font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #0a2540;
  margin-bottom: 12px;
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: .01em;
}
.tcard__label {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ton-blue);
  color: #fff;
  border: 2.5px solid #0a2540;
  box-shadow: 2px 2px 0 #0a2540;
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}

.distribution {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(45,93,63,.18);
  background: rgba(255,255,255,.65);
  /* removed backdrop-filter for perf */
  box-shadow: var(--shadow-soft);
}
.distribution h3 {
  font-family: 'Cinzel', serif; font-size: 16px; margin: 0 0 18px;
  color: var(--ton-blue-dark); letter-spacing: .12em; text-transform: uppercase;
}
.dist-row {
  display: grid; grid-template-columns: 130px 1fr 50px; gap: 14px;
  align-items: center; margin-bottom: 14px;
  font-size: 13.5px;
}
.dist-row span { color: var(--ink-mute); }
.dist-row b { font-family: 'Cinzel', serif; color: var(--ton-blue-dark); text-align: right; }
.bar {
  height: 8px; border-radius: 999px;
  background: rgba(0,152,234,.12);
  overflow: hidden;
}
.bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--ton-blue), #4ec1ff);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(245,200,66,.5);
  animation: grow 1.4s cubic-bezier(.2,.8,.2,1) backwards;
}
.reveal.is-in .bar i { animation-name: grow; }
@keyframes grow {
  from { width: 0 !important; }
}

/* HOW TO BUY */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 42px 28px 28px;
  border-radius: 22px;
  border: 3px solid #0a2540;
  background:
    radial-gradient(circle at 30% 25%, rgba(0,40,80,.06) 2px, transparent 3px),
    radial-gradient(circle at 70% 75%, rgba(0,40,80,.06) 2px, transparent 3px),
    linear-gradient(180deg, #e9f5ff 0%, #c9e6ff 100%);
  background-size: 60px 60px, 60px 60px, 100% 100%;
  box-shadow: 7px 7px 0 0 var(--gold-1), 7px 7px 0 3px #0a2540;
  transition: rotate .35s cubic-bezier(.2,.9,.2,1.2),
              translate .35s cubic-bezier(.2,.9,.2,1.2),
              box-shadow .25s ease;
}
.step:nth-child(1) { rotate: -1.6deg; }
.step:nth-child(2) { rotate:  1.2deg; }
.step:nth-child(3) { rotate: -0.6deg; }
.step:hover {
  rotate: 0deg;
  translate: -2px -4px;
  box-shadow: 10px 10px 0 0 var(--gold-1), 10px 10px 0 3px #0a2540;
}
.step__num {
  position: absolute; top: -22px; right: 22px;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ff8a6c, #c84527 80%);
  color: #fff;
  font-family: 'Cinzel Decorative', serif; font-weight: 900; font-size: 26px;
  text-shadow: 2px 2px 0 rgba(0,0,0,.4);
  border: 3px solid #0a2540;
  box-shadow: 4px 4px 0 #0a2540;
  rotate: -8deg;
  transition: rotate .35s;
}
.step:hover .step__num { rotate: 8deg; }
.step h3 {
  font-family: 'Cinzel Decorative', serif; font-size: 24px; color: #0a2540;
  margin: 0 0 10px; letter-spacing: .02em;
}
.step p { color: #1a3a5f; font-size: 14.5px; margin: 0 0 14px; }
.step__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ton-blue-dark); border-bottom: 1px dashed var(--ton-blue);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.step__link:hover { color: var(--gold-2); border-color: var(--ton-blue-dark); }

/* ARMY */
.army {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  margin-bottom: 40px;
}
.army__card {
  position: relative;
  margin: 0; padding: 18px 14px 26px;
  border-radius: 6px;
  border: 3px solid #0a2540;
  background: #fff;
  box-shadow: 5px 5px 0 0 var(--ton-blue), 5px 5px 0 3px #0a2540;
  text-align: center;
  transition: rotate .35s cubic-bezier(.2,.9,.2,1.2),
              translate .35s cubic-bezier(.2,.9,.2,1.2),
              box-shadow .25s ease;
}
/* tape strip at top */
.army__card::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 70px; height: 18px;
  background: rgba(245,200,66,.7);
  border: 1.5px solid rgba(0,0,0,.25);
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.army__card:nth-child(1) { rotate: -3deg; }
.army__card:nth-child(2) { rotate:  2deg; }
.army__card:nth-child(3) { rotate: -1deg; }
.army__card:nth-child(4) { rotate:  3deg; }
.army__card:nth-child(5) { rotate: -2deg; }
.army__card:nth-child(odd)::before  { background: rgba(245,200,66,.7); }
.army__card:nth-child(even)::before { background: rgba(0,152,234,.55); transform: translateX(-50%) rotate(4deg); }
.army__card:hover {
  rotate: 0deg;
  translate: -2px -6px;
  box-shadow: 8px 8px 0 0 var(--ton-blue), 8px 8px 0 3px #0a2540;
}
.army__card img {
  width: 100%; height: 160px; object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(45,93,63,.35));
  transition: transform .35s;
}
.army__card:hover img { transform: scale(1.08) rotate(2deg); }
.army__card figcaption,
.army__caption {
  display: block;
  margin-top: 10px;
  font-family: 'Cinzel', serif; font-size: 12.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ton-blue-dark);
}
.army__cta { text-align: center; }

/* FOOTER */
.foot {
  margin-top: 60px;
  padding: 50px 32px 30px;
  border-top: 2px solid rgba(245,200,66,.4);
  background: linear-gradient(180deg, transparent, rgba(45,93,63,.08));
}
.foot__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
}
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold-1); }
.foot__name {
  font-family: 'Cinzel Decorative', serif; font-weight: 900;
  font-size: 22px; color: var(--ton-blue-dark); letter-spacing: .12em;
}
.foot__tag { font-size: 13px; color: var(--ink-mute); }
.foot__links {
  display: flex; gap: 22px; justify-content: center;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.foot__links a { color: var(--ink-mute); transition: color .2s; }
.foot__links a:hover { color: var(--ton-blue-dark); }
.foot__disclaim {
  grid-column: 1 / -1;
  text-align: center; max-width: 720px; margin: 16px auto 0;
  font-size: 11.5px; color: var(--ink-mute); opacity: .8;
  font-style: italic;
}

/* ───────────── reveal ───────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s; }
.reveal.is-in { opacity: 1; transform: none; }

/* stagger children when parent reveals */
.reveal .stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s, transform .7s;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-in .stagger > * { opacity: 1; transform: none; }

/* small icon button used in chips for visual texture */
.shimmer-line {
  display: block; height: 2px; width: 60px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--ton-blue), transparent);
  position: relative; overflow: hidden;
}
.shimmer-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  animation: line-shimmer 2.4s ease-in-out infinite;
}
@keyframes line-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ───────────── responsive ───────────── */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__chips { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .lore { grid-template-columns: 1fr; }
  .tokenomics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .army { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .contract__inner { grid-template-columns: 1fr; text-align: center; }
  .foot__inner { grid-template-columns: 1fr; text-align: center; }
  .foot__brand { justify-content: center; }
}
@media (max-width: 560px) {
  .nav { padding: 12px 18px; }
  .hero { padding: 50px 18px 40px; }
  .section { padding: 70px 18px; }
  .hero__chips { grid-template-columns: 1fr 1fr; }
  .tokenomics__cards { grid-template-columns: 1fr; }
  .army { grid-template-columns: 1fr 1fr; }
}

/* ───── loop-de-loop paper planes with fading dashed trail ───── */
.bg-loops {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  width: 100vw; height: 100vh;
  overflow: visible;
}
.loopplane { filter: drop-shadow(0 4px 6px rgba(0,40,80,.25)); }

.trail-dash {
  pointer-events: none;
  animation: trail-fade 1.6s ease-out forwards;
}
@keyframes trail-fade {
  0%   { opacity: .85; }
  60%  { opacity: .45; }
  100% { opacity: 0; }
}

/* ───── lore text in the about section ───── */
.lore-text {
  max-width: 1000px;
  margin: 60px auto 20px;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 5;
}
.lore-line {
  margin: 0 0 22px;
  line-height: 1.3;
  opacity: 0;
  will-change: transform, opacity;
}

/* line 1 — quiet narrator */
.lore-line--1 {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--ink-mute);
  letter-spacing: .04em;
}
/* line 2 — the BIG quote, stamp in */
.lore-line--2 {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 54px);
  color: var(--ton-blue-dark);
  font-style: italic;
  text-shadow: 4px 4px 0 rgba(245,200,66,.5),
               6px 6px 0 rgba(10,37,64,.85);
  line-height: 1.15;
  margin-bottom: 36px;
  letter-spacing: .01em;
}
/* line 3 — quiet narrator */
.lore-line--3 {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--ink-mute);
  letter-spacing: .04em;
}
/* line 4 — 'the Telephant' name reveal */
.lore-line--4 {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 76px);
  color: var(--ton-blue-dark);
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.lore-tele {
  background: linear-gradient(180deg, #ffe27a 0%, #f5c842 50%, #a87a14 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(2px 3px 0 rgba(10,37,64,.85));
}
/* line 5 — soft tag */
.lore-line--5 {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: clamp(16px, 1.7vw, 22px);
  color: var(--ink-mute);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
/* line 6 — IMPACT FINALE */
.lore-line--6 {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 88px);
  color: #0a2540;
  letter-spacing: .04em;
  text-shadow:
    4px 4px 0 var(--gold-1),
    8px 8px 0 var(--ton-blue),
    12px 12px 0 #0a2540;
  text-transform: uppercase;
  font-style: italic;
}

/* ───── entry effects (trigger on .reveal.is-in) ───── */
.reveal.is-in .lore-line--1 {
  animation: lore-slide-left .8s .15s cubic-bezier(.2,.9,.2,1.2) forwards;
}
.reveal.is-in .lore-line--2 {
  animation: lore-stamp 1s .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
}
.reveal.is-in .lore-line--3 {
  animation: lore-slide-right .8s 1.4s cubic-bezier(.2,.9,.2,1.2) forwards;
}
.reveal.is-in .lore-line--4 {
  animation: lore-zoom-glow 1s 1.95s cubic-bezier(.4, 1.6, .6, 1) forwards;
}
.reveal.is-in .lore-line--5 {
  animation: lore-slide-up .7s 2.7s cubic-bezier(.2,.9,.2,1.2) forwards;
}
.reveal.is-in .lore-line--6 {
  animation: lore-impact 1.1s 3.2s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes lore-slide-left {
  0%   { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes lore-slide-right {
  0%   { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes lore-slide-up {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* "stamp" — comes in big and blurry, slams into place */
@keyframes lore-stamp {
  0%   { opacity: 0; transform: scale(2.4) rotate(-6deg); filter: blur(18px); }
  60%  { opacity: 1; transform: scale(0.94) rotate(2deg); filter: blur(0); }
  80%  { transform: scale(1.04) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(-1deg); filter: blur(0); }
}
/* "zoom-glow" — pops with a brightness flash */
@keyframes lore-zoom-glow {
  0%   { opacity: 0; transform: scale(0.4); filter: brightness(0.4); }
  60%  { opacity: 1; transform: scale(1.12); filter: brightness(1.6) drop-shadow(0 0 30px rgba(245,200,66,.8)); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}
/* "impact" — biggest and final, smashes in with overshoot + tiny shake */
@keyframes lore-impact {
  0%   { opacity: 0; transform: scale(3) rotate(-4deg); filter: blur(8px); }
  45%  { opacity: 1; transform: scale(0.88) rotate(1deg); filter: blur(0); }
  60%  { transform: scale(1.06) rotate(-1deg); }
  72%  { transform: scale(0.98) rotate(.5deg); }
  85%  { transform: scale(1.02) rotate(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* ───── popup peek character (about section) ───── */
.popup-character {
  position: fixed;
  bottom: -22vh;
  right: -3vw;
  width: clamp(320px, 38vw, 540px);
  height: auto;
  z-index: 4;
  pointer-events: none;
  translate: 120vw 0;            /* start hidden off-screen right */
  transition: translate .15s linear;
  transform: rotate(16deg);      /* lean into the page from the corner */
  transform-origin: bottom right;
  filter: drop-shadow(5px 5px 0 rgba(10,37,64,.85))
          drop-shadow(0 18px 26px rgba(0,40,80,.35));
  user-select: none;
  will-change: translate;
}

/* spring-back for cursor-repelled jungle elements */
.jungle-corner, .hangvine, .hibiscus, .leaf, .butterfly {
  transition: translate .35s cubic-bezier(.2,.9,.2,1);
}

/* burst coin (spawned by JS on gold-button hover) */
.burst-coin {
  position: fixed; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7d6, var(--gold-1) 50%, var(--gold-3));
  box-shadow: 0 0 10px var(--gold-1);
  pointer-events: none; z-index: 100;
  animation: burst-fly .9s ease-out forwards;
  transform: translate(-50%, -50%);
}
@keyframes burst-fly {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(.7); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
