/* ============================================
   CASHBIRD — Ancient Treasury Aesthetic
   ============================================ */

:root {
  --black: #0b0906;
  --deep: #151008;
  --gold: #d5a52f;
  --gold-light: #f0c85b;
  --bronze: #8c641f;
  --sand: #d7bd83;
  --parchment: #eee0bd;
  --stone: #b9965c;
  --cream: #f7edcf;

  --font-display: "Segoe UI", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  --font-body: Georgia, "Times New Roman", Times, serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --nav-height: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-gold: 1px solid rgba(213, 165, 47, 0.45);

  --cursor-size: 6px;
  --cursor-ring-size: 32px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--parchment);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

body.no-custom-cursor {
  cursor: auto;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--cream);
}

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ============================================
   LOADER
   ============================================ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  position: relative;
}

.loader__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  animation: loaderPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(213, 165, 47, 0.5));
}

.loader__wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.loader__line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
  animation: loaderLine 1.2s ease forwards;
}

.loader__dust {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(240, 200, 91, 0.4), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(213, 165, 47, 0.3), transparent),
    radial-gradient(1px 1px at 50% 80%, rgba(240, 200, 91, 0.35), transparent);
  animation: dustFloat 3s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes loaderLine {
  0% { width: 0; }
  60% { width: 120px; }
  100% { width: 160px; }
}

/* ============================================
   CURSOR
   ============================================ */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background: var(--gold-light);
  box-shadow: 0 0 8px rgba(240, 200, 91, 0.6);
}

.cursor-ring {
  width: var(--cursor-ring-size);
  height: var(--cursor-ring-size);
  border: 1px solid rgba(213, 165, 47, 0.5);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cursor-ring.is-hover {
  width: 48px;
  height: 48px;
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(213, 165, 47, 0.35);
}

body.no-custom-cursor .cursor-dot,
body.no-custom-cursor .cursor-ring {
  display: none;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 9998;
  background: rgba(213, 165, 47, 0.1);
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--bronze), var(--gold-light));
  transition: width 0.05s linear;
}

/* ============================================
   ATMOSPHERE & GRAIN
   ============================================ */

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  animation: particleDrift linear infinite;
}

@keyframes particleDrift {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: var(--particle-opacity, 0.4); }
  90% { opacity: var(--particle-opacity, 0.4); }
  100% { opacity: 0; transform: translateY(-100vh) translateX(var(--particle-drift, 20px)); }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, -1%); }
  50% { transform: translate(1%, 2%); }
  75% { transform: translate(-1%, 1%); }
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.nav.is-scrolled {
  background: rgba(11, 9, 6, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(213, 165, 47, 0.15), 0 4px 24px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--cream);
}

.nav__brand:hover {
  color: var(--gold-light);
}

.nav__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: var(--border-gold);
  cursor: pointer;
  padding: 10px;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}

.nav.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
  display: flex;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--gold-light);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: none;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn--primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--bronze) 100%);
  color: var(--black);
  border-color: var(--bronze);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(213, 165, 47, 0.25);
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.5s ease;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 8px 24px rgba(213, 165, 47, 0.4);
  color: var(--black);
}

.btn--secondary {
  background: transparent;
  color: var(--parchment);
  border-color: rgba(213, 165, 47, 0.6);
}

.btn--secondary:hover {
  background: rgba(213, 165, 47, 0.12);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(11, 9, 6, 0.6);
  border: var(--border-gold);
  color: var(--gold-light);
  backdrop-filter: blur(4px);
}

.btn--icon:hover {
  background: rgba(213, 165, 47, 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.85rem;
}

body.no-custom-cursor .btn {
  cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__banner-wrap {
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero__banner-scale {
  width: 100%;
  height: 100%;
  animation: heroZoom 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__content {
  will-change: transform;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 9, 6, 0.55) 0%, rgba(11, 9, 6, 0.2) 40%, rgba(11, 9, 6, 0.85) 100%),
    linear-gradient(90deg, rgba(11, 9, 6, 0.7) 0%, transparent 50%, rgba(11, 9, 6, 0.5) 100%);
}

.hero__light-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(240, 200, 91, 0.06) 48%,
    rgba(240, 200, 91, 0.12) 50%,
    rgba(240, 200, 91, 0.06) 52%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: lightSweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lightSweep {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--nav-height) + var(--space-xl));
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-shadow:
    0 0 40px rgba(213, 165, 47, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: var(--space-md);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--parchment);
  margin-bottom: var(--space-lg);
  max-width: 28ch;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  background: linear-gradient(180deg, var(--deep), #1a1408);
  border-block: var(--border-gold);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__text {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  white-space: nowrap;
  padding-right: 3rem;
  text-shadow: 0 0 20px rgba(213, 165, 47, 0.3);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS — SHARED
   ============================================ */

.section {
  position: relative;
  z-index: 5;
  padding: var(--space-2xl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--cream);
  margin-block: var(--space-md);
}

.section__subtitle {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--sand);
  margin-top: var(--space-sm);
}

.divider {
  height: 1px;
  max-width: 200px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}

.divider--top::before,
.divider--bottom::after {
  content: "◆";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5rem;
  color: var(--gold);
}

.divider--top::before { left: -12px; }
.divider--bottom::after { right: -12px; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-28px);
}

.reveal--left.is-visible {
  transform: translateX(0);
}

.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; }

/* ============================================
   ABOUT
   ============================================ */

.about {
  background: linear-gradient(180deg, var(--black) 0%, var(--deep) 50%, var(--black) 100%);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__logo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.about__logo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: var(--border-gold);
  background:
    linear-gradient(135deg, rgba(213, 165, 47, 0.05) 0%, transparent 50%),
    rgba(21, 16, 8, 0.6);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

.about__logo {
  position: relative;
  z-index: 1;
  width: min(280px, 70%);
  object-fit: contain;
  animation: logoHover 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(213, 165, 47, 0.35));
}

@keyframes logoHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about__logo-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(213, 165, 47, 0.2), transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
}

.about__text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--sand);
  margin-bottom: var(--space-lg);
  max-width: 50ch;
}

.about__mission {
  border-left: 2px solid var(--bronze);
  padding-left: var(--space-md);
  margin-bottom: var(--space-lg);
}

.about__mission p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
  color: var(--parchment);
}

.about__mission-highlight {
  color: var(--gold-light) !important;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
  margin-top: var(--space-sm);
}

.about__closing {
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--cream);
}

/* ============================================
   LORE
   ============================================ */

.lore {
  background: var(--deep);
}

.lore__tablet {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-xl) var(--space-lg);
  background:
    linear-gradient(160deg, rgba(185, 150, 92, 0.08) 0%, rgba(21, 16, 8, 0.95) 40%),
    var(--deep);
  border: 2px solid rgba(213, 165, 47, 0.35);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.6),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.lore__torch {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  opacity: 0.15;
  animation: torchFlicker 4s ease-in-out infinite;
}

.lore__torch--left {
  left: 0;
  background: radial-gradient(ellipse at left center, rgba(240, 200, 91, 0.4), transparent 70%);
}

.lore__torch--right {
  right: 0;
  background: radial-gradient(ellipse at right center, rgba(240, 200, 91, 0.4), transparent 70%);
  animation-delay: 2s;
}

@keyframes torchFlicker {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.22; }
}

.lore__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.6;
}

.lore__corner--tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.lore__corner--tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.lore__corner--bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.lore__corner--br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.lore__lines {
  text-align: center;
}

.lore__line {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.06em;
  color: var(--sand);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lore__line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lore__line--emphasis {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.lore__finale {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-align: center;
  margin-top: var(--space-lg);
  text-shadow: 0 0 30px rgba(213, 165, 47, 0.4);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.lore__finale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   PROPHECY / X EMBED
   ============================================ */

.prophecy {
  background: linear-gradient(180deg, var(--deep), var(--black));
  border-top: var(--border-gold);
}

.prophecy__frame {
  max-width: 600px;
  margin-inline: auto;
  padding: var(--space-md);
  background:
    linear-gradient(160deg, rgba(185, 150, 92, 0.06), rgba(11, 9, 6, 0.9)),
    var(--deep);
  border: 2px solid rgba(213, 165, 47, 0.35);
  box-shadow:
    inset 0 0 50px rgba(0, 0, 0, 0.5),
    0 16px 48px rgba(0, 0, 0, 0.4);
  position: relative;
}

.prophecy__frame::before,
.prophecy__frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.5;
}

.prophecy__frame::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.prophecy__frame::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

.prophecy__embed {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prophecy__embed .twitter-tweet {
  margin: 0 auto !important;
}

/* ============================================
   FLIGHT PATH
   ============================================ */

.flight {
  background: linear-gradient(180deg, var(--black), var(--deep), var(--black));
  overflow: hidden;
}

.flight__visual {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: var(--space-lg) 0;
}

.flight__path-wrap {
  position: relative;
}

.flight__svg {
  width: 100%;
  height: auto;
  display: block;
}

.flight__path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2s ease;
}

.flight__visual.is-animated .flight__path {
  stroke-dashoffset: 0;
}

.flight__path-progress {
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(240, 200, 91, 0.8));
}

.flight__visual.is-animated .flight__path-progress {
  opacity: 1;
}

.flight__bird {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(213, 165, 47, 0.6));
  z-index: 2;
  left: 0;
  top: 0;
}

.flight__bird img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flight__visual.is-animated .flight__bird {
  opacity: 1;
}

.flight__stages {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-inline: var(--space-sm);
}

.flight__stage {
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.flight__stage.is-active {
  opacity: 1;
  transform: scale(1.05);
}

.flight__stage-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--bronze);
  margin-bottom: 0.25rem;
}

.flight__stage-label {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-light);
}

.flight__destination {
  text-align: center;
  margin-top: var(--space-xl);
}

.flight__dest-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--sand);
  margin-bottom: var(--space-xs);
}

.flight__dest-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(213, 165, 47, 0.4);
}

/* ============================================
   BUY / CARDS
   ============================================ */

.buy {
  background: var(--deep);
}

.buy__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.card {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background:
    linear-gradient(145deg, rgba(185, 150, 92, 0.06), rgba(11, 9, 6, 0.8)),
    var(--black);
  border: var(--border-gold);
  box-shadow: inset 0 1px 0 rgba(213, 165, 47, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.5;
}

.card::before {
  top: 6px;
  left: 6px;
  border-width: 1px 0 0 1px;
}

.card::after {
  bottom: 6px;
  right: 6px;
  border-width: 0 1px 1px 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(213, 165, 47, 0.2), 0 16px 48px rgba(0, 0, 0, 0.5);
}

.card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(213, 165, 47, 0.25);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: 0.95rem;
  color: var(--sand);
  line-height: 1.6;
}

.buy__cta {
  text-align: center;
}

/* ============================================
   STATEMENT
   ============================================ */

.statement {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
  z-index: 5;
}

.statement__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: var(--space-2xl) 0;
}

.statement__line {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.1;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.statement__line--before {
  font-size: clamp(2rem, 7vw, 5rem);
  color: rgba(238, 224, 189, 0.35);
  margin-bottom: var(--space-md);
}

.statement__line--after {
  font-size: clamp(2.5rem, 9vw, 6.5rem);
  color: var(--gold);
  text-shadow: 0 0 60px rgba(213, 165, 47, 0.35);
  opacity: 0;
  transform: translateY(30px);
}

.statement.is-revealed .statement__line--before {
  color: rgba(238, 224, 189, 0.2);
  transform: scale(0.95);
}

.statement.is-revealed .statement__line--after {
  opacity: 1;
  transform: translateY(0);
}

.statement__bird {
  position: absolute;
  top: 50%;
  left: -120px;
  transform: translateY(-50%);
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(213, 165, 47, 0.5));
  z-index: 3;
}

.statement.is-revealed .statement__bird {
  animation: birdFlyAcross 3s ease-in-out forwards;
}

@keyframes birdFlyAcross {
  0% { left: -120px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% + 120px); opacity: 0; }
}

.statement__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ============================================
   COMMUNITY
   ============================================ */

.community {
  background: linear-gradient(180deg, var(--black), var(--deep));
  border-top: var(--border-gold);
}

.community__content {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.community__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.08em;
  color: var(--parchment);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

.community__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ============================================
   FINALE
   ============================================ */

.finale {
  background:
    radial-gradient(ellipse at center, rgba(213, 165, 47, 0.08) 0%, transparent 60%),
    var(--black);
  text-align: center;
  padding: var(--space-2xl) 0;
}

.finale__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.finale__logo-wrap {
  position: relative;
  margin-bottom: var(--space-lg);
}

.finale__logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: logoHover 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(213, 165, 47, 0.4));
}

.finale__logo-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(213, 165, 47, 0.3);
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}

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

.finale__pre {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.35em;
  color: var(--sand);
  margin-bottom: var(--space-sm);
}

.finale__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-shadow: 0 0 50px rgba(213, 165, 47, 0.4);
  margin-bottom: var(--space-sm);
  background: linear-gradient(180deg, var(--cream), var(--gold), var(--bronze));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.finale__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--parchment);
  margin-bottom: var(--space-lg);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  z-index: 5;
  background: var(--deep);
  border-top: var(--border-gold);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--cream);
}

.footer__tagline {
  text-align: center;
  font-style: italic;
  color: var(--sand);
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

.footer__links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(213, 165, 47, 0.1);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.25rem;
}

.footer__disclaimer {
  font-size: 0.65rem !important;
  opacity: 0.6;
}

.footer__copy {
  margin-top: var(--space-xs);
  font-size: 0.7rem !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__text,
  .about__mission {
    margin-inline: auto;
  }

  .about__mission {
    border-left: none;
    border-top: 2px solid var(--bronze);
    padding-left: 0;
    padding-top: var(--space-md);
  }

  .buy__steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    background: rgba(11, 9, 6, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav.is-open .nav__menu {
    transform: translateX(0);
  }

  .nav__links {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .nav__link {
    font-size: 1rem;
  }

  .hero__banner {
    object-position: center 25%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero__actions .btn--icon {
    width: 100%;
  }

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

  .footer__brand {
    justify-content: center;
  }

  .footer__links {
    justify-content: center;
  }

  .community__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .flight__stages {
    gap: var(--space-xs);
  }

  .flight__stage-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .lore__tablet {
    padding: var(--space-lg) var(--space-md);
  }

  .hero__scroll-hint {
    display: none;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .lore__line,
  .lore__finale {
    opacity: 1;
    transform: none;
  }

  .loader {
    display: none;
  }

  .hero__banner-scale {
    animation: none;
  }

  .marquee__track {
    animation: none;
  }
}
