/* ===== MEME CREW ===== */
:root {
  --bg: #050B24;
  --plum: #1B1838;
  --teal: #0F6A80;
  --deep: #0B2B48;
  --ice: #C8E3F3;
  --ice-dim: rgba(200, 227, 243, .65);
  --glow: rgba(120, 220, 255, .35);
  --flag: #FFB000;
  --radius: 22px;
  --font-display: "Titan One", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: radial-gradient(1200px 800px at 80% -10%, #0d2a4a 0%, transparent 60%),
              radial-gradient(900px 700px at 0% 40%, #1b1838 0%, transparent 60%),
              var(--bg);
  color: var(--ice);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, footer, .nav { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  font-family: var(--font-display); letter-spacing: .03em; font-size: 1rem;
  background: var(--ice); color: var(--bg);
  box-shadow: 0 0 0 0 var(--glow), 0 10px 30px -10px rgba(120, 220, 255, .6);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 6px rgba(200, 227, 243, .12), 0 16px 40px -10px rgba(120, 220, 255, .8); }
.btn--ghost { background: rgba(200, 227, 243, .06); color: var(--ice); border: 1px solid rgba(200, 227, 243, .3); box-shadow: none; backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(200, 227, 243, .14); }
.btn--small { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--big { padding: 1.2rem 2.6rem; font-size: 1.3rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  transition: background .3s, padding .3s, backdrop-filter .3s;
}
.nav.is-scrolled { background: rgba(5, 11, 36, .72); backdrop-filter: blur(14px); padding-top: .6rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(200, 227, 243, .08); }
.nav__logo img { height: 44px; width: auto; transition: transform .3s; }
.nav__logo:hover img { transform: rotate(-4deg) scale(1.06); }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 500; font-size: .95rem; }
.nav__links a { opacity: .75; position: relative; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--ice); transition: width .3s; border-radius: 2px; }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; }
.nav__burger span { display: block; height: 2px; background: var(--ice); margin: 7px 4px; border-radius: 2px; transition: transform .3s; }

/* ---------- Altitude meter ---------- */
.altitude { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.altitude__track { position: relative; width: 4px; height: 38vh; background: rgba(200, 227, 243, .12); border-radius: 4px; }
.altitude__fill { position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: linear-gradient(to top, var(--teal), var(--ice)); border-radius: 4px; box-shadow: 0 0 12px var(--glow); }
.altitude__rocket { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%) rotate(-45deg); font-size: 18px; filter: drop-shadow(0 0 6px var(--glow)); }
.altitude__label { font-family: var(--font-mono); font-size: .68rem; color: var(--ice-dim); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 7rem 1.25rem 5rem; overflow: hidden; }
.hero__bg { position: absolute; inset: -5%; background-size: cover; background-position: center 40%; transform: scale(1.05); will-change: transform; filter: saturate(1.05); }
.hero__shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at center, rgba(5, 11, 36, .35) 0%, rgba(5, 11, 36, .85) 70%),
  linear-gradient(to bottom, rgba(5, 11, 36, .2) 0%, rgba(5, 11, 36, .55) 60%, var(--bg) 100%); }
.hero__moon { position: absolute; top: 8%; right: 8%; width: 18vmin; height: 18vmin; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cfeaf7 55%, #9fc6dc); box-shadow: 0 0 80px 20px rgba(160, 225, 255, .35), 0 0 200px 60px rgba(15, 106, 128, .35); animation: moonPulse 6s ease-in-out infinite; opacity: .85; }
@keyframes moonPulse { 50% { box-shadow: 0 0 100px 30px rgba(160, 225, 255, .45), 0 0 260px 90px rgba(15, 106, 128, .45); } }
.hero__content { position: relative; max-width: 900px; }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; color: #7fd3e6; margin-bottom: 1rem; }
.hero__logo img { width: min(620px, 82vw); margin: 0 auto; filter: drop-shadow(0 10px 40px rgba(120, 220, 255, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hero__tagline { font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin: 1rem 0 2rem; color: var(--ice-dim); }
.hero__tagline strong { color: var(--ice); font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }
.hero__scroll { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; opacity: .6; }
.hero__scroll span { width: 22px; height: 36px; border: 2px solid var(--ice); border-radius: 12px; position: relative; }
.hero__scroll span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ice); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- CA box ---------- */
.ca { display: inline-flex; align-items: center; gap: .8rem; max-width: 100%; padding: .5rem .5rem .5rem 1.1rem; border-radius: 999px; background: rgba(11, 43, 72, .6); border: 1px solid rgba(200, 227, 243, .2); backdrop-filter: blur(10px); }
.ca__label { font-family: var(--font-display); font-size: .85rem; color: #7fd3e6; }
.ca__value { font-family: var(--font-mono); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.ca__copy { border: 0; cursor: pointer; padding: .5rem 1rem; border-radius: 999px; background: var(--teal); color: var(--ice); font-family: var(--font-display); transition: background .2s, transform .2s; }
.ca__copy:hover { background: #158aa6; transform: scale(1.05); }
.ca--wide { display: flex; margin-top: 2rem; }
.ca--wide .ca__value { flex: 1; max-width: none; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid rgba(200, 227, 243, .12); background: linear-gradient(90deg, var(--plum), var(--deep), var(--plum)); padding: 1rem 0; transform: rotate(-1.2deg); margin: 0 -2vw; position: relative; z-index: 2; }
.marquee__inner { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.6rem); letter-spacing: .06em; white-space: nowrap; color: var(--ice); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 4rem); max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 4rem; }
.section-head--left { text-align: left; margin: 0 0 2.5rem; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: .01em; }
h2 span { color: #7fd3e6; }
h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin-bottom: 1rem; }
.section-head__sub { margin-top: 1rem; color: var(--ice-dim); font-size: 1.05rem; }
.muted { color: var(--ice-dim); }
p + p { margin-top: 1rem; }

/* ---------- Story ---------- */
.chapter { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(5rem, 9vw, 8rem); }
.chapter--flip .chapter__media { order: 2; }
.chapter__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(200, 227, 243, .08); background: var(--deep); }
.chapter__media > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.chapter__media.is-visible > img { transform: scale(1); }
.chapter__num { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: #7fd3e6; display: block; margin-bottom: .8rem; }
.chapter__text p { font-size: 1.08rem; }
.chapter:last-child { margin-bottom: 0; }
.fireflies { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Launch scene */
.launch { background: linear-gradient(to bottom, #050B24 0%, #0B2B48 70%, #0F6A80 100%); }
.launch__sky { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 60%, #cfeaf7, transparent), radial-gradient(1px 1px at 85% 55%, #fff, transparent), radial-gradient(1px 1px at 10% 75%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 40%, #fff, transparent); }
.launch__moon { position: absolute; top: 10%; right: 12%; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cfeaf7 60%, #9fc6dc); box-shadow: 0 0 50px 12px rgba(160, 225, 255, .4); }
.launch__ground { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: linear-gradient(to bottom, #0b2a2a, #061517); }
.launch__rocket { position: absolute; left: 50%; bottom: 14%; width: 50px; transform: translateX(-50%); z-index: 2; }
.launch__smoke { z-index: 3; }
.launch__rocket svg { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(160, 225, 255, .25)); }
.launch__flame { position: absolute; left: 50%; top: 86%; width: 26px; height: 0; transform: translateX(-50%); background: radial-gradient(ellipse at top, #fff 0%, #ffe28a 25%, #ff9a3c 55%, rgba(255, 80, 30, 0) 75%); border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; filter: blur(1px); }
.launch__smoke { position: absolute; left: 50%; bottom: 10%; width: 0; }
.launch__smoke i { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(220, 235, 245, .9), rgba(200, 227, 243, 0) 70%); opacity: 0; transform: translate(-50%, 0) scale(.2); }
.launch__count { position: absolute; left: 1rem; top: 1rem; font-family: var(--font-mono); font-size: .9rem; letter-spacing: .2em; padding: .3rem .7rem; border-radius: 8px; background: rgba(5, 11, 36, .6); border: 1px solid rgba(200, 227, 243, .2); }
.launch.is-launching .launch__flame { animation: flame .12s ease-in-out infinite alternate; height: 90px; }
.launch.is-launching .launch__rocket { animation: liftoff 4.5s cubic-bezier(.55, 0, .7, .4) .6s forwards, shake .08s linear infinite; }
.launch.is-launching .launch__smoke i { animation: smoke 2.6s ease-out infinite; }
.launch__smoke i:nth-child(1) { animation-delay: 0s !important; --x: -90px; }
.launch__smoke i:nth-child(2) { animation-delay: .3s !important; --x: 80px; }
.launch__smoke i:nth-child(3) { animation-delay: .6s !important; --x: -50px; }
.launch__smoke i:nth-child(4) { animation-delay: .9s !important; --x: 120px; }
.launch__smoke i:nth-child(5) { animation-delay: 1.2s !important; --x: -130px; }
.launch__smoke i:nth-child(6) { animation-delay: 1.5s !important; --x: 40px; }
@keyframes flame { from { transform: translateX(-50%) scaleY(.85); } to { transform: translateX(-50%) scaleY(1.15); } }
@keyframes liftoff { to { bottom: 140%; } }
@keyframes shake { 0% { margin-left: -1px; } 50% { margin-left: 1px; } 100% { margin-left: 0; } }
@keyframes smoke { 0% { opacity: .9; transform: translate(-50%, 0) scale(.3); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), -30px) scale(3); } }

/* Landing scene */
.landing { background: #050B24; }
.landing__sky { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 20%, rgba(15, 106, 128, .45), transparent 55%), radial-gradient(1px 1px at 15% 25%, #fff, transparent), radial-gradient(1px 1px at 45% 15%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 40%, #cfeaf7, transparent), radial-gradient(1px 1px at 30% 45%, #fff, transparent), #050B24; }
.landing__earth { position: absolute; top: 12%; right: 14%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9fe3ff, #2a7fc0 45%, #0b2b48 80%); box-shadow: 0 0 40px 10px rgba(80, 180, 255, .35), inset -18px -10px 30px rgba(0, 0, 0, .6); animation: earthGlow 5s ease-in-out infinite; }
@keyframes earthGlow { 50% { box-shadow: 0 0 60px 18px rgba(80, 180, 255, .5), inset -18px -10px 30px rgba(0, 0, 0, .6); } }
.landing__surface { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 65%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: radial-gradient(circle at 30% 30%, #b9c6d0 0 3%, transparent 3.5%), radial-gradient(circle at 70% 50%, #a7b4be 0 4%, transparent 4.5%), radial-gradient(circle at 50% 20%, #aebbc5 0 2%, transparent 2.5%), linear-gradient(to bottom, #d5e0e8, #8e9ea9); box-shadow: 0 -10px 60px rgba(200, 227, 243, .25); }
.landing__flag { position: absolute; left: 34%; bottom: 30%; height: 55%; transform-origin: bottom center; transform: translateY(120%); transition: transform 1.2s cubic-bezier(.3, 1.4, .5, 1) .3s; }
.landing.is-visible .landing__flag { transform: translateY(0); }
.landing__pole { position: absolute; left: 0; bottom: 0; width: 5px; height: 100%; background: linear-gradient(90deg, #fff, #9ab); border-radius: 3px; }
.landing__cloth { position: absolute; left: 5px; top: 0; width: 150px; height: 100px; background: #f2f7fa; border-radius: 2px 6px 6px 2px; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transform-origin: left center; animation: wave 3s ease-in-out infinite; }
.landing__cloth img { width: 74px; }
@keyframes wave { 50% { transform: skewY(-3deg) scaleX(.97); } }
.landing__prints { position: absolute; left: 44%; bottom: 8%; display: flex; gap: 22px; transform: rotate(-8deg); }
.landing__prints i { width: 12px; height: 20px; border-radius: 6px; background: rgba(80, 95, 110, .5); opacity: 0; }
.landing.is-visible .landing__prints i { animation: print .4s forwards; }
.landing__prints i:nth-child(odd) { margin-top: 10px; }
.landing__prints i:nth-child(1) { animation-delay: 1.2s; } .landing__prints i:nth-child(2) { animation-delay: 1.4s; } .landing__prints i:nth-child(3) { animation-delay: 1.6s; }
.landing__prints i:nth-child(4) { animation-delay: 1.8s; } .landing__prints i:nth-child(5) { animation-delay: 2s; } .landing__prints i:nth-child(6) { animation-delay: 2.2s; }
@keyframes print { to { opacity: 1; } }

/* ---------- Crew ---------- */
.crew__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; perspective: 1200px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: linear-gradient(160deg, rgba(15, 106, 128, .35), rgba(27, 24, 56, .8));
  border: 1px solid rgba(200, 227, 243, .12);
  transform-style: preserve-3d; transition: transform .15s ease-out, box-shadow .3s, border-color .3s;
  outline: none; color: var(--ice); font: inherit; text-align: left; padding: 0; display: block; width: 100%;
}
.card:hover, .card:focus-visible { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 40px -6px var(--glow); border-color: rgba(200, 227, 243, .4); }
.card__img { aspect-ratio: 1/1; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__img img { transform: scale(1.08); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 11, 36, .95) 0%, transparent 50%); }
.card__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 227, 243, .18), transparent 40%); opacity: 0; transition: opacity .3s; z-index: 2; }
.card:hover .card__shine { opacity: 1; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem 1.2rem; z-index: 1; transform: translateZ(30px); }
.card__role { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #7fd3e6; }
.card__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.card__quote { font-size: .88rem; color: var(--ice-dim); max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .4s; }
.card:hover .card__quote { max-height: 4em; margin-top: .3rem; }
.card__patch { position: absolute; top: .8rem; right: .8rem; width: 38px; z-index: 2; opacity: .9; transform: translateZ(40px) rotate(-8deg); }


/* ---------- Boarding pass ---------- */
.hero__ticket { display: inline-block; margin-top: 1.4rem; font-family: var(--font-mono); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #7fd3e6; border-bottom: 1px dashed rgba(127, 211, 230, .5); padding-bottom: 2px; transition: color .2s; }
.hero__ticket:hover { color: var(--ice); }
.pass__form { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.pass__form input { flex: 0 1 420px; min-width: 0; padding: .95rem 1.4rem; border-radius: 999px; border: 1px solid rgba(200, 227, 243, .3); background: rgba(11, 43, 72, .6); color: var(--ice); font: 500 1.05rem var(--font-body); outline: none; transition: border-color .2s, box-shadow .2s; }
.pass__form input:focus { border-color: var(--ice); box-shadow: 0 0 0 4px rgba(200, 227, 243, .12); }
.pass__form input::placeholder { color: rgba(200, 227, 243, .45); }
.pass__stage { perspective: 1400px; }
#passCanvas { width: 100%; height: auto; display: block; border-radius: 18px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(120, 220, 255, .15)); transform-origin: top center; }
#passCanvas.is-printing { animation: printTicket .9s cubic-bezier(.2, .9, .2, 1.05); }
@keyframes printTicket { 0% { transform: rotateX(-70deg) translateY(-40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.pass__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.pass__hint { text-align: center; margin-top: 1rem; font-size: .85rem; color: rgba(200, 227, 243, .5); }

/* ---------- Token ---------- */
.token { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.token__emblem img { width: 100%; max-width: 420px; margin: 0 auto; filter: drop-shadow(0 20px 60px rgba(120, 220, 255, .35)); animation: float 7s ease-in-out infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { padding: 1.2rem; border-radius: 16px; background: rgba(11, 43, 72, .55); border: 1px solid rgba(200, 227, 243, .1); transition: transform .3s, border-color .3s; }
.stat:hover { transform: translateY(-4px); border-color: rgba(200, 227, 243, .35); }
.stat__label { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #7fd3e6; }
.stat__value { font-family: var(--font-display); font-size: 1.35rem; }

/* ---------- Buy ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.5rem; border-radius: var(--radius); background: linear-gradient(170deg, rgba(27, 24, 56, .9), rgba(11, 43, 72, .6)); border: 1px solid rgba(200, 227, 243, .1); overflow: hidden; transition: transform .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(200, 227, 243, .35); }
.step__n { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: rgba(127, 211, 230, .35); margin-bottom: .8rem; }
.step h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.step p { color: var(--ice-dim); font-size: .95rem; }
.buy__cta { text-align: center; margin-top: 3rem; }

/* ---------- Memorial ---------- */
.memorial { display: grid; gap: 3rem; justify-items: center; text-align: center; }
.memorial__photo { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.memorial__photo img { width: 100%; filter: sepia(.18) saturate(.85) contrast(1.05) blur(0); transform: scale(1.04); transition: transform 2.5s ease; }
.memorial__photo.is-visible img { transform: scale(1); }
.memorial__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 160px 40px rgba(5, 11, 36, .9); backdrop-filter: blur(0); pointer-events: none; }
.memorial__grain { position: absolute; inset: -50%; pointer-events: none; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(3%, -4%); } 60% { transform: translate(-2%, 5%); } 80% { transform: translate(4%, 2%); } }
.plaque { max-width: 760px; padding: 2.6rem clamp(1.5rem, 4vw, 3.5rem); border-radius: 18px; background: linear-gradient(145deg, #c8d6df, #8fa3b1 45%, #d8e4eb 60%, #7f93a1); color: #0B1A2E; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -3px 0 rgba(0, 0, 0, .25), 0 30px 80px -20px rgba(0, 0, 0, .8); position: relative; }
.plaque::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(11, 26, 46, .25); border-radius: 12px; pointer-events: none; }
.plaque__emblem { width: 90px; margin: 0 auto 1rem; }
.plaque__lead { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.25; text-transform: uppercase; letter-spacing: .03em; }
.plaque__line { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; margin-top: 1rem; font-size: .95rem; }
.plaque__names { margin-top: 1.4rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; opacity: .8; }
.plaque__sign { margin-top: 1rem; font-style: italic; opacity: .8; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 4rem 1.5rem 3rem; border-top: 1px solid rgba(200, 227, 243, .08); background: linear-gradient(to bottom, transparent, rgba(27, 24, 56, .6)); }
.footer__logo { width: 180px; margin: 0 auto 1.5rem; opacity: .9; }
.footer__links { display: flex; justify-content: center; gap: 1.6rem; margin-bottom: 1.5rem; font-family: var(--font-display); }
.footer__links a { opacity: .75; transition: opacity .2s; } .footer__links a:hover { opacity: 1; }
.footer__disclaimer { max-width: 720px; margin: 0 auto; font-size: .78rem; color: rgba(200, 227, 243, .45); }
.footer__copy { margin-top: 1rem; font-size: .8rem; color: rgba(200, 227, 243, .55); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 7, 22, .75); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card { position: relative; width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1fr; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--deep), var(--plum)); border: 1px solid rgba(200, 227, 243, .18); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 60px -10px var(--glow); transform: translateY(30px) scale(.96); opacity: 0; transition: transform .4s cubic-bezier(.2, .9, .2, 1.1), opacity .3s; }
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 2.2rem; }
.modal__role { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #7fd3e6; }
.modal__body h3 { margin: .3rem 0 .8rem; font-size: 2.2rem; }
.modal__facts { margin-top: 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; font-size: .9rem; }
.modal__facts dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: #7fd3e6; padding-top: .15rem; }
.modal__close { position: absolute; top: .8rem; right: 1rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; background: rgba(5, 11, 36, .6); color: var(--ice); transition: transform .2s; }
.modal__close:hover { transform: rotate(90deg); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 2rem; z-index: 120; transform: translate(-50%, 150%); opacity: 0; padding: .8rem 1.4rem; border-radius: 999px; background: var(--ice); color: var(--bg); font-family: var(--font-display); box-shadow: 0 10px 40px rgba(120, 220, 255, .5); transition: transform .4s cubic-bezier(.2, .9, .2, 1.2); }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .crew__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .token { grid-template-columns: 1fr; text-align: center; }
  .section-head--left { text-align: center; }
  .token__emblem img { max-width: 260px; }
}
@media (max-width: 820px) {
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; font-family: var(--font-display); font-size: 1.6rem; background: rgba(5, 11, 36, .96); backdrop-filter: blur(10px); transform: translateY(-100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1); margin: 0; }
  .nav__links.is-open { transform: none; }
  .nav__links a { opacity: 1; }
  .nav__burger { display: block; position: relative; z-index: 60; margin-left: .5rem; }
  .nav > .btn--small { margin-left: auto; }
  .nav__burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .chapter { grid-template-columns: 1fr; }
  .chapter--flip .chapter__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modal__card { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .modal__img { aspect-ratio: 1/1; }
  .altitude { display: none; }
}
@media (max-width: 520px) {
  .crew__grid, .steps { grid-template-columns: 1fr; }
  .card__quote { max-height: 4em; margin-top: .3rem; }
  .landing__cloth { width: 110px; height: 72px; } .landing__cloth img { width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
