/* ==========================================================================
   HYPERBOREA
   ========================================================================== */


:root {
  --black: #020807;
  --abyss: #03100e;
  --emerald: #0a2c25;
  --emerald-2: #0f3d33;
  --teal: #1f8f7c;
  --turq: #4ff5d2;
  --mint: #97fce4;
  --gold: #c9b27a;
  --gold-hi: #e9dcb4;
  --gold-lo: #7d6a3c;
  --hl: #97fce4;            /* Hyperliquid mint */
  --hl-deep: #072723;       /* Hyperliquid deep green */
  --hl-glow: rgba(151, 252, 228, .55);
  --ivory: #efe9da;
  --mute: rgba(226, 238, 233, .62);
  --line: rgba(151, 252, 228, .16);
  --line-gold: rgba(216, 180, 106, .35);

  --serif: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --ui: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--black); color: var(--ivory);
  font-family: var(--ui); font-weight: 700; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--mint); outline-offset: 3px; }
::selection { background: rgba(79, 245, 210, .3); }
body.is-locked { overflow: hidden; }

.eyebrow {
  font-family: var(--ui); font-size: .7rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--mint); opacity: .8; margin: 0 0 1rem;
}
.eyebrow--gold { color: var(--gold-hi); }

/* -------- Buttons -------- */
.btn-gold, .btn-line, .pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ui); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; padding: .95em 1.7em; border-radius: 999px; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s, opacity .3s;
}
.btn-gold {
  color: var(--hl-deep);
  background: linear-gradient(135deg, #e6fff8, var(--hl) 45%, #4fdcbc);
  box-shadow: 0 0 0 1px rgba(230, 255, 248, .6) inset, 0 0 22px rgba(151, 252, 228, .45), 0 10px 34px -10px rgba(79, 245, 210, .7);
  animation: btnGlow 3.6s ease-in-out infinite;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff inset, 0 0 34px rgba(151, 252, 228, .8), 0 16px 44px -10px rgba(79, 245, 210, .9); }
@keyframes btnGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(230, 255, 248, .6) inset, 0 0 16px rgba(151, 252, 228, .35), 0 10px 34px -10px rgba(79, 245, 210, .6); } 50% { box-shadow: 0 0 0 1px rgba(230, 255, 248, .8) inset, 0 0 30px rgba(151, 252, 228, .65), 0 10px 40px -8px rgba(79, 245, 210, .8); } }
.btn-line { color: var(--ivory); border: 1px solid rgba(151, 252, 228, .3); }
.btn-line:hover { border-color: var(--hl); color: var(--hl); box-shadow: 0 0 20px -4px var(--hl-glow); }
.pill { border: 1px solid var(--line); padding: .7em 1.3em; }
.is-soon { opacity: .45; cursor: default; pointer-events: none; }
.is-soon::after { content: "Soon"; font-size: .62em; letter-spacing: .2em; opacity: .9; margin-left: .3em; }
.nav__icon.is-soon::after { content: none; }

.ghost-btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--mute);
  padding: .7em 1.1em; border: 1px solid rgba(151, 252, 228, .14); border-radius: 999px;
  background: rgba(2, 8, 7, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: color .3s, border-color .3s;
}
.ghost-btn:hover { color: var(--mint); border-color: rgba(151, 252, 228, .4); }

/* sound bars */
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
.is-on .eq i { animation: eq 1s ease-in-out infinite; }
.is-on .eq i:nth-child(2) { animation-delay: -.35s; }
.is-on .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 10px; } }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { display: none; }
html[data-intro="full"] .intro, html[data-intro="short"] .intro {
  display: block; position: fixed; inset: 0; z-index: 100; background: #000; pointer-events: none;
}
.intro.is-done { display: none !important; }
.intro__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__energy {
  position: absolute; left: 50%; top: 52%; width: 70vmin; height: 70vmin; transform: translate(-50%, -50%) scale(.2);
  background: radial-gradient(closest-side, rgba(151, 252, 228, .55), rgba(31, 143, 124, .22) 40%, transparent 72%);
  filter: blur(8px); opacity: 0; mix-blend-mode: screen;
}
.intro__whisper {
  position: absolute; left: 0; right: 0; top: 50%; margin: 0; text-align: center; transform: translateY(-50%);
  font-family: var(--serif); font-style: normal; font-size: clamp(1.05rem, 2.2vw, 1.5rem); letter-spacing: .08em;
  color: rgba(222, 255, 246, .85); opacity: 0; text-shadow: 0 0 24px rgba(79, 245, 210, .5);
}
.intro__controls {
  position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; gap: 10px; pointer-events: auto; opacity: 0; animation: fadeIn .8s .4s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(16px, 3vw, 36px); padding-top: env(safe-area-inset-top);
  background: linear-gradient(to bottom, rgba(2, 8, 7, .85), rgba(2, 8, 7, 0));
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
html[data-intro="full"] body:not(.world-ready) .nav,
html[data-intro="short"] body:not(.world-ready) .nav { opacity: 0; transform: translateY(-12px); pointer-events: none; }

.nav__brand { text-shadow: 0 0 14px rgba(151, 252, 228, .35); display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: .32em; font-size: .92rem; color: var(--ivory); }
.nav__mark { width: 26px; height: 20px; }
.nav__mark path { fill: var(--mint); filter: drop-shadow(0 0 6px rgba(79, 245, 210, .7)); }
.nav__where { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1.2; pointer-events: none; }
.nav__where-k { font-size: .58rem; letter-spacing: .4em; text-transform: uppercase; color: var(--mute); opacity: .7; }
.nav__where-v { font-family: var(--serif); font-size: 1.05rem; font-style: normal; color: var(--hl); text-shadow: 0 0 12px var(--hl-glow); transition: opacity .3s; }
.nav__right { display: flex; align-items: center; gap: .4rem; }
.nav__terr { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; padding: .6em 1em; color: var(--ivory); opacity: .85; transition: color .3s; }
.nav__terr:hover, .nav__terr[aria-expanded="true"] { color: var(--mint); }
.nav__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ivory); opacity: .8; transition: color .3s, opacity .3s, background .3s; cursor: pointer; }
.nav__icon svg { width: 17px; height: 17px; fill: currentColor; }
.nav__icon:hover { color: var(--mint); opacity: 1; background: rgba(151, 252, 228, .07); }
.nav__cta {
  margin-left: .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: .75em 1.3em; border-radius: 999px; color: var(--hl); border: 1px solid rgba(151, 252, 228, .45);
  box-shadow: 0 0 18px -4px var(--hl-glow), inset 0 0 12px -4px var(--hl-glow); text-shadow: 0 0 10px var(--hl-glow);
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s; cursor: pointer;
}
.nav__cta:hover { background: rgba(151, 252, 228, .1); border-color: var(--hl); box-shadow: 0 0 28px -2px var(--hl-glow), inset 0 0 16px -4px var(--hl-glow); }
.nav__burger { display: none; width: 42px; height: 42px; position: relative; }
.nav__burger i { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger i:first-child { top: 17px; } .nav__burger i:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

.terr-menu {
  position: absolute; top: calc(var(--nav-h) - 6px); right: clamp(16px, 3vw, 36px); min-width: 300px; padding: .6rem;
  background: rgba(3, 16, 14, .92); border: 1px solid var(--line); border-radius: 14px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.terr-menu:not([hidden]) { animation: menuIn .35s var(--ease); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
.terr-menu a, .mobile-menu__list a {
  display: grid; grid-template-columns: 2.2em 1fr; align-items: baseline; gap: .4rem; text-decoration: none;
  padding: .65rem .8rem; border-radius: 9px; transition: background .25s;
}
.terr-menu a:hover, .terr-menu a.is-current { background: rgba(151, 252, 228, .07); }
.terr-menu .r, .mobile-menu__list .r { font-family: var(--display); font-size: .72rem; color: var(--gold); letter-spacing: .1em; }
.terr-menu .t, .mobile-menu__list .t { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.terr-menu .s, .mobile-menu__list .s { grid-column: 2; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

.mobile-menu { position: fixed; inset: 0; z-index: 55; background: rgba(2, 8, 7, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-y: auto; }
.mobile-menu:not([hidden]) { animation: fadeIn .35s forwards; opacity: 0; }
.mobile-menu__inner { padding: calc(var(--nav-h) + 24px) 24px 40px; display: flex; flex-direction: column; gap: 1.6rem; min-height: 100%; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a { padding: 1rem .2rem; }
.mobile-menu__list .t { font-size: 1.45rem; }
.mobile-menu__social { display: flex; gap: .6rem; }

/* ==========================================================================
   HERO / MAP
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 4px) 0 0; display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(15, 61, 51, .55), transparent 70%),
    radial-gradient(40% 40% at 12% 90%, rgba(31, 143, 124, .12), transparent 70%),
    var(--black);
  overflow: hidden; isolation: isolate;
}
.hero__fog {
  position: absolute; inset: -10%; z-index: -1; pointer-events: none; opacity: .55;
  background:
    radial-gradient(30% 22% at 20% 30%, rgba(151, 252, 228, .06), transparent 70%),
    radial-gradient(28% 20% at 80% 70%, rgba(151, 252, 228, .05), transparent 70%),
    radial-gradient(35% 25% at 60% 20%, rgba(216, 180, 106, .04), transparent 70%);
  animation: fogDrift 38s ease-in-out infinite alternate;
}
@keyframes fogDrift { to { transform: translate3d(3%, -2%, 0) scale(1.06); } }

.hero__title-wrap { text-align: center; padding: 6px 16px 10px; position: relative; z-index: 3; }
.hero__title {
  margin: 0; font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: clamp(2.1rem, 6.4vw, 5.4rem); letter-spacing: .26em; padding-left: .26em;
  background: linear-gradient(180deg, #ffffff 0%, #dffff6 30%, var(--hl) 58%, #3fbfa2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(151, 252, 228, .55)) drop-shadow(0 0 42px rgba(79, 245, 210, .35)) drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
  animation: titleBreath 6s ease-in-out infinite;
  position: relative; white-space: nowrap;
}
.hero__title .ch {
  display: inline-block; color: transparent; will-change: transform, opacity, filter;
  background: linear-gradient(180deg, #ffffff 0%, #dffff6 30%, var(--hl) 58%, #3fbfa2 100%);
  -webkit-background-clip: text; background-clip: text;
}
.js .hero__title { background: none; }
@keyframes titleBreath { 0%, 100% { filter: drop-shadow(0 0 12px rgba(151, 252, 228, .45)) drop-shadow(0 0 36px rgba(79, 245, 210, .25)) drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); } 50% { filter: drop-shadow(0 0 18px rgba(151, 252, 228, .75)) drop-shadow(0 0 60px rgba(79, 245, 210, .45)) drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); } }
@keyframes shine { 0%, 70% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
.hero__sub {
  margin: .7rem 0 0; font-family: var(--serif); font-style: normal; font-size: clamp(.95rem, 1.4vw, 1.12rem);
  color: var(--mute); letter-spacing: .06em;
}
.hero__sub .dot { font-style: normal; color: var(--gold); font-size: .55em; vertical-align: .25em; margin: 0 .6em; }

.hero__body {
  position: relative; z-index: 2; width: 100%; flex: 1;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 2vw, 32px);
  padding: 0 clamp(12px, 2vw, 32px);
}
.map-viewport {
  --map-w: min(94vw, calc((100svh - var(--nav-h) - 150px) * 1.0795));
  width: var(--map-w); aspect-ratio: 1303 / 1207; position: relative; grid-column: 2;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
@supports not (height: 100svh) { .map-viewport { --map-w: min(94vw, calc((100vh - var(--nav-h) - 150px) * 1.0795)); } }
.map-viewport.is-zoomed { touch-action: none; overflow: hidden; border-radius: 12px; }
.map-zoom { position: absolute; inset: 0; transform-origin: 0 0; }
.map-stage {
  position: absolute; inset: 0; transform-origin: 50% 50%;
  transition: transform 1.15s var(--ease-io), filter 1.15s var(--ease-io), opacity 1s;
  will-change: transform;
}
.map-img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(79, 245, 210, .15); }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* territories */
.terr { cursor: default; outline: none; }
.hl-item { cursor: default; }
.terr__lift { opacity: 0; transition: opacity .5s var(--ease), transform .7s var(--ease); filter: brightness(1.32) saturate(1.25) contrast(1.05); }
.terr__edge { fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linejoin: round; opacity: 0; transition: opacity .5s var(--ease), stroke .5s; vector-effect: non-scaling-stroke; }
.terr__halo { fill: none; stroke: var(--turq); stroke-width: 10; stroke-linejoin: round; opacity: 0; transition: opacity .5s var(--ease); filter: url(#glow); }
.terr__hit { fill: transparent; stroke: transparent; stroke-width: 14; }
.terr.is-gold .terr__edge { stroke: var(--gold-hi); }
.terr.is-gold .terr__halo { stroke: var(--gold); }
.terr.is-hot .terr__lift { opacity: 1; }
.terr.is-hot .terr__edge { opacity: 1; animation: edgeFlow 3s linear infinite; stroke-dasharray: 14 6; }
.terr.is-hot .terr__halo { opacity: .55; }
.terr.is-pulse .terr__halo { opacity: .5; transition-duration: .35s; }
.terr.is-pulse .terr__edge { opacity: .9; transition-duration: .35s; }
@keyframes edgeFlow { to { stroke-dashoffset: -200; } }
.core-breath { pointer-events: none; animation: breath 5.5s ease-in-out infinite; }
@keyframes breath { 0%, 100% { opacity: .12; } 50% { opacity: .5; } }

.map-glints {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background:
    radial-gradient(3px 3px at 37% 14%, var(--mint), transparent),
    radial-gradient(2px 2px at 61% 33%, var(--mint), transparent),
    radial-gradient(3px 3px at 82% 47%, var(--mint), transparent),
    radial-gradient(2px 2px at 23% 59%, var(--mint), transparent),
    radial-gradient(3px 3px at 49% 76%, var(--mint), transparent),
    radial-gradient(2px 2px at 70% 88%, var(--mint), transparent);
  animation: glint 4s ease-in-out infinite alternate;
}
@keyframes glint { from { opacity: .15; } to { opacity: .6; } }

.map-labels { position: absolute; inset: 0; pointer-events: none; }
.map-label {
  position: absolute; transform: translate(-50%, -100%) translateY(8px); opacity: 0;
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap;
  padding: .55rem 1.05rem .6rem; border-radius: 10px;
  background: linear-gradient(180deg, rgba(4, 22, 19, .88), rgba(2, 10, 9, .9));
  border: 1px solid rgba(151, 252, 228, .28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 12px 40px -8px rgba(0, 0, 0, .8), 0 0 24px -6px rgba(79, 245, 210, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.map-label::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); background: rgba(2, 10, 9, .95); border-right: 1px solid rgba(151, 252, 228, .28); border-bottom: 1px solid rgba(151, 252, 228, .28); }
.map-label .r { font-family: var(--display); font-size: .6rem; letter-spacing: .3em; color: var(--gold); }
.map-label .t { font-family: var(--display); font-weight: 700; font-size: .92rem; letter-spacing: .14em; color: #effffa; text-shadow: 0 0 12px var(--hl-glow); }
.map-label .s { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mint); margin-top: .15rem; }
.map-label .go { text-decoration: none; display: none; margin-top: .45rem; font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 0 16px var(--hl-glow); padding: .45em 1em; border-radius: 99px; pointer-events: auto; }
.map-label.is-on { opacity: 1; transform: translate(-50%, -100%) translateY(-6px); }
.is-touch .map-label .go { display: inline-block; }
.is-touch .map-label.is-on { pointer-events: auto; }

.map-reset {
  position: absolute; right: 10px; bottom: 10px; z-index: 4; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .6em 1em; border-radius: 99px; background: rgba(2, 10, 9, .85); border: 1px solid var(--line); color: var(--mint);
}

/* hero sides */
.hero__side { align-self: center; max-width: 250px; transition: opacity .8s; }
.hero__side--l { justify-self: end; text-align: right; }
.hero__side--r { justify-self: start; }
.side-coord { font-family: var(--display); font-size: .7rem; letter-spacing: .3em; color: var(--gold); margin: 0 0 .8rem; }
.side-lore { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--mute); margin: 0 0 1.2rem; }
.side-hint { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mint); opacity: .75; margin: 0; display: inline-flex; align-items: center; gap: .6em; }
.hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: glint 1.6s ease-in-out infinite alternate; }

.terr-index { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.terr-index li { border-top: 1px solid var(--line); }
.terr-index li:last-child { border-bottom: 1px solid var(--line); }
.terr-index .hl-item { display: grid; grid-template-columns: 2em 1fr; gap: .2rem .4rem; padding: .62rem .2rem; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.terr-index .r { font-family: var(--display); font-size: .66rem; color: var(--gold); padding-top: .25em; }
.terr-index .t { font-family: var(--serif); font-size: 1.12rem; line-height: 1.2; }
.terr-index .s { grid-column: 2; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.terr-index .hl-item:hover, .terr-index .hl-item.is-hot { padding-left: .7rem; color: var(--mint); }

.terr-chips { display: none; }

.descend {
  position: relative; z-index: 3; margin: 14px 0 18px; display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none;
  font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; color: var(--mute); padding-left: .4em;
}
.descend i { width: 1px; height: 34px; background: linear-gradient(var(--mint), transparent); position: relative; overflow: hidden; }
.descend i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.descend:hover { color: var(--mint); }

/* intro start state for the hero (JS animates from here) */
html[data-intro="full"] body:not(.world-ready) .hero__side,
html[data-intro="short"] body:not(.world-ready) .hero__side,
html[data-intro="full"] body:not(.world-ready) .descend,
html[data-intro="short"] body:not(.world-ready) .descend,
html[data-intro="full"] body:not(.world-ready) .hero__sub,
html[data-intro="short"] body:not(.world-ready) .hero__sub { opacity: 0; }
.hero__side, .descend, .hero__sub { transition: opacity 1s var(--ease); }
html[data-intro="full"] body:not(.world-ready) .map-svg,
html[data-intro="short"] body:not(.world-ready) .map-svg { pointer-events: none; }


/* ==========================================================================
   ASCENSION
   ========================================================================== */
.ascension { position: relative; background: var(--black); }
.veil { position: relative; height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.veil__fog {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 120%, rgba(246, 210, 120, .22), transparent 70%),
    radial-gradient(50% 40% at 50% 0%, rgba(31, 143, 124, .14), transparent 70%);
}
.veil__line { position: relative; margin: 0; font-family: var(--serif); font-style: normal; font-size: clamp(1.6rem, 4vw, 3rem); color: var(--ivory); line-height: 1.2; }
.veil__line--b { color: var(--hl); text-shadow: 0 0 24px var(--hl-glow), 0 0 60px rgba(79, 245, 210, .3); }
.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.veil__line--b.reveal { transition-delay: .35s; }

.asc-track { position: relative; height: 320vh; }
.asc-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0b0703; }
.asc-fallback, .asc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.asc-fallback { object-fit: cover; object-position: 57% 40%; }
.asc-canvas { opacity: 0; transition: opacity .6s; }
.asc-canvas.is-ready { opacity: 1; }
.asc-grade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2, 8, 7, .35), transparent 10%, transparent 62%, rgba(2, 8, 7, .78)); }
.asc-copy { position: absolute; left: 0; right: 0; text-align: center; padding: 0 20px; pointer-events: none; opacity: 0; will-change: opacity, transform; }
.asc-copy a { pointer-events: auto; }
.asc-copy--a { bottom: 9vh; }
.asc-copy--b { bottom: 10vh; }
.asc-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: .06em; line-height: 1.05; color: #f2fffb; text-shadow: 0 2px 26px rgba(0, 0, 0, .8), 0 0 24px rgba(151, 252, 228, .7), 0 0 70px rgba(79, 245, 210, .45); }
.asc-title--sm { font-size: clamp(1.6rem, 3.6vw, 2.8rem); margin-bottom: 1.4rem; }
.asc-lede { margin: .8rem auto 0; max-width: 34ch; font-family: var(--serif); font-style: normal; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: #fff2d6; text-shadow: 0 2px 16px rgba(0, 0, 0, .9); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; border-top: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 0%, rgba(15, 61, 51, .35), transparent 70%), var(--black); }
.footer__inner { max-width: 1100px; margin: 0 auto; padding: 56px 24px max(40px, env(safe-area-inset-bottom)); display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.footer__brand { font-family: var(--display); letter-spacing: .4em; padding-left: .4em; text-decoration: none; font-size: 1.1rem; color: var(--hl); text-shadow: 0 0 16px var(--hl-glow); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; }
.footer__links a { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--mute); cursor: pointer; transition: color .3s; }
.footer__links a:hover { color: var(--mint); }
.footer__note { max-width: 60ch; font-size: .74rem; color: rgba(226, 238, 233, .4); margin: 0; }

.sound-toggle {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 58;
  display: inline-flex; align-items: center; gap: .6em; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
  padding: .65em 1em; border-radius: 99px; background: rgba(2, 8, 7, .55); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: color .3s, opacity .8s;
}
.sound-toggle:hover, .sound-toggle.is-on { color: var(--mint); }
html[data-intro="full"] body:not(.world-ready) .sound-toggle,
html[data-intro="short"] body:not(.world-ready) .sound-toggle { opacity: 0; pointer-events: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .hero__side { display: none; }
  .hero__body { grid-template-columns: 1fr auto 1fr; }
  .terr-chips {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none;
    margin: 14px 0 0; padding: 0 16px; position: relative; z-index: 3; max-width: 900px;
  }
  .terr-chips .hl-item { display: inline-flex; gap: .55em; align-items: baseline; text-decoration: none; padding: .55em 1em; border: 1px solid var(--line); border-radius: 99px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; background: rgba(2, 10, 9, .5); transition: border-color .3s, color .3s; }
  .terr-chips .r { font-family: var(--display); color: var(--gold); font-size: .62rem; }
  .terr-chips .hl-item:hover, .terr-chips .hl-item.is-hot { border-color: rgba(151, 252, 228, .5); color: var(--mint); }
  html[data-intro="full"] body:not(.world-ready) .terr-chips,
  html[data-intro="short"] body:not(.world-ready) .terr-chips { opacity: 0; }
  .terr-chips { transition: opacity 1s var(--ease); }
}
@media (max-width: 860px) {
  :root { --nav-h: 58px; }
  .nav__where, .nav__terr, .nav__icon, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .terr-menu { display: none !important; }
  .hero { min-height: 0; }
  .hero__title { letter-spacing: .18em; padding-left: .18em; }
  .hero__body { padding: 0 8px; grid-template-columns: 1fr; gap: 0; }
  .map-viewport { --map-w: calc(100vw - 16px); grid-column: 1; justify-self: center; }
  .realm__shade { background: linear-gradient(0deg, rgba(2, 8, 7, .97) 0%, rgba(2, 8, 7, .9) 50%, rgba(2, 8, 7, .35) 82%, rgba(2, 8, 7, .55) 100%); }
  .realm__content { justify-content: flex-end; padding-top: 34vh; padding-bottom: 120px; }
  .realm__next .k { display: none; }
  .facts { gap: 1.4rem; }
  .ca { flex-wrap: wrap; }
  .ca__v { flex-basis: 100%; order: 3; }
  .asc-copy--a { bottom: 7vh; }
  .sound-toggle .lbl { display: none; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .realm__next .v { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ==========================================================================
   MYSTIC GLOW (Hyperliquid colourway) + CURSOR
   ========================================================================== */
.aura {
  position: fixed; inset: -20%; z-index: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background:
    radial-gradient(28% 22% at 18% 20%, rgba(151, 252, 228, .07), transparent 70%),
    radial-gradient(30% 24% at 85% 75%, rgba(79, 245, 210, .06), transparent 70%),
    radial-gradient(22% 18% at 70% 15%, rgba(151, 252, 228, .045), transparent 70%);
  animation: auraDrift 30s ease-in-out infinite alternate;
}
@keyframes auraDrift { to { transform: translate3d(4%, 3%, 0) rotate(4deg); } }
main, .footer { position: relative; z-index: 1; }
.map-img { box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 90px -16px rgba(151, 252, 228, .32), 0 0 0 1px rgba(151, 252, 228, .08); animation: mapAura 7s ease-in-out infinite; }
@keyframes mapAura { 0%, 100% { box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 70px -20px rgba(151, 252, 228, .25), 0 0 0 1px rgba(151, 252, 228, .08); } 50% { box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 120px -10px rgba(151, 252, 228, .42), 0 0 0 1px rgba(151, 252, 228, .16); } }
.eyebrow { text-shadow: 0 0 12px var(--hl-glow); }
.hero__sub .dot, .terr-index .r, .terr-menu .r, .mobile-menu__list .r, .map-label .r, .steps .n, .terr-chips .r, .side-coord { color: var(--hl); text-shadow: 0 0 10px var(--hl-glow); }

.cursor-glow, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .4s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); will-change: transform; }
.cursor-glow {
  width: 64px; height: 64px; margin: -32px 0 0 -32px; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(151, 252, 228, .55), rgba(79, 245, 210, .2) 45%, transparent 75%);
  filter: blur(2px);
}
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #e9fff9; box-shadow: 0 0 8px 2px var(--hl), 0 0 22px 6px rgba(151, 252, 228, .45); }
.has-cursor .cursor-glow, .has-cursor .cursor-dot { opacity: 1; }
.cursor-hot .cursor-glow { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
.cursor-hot .cursor-dot { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
.cursor-down .cursor-glow { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
@media (hover: none), (pointer: coarse) { .cursor-glow, .cursor-dot { display: none; } }
@media (prefers-reduced-motion: reduce) { .aura { animation: none; } }

/* ==========================================================================
   WORLD EVOLUTION — territories, manifesto, code, archive
   ========================================================================== */
:root { --red: #ff4d5e; --red-glow: rgba(255, 77, 94, .45); }
.nav__link { text-decoration: none; }
.nav__terr.nav__link { opacity: .7; }
.nav__terr.nav__link:hover { opacity: 1; }
@media (max-width: 1100px) { .nav__link { display: none; } }
@media (max-width: 1560px) { .nav__where { display: none; } }
.mobile-menu__sections { list-style: none; margin: -.6rem 0 0; padding: 0; display: grid; gap: .1rem; }
.mobile-menu__sections a { display: block; padding: .55rem .2rem; font-family: var(--serif); font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid var(--line); }

/* map: Rugbreak is darker, with an ember edge; red on hover */
.rug-shade { fill: rgba(12, 2, 4, .38); pointer-events: none; }
.rug-ember { fill: none; stroke: var(--red); stroke-width: 1.4; opacity: .18; stroke-dasharray: 3 9; vector-effect: non-scaling-stroke; pointer-events: none; animation: ember 4.5s ease-in-out infinite; }
@keyframes ember { 0%, 100% { opacity: .08; } 50% { opacity: .32; } }
.terr.is-red .terr__edge { stroke: var(--red); }
.terr.is-red .terr__halo { stroke: #ff2a3f; }
.terr.is-red .terr__lift { filter: brightness(1.15) saturate(.7) sepia(.25) hue-rotate(-30deg); }
.terr.is-red.is-hot ~ .rug-shade { opacity: 0; }
.map-label.is-red { border-color: rgba(255, 77, 94, .45); box-shadow: 0 12px 40px -8px rgba(0,0,0,.8), 0 0 24px -6px var(--red-glow); }
.map-label.is-red .s, .map-label.is-red .r { color: var(--red); text-shadow: 0 0 10px var(--red-glow); }
.hl-item[data-terr="rugbreak"] .r { color: var(--red); text-shadow: 0 0 10px var(--red-glow); }

/* shared section heads */
.code__head { max-width: 760px; margin: 0 auto; text-align: center; padding: 0 22px; }
.section-title { margin: 0 0 1rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: .05em; color: #effffa; text-shadow: 0 0 22px rgba(151,252,228,.45), 0 0 70px rgba(79,245,210,.2); }
.section-lede { margin: 0 auto; max-width: 56ch; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--mute); }
.reveal-up { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal-up.is-in { opacity: 1; transform: none; }

/* ---------------- manifesto ---------------- */
.manifesto { position: relative; padding: clamp(110px, 18vh, 200px) 22px; overflow: hidden; background: radial-gradient(80% 60% at 50% 0%, rgba(15,61,51,.5), transparent 70%), var(--black); }
.manifesto__glow { position: absolute; left: 50%; top: 30%; width: 90vmin; height: 90vmin; transform: translate(-50%,-50%); background: radial-gradient(closest-side, rgba(151,252,228,.12), transparent 70%); filter: blur(10px); pointer-events: none; animation: breath 9s ease-in-out infinite; }
.manifesto__inner { position: relative; max-width: 940px; margin: 0 auto; }
.manifesto__title { margin: 0 0 clamp(3rem, 8vh, 5rem); font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 7.4vw, 6.4rem); line-height: 1.02; letter-spacing: .02em; color: var(--ivory); }
.mline { display: block; overflow: hidden; padding-bottom: .06em; }
.mline > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.mline.is-in > span { transform: none; }
.mline:nth-child(2) > span { transition-delay: .15s; }
.mline:nth-child(3) > span { transition-delay: .5s; }
.mline--strike > span { position: relative; color: rgba(239,233,218,.55); }
.mline--strike > span::after { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: .06em; background: var(--red); box-shadow: 0 0 14px var(--red-glow); transform: scaleX(0); transform-origin: left; transition: transform .9s 1.1s var(--ease); }
.mline--strike.is-in > span::after { transform: scaleX(1); }
.mline--hl > span { color: #f2fffb; text-shadow: 0 0 24px rgba(151,252,228,.6), 0 0 80px rgba(79,245,210,.3); }
.manifesto__body { max-width: 660px; margin-left: auto; display: grid; gap: 1.5rem; }
.mpara { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; color: var(--mute); opacity: .08; filter: blur(3px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), color 1.1s; }
.mpara.is-in { opacity: 1; filter: none; color: rgba(239,233,218,.86); }
.mpara em { color: var(--hl); font-style: normal; }
.mpara--big { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; letter-spacing: .02em; }
.mpara--big.is-in { color: #f2fffb; text-shadow: 0 0 22px rgba(151,252,228,.35); }
.manifesto__sign { margin: clamp(3rem, 8vh, 5rem) 0 0; text-align: center; font-family: var(--display); font-size: clamp(.9rem, 1.6vw, 1.15rem); letter-spacing: .32em; text-transform: uppercase; color: var(--hl); text-shadow: 0 0 14px var(--hl-glow); }
.manifesto__sign span { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease); margin: 0 .5em; }
.manifesto__sign.is-in span { opacity: 1; transform: none; }
.manifesto__sign.is-in span:nth-child(2) { transition-delay: .35s; }
.manifesto__sign.is-in span:nth-child(3) { transition-delay: .7s; }

/* ---------------- the code ---------------- */
.code { position: relative; padding: clamp(90px, 14vh, 160px) 0; }
.code { background: linear-gradient(180deg, var(--black), #031411 50%, var(--black)); }
.code__grid { list-style: none; margin: clamp(3rem, 7vh, 4.5rem) auto 0; padding: 0 22px; max-width: 1180px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.tablet { position: relative; padding: 2.4rem 2rem 2.2rem; background: radial-gradient(120% 90% at 50% 0%, rgba(15,61,51,.35), rgba(2,8,7,.96) 60%); overflow: hidden; transition: background .6s; }
.tablet::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(151,252,228,.08); pointer-events: none; }
.tablet::after { content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%) scaleX(0); background: linear-gradient(90deg, transparent, var(--hl), transparent); box-shadow: 0 0 18px var(--hl); transition: transform .8s var(--ease); }
.tablet:hover::after, .tablet.is-in::after { transform: translateX(-50%) scaleX(1); }
.tablet__n { position: absolute; right: 1.4rem; top: 1rem; font-family: var(--display); font-size: 3.6rem; line-height: 1; color: rgba(151,252,228,.06); transition: color .6s; }
.tablet:hover .tablet__n { color: rgba(151,252,228,.14); }
.tablet__icon { width: 54px; height: 54px; margin-bottom: 1.4rem; fill: none; stroke: var(--hl); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(151,252,228,.6)); stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.tablet.is-in .tablet__icon { stroke-dashoffset: 0; }
.tablet:nth-child(2) .tablet__icon { stroke: #ffb0b8; filter: drop-shadow(0 0 6px var(--red-glow)); }
.tablet h3 { margin: 0 0 .7rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; color: #effffa; }
.tablet p { margin: 0; color: var(--mute); font-size: .95rem; line-height: 1.65; }
.tablet:hover { background: radial-gradient(120% 90% at 50% 0%, rgba(31,143,124,.28), rgba(2,8,7,.96) 65%); }

.footer__motto { margin: 0; font-family: var(--display); font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }

@media (max-width: 960px) { .code__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .code__grid { grid-template-columns: 1fr; }
  .tablet { padding: 2rem 1.5rem; }
  .manifesto__body { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mline > span, .mpara, .manifesto__sign span, .reveal-up { transform: none !important; opacity: 1 !important; filter: none !important; }
  .tablet__icon { stroke-dashoffset: 0; }
}
.nav { transition: opacity .8s var(--ease), transform .8s var(--ease), background .4s, backdrop-filter .4s; }
.nav.is-solid { background: rgba(2, 8, 7, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(151, 252, 228, .08); }
.ascension::before { content: ""; display: block; position: relative; z-index: 3; height: 22vh; margin-bottom: -22vh; background: linear-gradient(var(--black), rgba(2, 8, 7, 0)); pointer-events: none; }

b, strong, em, h1, h2, h3, button, input, summary { font-weight: 700; }
em { font-style: normal; }

/* ==========================================================================
   FUN PASS — chunky meme energy, same colours
   ========================================================================== */
.eyebrow, .nav__terr, .nav__cta, .nav__brand, .side-coord, .side-hint, .descend, .terr-index .s, .terr-chips .hl-item,
.map-label .r, .map-label .s, .manifesto__sign, .footer__motto, .footer__links a, .tablet h3, .btn-gold, .btn-line,
.pill, .ghost-btn, .sound-toggle, .nav__where-k, .footer__brand, .tablet__n { letter-spacing: .03em !important; }
.eyebrow { text-transform: none; font-size: .95rem; }
.nav__terr, .footer__links a, .descend, .side-hint, .terr-index .s { text-transform: none; font-size: .82rem; }
.nav__brand { font-size: 1.05rem; }

/* title: sticker style, a little tilted, letters bob */
.hero__title { font-size: clamp(3rem, 10.5vw, 8.4rem); letter-spacing: .01em; padding-left: 0; transform: rotate(-2deg);
  filter: drop-shadow(0 6px 0 #021a16) drop-shadow(0 0 28px rgba(151,252,228,.45)); animation: none; }
.hero__title .ch { -webkit-text-stroke: 2px rgba(2,26,22,.9); paint-order: stroke fill; }
body.world-ready .hero__title .ch { animation: bob 2.6s ease-in-out infinite; }
body.world-ready .hero__title .ch:nth-child(odd) { animation-delay: -1.3s; }
.hero__title:hover .ch { animation-duration: .5s !important; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(226,238,233,.8); }

/* section headings */
.section-title, .manifesto__title, .asc-title { letter-spacing: 0 !important; text-shadow: 0 5px 0 #021a16, 0 0 30px rgba(151,252,228,.4); }
.section-title { display: inline-block; transform: rotate(-1.5deg); font-size: clamp(2.6rem, 6.5vw, 5rem); }
.manifesto__title { font-size: clamp(2.8rem, 8vw, 7rem); }
.mline--hl > span { text-shadow: 0 6px 0 #021a16, 0 0 30px rgba(151,252,228,.55); }
.mpara--big { letter-spacing: 0; }

/* chunky buttons you want to press */
.btn-gold { border-radius: 14px; box-shadow: 0 5px 0 #1b8a70, 0 0 26px rgba(151,252,228,.45); animation: none; }
.btn-gold:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 7px 0 #1b8a70, 0 0 36px rgba(151,252,228,.7); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 1px 0 #1b8a70, 0 0 20px rgba(151,252,228,.4); }
.btn-line, .pill { border-radius: 14px; border-width: 2px; }
.nav__cta { border-radius: 12px; border-width: 2px; }

/* code tablets: rounded cards with a bit of bounce */
.code__grid { gap: 16px; background: none; }
.tablet { border-radius: 22px; border: 2px solid rgba(151,252,228,.14); transition: transform .45s cubic-bezier(.34,1.56,.64,1), border-color .3s, background .6s; }
.tablet::before { display: none; }
.tablet:nth-child(odd):hover { transform: rotate(-1.2deg) scale(1.03); border-color: rgba(151,252,228,.45); }
.tablet:nth-child(even):hover { transform: rotate(1.2deg) scale(1.03); border-color: rgba(151,252,228,.45); }
.tablet h3 { font-size: 1.3rem; }
.tablet__icon { width: 62px; height: 62px; stroke-width: 2.2; }
.tablet__n { font-size: 4.4rem; color: rgba(151,252,228,.08); }

/* map labels and lists */
.map-label { border-radius: 14px; border-width: 2px; }
.map-label .t { font-size: 1rem; letter-spacing: 0; }
.terr-index .t { font-size: 1.05rem; }
.terr-chips .hl-item { border-radius: 12px; border-width: 2px; }
.manifesto__sign { font-size: clamp(1rem, 2vw, 1.4rem); }

/* manifesto: character beside the headline, body centred */
.manifesto__head { display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 4vw, 3rem); margin-bottom: clamp(3rem, 8vh, 5rem); }
.manifesto__head .manifesto__title { margin: 0; }
.manifesto__pepe { flex: none; width: clamp(150px, 22vw, 290px); height: auto; filter: drop-shadow(0 0 26px rgba(151,252,228,.45)); transform-origin: 50% 100%; opacity: 0; transform: translateY(30px) rotate(4deg); transition: opacity 1s var(--ease), transform 1.2s cubic-bezier(.34,1.56,.64,1); }
.manifesto__pepe.is-in { opacity: 1; transform: none; animation: pepeIdle 3.4s 1.2s ease-in-out infinite; }
@keyframes pepeIdle { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.manifesto__body { margin: 0 auto; text-align: center; max-width: 720px; }
@media (max-width: 600px) {
  .manifesto__head { gap: .6rem; }
  .manifesto__title { font-size: clamp(2rem, 9.5vw, 3rem); }
  .manifesto__pepe { width: 32vw; }
}
@media (prefers-reduced-motion: reduce) { .manifesto__pepe { opacity: 1; transform: none; animation: none; } }

/* seamless section joins: one continuous background, glows that never touch an edge */
.hero { overflow: visible; background: radial-gradient(60% 45% at 50% 50%, rgba(15,61,51,.5), transparent 72%), radial-gradient(40% 40% at 12% 85%, rgba(31,143,124,.1), transparent 70%); }
.hero__fog { inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 15%, #000 80%, transparent); }
.manifesto { background: radial-gradient(70% 45% at 50% 40%, rgba(15,61,51,.42), transparent 72%); padding-top: clamp(60px, 10vh, 120px); }
.code { background: radial-gradient(80% 50% at 50% 50%, rgba(3,30,25,.7), transparent 75%); }
.footer { border-top: 0; background: radial-gradient(60% 80% at 50% 70%, rgba(15,61,51,.3), transparent 75%); }
body { background: var(--black); }
/* angel scene fades in from the dark and back out into the footer */
.ascension::before { height: 30vh; margin-bottom: -30vh; }
.ascension::after { content: ""; display: block; position: relative; z-index: 3; height: 30vh; margin-top: -30vh; background: linear-gradient(rgba(2,8,7,0), var(--black)); pointer-events: none; }
.ascension::after { height: 20vh; margin-top: -20vh; }
.asc-copy--b { bottom: 30vh; }
@media (max-width: 860px) { .asc-copy--b { bottom: 26vh; } }

/* ---------------- the plan (timeline) ---------------- */
.plan { position: relative; padding: clamp(90px, 14vh, 160px) 0; background: radial-gradient(80% 50% at 50% 50%, rgba(3,30,25,.7), transparent 75%); }
.timeline { list-style: none; position: relative; max-width: 900px; margin: clamp(3rem, 7vh, 4.5rem) auto 0; padding: 0 22px; display: grid; gap: 1.4rem; }
.timeline::before { content: ""; position: absolute; left: calc(22px + 23px); top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--hl), rgba(151,252,228,.15)); box-shadow: 0 0 14px rgba(151,252,228,.5); }
.phase { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 1.2rem; align-items: start; }
.phase__dot { position: relative; z-index: 1; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 4px 0 #1b8a70, 0 0 22px rgba(151,252,228,.55); }
.phase__card { padding: 1.4rem 1.6rem 1.5rem; border-radius: 22px; border: 2px solid rgba(151,252,228,.14); background: radial-gradient(120% 90% at 0% 0%, rgba(15,61,51,.4), rgba(2,8,7,.95) 65%); transition: transform .45s cubic-bezier(.34,1.56,.64,1), border-color .3s; }
.phase:nth-child(odd) .phase__card:hover { transform: rotate(-.8deg) scale(1.015); border-color: rgba(151,252,228,.45); }
.phase:nth-child(even) .phase__card:hover { transform: rotate(.8deg) scale(1.015); border-color: rgba(151,252,228,.45); }
.phase__when { margin: 0 0 .3rem; display: inline-block; padding: .25em .7em; border-radius: 8px; font-size: .8rem; color: var(--hl); background: rgba(151,252,228,.1); border: 1px solid rgba(151,252,228,.3); }
.phase__title { margin: .4rem 0 .8rem; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; color: #f2fffb; text-shadow: 0 3px 0 #021a16, 0 0 20px rgba(151,252,228,.35); }
.phase__card ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--mute); font-size: .95rem; line-height: 1.55; }
.phase__card li::marker { color: var(--hl); }
.phase:last-child .phase__dot { background: linear-gradient(135deg, #fff3cf, var(--gold)); box-shadow: 0 4px 0 #8a6a2c, 0 0 22px rgba(216,180,106,.6); }
@media (max-width: 600px) {
  .timeline::before { left: calc(22px + 17px); }
  .phase { grid-template-columns: 38px 1fr; gap: .8rem; }
  .phase__dot { width: 38px; height: 38px; font-size: 1rem; }
  .phase__card { padding: 1.1rem 1.1rem 1.2rem; }
}
/* keep hidden hover labels from widening the page on phones */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } .hero { overflow-x: clip; } }
.phase__title { margin-top: .1rem; }
.phase__text { margin: 0; color: rgba(226,238,233,.78); font-size: 1rem; line-height: 1.65; }

/* launchpad badge */
.launchpad { display: inline-flex; align-items: center; gap: .55em; margin-top: .9rem; padding: .5em 1em .5em .9em; border-radius: 12px; border: 2px solid rgba(151,252,228,.35); background: rgba(2,10,9,.6); text-decoration: none; font-size: .9rem; color: rgba(226,238,233,.85); box-shadow: 0 0 22px -6px rgba(151,252,228,.5); transition: transform .4s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s; }
.launchpad:hover { transform: translateY(-2px) rotate(-1deg); border-color: var(--hl); box-shadow: 0 0 30px -4px rgba(151,252,228,.75); }
.launchpad b { color: #fff; font-size: 1.05em; }
.launchpad__logo { width: 1.45em; height: 1.1em; background: #fff; -webkit-mask: url("../assets/montra.png") center / contain no-repeat; mask: url("../assets/montra.png") center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
.launchpad--lg { font-size: 1.15rem; padding: .7em 1.3em .7em 1.1em; margin: .4rem 0 1.2rem; }
.plan__pad { margin: 0; }
.map-viewport { --map-w: min(94vw, calc((100svh - var(--nav-h) - 196px) * 1.0795)); }
@media (max-width: 860px) { .map-viewport { --map-w: calc(100vw - 16px); } }
html[data-intro="full"] body:not(.world-ready) .hero .launchpad, html[data-intro="short"] body:not(.world-ready) .hero .launchpad { opacity: 0; }
.hero .launchpad { transition: opacity 1s var(--ease), transform .4s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s; }
/* nav: Hyperliquid mark × Montra mark */
.nav__brand { gap: .55rem; }
.nav__x { font-size: .8rem; color: var(--mute); margin: 0 -.1rem; }
.nav__montra { width: 24px; height: 19px; background: #fff; -webkit-mask: url("../assets/montra.png") center / contain no-repeat; mask: url("../assets/montra.png") center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(255,255,255,.45)); }
.nav__name { margin-left: .35rem; }
@media (max-width: 380px) { .nav__name { font-size: .9rem; } }


/* ==========================================================================
   REDESIGN — Hyperborean capital first, Hyperliquid teal throughout
   ========================================================================== */
:root {
  --gold: #97fce4; --gold-hi: #dffff6; --gold-lo: #1f8f7c;
  --black: #010807; --ice: #e6f6ff; --aqua: #5ef7e0;
}
body { background: #010807; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.terr.is-gold .terr__edge { stroke: var(--hl); } .terr.is-gold .terr__halo { stroke: var(--turq); }
.phase:last-child .phase__dot { background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 4px 0 #1b8a70, 0 0 26px rgba(151,252,228,.75); }

/* ---------- nav: transparent glass, active indicator ---------- */
.nav { background: linear-gradient(to bottom, rgba(1,8,7,.7), rgba(1,8,7,0)); }
.nav.is-solid { background: rgba(1, 10, 9, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(151,252,228,.12), 0 10px 30px -18px rgba(151,252,228,.25); }
.nav__links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: .25rem; padding: .3rem; border-radius: 14px; background: rgba(2,16,14,.35); border: 1px solid rgba(151,252,228,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav__links a { position: relative; padding: .5em 1em; border-radius: 10px; text-decoration: none; font-size: .86rem; color: rgba(226,242,238,.78); transition: color .3s, background .3s, box-shadow .3s; }
.nav__links a:hover { color: #fff; background: rgba(151,252,228,.07); }
.nav__links a.is-active { color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 0 18px rgba(151,252,228,.55); }
.nav__right { display: flex; align-items: center; gap: .5rem; }
.nav__cta { white-space: nowrap; }
@media (max-width: 1180px) { .nav__links a { padding: .5em .7em; font-size: .8rem; } }
@media (max-width: 1020px) { .nav__links { display: none; } .nav__burger { display: block; } }
@media (max-width: 1020px) and (min-width: 861px) { .nav__cta { display: inline-flex; } }

/* ---------- framed art: overlays stay locked to the picture under object-fit cover ---------- */
.framebox { position: relative; overflow: hidden; container-type: size; }
.frame { position: absolute; left: 50%; --fw: max(100cqw, calc(100cqh * var(--ar))); --fh: max(100cqh, calc(100cqw / var(--ar))); width: var(--fw); height: var(--fh); top: calc((100cqh - var(--fh)) * var(--fy, .5)); transform: translateX(-50%); }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.frame > i, .frame > span, .frame > div { position: absolute; pointer-events: none; }

/* ---------- HERO ---------- */
.home { position: relative; padding-top: var(--nav-h); background: #010807; }
.home__art { height: min(calc(100vw * 573 / 1024), calc(100svh - var(--nav-h) + 40px)); min-height: 360px; }
.home__art .frame { --ar: 1.787; --fy: .85; transform: translateX(-50%) translateY(var(--py, 0px)); }
.home__inner { transform-origin: 50% 60%; }
.home__aurora { left: -10%; right: -10%; top: 0; height: 52%; background:
  radial-gradient(40% 60% at 25% 40%, rgba(94,247,224,.55), transparent 70%),
  radial-gradient(35% 55% at 70% 30%, rgba(151,252,228,.45), transparent 70%),
  radial-gradient(30% 50% at 50% 60%, rgba(30,200,170,.4), transparent 70%);
  mix-blend-mode: screen; opacity: .32; filter: blur(18px);
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent);
  animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translateX(-4%) skewX(-6deg); opacity: .22; } 50% { opacity: .42; } 100% { transform: translateX(5%) skewX(6deg); opacity: .26; } }
.home__planet { left: 78.6%; top: 1.5%; width: 18.6%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(151,252,228,.0) 55%, rgba(151,252,228,.55) 72%, transparent 100%); mix-blend-mode: screen; animation: planetGlow 5s ease-in-out infinite; }
@keyframes planetGlow { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .85; transform: scale(1.04); } }
.home__chart { left: 35%; top: 81.6%; width: 22.6%; height: 11.2%; mix-blend-mode: screen; overflow: hidden; }
.home__chart svg { width: 100%; height: 100%; }
.home__line { fill: none; stroke: #b8fff0; stroke-width: 2.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px #5ef7e0); stroke-dasharray: 600; stroke-dashoffset: 600; animation: chartDraw 6s 2.4s ease-in-out infinite; opacity: .85; }
@keyframes chartDraw { 0% { stroke-dashoffset: 600; opacity: 0; } 10% { opacity: .85; } 60% { stroke-dashoffset: 0; opacity: .85; } 85% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.home__chart::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; left: -20%; background: linear-gradient(90deg, transparent, rgba(184,255,240,.35), transparent); animation: scan 4.5s 3s linear infinite; }
@keyframes scan { to { left: 110%; } }
.home__coins i { position: absolute; width: 3.2%; aspect-ratio: 1; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Cdefs%3E%3CradialGradient%20id%3D%22g%22%20cx%3D%22.38%22%20cy%3D%22.32%22%20r%3D%22.75%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23eafff9%22/%3E%3Cstop%20offset%3D%22.45%22%20stop-color%3D%22%237ff0d4%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23127a66%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2247%22%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%23d9fff5%22%20stroke-width%3D%223%22/%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2238%22%20fill%3D%22none%22%20stroke%3D%22%230b4a3f%22%20stroke-opacity%3D%22.5%22%20stroke-width%3D%222%22/%3E%3Cpath%20d%3D%22M65.8%2C28.5%20L64.3%2C28.7%20L62.8%2C29.2%20L61.4%2C30.0%20L60.2%2C31.1%20L59.2%2C32.4%20L58.4%2C33.7%20L57.6%2C35.1%20L56.8%2C36.5%20L56.1%2C37.9%20L55.5%2C39.3%20L54.7%2C40.6%20L53.9%2C42.0%20L53.0%2C43.2%20L51.9%2C44.5%20L50.7%2C45.5%20L49.3%2C46.3%20L47.8%2C46.8%20L46.3%2C47.1%20L44.6%2C47.1%20L43.0%2C46.8%20L41.5%2C46.3%20L40.2%2C45.6%20L38.9%2C44.5%20L37.8%2C43.3%20L36.7%2C42.1%20L35.7%2C40.8%20L34.7%2C39.6%20L33.5%2C38.4%20L32.2%2C37.5%20L30.8%2C36.9%20L29.2%2C36.6%20L27.6%2C36.8%20L26.1%2C37.2%20L24.8%2C38.1%20L23.7%2C39.3%20L22.9%2C40.7%20L22.3%2C42.1%20L21.8%2C43.6%20L21.4%2C45.1%20L21.2%2C46.7%20L21.0%2C48.3%20L21.0%2C50.0%20L21.0%2C51.7%20L21.2%2C53.3%20L21.3%2C54.9%20L21.6%2C56.4%20L22.0%2C58.0%20L22.4%2C59.5%20L22.9%2C60.9%20L23.6%2C62.3%20L24.5%2C63.7%20L25.7%2C64.8%20L27.0%2C65.7%20L28.4%2C66.2%20L30.0%2C66.4%20L31.6%2C66.0%20L32.9%2C65.2%20L34.1%2C64.0%20L35.1%2C62.7%20L36.0%2C61.4%20L36.9%2C60.2%20L37.9%2C58.9%20L39.0%2C57.7%20L40.2%2C56.5%20L41.5%2C55.6%20L42.9%2C55.0%20L44.4%2C54.6%20L46.0%2C54.5%20L47.6%2C54.7%20L49.1%2C55.2%20L50.5%2C55.9%20L51.8%2C56.8%20L52.9%2C58.0%20L53.9%2C59.3%20L54.9%2C60.6%20L55.7%2C61.9%20L56.6%2C63.2%20L57.3%2C64.6%20L58.2%2C65.9%20L59.1%2C67.2%20L60.1%2C68.5%20L61.3%2C69.7%20L62.6%2C70.5%20L64.0%2C71.2%20L65.6%2C71.4%20L67.2%2C71.4%20L68.7%2C71.0%20L70.1%2C70.4%20L71.4%2C69.5%20L72.7%2C68.5%20L73.8%2C67.3%20L74.8%2C66.0%20L75.6%2C64.7%20L76.4%2C63.3%20L76.9%2C61.9%20L77.5%2C60.4%20L78.0%2C58.9%20L78.3%2C57.4%20L78.6%2C55.8%20L78.6%2C54.2%20L79.0%2C52.6%20L79.0%2C51.0%20L79.0%2C49.3%20L79.0%2C47.6%20L78.8%2C46.0%20L78.6%2C44.4%20L78.3%2C42.8%20L78.0%2C41.3%20L77.6%2C39.8%20L77.1%2C38.3%20L76.5%2C36.8%20L75.8%2C35.5%20L75.0%2C34.1%20L74.0%2C32.8%20L72.9%2C31.6%20L71.7%2C30.6%20L70.3%2C29.8%20L68.9%2C29.1%20L67.4%2C28.7Z%22%20fill%3D%22%2306302a%22/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(151,252,228,.8)); opacity: 0; animation: coinFloat 9s ease-in-out infinite; }
.home__coins i:nth-child(1) { left: 22%; top: 70%; animation-delay: 1s; }
.home__coins i:nth-child(2) { left: 72%; top: 66%; width: 2.6%; animation-delay: 3.2s; }
.home__coins i:nth-child(3) { left: 14%; top: 46%; width: 2.2%; animation-delay: 5.5s; }
.home__coins i:nth-child(4) { left: 83%; top: 50%; width: 2.8%; animation-delay: 2.1s; }
.home__coins i:nth-child(5) { left: 48%; top: 62%; width: 2%; animation-delay: 7s; }
.home__coins i:nth-child(6) { left: 61%; top: 74%; width: 2.4%; animation-delay: 4.4s; }
@keyframes coinFloat { 0% { opacity: 0; transform: translateY(20px) rotateY(0deg) scale(.8); } 15% { opacity: .95; } 70% { opacity: .9; } 100% { opacity: 0; transform: translateY(-120px) rotateY(540deg) scale(1); } }
.home__snow { position: absolute; z-index: 1; pointer-events: none; inset: 0; width: 100%; height: 100%; }
.home__fade { position: absolute; z-index: 1; pointer-events: none; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(transparent, #010807); }
.home__art::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; z-index: 2; background: linear-gradient(#010807, transparent); pointer-events: none; }
.home__img { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 50% 70%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.035); } }

.home__ui { position: relative; z-index: 3; margin-top: -34px; display: flex; flex-direction: column; align-items: center; padding: 0 16px 40px; }
.home__ctas { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.home__ctas .btn-gold, .home__ctas .btn-line { font-size: 1rem; padding: 1em 2em; text-transform: none; letter-spacing: .01em !important; }
.home__ctas .btn-line { background: rgba(1,12,10,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-color: rgba(151,252,228,.55); }
.home__ui .launchpad { margin-top: 1.2rem; }
.pillrow { list-style: none; margin: 2.2rem auto 0; padding: 1.6rem 0 0; width: min(1100px, 100%); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(151,252,228,.14); }
.pillrow__i { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: .4rem 1rem; }
.pillrow__i + .pillrow__i { border-left: 1px solid rgba(151,252,228,.12); }
.pillrow__i svg { width: 32px; height: 32px; fill: none; stroke: var(--hl); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(151,252,228,.7)); margin-bottom: .3rem; }
.pillrow__i b { font-size: 1.05rem; color: #f2fffb; }
.pillrow__i span { font-size: .85rem; color: var(--mute); line-height: 1.45; max-width: 22ch; }

/* entrance */
.js .home__art .frame { opacity: 0; filter: brightness(.15) saturate(.6); transition: opacity 1.6s ease, filter 2.4s ease; }
.js .home__art .frame > img { transform: scale(1.12); transition: transform 2.8s cubic-bezier(.16,.84,.24,1); }
.is-loaded .home__art .frame { opacity: 1; filter: none; }
.is-loaded .home__art .frame > img { transform: none; }
.is-loaded .home__img { animation-delay: 2.8s; }
.js .home__ui > * { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,.84,.24,1); }
.is-loaded .home__ui > * { opacity: 1; transform: none; }
.is-loaded .home__ui > :nth-child(1) { transition-delay: 1.3s; } .is-loaded .home__ui > :nth-child(2) { transition-delay: 1.5s; } .is-loaded .home__ui > :nth-child(3) { transition-delay: 1.7s; }

/* ---------- GUARDIAN ---------- */
.guardian { position: relative; padding: 40px 0 clamp(80px, 12vh, 140px); }
.guardian__art { height: min(calc(100vw * 434 / 1024), 88svh); min-height: 340px; }
.guardian__art .frame { --ar: 2.359; --fy: .4; }
.guardian__halo { left: 41.5%; top: -1%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(220,255,248,.55), rgba(94,247,224,.25) 50%, transparent 75%); mix-blend-mode: screen; animation: planetGlow 4s ease-in-out infinite; }
.guardian__rays { left: 50%; top: 30%; width: 160%; aspect-ratio: 1; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, rgba(151,252,228,.11) 0 4deg, transparent 4deg 13deg); mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 70%); mask-image: radial-gradient(closest-side, #000 15%, transparent 70%); animation: raysSpin 90s linear infinite; }
@keyframes raysSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.guardian__aurora { left: -10%; right: -10%; top: 0; height: 40%; background: radial-gradient(40% 60% at 20% 30%, rgba(94,247,224,.5), transparent 70%), radial-gradient(40% 60% at 80% 30%, rgba(151,252,228,.4), transparent 70%); mix-blend-mode: screen; opacity: .3; filter: blur(16px); animation: aurora 16s ease-in-out infinite alternate; }
.guardian__motes { position: absolute; z-index: 1; pointer-events: none; inset: 0; width: 100%; height: 100%; }
.guardian__fade { position: absolute; z-index: 1; pointer-events: none; inset: 0; background: linear-gradient(#010807, transparent 16%, transparent 80%, #010807); }
.guardian__copy { position: relative; z-index: 2; max-width: 900px; margin: -40px auto 0; padding: 0 22px; text-align: center; }
.guardian__copy .section-title { transform: none; }
.reveal-zoom .frame > img { transform: scale(1.12); filter: brightness(.4); transition: transform 2.4s cubic-bezier(.16,.84,.24,1), filter 2s ease; }
.reveal-zoom.is-in .frame > img { transform: none; filter: none; }

/* ---------- MAP voyage ---------- */
.worldmap { position: relative; padding: clamp(70px, 10vh, 120px) 0 40px; }
.voyage { position: relative; max-width: 1180px; margin: 0 auto clamp(30px, 6vh, 60px); padding: 0 22px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 2rem; align-items: center; }
.voyage::before { content: ""; position: absolute; inset: -12px 10px; border-radius: 26px; border: 1px solid rgba(151,252,228,.22); background: linear-gradient(135deg, rgba(5,40,34,.55), rgba(1,10,9,.8)); box-shadow: 0 0 60px -20px rgba(151,252,228,.4), inset 0 0 40px -20px rgba(151,252,228,.25); z-index: -1; }
.voyage__text { padding: 1.4rem 0 1.4rem 1.4rem; }
.voyage__text .section-title { transform: none; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.voyage__text .section-lede { margin: 0; }
.voyage__art { position: relative; border-radius: 18px; overflow: hidden; -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, transparent 80%); mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, transparent 80%); }
.voyage__art img { display: block; width: 100%; height: auto; transform: scale(1.18) translateY(6%); opacity: 0; transition: transform 2.6s cubic-bezier(.16,.84,.24,1), opacity 1.4s ease; }
.voyage.is-in .voyage__art img { transform: none; opacity: 1; }
.voyage::after { content: ""; position: absolute; left: 50%; bottom: -70px; width: 2px; height: 70px; background: linear-gradient(var(--hl), transparent); box-shadow: 0 0 14px var(--hl); transform: scaleY(0); transform-origin: top; transition: transform 1.4s 1s ease; }
.voyage.is-in::after { transform: scaleY(1); }
.worldmap .hero__body { padding-top: 30px; }
.worldmap .map-viewport { --map-w: min(94vw, calc((100svh - var(--nav-h) - 60px) * 1.0795)); opacity: 0; transform: scale(.92) translateY(30px); filter: blur(6px); transition: opacity 1.4s ease, transform 1.8s cubic-bezier(.16,.84,.24,1), filter 1.4s ease; }
.worldmap .map-viewport.is-in { opacity: 1; transform: none; filter: none; }
@media (max-width: 860px) { .worldmap .map-viewport { --map-w: calc(100vw - 16px); } }

/* ---------- ISLANDS ---------- */
.islands { padding: clamp(70px, 10vh, 120px) 0; }
.isles { list-style: none; max-width: 1240px; margin: clamp(2.5rem, 6vh, 4rem) auto 0; padding: 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.isle__in { height: 100%; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.3rem 1.5rem; border-radius: 20px; border: 1px solid rgba(151,252,228,.16); background: linear-gradient(160deg, rgba(10,52,45,.55), rgba(1,10,9,.92) 60%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .45s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s; }
.isle__in:hover, .isle__in.is-hot, .isle__in:focus-visible { transform: translateY(-4px); border-color: rgba(151,252,228,.55); box-shadow: 0 0 34px -10px rgba(151,252,228,.55); }
.isle__r { font-size: .8rem; color: var(--hl); text-shadow: 0 0 10px var(--hl-glow); }
.isle__name { font-size: 1.2rem; color: #f2fffb; }
.isle__sub { font-size: .8rem; color: var(--aqua); opacity: .85; }
.isle__txt { margin-top: .4rem; font-size: .9rem; line-height: 1.55; color: var(--mute); }
.isle--red .isle__in { border-color: rgba(255,77,94,.22); background: linear-gradient(160deg, rgba(40,6,10,.55), rgba(1,6,6,.95) 60%); }
.isle--red .isle__r, .isle--red .isle__sub { color: #ff8a95; text-shadow: 0 0 10px var(--red-glow); }
.isle--red .isle__in:hover, .isle--red .isle__in.is-hot { border-color: rgba(255,77,94,.6); box-shadow: 0 0 34px -10px var(--red-glow); }

/* ---------- COMMUNITY ---------- */
.community { padding: 20px 22px clamp(80px, 12vh, 140px); }
.community__card { max-width: 900px; margin: 0 auto; text-align: center; padding: clamp(2.4rem, 6vw, 4rem) 1.6rem; border-radius: 28px; border: 1px solid rgba(151,252,228,.25); background: radial-gradient(80% 120% at 50% 0%, rgba(31,143,124,.3), rgba(1,10,9,.92) 70%); box-shadow: 0 0 80px -30px rgba(151,252,228,.5); }
.community__card .section-title { transform: none; }
.community__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .isles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .home__art { height: 96vw; min-height: 0; }
  .home__art .frame { --fy: .5; }
  .home__ui { margin-top: -60px; }
  .pillrow { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .pillrow__i:nth-child(3) { border-left: 0; }
  .guardian__art { height: 92vw; }
  .guardian__art .frame { --fy: .3; }
  .guardian__halo { width: 22%; left: 39%; }
  .voyage { grid-template-columns: 1fr; gap: .6rem; }
  .voyage__text { padding: 1.4rem 1rem 0; text-align: center; }
  .voyage__text .section-lede { margin: 0 auto; }
}
@media (max-width: 600px) {
  .isles { grid-template-columns: 1fr; }
  .home__ctas .btn-gold, .home__ctas .btn-line { padding: .9em 1.4em; font-size: .92rem; }
  .pillrow__i { padding: .3rem .5rem; }
  .pillrow__i span { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .home__art .frame, .js .home__ui > *, .worldmap .map-viewport, .voyage__art img, .reveal-zoom .frame > img { opacity: 1 !important; transform: none !important; filter: none !important; }
  .home__coins, .home__chart::after, .guardian__rays { display: none; }
}
.home__coins { inset: 0; }


/* ==========================================================================
   ELYSIUM — second home alongside Hyperliquid: steel-blue mountain chevrons
   ========================================================================== */
:root { --ely-1: #2f6f8f; --ely-2: #63bcd4; --ely-glow: rgba(99,188,212,.45); }
.aura { background:
  radial-gradient(28% 22% at 18% 20%, rgba(151,252,228,.07), transparent 70%),
  radial-gradient(30% 24% at 85% 75%, rgba(99,188,212,.08), transparent 70%),
  radial-gradient(22% 18% at 70% 15%, rgba(151,252,228,.045), transparent 70%); }
.nav__ely { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 10px var(--ely-glow); }
.chainrow { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.2rem; }
.chainrow .launchpad { margin-top: 0; }
.chain { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 12px; font-size: .9rem; color: rgba(226,238,233,.85);
  border: 2px solid transparent; background: linear-gradient(rgba(2,10,12,.75), rgba(2,10,12,.75)) padding-box, linear-gradient(90deg, rgba(151,252,228,.6), rgba(99,188,212,.75)) border-box;
  box-shadow: 0 0 22px -6px var(--ely-glow); }
.chain b { color: #fff; }
.chain__hl { width: 22px; height: 17px; fill: var(--hl); filter: drop-shadow(0 0 6px rgba(151,252,228,.7)); }
.chain__x { color: var(--mute); font-size: .8em; }
.chain__ely { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; color: inherit; }
.chain__ely img { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 10px var(--ely-glow); transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.chain__ely:hover img { transform: rotate(-12deg) scale(1.1); }
.chain__ely:hover b { color: var(--ely-2); }

.ely-divider { position: relative; height: 70px; margin: 10px 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%2270%22%20viewBox%3D%220%200%20120%2070%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f6f8f%22/%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2363bcd4%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg%20fill%3D%22none%22%20stroke-linejoin%3D%22miter%22%3E%3Cpath%20d%3D%22M0%2046%20L60%206%20L120%2046%22%20stroke%3D%22url%28%23a%29%22%20stroke-width%3D%2213%22/%3E%3Cpath%20d%3D%22M14%2060%20L60%2030%20L106%2060%22%20stroke%3D%22%23e8f8ff%22%20stroke-opacity%3D%22.75%22%20stroke-width%3D%225%22/%3E%3Cpath%20d%3D%22M34%2070%20L60%2052%20L86%2070%22%20stroke%3D%22%23e8f8ff%22%20stroke-opacity%3D%22.55%22%20stroke-width%3D%224%22/%3E%3C/g%3E%3C/svg%3E") 0 0 / 120px 70px repeat-x; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  filter: drop-shadow(0 0 12px var(--ely-glow)); animation: chevDrift 40s linear infinite; }
.ely-divider--flip { transform: scaleY(-1); }
@keyframes chevDrift { to { background-position: 120px 0; } }

.footer__chains { margin: 0; font-size: .9rem; color: var(--mute); }
.footer__chains span { margin: 0 .4em; opacity: .6; }
.footer__chains a { color: var(--ely-2); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; vertical-align: middle; }
.footer__chains img { border-radius: 50%; }

/* blend the Elysium blue into the existing teal accents */
.guardian__aurora { background: radial-gradient(40% 60% at 20% 30%, rgba(94,247,224,.5), transparent 70%), radial-gradient(40% 60% at 80% 30%, rgba(99,188,212,.5), transparent 70%); }
.home__aurora { background:
  radial-gradient(40% 60% at 25% 40%, rgba(94,247,224,.55), transparent 70%),
  radial-gradient(35% 55% at 70% 30%, rgba(99,188,212,.5), transparent 70%),
  radial-gradient(30% 50% at 50% 60%, rgba(30,200,170,.4), transparent 70%); }
.timeline::before { background: linear-gradient(var(--hl), var(--ely-2) 60%, rgba(99,188,212,.15)); }
.community__card { border-color: transparent; background: radial-gradient(80% 120% at 50% 0%, rgba(31,143,124,.3), rgba(1,10,9,.92) 70%) padding-box, linear-gradient(120deg, rgba(151,252,228,.45), rgba(99,188,212,.55), rgba(151,252,228,.2)) border-box; border: 1px solid transparent; }
.voyage::before { border-color: rgba(99,188,212,.3); }
@media (max-width: 600px) { .chain { font-size: .8rem; } .nav__x { display: none; } .nav__brand { gap: .4rem; } }
@media (prefers-reduced-motion: reduce) { .ely-divider { animation: none; } }

/* ---------- lore narrative ---------- */
.myth { max-width: 820px; margin: clamp(4rem, 10vh, 7rem) auto 0; padding: clamp(2rem, 5vw, 3.2rem); text-align: center; border-radius: 26px; position: relative; overflow: hidden;
  border: 1px solid transparent; background: radial-gradient(90% 120% at 50% 0%, rgba(99,188,212,.18), rgba(1,10,9,.94) 70%) padding-box, linear-gradient(120deg, rgba(151,252,228,.45), rgba(99,188,212,.5), rgba(151,252,228,.15)) border-box;
  box-shadow: 0 0 80px -30px rgba(99,188,212,.5); }
.myth::before { content: ""; position: absolute; left: 50%; top: -60%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(230,255,250,.16), transparent 70%); pointer-events: none; }
.myth__lead { position: relative; margin: 0 0 1rem; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.25; color: #f2fffb; text-shadow: 0 3px 0 #021a16, 0 0 24px rgba(151,252,228,.35); }
.myth__text { position: relative; margin: 0 auto; max-width: 58ch; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; color: rgba(226,238,233,.82); }
.exodus { max-width: 760px; margin: clamp(4rem, 10vh, 6rem) auto 0; display: grid; gap: 1.4rem; text-align: center; }
.tenets { list-style: none; max-width: 1040px; margin: clamp(3rem, 7vh, 4.5rem) auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tenet { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 2rem 1.4rem; border-radius: 22px; border: 2px solid rgba(151,252,228,.14); background: radial-gradient(120% 90% at 50% 0%, rgba(15,61,51,.45), rgba(1,8,7,.95) 65%); transition: transform .45s cubic-bezier(.34,1.56,.64,1), border-color .3s; }
.tenet:hover { transform: translateY(-4px) rotate(-1deg); border-color: rgba(151,252,228,.45); }
.tenet__k { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--hl); text-shadow: 0 4px 0 #021a16, 0 0 26px rgba(151,252,228,.6); }
.tenet b { font-size: 1.1rem; color: #f2fffb; text-transform: uppercase; letter-spacing: .04em; }
.tenet__t { margin-top: .5rem; font-size: .92rem; line-height: 1.55; color: var(--mute); }
.calling { max-width: 820px; margin: clamp(4rem, 10vh, 6rem) auto 0; text-align: center; }
.calling__goal { margin: 0 0 1.6rem; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; color: rgba(226,238,233,.85); }
.calling__goal b { color: var(--ely-2); text-shadow: 0 0 18px var(--ely-glow); }
.calling__line { margin: 0; font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.15; color: #f2fffb; text-shadow: 0 5px 0 #021a16, 0 0 30px rgba(151,252,228,.4); }
.calling .manifesto__sign { margin-top: 2rem; font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
@media (max-width: 760px) { .tenets { grid-template-columns: 1fr; } .manifesto__title { font-size: clamp(2rem, 9vw, 3rem); } }
#lore .manifesto__title { font-size: clamp(2.2rem, 5.6vw, 5rem); }

/* floating Elysium coins, interleaved with the HYPE coins */
.home__coins b { position: absolute; width: 3%; aspect-ratio: 1; border-radius: 50%;
  background: url("../assets/elysium.png") center / 100% 100% no-repeat;
  box-shadow: 0 0 0 2px rgba(220,240,255,.75), 0 0 0 4px rgba(47,111,143,.9), 0 0 18px rgba(99,188,212,.85);
  opacity: 0; animation: coinFloat 9.5s ease-in-out infinite; }
.home__coins b:nth-child(7)  { left: 29%; top: 72%; animation-delay: 2.6s; }
.home__coins b:nth-child(8)  { left: 67%; top: 70%; width: 2.4%; animation-delay: 0.4s; }
.home__coins b:nth-child(9)  { left: 9%;  top: 58%; width: 2.2%; animation-delay: 6.3s; }
.home__coins b:nth-child(10) { left: 89%; top: 62%; width: 2.6%; animation-delay: 4.9s; }
.home__coins b:nth-child(11) { left: 41%; top: 78%; width: 2.2%; animation-delay: 8.1s; }
.home__coins b:nth-child(12) { left: 78%; top: 44%; width: 2%;   animation-delay: 3.7s; }
@media (prefers-reduced-motion: reduce) { .home__coins b { display: none; } }
.home__coins i, .home__coins b { width: 4.2% !important; }
.home__coins i:nth-child(3), .home__coins i:nth-child(5), .home__coins b:nth-child(9), .home__coins b:nth-child(11), .home__coins b:nth-child(12) { width: 3.2% !important; }

/* ---------- Know Your Meme link ---------- */
.kym { padding: clamp(40px, 8vh, 90px) 22px 20px; }
.kym__card { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1.4rem, 4vw, 2.6rem); border-radius: 24px; text-decoration: none; color: inherit;
  border: 1px solid transparent; background: linear-gradient(120deg, rgba(5,40,34,.75), rgba(1,10,12,.92)) padding-box, linear-gradient(120deg, rgba(151,252,228,.55), rgba(99,188,212,.6), rgba(151,252,228,.2)) border-box;
  box-shadow: 0 0 60px -24px rgba(151,252,228,.5); transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.kym__card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 0 80px -16px rgba(151,252,228,.7); }
.kym__badge { width: 84px; height: 84px; border-radius: 20px; display: grid; place-items: center; font-size: 1.4rem; color: var(--hl-deep);
  background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 5px 0 #1b8a70, 0 0 26px rgba(151,252,228,.55); }
.kym__body { display: flex; flex-direction: column; gap: .35rem; }
.kym__body .eyebrow { margin: 0; }
.kym__title { font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.15; color: #f2fffb; text-shadow: 0 3px 0 #021a16, 0 0 20px rgba(151,252,228,.35); }
.kym__text { font-size: .95rem; line-height: 1.55; color: var(--mute); max-width: 56ch; }
.kym__go { white-space: nowrap; padding: .9em 1.4em; border-radius: 14px; font-size: .95rem; color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 4px 0 #1b8a70, 0 0 22px rgba(151,252,228,.45); }
.kym__card:hover .kym__go b { display: inline-block; transform: translate(2px,-2px); }
@media (max-width: 720px) { .kym__card { grid-template-columns: 1fr; text-align: center; justify-items: center; } .kym__badge { width: 64px; height: 64px; font-size: 1.1rem; } }
.nav__right .nav__icon { display: grid; }
@media (max-width: 860px) { .nav__right .nav__icon { display: grid; width: 36px; height: 36px; } }
.kym { padding-top: 10px; }

/* contract address */
.home__ui .ca { margin: 1.1rem auto 0; max-width: 640px; width: 100%; }
.ca { display: flex; align-items: center; gap: .8rem; padding: .55rem .55rem .55rem 1rem; border-radius: 14px;
  border: 1px solid transparent; background: rgba(2,12,11,.8) padding-box, linear-gradient(90deg, rgba(151,252,228,.55), rgba(99,188,212,.6)) border-box;
  box-shadow: 0 0 26px -8px rgba(151,252,228,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ca__k { font-size: .75rem; letter-spacing: .14em !important; color: var(--hl); text-shadow: 0 0 10px var(--hl-glow); }
.ca__v { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; font-size: .95rem; color: #f2fffb; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.ca__copy { flex: none; padding: .6em 1.1em; border-radius: 10px; font-size: .85rem; color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); box-shadow: 0 3px 0 #1b8a70; transition: transform .2s; }
.ca__copy:active { transform: translateY(2px); box-shadow: 0 1px 0 #1b8a70; }
.ca__copy.is-done { background: linear-gradient(135deg, #e6fff8, #63bcd4); }
.ca--foot { max-width: 620px; width: 100%; }
@media (max-width: 600px) { .ca__v { font-size: .74rem; } .ca { gap: .5rem; padding-left: .7rem; } }
@media (max-width: 860px) { .ca { flex-wrap: nowrap; } .ca__v { flex-basis: auto; order: 0; } }

/* ---------- hero art: Pepe capital ---------- */
.home__art .frame { --ar: 1.777; --fy: .7; }
.home__planet { left: 39.5%; top: -10%; width: 25%; }
.home__chart { left: 44.6%; top: 79.5%; width: 17.4%; height: 8.6%; }
.home__art { height: min(calc(100vw * 941 / 1672), calc(100svh - var(--nav-h) + 40px)); }
@media (max-width: 860px) { .home__art { height: 96vw; } .home__art .frame { --fy: .55; } }
.home__brand { text-align: center; margin-bottom: 1.4rem; }
.home__name { margin: 0; font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: 1; letter-spacing: .04em !important;
  background: linear-gradient(180deg, #ffffff 0%, #dffff6 35%, var(--hl) 65%, #3fbfa2 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 5px 0 #021a16) drop-shadow(0 0 30px rgba(151,252,228,.5)); }
.home__tag { margin: .7rem 0 0; font-size: clamp(.95rem, 1.6vw, 1.2rem); letter-spacing: .22em !important; text-transform: uppercase; color: rgba(226,242,238,.85); }
.home__tag b { color: var(--ely-2); text-shadow: 0 0 14px var(--ely-glow); }
.home__ui { margin-top: -90px; }
@media (max-width: 860px) { .home__ui { margin-top: -40px; } }
/* title: only HYPE in the Hyperliquid mint */
.home__name { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f4fbfa;
  filter: drop-shadow(0 5px 0 #021a16) drop-shadow(0 0 18px rgba(255,255,255,.12)); }
.home__hype { color: #97fce4; text-shadow: 0 0 18px rgba(151,252,228,.75), 0 0 46px rgba(79,245,210,.45); }

/* ==========================================================================
   WORLD — interactive map, territories, passport
   ========================================================================== */
.w-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.w-modal { overflow: hidden; }

/* buttons */
.wbtn, .linkbtn, .hud-pass, .hud-link, .nav__pass, .region, .land, .chest, .mm-pass { font: inherit; font-weight: 700; cursor: pointer; }
.wbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px;
  padding: .7em 1.3em; border-radius: 999px; border: 1px solid var(--hl); text-decoration: none; text-align: center;
  background: linear-gradient(135deg, #e6fff8, var(--hl)); color: var(--hl-deep); font-size: .9rem;
  box-shadow: 0 0 18px -6px var(--hl-glow); transition: transform .2s, box-shadow .2s, background .2s;
}
.wbtn:hover { transform: translateY(-1px); box-shadow: 0 0 26px -4px var(--hl-glow); }
.wbtn--ghost { background: rgba(3, 16, 14, .7); color: var(--ivory); border-color: rgba(151, 252, 228, .35); box-shadow: none; }
.wbtn--ghost:hover { border-color: var(--hl); color: var(--hl); }
.wbtn--gold { background: linear-gradient(135deg, #f6eed6, #d8b46a); border-color: #e9dcb4; color: #1b1406; box-shadow: 0 0 24px -6px rgba(216, 180, 106, .7); }
.wbtn:disabled, .wbtn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.linkbtn { background: none; border: 0; color: var(--hl); padding: .5em .2em; text-decoration: underline; text-underline-offset: 3px; font-size: .88rem; min-height: 40px; }
.linkbtn:hover { color: #fff; }
:where(.wbtn, .linkbtn, .region, .land, .npc, .secret-spot, .star, .hud-pass, .hud-link, .nav__pass, .realm__x, .chest, .hold, .dispatch__n, .idf__opt):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* nav passport */
.nav__pass {
  display: inline-flex; align-items: center; gap: .45em; padding: .6em 1em; border-radius: 999px; font-size: .74rem;
  color: var(--ivory); background: rgba(3, 16, 14, .6); border: 1px solid rgba(151, 252, 228, .25); transition: border-color .3s, color .3s;
}
.nav__pass:hover { border-color: var(--hl); color: var(--hl); }
.nav__pass svg, .hud-pass svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hud-count { font-size: .72em; padding: .2em .55em; border-radius: 99px; background: rgba(151, 252, 228, .14); color: var(--hl); }
.mm-pass { background: none; border: 0; color: inherit; font-size: inherit; padding: 0; }
@media (max-width: 1020px) { .nav__pass-t { display: none; } }
@media (max-width: 860px) { .nav__pass { display: none; } }

/* layout */
.world { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 clamp(10px, 2vw, 28px); }
.world-hud { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; justify-content: center; margin: 0 auto 1.1rem; max-width: 1180px; }
.hud-pass { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .55em 1.1em; border-radius: 999px; color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); border: 0; font-size: .86rem; box-shadow: 0 0 20px -6px var(--hl-glow); }
.hud-pass .hud-count { background: rgba(7, 39, 35, .15); color: var(--hl-deep); }
.hud-link { min-height: 44px; padding: .55em 1em; border-radius: 999px; background: rgba(3, 16, 14, .6); color: var(--ivory); border: 1px solid rgba(151, 252, 228, .22); font-size: .82rem; }
.hud-link:hover { border-color: var(--hl); color: var(--hl); }
.dispatch { flex: 1 1 320px; display: flex; align-items: center; gap: .7rem; margin: 0; padding: .45rem .5rem .45rem 1rem; border-radius: 999px; border: 1px solid rgba(151, 252, 228, .12); background: rgba(1, 8, 7, .55); font-size: .8rem; color: var(--mute); min-width: 0; }
.dispatch__k { flex: none; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.dispatch__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dispatch__t.is-in { animation: dispIn .6s var(--ease); }
@keyframes dispIn { from { opacity: 0; transform: translateY(4px); } }
.dispatch__n { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(151, 252, 228, .25); background: none; color: var(--hl); font-size: 1.1rem; cursor: pointer; }

.world-body { display: grid; grid-template-columns: minmax(230px, 290px) auto; justify-content: center; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.world-body .map-viewport { --map-w: min(calc(100vw - 380px), calc((100svh - var(--nav-h) - 140px) * 1.0795), 1100px); grid-column: auto; }
.world-note { text-align: center; font-size: .74rem; color: var(--mute); margin: 1rem auto 0; max-width: 60ch; }

/* region list */
.regions__h { margin: 0 0 .2rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.regions__hint { margin: 0 0 .8rem; font-size: .8rem; color: var(--mute); line-height: 1.45; }
.regions__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.region {
  width: 100%; display: grid; grid-template-columns: 2.1em 1fr auto; align-items: center; gap: 0 .5rem; text-align: left;
  padding: .55rem .7rem; border-radius: 12px; border: 1px solid transparent; background: rgba(3, 16, 14, .35); color: var(--ivory);
  transition: background .25s, border-color .25s, transform .25s;
}
.region .r { grid-row: span 2; font-size: .7rem; color: var(--hl); text-shadow: 0 0 10px var(--hl-glow); }
.region .t { font-size: .92rem; line-height: 1.2; }
.region .s { grid-column: 2; font-size: .7rem; color: var(--mute); font-weight: 700; }
.region .st { grid-row: 1 / span 2; grid-column: 3; color: var(--hl); font-size: 1rem; }
.region.is-earned .st { color: #e9dcb4; text-shadow: 0 0 10px rgba(216, 180, 106, .7); }
.region:hover, .region.is-hot { background: rgba(151, 252, 228, .08); border-color: rgba(151, 252, 228, .35); transform: translateX(3px); }
.region.is-red .r, .region.is-red.is-hot .t { color: var(--red); text-shadow: 0 0 10px var(--red-glow); }
.region.is-red:hover, .region.is-red.is-hot { border-color: rgba(255, 77, 94, .4); background: rgba(255, 77, 94, .06); }

@media (max-width: 1000px) {
  .world-body { grid-template-columns: 1fr; }
  .world-body .map-viewport { --map-w: min(calc(100vw - 20px), 760px); justify-self: center; }
  .regions { order: 2; }
  .regions__list { grid-template-columns: 1fr 1fr; }
  .regions__h, .regions__hint { text-align: center; }
}
@media (max-width: 520px) {
  .regions__list { grid-template-columns: 1fr; }
  .dispatch { flex-basis: 100%; }
  .dispatch__k { display: none; }
}

/* map: labels, state */
.terr { cursor: pointer; }
.map-label .go { display: none; margin-top: .45rem; border: 0; font: inherit; font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hl-deep); background: linear-gradient(135deg, #e6fff8, var(--hl)); padding: .55em 1.2em; border-radius: 99px; pointer-events: auto; cursor: pointer; min-height: 36px; }
.is-touch .map-label .go { display: inline-block; }
.map-label .v { display: none; }
.map-label.is-earned .v { display: block; margin-top: .2rem; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: #e9dcb4; }
.map-label.is-earned .v::before { content: "✦ Sigil earned"; }
.terr.is-visited .terr__edge { opacity: .28; stroke-dasharray: 3 7; }
.terr.is-visited.is-hot .terr__edge { opacity: 1; stroke-dasharray: 14 6; }
.map-viewport.is-focused .map-label { opacity: 0 !important; }
.worldmap.is-entering .map-stage { filter: brightness(1.15); }
.map-aurora { position: absolute; inset: 0; pointer-events: none; border-radius: 6px; mix-blend-mode: screen; opacity: .35;
  background: radial-gradient(60% 30% at 30% 0%, rgba(151, 252, 228, .25), transparent 70%), radial-gradient(50% 25% at 75% 5%, rgba(79, 245, 210, .18), transparent 70%);
  animation: aurShift 14s ease-in-out infinite alternate; }
@keyframes aurShift { to { transform: translateX(3%); opacity: .5; } }

/* living map */
.map-life { position: absolute; inset: 0; pointer-events: none; }
.npc, .secret-spot { position: absolute; pointer-events: auto; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -50%); }
.npc { animation: npcBob 6s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(151, 252, 228, .6)); }
.npc img, .secret-spot img { display: block; width: 100%; height: auto; }
.npc:hover { filter: drop-shadow(0 0 16px rgba(151, 252, 228, .95)); }
@keyframes npcBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.npc__say {
  position: absolute; z-index: 5; margin: 0; transform: translate(-50%, calc(-100% - 26px)); width: max-content; max-width: min(240px, 60vw);
  padding: .55rem .8rem; border-radius: 12px; font-size: .78rem; line-height: 1.35; color: var(--ivory);
  background: rgba(2, 12, 11, .96); border: 1px solid rgba(151, 252, 228, .4); box-shadow: 0 10px 30px -8px #000, 0 0 20px -8px var(--hl-glow);
  animation: sayIn .3s var(--ease);
}
.npc__say.is-left { transform: translate(-90%, calc(-100% - 26px)); }
@keyframes sayIn { from { opacity: 0; translate: 0 6px; } }
.secret-spot { width: 3%; min-width: 24px; opacity: .3; transition: opacity .4s; }
.secret-spot:hover, .secret-spot:focus-visible, .secret-spot.is-found { opacity: 1; }
.life-deco i { position: absolute; pointer-events: none; }
.spirit { width: 6px; height: 6px; border-radius: 50%; background: #e8fff9; box-shadow: 0 0 10px 3px rgba(151, 252, 228, .55); opacity: 0; animation: spirit 12s linear infinite; }
@keyframes spirit { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .8; } 80% { opacity: .5; } 100% { opacity: 0; transform: translate(40px, -60px); } }
.temple-light { width: 5px; height: 5px; border-radius: 50%; background: #fff6d8; box-shadow: 0 0 8px 3px rgba(233, 220, 180, .6); animation: tLight 3.6s ease-in-out infinite; }
@keyframes tLight { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.guardian-eye { width: 9%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(233, 220, 180, .35); box-shadow: 0 0 30px rgba(233, 220, 180, .25), inset 0 0 20px rgba(151, 252, 228, .2); animation: gEye 8s ease-in-out infinite; }
@keyframes gEye { 0%, 100% { opacity: .2; transform: translate(-50%, -50%) scale(.9); } 50% { opacity: .7; transform: translate(-50%, -50%) scale(1.05); } }
.gate-glow { width: 17%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(99, 188, 212, .35), transparent 65%); animation: tLight 5s ease-in-out infinite; }
.worldmap.is-idle *, .worldmap.is-idle *::before, .worldmap.is-idle *::after { animation-play-state: paused !important; }

/* Journey North intro */
.journey { position: absolute; inset: -2px; z-index: 6; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: rgba(1, 8, 7, .82); transition: opacity .6s var(--ease); }
.journey[hidden] { display: none; }
.journey.is-out { opacity: 0; pointer-events: none; }
.journey > i { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.journey__trench { background: radial-gradient(80% 50% at 50% 100%, rgba(255, 60, 80, .38), transparent 70%), linear-gradient(0deg, rgba(60, 0, 8, .6), transparent 45%); }
.journey__wind { background: repeating-linear-gradient(-12deg, transparent 0 38px, rgba(239, 233, 218, .1) 38px 40px); background-size: 200% 200%; }
.journey__aurora { background: radial-gradient(70% 40% at 50% 0%, rgba(151, 252, 228, .45), transparent 70%), radial-gradient(40% 30% at 20% 10%, rgba(79, 245, 210, .3), transparent 70%); }
.journey__gate { left: 89%; top: 85%; right: auto; bottom: auto; width: 34%; aspect-ratio: 1; inset: auto; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(151, 252, 228, .85), rgba(99, 188, 212, .3) 35%, transparent 68%); }
.journey__gate { position: absolute; left: 89%; top: 85%; }
.journey.is-s0 .journey__trench, .journey.is-s1 .journey__trench { opacity: 1; }
.journey.is-s1 .journey__wind, .journey.is-s2 .journey__wind { opacity: 1; animation: wind 1.6s linear infinite; }
.journey.is-s2 .journey__trench { opacity: .3; }
.journey.is-s2 .journey__aurora, .journey.is-s3 .journey__aurora, .journey.is-s4 .journey__aurora { opacity: 1; }
.journey.is-s3 .journey__gate, .journey.is-s4 .journey__gate { opacity: 1; animation: gatePulse 1.8s ease-in-out infinite; }
.journey.is-s3, .journey.is-s4 { background: rgba(1, 8, 7, .45); }
@keyframes wind { to { background-position: -200px 60px; } }
@keyframes gatePulse { 50% { transform: translate(-50%, -50%) scale(1.12); } }
.journey__card { position: relative; text-align: center; padding: 1.6rem 1.4rem; max-width: 30rem; }
.journey__eyebrow { margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.journey__lead { margin: 0 0 1.3rem; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.2; color: var(--ivory); text-shadow: 0 2px 20px #000; transition: opacity .6s; }
.journey__line { display: none; margin: 0; font-size: clamp(1.1rem, 2.6vw, 1.9rem); letter-spacing: .08em; color: #effffa; text-shadow: 0 0 24px var(--hl-glow), 0 2px 18px #000; outline: none; }
.journey__btns { display: flex; gap: .8rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.journey.is-s1 .journey__lead, .journey.is-s2 .journey__lead, .journey.is-s3 .journey__lead { opacity: .55; }
.journey:not(.is-s0) .journey__go { display: none; }
.journey.is-s4 .journey__lead { display: none; }
.journey.is-s4 .journey__line { display: block; animation: sayIn .9s var(--ease); }

/* ---------- dialogs ---------- */
.wdlg { padding: 0; border: 1px solid rgba(151, 252, 228, .22); border-radius: 18px; color: var(--ivory); background: #03100e; max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 120px -20px #000, 0 0 60px -30px var(--hl-glow); }
.wdlg::backdrop { background: rgba(1, 6, 5, .82); }
.wdlg[open] { animation: dlgIn .45s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.realm { width: min(980px, calc(100vw - 24px)); }
.realm__scene { position: relative; height: clamp(210px, 42vw, 430px); overflow: hidden; background: #010807; }
.realm__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenBurns 24s ease-in-out infinite alternate; }
@keyframes kenBurns { to { transform: scale(1.07) translate(-1%, -1%); } }
.realm__shade { position: absolute; inset: 0; background: linear-gradient(0deg, #03100e 2%, rgba(3, 16, 14, .55) 45%, rgba(3, 16, 14, .1) 80%); }
.realm.is-red .realm__img { filter: sepia(.4) saturate(1.6) hue-rotate(-40deg) brightness(.75); }
.realm.is-red .realm__shade { background: linear-gradient(0deg, #03100e 2%, rgba(40, 4, 8, .6) 45%, rgba(60, 0, 10, .25) 80%); }
.realm__head { position: absolute; left: clamp(16px, 4vw, 44px); right: 70px; bottom: 14px; }
.realm__r { margin: 0; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--hl); text-shadow: 0 0 12px var(--hl-glow); }
.realm.is-red .realm__r, .realm.is-red .act__h { color: var(--red); text-shadow: 0 0 12px var(--red-glow); }
.realm.is-gold .realm__r { color: var(--gold-hi); }
.realm__t { margin: .2rem 0 .1rem; font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.05; text-shadow: 0 4px 24px #000; outline: none; }
.realm__l { margin: 0; font-size: clamp(.9rem, 1.6vw, 1.1rem); color: var(--gold-hi); }
.realm__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(151, 252, 228, .35); background: rgba(1, 8, 7, .75); color: var(--ivory); font: inherit; font-size: 1rem; cursor: pointer; }
.realm__x:hover { border-color: var(--hl); color: var(--hl); }
.realm__body { padding: clamp(16px, 4vw, 44px); padding-top: 10px; }
.realm__intro p { margin: 0 0 .7rem; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.55; max-width: 62ch; }
.realm__people { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.realm__people li { flex: 1 1 240px; padding: .7rem .9rem; border-radius: 12px; border-left: 2px solid var(--hl); background: rgba(151, 252, 228, .05); font-size: .9rem; }
.realm__people .who { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--hl); margin-bottom: .2rem; }
.realm__people q { color: var(--ivory); }
.realm.is-red .realm__people li { border-left-color: var(--red); }
.realm.is-red .realm__people .who { color: var(--red); }
.realm__foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .7rem clamp(12px, 3vw, 28px); background: rgba(2, 10, 9, .96); border-top: 1px solid rgba(151, 252, 228, .12); }
.realm__nav { display: flex; gap: 1rem; }
@media (max-width: 640px) { .realm__nav { order: 3; flex-basis: 100%; justify-content: space-between; } .realm__nav .linkbtn { font-size: .78rem; } }

/* activity common */
.act { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(151, 252, 228, .12); }
.act__h { margin: 1.2rem 0 .5rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--hl); }
.act > .act__h:first-child { margin-top: 0; }
.act__hint { margin: .4rem 0 .8rem; font-size: .88rem; color: var(--mute); line-height: 1.5; }
.act__note { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 10px; background: rgba(255, 77, 94, .08); border: 1px solid rgba(255, 77, 94, .25); font-size: .82rem; color: #ffd9dd; }
.act__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .6rem 0; }
.act__done { margin: 1rem 0 0; color: var(--gold-hi); }
.earned { display: flex; align-items: center; gap: .9rem; margin: 1.2rem 0 .4rem; padding: .9rem 1.1rem; border-radius: 14px; border: 1px solid rgba(216, 180, 106, .45); background: linear-gradient(135deg, rgba(216, 180, 106, .12), rgba(151, 252, 228, .05)); }
.earned.is-fresh { animation: earnIn .9s var(--ease); }
@keyframes earnIn { 0% { opacity: 0; transform: scale(.9); } 60% { box-shadow: 0 0 40px rgba(216, 180, 106, .6); } }
.earned__g { width: 44px; height: 44px; flex: none; }
.earned__k { margin: 0; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.earned__n { margin: 0; font-size: 1.1rem; }
.glyph { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.earned .glyph { color: #e9dcb4; filter: drop-shadow(0 0 8px rgba(216, 180, 106, .7)); }

/* gate */
.gate-story p { margin: 0 0 .7rem; font-size: 1.05rem; line-height: 1.55; animation: sayIn .6s var(--ease); }
.gate-open { font-size: 1.4rem !important; letter-spacing: .06em; color: #effffa; text-shadow: 0 0 22px var(--hl-glow); }
.hold { position: relative; display: inline-flex; align-items: center; gap: .8rem; min-height: 56px; padding: .6rem 1.4rem .6rem .7rem; border-radius: 999px; border: 1px solid var(--hl); background: rgba(3, 16, 14, .8); color: var(--ivory); font: inherit; font-weight: 700; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; }
.hold__ring { --p: 0; width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(var(--hl) calc(var(--p) * 1turn), rgba(151, 252, 228, .12) 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.hold { --p: 0; }
.hold .hold__ring { --p: inherit; }
.hold.is-holding { box-shadow: 0 0 30px -4px var(--hl-glow); }
.ely-info { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1rem; padding: 1rem; border-radius: 14px; background: rgba(47, 111, 143, .14); border: 1px solid rgba(99, 188, 212, .3); }
.ely-info p { margin: 0 0 .7rem; font-size: .9rem; line-height: 1.5; }
.ely-info img { border-radius: 6px; flex: none; }

/* storm */
.storm__cv { display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 14px; border: 1px solid rgba(151, 252, 228, .2); touch-action: manipulation; }
.storm__cv.is-hit { box-shadow: 0 0 0 3px rgba(255, 77, 94, .6); }
.storm__ctl { display: flex; align-items: center; gap: .7rem; max-width: 640px; margin-top: .6rem; }
.storm__hud { flex: 1; text-align: center; margin: 0; font-size: .9rem; color: var(--mute); }
.storm__b { width: 64px; padding: 0; font-size: 1.1rem; }
.storm__msg { font-size: 1.05rem; }
.calm p { margin: 0 0 .6rem; }
.calm__no { color: #ffd9dd; }

/* archive */
.tablets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.tablet { position: relative; padding: 1rem; border-radius: 14px; border: 1px solid rgba(151, 252, 228, .2); background: linear-gradient(160deg, rgba(220, 245, 240, .1), rgba(3, 16, 14, .6)); }
.tablet h4 { margin: 0 0 .6rem; font-size: .95rem; color: var(--gold-hi); }
.tablet__lines { margin: 0 0 .8rem; padding-left: 1.1rem; font-size: .9rem; line-height: 1.5; }
.tablet__line { animation: thaw .9s var(--ease); margin-bottom: .3rem; }
@keyframes thaw { from { opacity: 0; filter: blur(6px); } }
.tablet.is-read { border-color: rgba(216, 180, 106, .45); }
.tablet__secret { margin: .8rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: rgba(216, 180, 106, .08); border: 1px dashed rgba(216, 180, 106, .4); font-size: .85rem; color: var(--gold-hi); }
.secret-mark { position: absolute; right: 8px; bottom: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: rgba(233, 220, 180, .3); cursor: pointer; font-size: .9rem; }
.secret-mark:hover, .secret-mark:focus-visible { color: #e9dcb4; outline: 2px solid #fff; }

/* sky */
.sky { position: relative; aspect-ratio: 16 / 9; max-width: 720px; border-radius: 16px; overflow: hidden; background: radial-gradient(80% 60% at 50% 0%, rgba(151, 252, 228, .14), transparent 70%), linear-gradient(#020e0c, #010605); border: 1px solid rgba(151, 252, 228, .16); }
.sky svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky line { stroke: var(--hl); stroke-width: .5; filter: drop-shadow(0 0 2px var(--hl)); animation: line .6s var(--ease); }
@keyframes line { from { opacity: 0; } }
.sky__dust { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #dff; opacity: .35; animation: tLight 4s ease-in-out infinite; }
.star { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: none; cursor: pointer; }
.star::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #e8fff9; box-shadow: 0 0 8px 2px rgba(151, 252, 228, .5); transition: box-shadow .3s, inset .3s; }
.star.is-next::before { animation: starNext 1.3s ease-in-out infinite; }
@keyframes starNext { 50% { box-shadow: 0 0 18px 7px rgba(151, 252, 228, .85); } }
.star.is-lit::before { inset: 13px; background: #fff; box-shadow: 0 0 16px 6px var(--hl); }
.star.is-wrong { animation: shake .35s; }
@keyframes shake { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
.sky__msg { min-height: 1.4em; font-size: .86rem; color: var(--mute); }
.sky__reveal { position: absolute; left: 0; right: 0; bottom: 8%; margin: 0; text-align: center; font-size: clamp(.9rem, 2.4vw, 1.4rem); letter-spacing: .14em; color: #effffa; text-shadow: 0 0 20px var(--hl-glow); animation: sayIn 1.4s var(--ease); }
.fragment { margin: 1rem 0; padding: .9rem 1.1rem; border-left: 2px solid var(--gold); background: rgba(216, 180, 106, .06); font-size: 1rem; line-height: 1.55; }
.fragment p { margin: 0; }

/* oath, flags, talk */
.oath__n { margin: 0 0 .3rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.oath__s { margin: 0 0 .8rem; font-size: 1.12rem; line-height: 1.45; }
.oath__c { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.oath__c .wbtn { flex: 1 1 200px; border-radius: 14px; justify-content: flex-start; text-align: left; }
.oath__c .wbtn:disabled { opacity: .5; }
.oath__c .wbtn.is-picked, .oath__c .wbtn.is-flag { opacity: 1; border-color: var(--hl); }
.oath__c .wbtn.is-flag { border-color: var(--red); color: #ffd9dd; }
.oath__c .wbtn.is-miss { opacity: .8; text-decoration: line-through; }
.oath__r { margin: 0 0 .8rem; padding: .7rem .9rem; border-radius: 10px; background: rgba(151, 252, 228, .05); line-height: 1.5; }
.oath__r.is-good { background: rgba(216, 180, 106, .08); color: var(--gold-hi); }
.oath__r.is-bad { background: rgba(255, 77, 94, .08); color: #ffd9dd; }
.oath__motto { font-size: 1.5rem; letter-spacing: .1em; color: var(--gold-hi); margin: .2rem 0 .6rem; }
.chest { margin-top: 1.4rem; min-height: 44px; padding: .6rem 1rem; border-radius: 10px; border: 1px dashed rgba(255, 77, 94, .5); background: rgba(255, 77, 94, .06); color: #ffd9dd; font-size: .85rem; }
.chest:disabled { opacity: .6; cursor: default; }
.talk { max-height: 260px; overflow: auto; margin: .6rem 0 0; }
.talk:empty { display: none; }
.talk__q { margin: .7rem 0 .2rem; font-size: .8rem; color: var(--mute); }
.talk__q::before { content: "You: "; }
.talk__a { margin: 0; padding: .7rem .9rem; border-radius: 12px; border-left: 2px solid var(--gold); background: rgba(216, 180, 106, .06); line-height: 1.5; }
.talk__a::before { content: "The Guardian: "; color: var(--gold-hi); }
.oath__c .is-asked { border-color: rgba(216, 180, 106, .4); }
.oath__c .is-secret { border-style: dashed; border-color: rgba(216, 180, 106, .6); color: var(--gold-hi); }

/* sigils */
.sigils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.sig { display: grid; justify-items: center; text-align: center; gap: .25rem; padding: .8rem .4rem; border-radius: 14px; border: 1px solid rgba(151, 252, 228, .1); background: rgba(1, 8, 7, .5); color: rgba(151, 252, 228, .25); }
.sig .glyph { width: 34px; height: 34px; }
.sig__n { font-size: .76rem; color: var(--mute); line-height: 1.2; }
.sig__l { font-size: .62rem; color: rgba(226, 238, 233, .4); letter-spacing: .04em; }
.sig.is-have { color: var(--hl); border-color: rgba(151, 252, 228, .4); background: rgba(151, 252, 228, .06); }
.sig.is-have .glyph { filter: drop-shadow(0 0 6px var(--hl-glow)); }
.sig.is-have .sig__n { color: var(--ivory); }
.sig.is-bonus.is-have { color: #63bcd4; border-color: rgba(99, 188, 212, .45); }
.sig.is-seal.is-have { color: #e9dcb4; border-color: rgba(216, 180, 106, .55); background: rgba(216, 180, 106, .08); }

/* ceremony */
.ceremony-slot { margin-top: .8rem; }
.cer { position: relative; margin-top: 1.4rem; padding: 2rem 1rem 1.4rem; border-radius: 18px; text-align: center; overflow: hidden; background: radial-gradient(60% 60% at 50% 30%, rgba(216, 180, 106, .16), transparent 70%), #020a09; border: 1px solid rgba(216, 180, 106, .45); }
.cer__ring { position: relative; width: 180px; height: 180px; margin: 0 auto; }
.cer__g { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; color: #e9dcb4; filter: drop-shadow(0 0 8px rgba(216, 180, 106, .8));
  transform: rotate(calc(var(--i) * 60deg)) translateY(-70px) rotate(calc(var(--i) * -60deg)); animation: cerIn 1.6s var(--ease) both; animation-delay: calc(var(--i) * .15s); }
@keyframes cerIn { from { opacity: 0; transform: rotate(calc(var(--i) * 60deg)) translateY(-260px) rotate(calc(var(--i) * -60deg)) scale(.4); } }
.cer__ring::after { content: ""; position: absolute; inset: 52px; border-radius: 50%; background: radial-gradient(circle, #fff, rgba(216, 180, 106, .6) 40%, transparent 70%); animation: cerCore 2.4s 1.2s ease-out both; }
@keyframes cerCore { from { opacity: 0; transform: scale(.2); } }
.cer__t { margin: 1rem 0 .2rem; font-size: clamp(1.4rem, 4vw, 2.4rem); letter-spacing: .1em; color: #f6eed6; text-shadow: 0 0 26px rgba(216, 180, 106, .7); outline: none; animation: sayIn 1s 1.8s var(--ease) both; }
.cer__s { margin: 0 0 1rem; color: var(--gold-hi); animation: sayIn 1s 2.2s var(--ease) both; }
.cer.is-instant *, .cer.is-instant *::after { animation: none !important; }
.cert { margin-top: .6rem; }
.cert__img { display: block; width: 100%; max-width: 720px; height: auto; margin: .4rem auto .6rem; border-radius: 12px; box-shadow: 0 20px 60px -20px #000; }
.cer .act__row { justify-content: center; }

/* passport + chronicle */
.passdlg, .chron { width: min(760px, calc(100vw - 24px)); }
.pass { padding: clamp(16px, 4vw, 36px); }
.pass__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.pass__head h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); outline: none; }
.pass__k { margin: 0; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.pass__x { position: static; flex: none; }
.pass__id { display: flex; align-items: center; gap: 1.2rem; padding: 1rem; border-radius: 16px; border: 1px solid rgba(151, 252, 228, .16); background: radial-gradient(circle at 15% 50%, rgba(151, 252, 228, .08), transparent 60%); }
.pass__id .portrait { flex: none; width: 130px; margin: 0; }
.pass__nick { margin: 0; font-size: 1.5rem; overflow-wrap: anywhere; }
.pass__status { margin: .1rem 0 .3rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hl); }
.pass__status.is-citizen { color: #e9dcb4; text-shadow: 0 0 12px rgba(216, 180, 106, .6); }
.pass__prog { margin: 1.2rem 0 .4rem; }
.pass__prog p { margin: 0 0 .4rem; }
.pass__prog b { font-size: 1.3rem; color: var(--hl); }
.pbar { height: 8px; border-radius: 99px; background: rgba(151, 252, 228, .1); overflow: hidden; }
.pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--hl), #e9dcb4); transition: width .6s var(--ease); }
.pass__stats { margin-top: .5rem !important; font-size: .82rem; color: var(--mute); }
.pass__lands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .4rem; }
.land { width: 100%; min-height: 44px; text-align: left; padding: .5rem .8rem; border-radius: 10px; border: 1px solid rgba(151, 252, 228, .14); background: rgba(1, 8, 7, .5); color: var(--mute); font-size: .85rem; }
.land.is-visited { color: var(--ivory); border-color: rgba(151, 252, 228, .35); }
.land:hover { border-color: var(--hl); color: var(--hl); }
.pass__acts { margin-top: 1.4rem; }
.pass__reset { color: var(--mute); }
.pass__reset.is-armed { color: var(--red); }
.pass__note { margin: .6rem 0 0; font-size: .78rem; color: var(--mute); }
.chron__e { padding: 1rem 0; border-top: 1px solid rgba(151, 252, 228, .1); }
.chron__e h3 { margin: 0 0 .4rem; font-size: 1rem; color: var(--hl); }
.chron__e p { margin: 0 0 .5rem; line-height: 1.55; }
.chron__e.is-secret h3 { color: var(--gold-hi); }
.chron__q { padding-left: .8rem; border-left: 2px solid rgba(216, 180, 106, .5); color: var(--gold-hi); font-size: .92rem; }

/* toast */
.w-toast { position: fixed; left: 50%; bottom: 22px; z-index: 2000; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px);
  padding: .7rem 1.1rem; border-radius: 999px; background: rgba(2, 12, 11, .96); border: 1px solid rgba(216, 180, 106, .5); color: #f6eed6; font-size: .86rem; box-shadow: 0 10px 40px -10px #000; transition: opacity .3s, transform .3s var(--ease); }
.w-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .npc, .spirit, .temple-light, .guardian-eye, .gate-glow, .map-aurora, .realm__img, .star.is-next::before, .journey > i { animation: none !important; }
  .spirit { display: none; }
}
.realm__nav .sh { display: none; }
@media (max-width: 640px) {
  .realm__foot { flex-wrap: nowrap; gap: .4rem; padding: .5rem .6rem; }
  .realm__foot .wbtn { min-height: 42px; padding: .5em .9em; font-size: .8rem; }
  .realm__nav { order: 0; flex: 1; flex-basis: auto; justify-content: center; gap: .2rem; }
  .realm__nav .nm { display: none; }
  .realm__nav .sh { display: inline; }
  .realm__back .bk { display: none; }
}
@media (max-width: 360px) { .realm__pass { display: none; } }
.realm__back { gap: 0; }
.realm__back .bk2 { display: none; }
@media (max-width: 640px) { .realm__back .bk2 { display: inline; } }
@media (max-width: 560px) {
  .pass__id { flex-direction: column; text-align: center; }
  .pass__id .portrait { width: 120px; }
}
.map-labels { z-index: 3; } .map-life { z-index: 2; }

/* ==========================================================================
   GHOST PEPE PASSPORT MAKER
   ========================================================================== */
.maker { width: min(1180px, calc(100vw - 24px)); background: #020c0b; }
.mk { position: relative; isolation: isolate; }
.mk__top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 1rem; padding: .8rem clamp(14px, 3vw, 28px); background: rgba(2, 12, 11, .94); border-bottom: 1px solid rgba(151, 252, 228, .1); }
.mk__brand { margin: 0; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.mk__steps { list-style: none; display: flex; gap: .3rem; margin: 0 auto; padding: 0; }
.mk__steps li { display: flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 99px; font-size: .78rem; color: var(--mute); }
.mk__steps .n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(151, 252, 228, .25); font-size: .7rem; }
.mk__steps li.is-on { color: var(--ivory); background: rgba(151, 252, 228, .08); }
.mk__steps li.is-on .n { background: var(--hl); color: var(--hl-deep); border-color: var(--hl); }
.mk__steps li.is-done .n { border-color: var(--hl); color: var(--hl); }
.mk__x { position: static; flex: none; }
.mk__body { position: relative; z-index: 1; padding: clamp(18px, 3.4vw, 40px); }
.mk__head { margin-bottom: 1.4rem; }
.mk__head h2 { margin: 0; font-size: clamp(1.5rem, 3.6vw, 2.6rem); letter-spacing: .04em; line-height: 1.1; outline: none; }
.mk__sub { margin: .5rem 0 0; color: var(--mute); font-size: clamp(.95rem, 1.6vw, 1.1rem); max-width: 60ch; }
.mk__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(151, 252, 228, .1); }
.mk__actions--end { justify-content: flex-end; }
.mk__actions .wbtn--gold { margin-left: auto; }
.mk__foot { margin: 1.4rem 0 0; text-align: center; }
.mk__reset { color: var(--mute); font-size: .82rem; }
.mk__reset.is-armed { color: var(--red); }
.mk__frost { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mk__frost i { position: absolute; top: -10px; width: 3px; height: 3px; border-radius: 50%; background: rgba(239, 255, 250, .7); box-shadow: 0 0 6px rgba(151, 252, 228, .6); animation: frostFall 12s linear infinite; }
@keyframes frostFall { to { transform: translate(30px, 110vh); opacity: 0; } }
.mk-help { margin: .35rem 0 0; font-size: .8rem; color: var(--mute); line-height: 1.45; }
.mk-err { margin: .3rem 0 0; min-height: 1.1em; font-size: .82rem; color: #ffb3bb; }
.mk-label, .mk-field > label:not(.mk-motto), .mk-field legend { display: block; margin: 0 0 .45rem; padding: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hl); }

/* step one */
.mk-choose { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.mk-hero { position: sticky; top: 76px; margin: 0; }
.mk-hero__art { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #010807; border: 1px solid rgba(151, 252, 228, .3); box-shadow: 0 0 50px -16px var(--hl-glow); }
.mk-hero__art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 60px rgba(1, 8, 7, .8); pointer-events: none; }
.mk-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-hero.is-swap .mk-hero__art img, .mk-hero.is-swap figcaption { animation: heroIn .45s var(--ease); }
@keyframes heroIn { from { opacity: .2; } }
.mk-hero__name { margin: .9rem 0 .2rem; font-size: 1.5rem; }
.mk-hero__lore { margin: 0; color: var(--mute); line-height: 1.5; }
.mk-gallery { border: 0; margin: 0; padding: 0; min-width: 0; }
.mk-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.pc { position: relative; display: block; border-radius: 16px; overflow: hidden; cursor: pointer; background: #010807; border: 1px solid rgba(151, 252, 228, .14); transition: border-color .25s, box-shadow .25s, transform .25s; }
.pc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pc img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; opacity: .72; transition: opacity .25s; }
.pc__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .6rem .5rem; font-size: .78rem; line-height: 1.2; text-align: center; background: linear-gradient(0deg, rgba(1, 8, 7, .95), transparent); }
.pc:hover img { opacity: 1; }
.pc:has(input:checked) { border-color: var(--hl); box-shadow: 0 0 0 1px var(--hl), 0 0 26px -8px var(--hl-glow); }
.pc:has(input:checked) img { opacity: 1; }
.pc:has(input:checked) .pc__name { color: var(--hl); }
.pc:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }

/* step two */
.mk-forge { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; }
.mk-live { position: sticky; top: 76px; }
.mk-live__cv { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 70px -24px #000, 0 0 40px -20px var(--hl-glow); }
.mk-field { margin: 0 0 1.2rem; border: 0; padding: 0; min-width: 0; }
.mk-field input[type="text"], .mk-field select, .mk-mottos input[type="text"], .mk-share textarea {
  width: 100%; min-height: 48px; padding: .65rem .9rem; border-radius: 12px; border: 1px solid rgba(151, 252, 228, .28); background: #010807; color: var(--ivory); font: inherit; font-weight: 700; font-size: 1rem; }
.mk-field input[aria-invalid="true"] { border-color: #ff8a96; }
.mk-field input:focus, .mk-field select:focus, .mk-share textarea:focus { outline: 2px solid var(--hl); outline-offset: 1px; }
.mk-style { display: flex; align-items: center; gap: .8rem; padding: .5rem; border-radius: 14px; border: 1px solid rgba(151, 252, 228, .16); }
.mk-style img { width: 56px; height: 56px; border-radius: 50%; }
.mk-style span { flex: 1; }
.mk-style__b { min-height: 40px; padding: .4em 1em; }
.mk-bgs__row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.mk-bg { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 0 .6rem; align-items: center; padding: .5rem; border-radius: 12px; border: 1px solid rgba(151, 252, 228, .14); cursor: pointer; }
.mk-bg input, .mk-motto input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mk-bg__sw { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); }
.mk-bg__n { font-size: .86rem; }
.mk-bg__d { font-size: .7rem; color: var(--mute); }
.mk-bg:has(input:checked), .mk-motto:has(input:checked) { border-color: var(--hl); background: rgba(151, 252, 228, .07); box-shadow: 0 0 18px -8px var(--hl-glow); }
.mk-bg:has(input:focus-visible), .mk-motto:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.mk-mottos { display: flex; flex-wrap: wrap; gap: .4rem; }
.mk-mottos legend { width: 100%; }
.mk-motto { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: .4rem .9rem; border-radius: 99px; border: 1px solid rgba(151, 252, 228, .16); font-size: .84rem; cursor: pointer; }
.mk-motto--own { border-style: dashed; }
.mk-mottos input[type="text"] { margin-top: .3rem; }

/* step three */
.mk-pass { display: grid; justify-items: center; gap: .8rem; }
.mk-card { position: relative; width: min(100%, 980px); aspect-ratio: 16 / 10; }
.mk-card__img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: clamp(10px, 2.4vw, 26px); box-shadow: 0 30px 90px -26px #000, 0 0 60px -26px var(--hl-glow); transition: opacity .5s var(--ease), transform .6s var(--ease); -webkit-touch-callout: default; }
.mk-card__back { opacity: 0; transform: rotateY(8deg) scale(.98); pointer-events: none; }
.mk-card.is-back .mk-card__back { opacity: 1; transform: none; pointer-events: auto; }
.mk-card.is-back .mk-card__img:not(.mk-card__back) { opacity: 0; transform: rotateY(-8deg) scale(.98); pointer-events: none; }
.mk.is-reveal .mk-card { animation: passReveal 1.2s var(--ease); }
@keyframes passReveal { from { opacity: 0; transform: translateY(18px) scale(.96); filter: brightness(1.6) blur(6px); } }
.mk-flip { display: inline-flex; padding: 4px; border-radius: 99px; border: 1px solid rgba(151, 252, 228, .2); background: rgba(1, 8, 7, .6); }
.mk-flip__b { min-height: 40px; min-width: 90px; padding: .4em 1em; border: 0; border-radius: 99px; background: none; color: var(--mute); font: inherit; font-weight: 700; cursor: pointer; }
.mk-flip__b[aria-pressed="true"] { background: var(--hl); color: var(--hl-deep); }
.mk-flip__b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mk-hold { display: none; }
.is-touch .mk-hold { display: block; }
.mk-share { max-width: 980px; margin: 1.6rem auto 0; padding: 1.2rem; border-radius: 18px; border: 1px solid rgba(151, 252, 228, .14); background: rgba(1, 8, 7, .5); }
.mk-share textarea { min-height: 110px; resize: vertical; line-height: 1.45; }

/* welcome back */
.mk-welcome { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: clamp(16px, 3vw, 32px); align-items: center; }
.mk-welcome__card img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 70px -24px #000; }
.mk-welcome__opts { display: grid; gap: .6rem; }

/* settlement + passport dialog */
.act__lead { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.5; }
.haven-strip { display: flex; gap: .4rem; margin: 0 0 1rem; }
.haven-strip img { width: clamp(48px, 9vw, 84px); height: auto; border-radius: 50%; border: 1px solid rgba(151, 252, 228, .35); }
.haven-strip img:not(:first-child) { margin-left: -14px; }
.haven-pass img, .pass__card img { display: block; width: 100%; max-width: 620px; height: auto; border-radius: 14px; box-shadow: 0 18px 50px -20px #000; }
.pass__id--card { flex-direction: column; align-items: stretch; }
.pass__idrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.pass__blank { flex: none; display: grid; place-items: center; width: 110px; aspect-ratio: 5 / 6; border-radius: 50% 50% 14px 14px; border: 2px dashed rgba(151, 252, 228, .3); font-size: 2.4rem; color: rgba(151, 252, 228, .4); }

@media (max-width: 860px) {
  .mk-choose, .mk-forge, .mk-welcome { grid-template-columns: 1fr; }
  .mk-hero, .mk-live { position: static; }
  .mk-hero { display: grid; grid-template-columns: 120px 1fr; gap: .9rem; align-items: center; }
  .mk-hero__name { margin-top: 0; font-size: 1.2rem; }
  .mk-hero__lore { font-size: .88rem; }
  .mk-gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .mk-live { position: sticky; top: 58px; z-index: 2; background: #020c0b; padding-bottom: .5rem; }
}
@media (max-width: 640px) {
  .maker { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; margin: 0; }
  .mk__brand { display: none; }
  .mk__steps { margin: 0; }
  .mk__steps li { padding: .3rem .45rem; font-size: .72rem; }
  .mk__body { padding: 16px; }
  .mk-bgs__row { grid-template-columns: 1fr; }
  .mk__actions { position: sticky; bottom: 0; z-index: 2; margin: 1.2rem -16px -16px; padding: .7rem 16px; background: rgba(2, 12, 11, .97); }
  .mk__actions .wbtn { flex: 1 1 auto; }
  .mk__actions--end { position: static; }
  .mk-share { padding: .9rem; }
}
@media (max-width: 380px) { .mk-gallery__grid { grid-template-columns: repeat(2, 1fr); } .mk__steps li span:not(.n) { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .mk__frost { display: none; }
  .mk.is-reveal .mk-card, .mk-hero.is-swap .mk-hero__art img, .mk-hero.is-swap figcaption { animation: none; }
}
@media (max-width: 640px) { .mk-live { position: static; } }
