/* ==========================================================================
   Trilly The Cat ($TRILLY)
   Luxury black × gold × cream
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #090909;
  --surface: #0d0d0d;
  --surface-2: #14110d;
  --text: #f8f5ef;
  --muted: #9c978d;
  --gold: #e5bd68;
  --gold-deep: #c4923a;
  --gold-soft: #d4a574;
  --cream: #f3ddba;
  --fur: #c17a3a;
  --line: rgba(248, 245, 239, 0.08);
  --glass: rgba(13, 13, 13, 0.55);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --font: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% 10%, rgba(193, 122, 58, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 80%, rgba(229, 189, 104, 0.05), transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  cursor: auto;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Custom cursor
   -------------------------------------------------------------------------- */

.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: difference;
}

body.has-cursor .cursor {
  display: block;
}

.cursor-dot,
.cursor-ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cream);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 221, 186, 0.7);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s;
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  background: rgba(229, 189, 104, 0.12);
}

/* --------------------------------------------------------------------------
   Scroll progress
   -------------------------------------------------------------------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--fur), var(--gold), var(--cream));
  transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, box-shadow 0.35s;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(180deg, #f7e7c8 0%, var(--gold) 48%, var(--gold-deep) 100%);
  color: #111;
  box-shadow: 0 10px 30px rgba(196, 146, 58, 0.22);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.38) 48%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transform: translateX(130%);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(196, 146, 58, 0.32);
}

.btn-secondary {
  background: rgba(248, 245, 239, 0.03);
  border: 1px solid rgba(248, 245, 239, 0.18);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(248, 245, 239, 0.08);
  border-color: rgba(229, 189, 104, 0.5);
  transform: translateY(-2px);
}

.btn-icon {
  width: 48px;
  padding: 0;
  border: 1px solid rgba(248, 245, 239, 0.16);
  background: rgba(248, 245, 239, 0.03);
  backdrop-filter: blur(10px);
}

.btn-icon:hover,
.btn-icon:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-icon-lg {
  width: 52px;
  min-height: 52px;
}

.btn-xl {
  min-height: 60px;
  padding: 0 32px;
  font-size: 0.9rem;
}

.btn-arrow {
  transition: transform 0.35s var(--ease);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 800;
}

.gold-text {
  color: var(--gold);
}

.section-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
}

.section-sub {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 36ch;
}

h1,
h2,
.finale-mark,
.finale-pause,
.value-1t,
.character-line,
.about-title,
.hero-title {
  overflow-wrap: anywhere;
}

#home,
#about,
#moment,
#vision,
#gallery,
#buy,
#contract {
  scroll-margin-top: 96px;
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 24px));
  z-index: 60;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(248, 245, 239, 0.08);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled .nav {
  background: rgba(8, 8, 8, 0.82);
  border-color: rgba(229, 189, 104, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  z-index: 2;
}

.nav-brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 1px solid rgba(229, 189, 104, 0.28);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(248, 245, 239, 0.1);
  position: relative;
  z-index: 3;
}

.nav-burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s;
}

.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger span:nth-child(3) { top: 28px; }

.nav-toggle:checked + .nav-burger span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle:checked + .nav-burger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-burger span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 24px 80px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(229, 189, 104, 0.07), transparent 42%, rgba(193, 122, 58, 0.06));
  background-size: 180% 180%;
  animation: gradientShift 18s ease-in-out infinite;
}

.hero-canvas,
.hero-grid,
.hero-chart,
.hero-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 45%, black 20%, transparent 72%);
  opacity: 0.55;
}

.hero-chart {
  width: 100%;
  height: 55%;
  top: auto;
  opacity: 0.28;
}

.hero-chart-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
}

.hero-chart-ghost {
  fill: none;
  stroke: rgba(243, 221, 186, 0.28);
  stroke-width: 1.2;
}

.hero-watermark {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4vw;
  font-weight: 900;
  font-size: clamp(10rem, 28vw, 26rem);
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 189, 104, 0.09);
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 24px;
}

.hero-title {
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.86;
  font-size: clamp(3.4rem, 8.4vw, 8.6rem);
}

.hero-title span {
  display: block;
}

.hero-lede {
  margin: 0 0 28px;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-ticker {
  margin: 0 0 28px;
}

.hero-ticker span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(229, 189, 104, 0.35);
  border-radius: 999px;
  color: var(--cream);
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.78rem;
  background: rgba(229, 189, 104, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stage {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-orb,
.hero-orb-soft {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero-orb {
  width: min(560px, 80%);
  height: min(560px, 80%);
  background: radial-gradient(circle, rgba(229, 189, 104, 0.42) 0%, rgba(193, 122, 58, 0.16) 42%, transparent 72%);
  animation: orbPulse 7s ease-in-out infinite;
}

.hero-orb-soft {
  width: min(420px, 70%);
  height: min(280px, 40%);
  bottom: 4%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.7), transparent 70%);
  filter: blur(18px);
  animation: shadowDrift 8s ease-in-out infinite;
}

.hero-cat {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  animation: floatCat 6.5s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  transform-origin: 50% 70%;
}

.hero-dollars {
  position: absolute;
  inset: 8% 10% 18%;
  z-index: 3;
  pointer-events: none;
}

.hero-dollars span {
  position: absolute;
  color: var(--gold);
  font-weight: 900;
  opacity: 0.28;
  animation: dollarFloat 9s ease-in-out infinite;
}

.hero-dollars span:nth-child(1) { top: 8%; left: 6%; font-size: 1.4rem; animation-delay: 0s; }
.hero-dollars span:nth-child(2) { top: 22%; right: 8%; font-size: 1rem; animation-delay: 1.4s; }
.hero-dollars span:nth-child(3) { bottom: 28%; left: 2%; font-size: 1.8rem; animation-delay: 2.2s; }
.hero-dollars span:nth-child(4) { top: 48%; right: 0; font-size: 0.9rem; animation-delay: 3.1s; }
.hero-dollars span:nth-child(5) { bottom: 10%; right: 18%; font-size: 1.2rem; animation-delay: 4s; }

.trillion-mode {
  position: absolute;
  right: 8%;
  top: 14%;
  z-index: 4;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  color: var(--cream);
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
}

.hero-stage.is-hot .trillion-mode {
  opacity: 1;
  transform: translateY(0);
}

.scroll-hint {
  position: absolute;
  left: 24px;
  bottom: 28px;
  z-index: 3;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 800;
}

.scroll-hint span {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line);
  background: #080808;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 16px 0;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  padding: 120px 24px 80px;
  overflow-x: clip;
}

.about-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-copy {
  max-width: 100%;
}

.about-title {
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.88;
  font-size: clamp(2.8rem, 8vw, 7.2rem);
}

.about-title span {
  display: block;
}

.about-lede {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
  font-size: 1.08rem;
}

.about-stage {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: end;
}

.value-stack {
  position: relative;
  min-height: 280px;
}

.value-old {
  position: relative;
  display: inline-block;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(248, 245, 239, 0.18);
  letter-spacing: -0.06em;
}

.value-old i {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 48%;
  height: 4px;
  background: #c45b4a;
  transform: rotate(-12deg);
  box-shadow: 0 0 18px rgba(196, 91, 74, 0.4);
}

.value-new {
  margin-top: -18px;
}

.value-1t {
  font-weight: 900;
  font-size: clamp(6rem, 16vw, 12rem);
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(229, 189, 104, 0.35);
  padding: 0;
}

.about-frame {
  margin: 0;
  position: relative;
}

.about-frame img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(229, 189, 104, 0.18);
  box-shadow: var(--shadow);
  filter: saturate(1.05);
}

.about-frame figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   The Moment — embeds
   -------------------------------------------------------------------------- */

.moment {
  position: relative;
  z-index: 1;
  padding: 40px 24px 120px;
  overflow-x: clip;
}

.moment-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.moment-title {
  margin: 0 0 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
}

.moment-title span {
  display: block;
}

.moment-lede {
  margin: 0 0 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.moment-quote {
  margin: 0 0 48px;
  max-width: 46ch;
  padding: 22px 24px;
  border-left: 2px solid var(--gold);
  background: rgba(229, 189, 104, 0.05);
  border-radius: 0 14px 14px 0;
}

.moment-quote p {
  margin: 0;
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.6;
}

.moment-media {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.moment-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(229, 189, 104, 0.18);
  background: #000;
  box-shadow: var(--shadow);
}

.moment-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.moment-tweet {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-width: 0;
  max-width: 100%;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(229, 189, 104, 0.14);
  background:
    linear-gradient(180deg, rgba(229, 189, 104, 0.05), rgba(13, 13, 13, 0.4)),
    rgba(13, 13, 13, 0.7);
  overflow: hidden;
}

.moment-tweet .twitter-tweet {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  color: var(--text);
}

.moment-tweet iframe,
.moment-tweet twitter-widget {
  max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   Vision
   -------------------------------------------------------------------------- */

.vision {
  position: relative;
  z-index: 2;
  height: 240vh;
  background: var(--bg);
}

.vision-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 24px 32px;
  overflow-x: clip;
  overflow-y: hidden;
  background:
    radial-gradient(700px 400px at 50% 45%, rgba(229, 189, 104, 0.1), transparent 60%),
    var(--bg);
}

.vision-label,
.vision-note {
  text-align: center;
}

.vision-note {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.vision-layout {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 20px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.vision-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vision-rail li {
  color: rgba(248, 245, 239, 0.28);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.3s, transform 0.3s;
}

.vision-rail li.is-active {
  color: var(--gold);
  transform: translateX(6px);
}

.vision-main {
  text-align: center;
}

.vision-number {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  font-size: clamp(4.4rem, 16vw, 12rem);
  color: var(--text);
  text-shadow: 0 0 0 transparent;
  transition: transform 0.45s var(--ease), color 0.45s, text-shadow 0.45s;
  will-change: transform;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.vision-number.is-final {
  color: var(--gold);
  text-shadow: 0 0 80px rgba(229, 189, 104, 0.35);
}

.vision-copy {
  margin-top: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}

.vision-copy.is-on {
  opacity: 1;
  transform: none;
}

.vision-copy p {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

/* --------------------------------------------------------------------------
   Character
   -------------------------------------------------------------------------- */

.character {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 24px;
  overflow: hidden;
  overflow-x: clip;
}

.character-bg {
  position: absolute;
  inset: 10% 20%;
  background: radial-gradient(circle, rgba(229, 189, 104, 0.16), transparent 68%);
  filter: blur(20px);
}

.character-title {
  position: relative;
  z-index: 3;
  width: min(1100px, 100%);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 62vh;
  pointer-events: none;
}

.character-line {
  display: block;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-size: clamp(2.1rem, 8.4vw, 8rem);
}

.character-line-left { align-self: flex-start; }
.character-line-right {
  align-self: flex-end;
  color: var(--gold);
  text-align: right;
}

.character-figure {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-figure img {
  width: min(560px, 72vw);
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.6));
}

.character-symbols span {
  position: absolute;
  z-index: 2;
  color: var(--gold);
  font-weight: 900;
  opacity: 0.22;
  animation: dollarFloat 10s ease-in-out infinite;
}

.character-symbols span:nth-child(1) { top: 18%; left: 16%; font-size: 2rem; }
.character-symbols span:nth-child(2) { top: 22%; right: 18%; font-size: 1.2rem; animation-delay: 1s; }
.character-symbols span:nth-child(3) { bottom: 24%; left: 22%; font-size: 1.6rem; animation-delay: 2s; }
.character-symbols span:nth-child(4) { bottom: 20%; right: 20%; font-size: 2.2rem; animation-delay: 3s; }
.character-symbols span:nth-child(5) { top: 46%; left: 10%; font-size: 1rem; animation-delay: 4s; }
.character-symbols span:nth-child(6) { top: 50%; right: 12%; font-size: 1.4rem; animation-delay: 5s; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery {
  padding: 80px 24px 100px;
  overflow-x: clip;
}

.gallery-head {
  width: min(1180px, 100%);
  margin: 0 auto 48px;
}

.gallery-masonry {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.gallery-card-wide { grid-column: 1 / -1; }
.gallery-card-origin { grid-column: 1; }
.gallery-card-tall { grid-column: 2; }
.gallery-card-logo { grid-column: 3; }

.gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(248, 245, 239, 0.08);
  background: #111;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-card-tall .gallery-trigger,
.gallery-card-logo .gallery-trigger,
.gallery-card-origin .gallery-trigger {
  min-height: 360px;
}

.gallery-card-wide .gallery-trigger {
  min-height: 280px;
}

.gallery-card-tall img,
.gallery-card-logo img {
  object-position: center 18%;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.72));
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-overlay span {
  color: var(--cream);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
  box-shadow: 0 0 0 1px rgba(229, 189, 104, 0.28), 0 24px 50px rgba(0, 0, 0, 0.4);
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.06);
}

.gallery-trigger:hover .gallery-overlay,
.gallery-trigger:focus-visible .gallery-overlay {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Contract
   -------------------------------------------------------------------------- */

.contract {
  padding: 40px 24px 80px;
}

.contract-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 48px 36px;
  border-radius: 24px;
  border: 1px solid rgba(229, 189, 104, 0.18);
  background:
    linear-gradient(180deg, rgba(229, 189, 104, 0.06), rgba(13, 13, 13, 0.4)),
    rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.contract-chain {
  margin: 12px 0 28px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contract-address {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   How to buy
   -------------------------------------------------------------------------- */

.howto {
  padding: 40px 24px 100px;
}

.howto-head,
.howto-cta {
  width: min(1100px, 100%);
  margin: 0 auto 40px;
}

.howto-steps {
  width: min(1100px, 100%);
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.howto-step {
  padding: 32px 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(13, 13, 13, 0.7);
  min-height: 240px;
}

.howto-num {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.howto-step h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.howto-step p {
  margin: 0;
  color: var(--muted);
}

.howto-step code {
  display: inline-block;
  margin-top: 12px;
  color: var(--cream);
}

.howto-cta {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Finale
   -------------------------------------------------------------------------- */

.finale {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  overflow: hidden;
  text-align: center;
}

.finale-watermark {
  position: absolute;
  inset: 0;
  font-weight: 900;
  font-size: clamp(12rem, 38vw, 32rem);
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 189, 104, 0.1);
  line-height: 0.8;
}

.finale-inner {
  position: relative;
  z-index: 2;
}

.finale-ask,
.finale-pause,
.finale-mark {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.finale-ask {
  color: var(--muted);
  font-size: clamp(1.6rem, 5vw, 3.4rem);
}

.finale-pause {
  margin-top: 18px;
  font-size: clamp(2.4rem, 8vw, 6rem);
}

.finale-mark {
  margin-top: 18px;
  color: var(--gold);
  font-size: clamp(4rem, 16vw, 12rem);
  text-shadow: 0 0 60px rgba(229, 189, 104, 0.25);
}

.finale-support {
  margin: 22px 0 36px;
  color: var(--muted);
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 48px 24px 36px;
  border-top: 1px solid var(--line);
  background: #070707;
}

.footer-top {
  width: min(1100px, 100%);
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 1px solid rgba(229, 189, 104, 0.25);
}

.footer-name {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.footer-ticker {
  margin: 4px 0 0;
  color: var(--gold);
  font-weight: 800;
}

.footer-nav {
  display: flex;
  gap: 22px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-line,
.footer-disclaimer {
  width: min(1100px, 100%);
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-disclaimer {
  margin-top: 8px;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 72px 72px 48px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(1000px, 100%);
}

.lightbox-figure img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}

.lightbox.is-open .lightbox-figure img {
  transform: none;
  opacity: 1;
}

.lightbox-figure figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(248, 245, 239, 0.16);
  background: rgba(13, 13, 13, 0.7);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Dollar burst
   -------------------------------------------------------------------------- */

.dollar-burst {
  position: fixed;
  z-index: 75;
  pointer-events: none;
  color: var(--gold);
  font-weight: 900;
  animation: burst 900ms var(--ease) forwards;
}

/* --------------------------------------------------------------------------
   Reveals
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes floatCat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg) scale(1); }
  50% { transform: translateY(-14px) rotate(0.7deg) scale(1.015); }
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes shadowDrift {
  0%, 100% { transform: translateX(-8px) scaleX(1); }
  50% { transform: translateX(10px) scaleX(1.08); }
}

@keyframes dollarFloat {
  0%, 100% { transform: translateY(0); opacity: 0.18; }
  50% { transform: translateY(-16px); opacity: 0.42; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.45); opacity: 0.4; }
}

@keyframes burst {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) and (min-width: 981px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.7rem;
  }
}

@media (max-width: 980px) {
  .nav-burger { display: block; }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 22px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(229, 189, 104, 0.14);
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(20px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }

  .nav-toggle:checked ~ .nav-panel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lede,
  .about-lede,
  .about-copy,
  .moment-lede,
  .moment-quote {
    margin-left: auto;
    margin-right: auto;
    max-width: 38ch;
  }

  .moment-title,
  .moment-copy {
    text-align: center;
  }

  .moment-quote {
    text-align: left;
  }

  .hero-actions,
  .hero-ticker {
    justify-content: center;
  }

  .hero-stage {
    min-height: 46vh;
    order: -1;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5.4rem);
  }

  .about-stage,
  .howto-steps,
  .gallery-masonry,
  .vision-layout,
  .moment-media {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide,
  .gallery-card-origin,
  .gallery-card-tall,
  .gallery-card-logo {
    grid-column: auto;
  }

  .vision {
    height: 200vh;
  }

  .vision-sticky {
    padding-top: 80px;
  }

  .vision-rail {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .character-title {
    min-height: 70vh;
  }

  .lightbox {
    padding: 80px 16px 24px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--header-h) + 18px);
  }

  .about,
  .moment,
  .gallery,
  .howto,
  .character {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contract-panel {
    padding: 32px 16px;
  }

  .contract-address {
    width: 100%;
    justify-content: center;
    word-break: break-all;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-card-wide .gallery-trigger,
  .gallery-card-tall .gallery-trigger,
  .gallery-card-logo .gallery-trigger,
  .gallery-card-origin .gallery-trigger {
    min-height: 240px;
  }

  .scroll-hint { display: none; }
}

@media (max-height: 720px) {
  .vision-sticky {
    padding-top: 72px;
  }

  .vision-number {
    font-size: clamp(4rem, 18vh, 10rem);
  }

  .hero {
    padding-bottom: 48px;
  }
}

@media (min-width: 1600px) {
  .hero-inner,
  .about-wrap,
  .gallery-masonry,
  .howto-steps {
    width: min(1320px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-cat,
  .hero-orb,
  .hero-orb-soft {
    animation: none;
  }
}
