/* =========================================
   I Am Alive — $IAMALIVE
   cinematic light theme
   ========================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

button,
a {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

/* ---------- variables ---------- */
:root {
  --bg: #fbf6ec;
  --bg-warm: #f4ead6;
  --ivory: #fffaf1;
  --cream: #fff7e6;
  --surface: rgba(255, 250, 241, 0.7);
  --text: #1c2740;
  --text-soft: #3d465c;
  --muted: #667085;
  --gold: #c48412;
  --gold-bright: #e8b03a;
  --gold-soft: #f6d58a;
  --amber: #e59a3c;
  --sunset: #e07040;
  --blue: #2f7ec4;
  --sky: #b7d7f2;
  --sky-soft: #dceefb;
  --midnight: #152038;
  --heart: #e25b6a;
  --green: #7d9b5a;
  --glass: rgba(255, 250, 241, 0.58);
  --glass-strong: rgba(255, 250, 241, 0.86);
  --glass-border: rgba(255, 255, 255, 0.72);
  --line: rgba(28, 39, 64, 0.1);
  --shadow: 0 24px 60px rgba(80, 50, 20, 0.12);
  --shadow-glow: 0 0 48px rgba(232, 176, 58, 0.38);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --nav-h: 80px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Segoe Script", "Lucida Handwriting", "Apple Chancery", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- typography ---------- */
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

main {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3 {
  color: var(--midnight);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.section-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- skip / a11y ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--midnight);
  color: var(--ivory);
  padding: 0.7rem 1rem;
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- ambient ---------- */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(245, 196, 92, 0.35), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(173, 214, 245, 0.28), transparent 55%),
    radial-gradient(600px 400px at 50% 110%, rgba(224, 112, 64, 0.12), transparent 50%);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

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

.particle {
  position: absolute;
  bottom: -8%;
  left: 0;
  opacity: 0;
  animation: rise var(--dur, 12s) linear forwards;
  will-change: transform, opacity;
}

.particle--spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d5, var(--gold-bright) 60%, transparent 70%);
  box-shadow: 0 0 10px var(--gold-soft);
}

.particle--heart {
  color: var(--heart);
  font-size: 11px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(226, 91, 106, 0.4));
}

.particle--petal {
  width: 11px;
  height: 15px;
  border-radius: 80% 0 80% 0;
  background: linear-gradient(135deg, #fff, #f7d5c8);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  transform: rotate(25deg);
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
  }
  12% {
    opacity: var(--op, 0.7);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 40px), -110vh, 0) rotate(var(--spin, 80deg)) scale(1);
  }
}

/* ---------- navigation ---------- */
.site-header {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 1.4rem), 1120px);
  z-index: 50;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 30px rgba(80, 50, 20, 0.06);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 241, 0.88);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 36px rgba(80, 50, 20, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 0.75rem;
  min-height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 42%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 6px 16px rgba(196, 132, 18, 0.25);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-name {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.nav-ticker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--midnight);
  background: rgba(255, 255, 255, 0.55);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-mobile-buy {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  color: var(--midnight);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transition: transform 0.28s var(--ease), opacity 0.2s ease;
}

.nav-toggle-bars {
  transform: translate(-50%, -50%);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
}

.nav-toggle-bars::before {
  transform: translate(-50%, -6px);
}

.nav-toggle-bars::after {
  transform: translate(-50%, 6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translate(-50%, 0) rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  opacity: 0;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 32, 56, 0.28);
  z-index: 40;
  backdrop-filter: blur(6px);
}

/* ---------- buttons ---------- */
.btn {
  --btn-shift: 0px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transform: translateY(var(--btn-shift));
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  color: var(--midnight);
  background: linear-gradient(180deg, #f6d06a 0%, #e0a326 55%, #c48412 100%);
  box-shadow: 0 10px 24px rgba(196, 132, 18, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-primary:hover {
  --btn-shift: -3px;
  box-shadow: 0 16px 34px rgba(196, 132, 18, 0.45), 0 0 28px rgba(232, 176, 58, 0.45);
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn-shine:hover::after,
.btn-shine:focus-visible::after {
  animation: shine 0.75s var(--ease);
}

@keyframes shine {
  to {
    transform: translateX(120%);
  }
}

.btn-secondary {
  color: var(--midnight);
  background: rgba(255, 250, 241, 0.35);
  border-color: rgba(28, 39, 64, 0.16);
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.btn-secondary:hover {
  --btn-shift: -2px;
  border-color: rgba(196, 132, 18, 0.45);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

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

.btn-x {
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(28, 39, 64, 0.12);
  color: var(--midnight);
  letter-spacing: 0;
}

.btn-x:hover {
  background: var(--midnight);
  color: var(--ivory);
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.02rem;
}

.btn-copy,
.btn[data-copy] {
  font-weight: 800;
}

.btn.is-copied,
.btn-copy.is-copied {
  background: #2f8a4e;
  color: #fff;
  border-color: transparent;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2.2rem) 0 4.5rem;
  overflow: hidden;
}

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

.hero-sky {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse at 70% 18%, #ffd789 0%, transparent 42%),
    radial-gradient(ellipse at 30% 0%, #f7c36a 0%, transparent 35%),
    linear-gradient(180deg, #f4c56a 0%, #f7e4b5 28%, #fbf6ec 62%, #fbf6ec 100%);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 48%, transparent 82%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.55) 48%, transparent 82%);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 246, 236, 0.9) 0%, rgba(251, 246, 236, 0.5) 38%, rgba(251, 246, 236, 0.04) 68%, rgba(251, 246, 236, 0.18) 100%),
    linear-gradient(180deg, transparent 68%, var(--bg) 100%);
}

.hero-rays {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: repeating-conic-gradient(from 210deg at 72% 18%, rgba(255, 236, 180, 0.16) 0deg 4deg, transparent 4deg 12deg);
  opacity: 0.55;
  animation: ray-shift 18s linear infinite;
  pointer-events: none;
}

@keyframes ray-shift {
  from { transform: rotate(0deg) scale(1.05); }
  to { transform: rotate(8deg) scale(1.08); }
}

.hero-daisies {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background:
    radial-gradient(circle at 12% 80%, rgba(255, 255, 255, 0.85) 0 8px, transparent 9px),
    radial-gradient(circle at 18% 92%, rgba(255, 255, 255, 0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 78% 86%, rgba(255, 255, 255, 0.75) 0 7px, transparent 8px),
    linear-gradient(180deg, transparent, rgba(180, 196, 120, 0.18));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 1.1rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(232, 176, 58, 0.7);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  70% { box-shadow: 0 0 0 8px rgba(232, 176, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 176, 58, 0); }
}

.hero-title {
  font-size: clamp(3.1rem, 8.4vw, 7.2rem);
  font-weight: 800;
  margin-bottom: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.22em 0.28em;
}

.title-word {
  display: inline-flex;
}

.title-word .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: letter-in 0.8s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.055s + 0.15s);
}

.title-alive {
  background: linear-gradient(180deg, #f0c14d 0%, #c48412 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes letter-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 0.55rem;
}

.hero-support {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.hero-lead {
  max-width: 34ch;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.45rem 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(80, 50, 20, 0.08);
  max-width: 100%;
}

.ca-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.ca-address {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--midnight);
}

.btn-copy {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: var(--midnight);
  color: var(--ivory);
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-copy:hover {
  transform: translateY(-1px);
  background: #243455;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.hero-orb {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 120, 0.7) 0%, rgba(173, 214, 245, 0.2) 42%, transparent 70%);
  filter: blur(8px);
  animation: orb-breathe 6s ease-in-out infinite;
}

.hero-heart-glow {
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  top: 42%;
  left: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 170, 0.95) 0%, rgba(232, 176, 58, 0.35) 45%, transparent 70%);
  filter: blur(6px);
  animation: heart-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.hero-character {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  animation: float-breathe 5.5s ease-in-out infinite;
  mix-blend-mode: screen;
  filter: drop-shadow(0 18px 28px rgba(80, 50, 20, 0.12));
}

.hero-caption {
  position: absolute;
  right: 6%;
  bottom: 8%;
  color: var(--gold);
  font-size: 1.05rem;
  transform: rotate(-8deg);
  text-shadow: 0 2px 10px rgba(251, 246, 236, 0.8);
}

@keyframes float-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.015); }
}

@keyframes orb-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes heart-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.scroll-hint-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drip 1.8s ease-in-out infinite;
}

@keyframes drip {
  0% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.3; }
}

/* ---------- story ---------- */
.story {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0 5rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.story-poem {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 1.4rem 0 1.3rem;
  color: var(--midnight);
}

.story-poem p + p {
  margin-top: 0.15rem;
}

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

.poem-end {
  margin-top: 0.85rem !important;
  font-size: 1.55rem;
  color: var(--heart);
}

.story-body {
  max-width: 42ch;
  color: var(--text-soft);
}

.heartbeat {
  margin-top: 1.6rem;
  color: var(--heart);
  max-width: 280px;
}

.heartbeat-path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}

.story.is-inview .heartbeat-path,
.heartbeat.is-visible .heartbeat-path {
  animation: draw-line 1.6s var(--ease) forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

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

.story-image {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 1 / 1.05;
  box-shadow: var(--shadow), 0 0 0 8px rgba(255, 255, 255, 0.55);
}

.story-sign {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(245, 236, 214, 0.92);
  border: 1px solid rgba(120, 90, 40, 0.18);
  color: var(--midnight);
  font-family: var(--font-script);
  font-size: 1.05rem;
  line-height: 1.35;
  padding: 0.85rem 1.05rem;
  border-radius: 6px 14px 8px 12px;
  box-shadow: 0 12px 24px rgba(80, 50, 20, 0.12);
  transform: rotate(-3deg);
}

/* ---------- intismeran ---------- */
.intismeran {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5.5rem;
  text-align: center;
}

.intismeran-lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-soft);
  max-width: 28ch;
  margin: 0 auto 2rem;
}

.vial-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 420px);
  margin: 0 auto;
  min-height: 520px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, #101828 0%, #1a2744 24%, rgba(251, 246, 236, 0.2) 58%, rgba(251, 246, 236, 0) 70%);
}

.vial-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 180, 230, 0.45) 0%, rgba(232, 176, 58, 0.28) 40%, transparent 70%);
  filter: blur(10px);
  animation: orb-breathe 5s ease-in-out infinite;
  transition: transform 0.4s var(--ease), opacity 0.4s ease;
}

.vial-rings {
  position: absolute;
  inset: 8%;
  pointer-events: none;
}

.dna-curve {
  position: absolute;
  width: 58%;
  height: 78%;
  opacity: 0.22;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  pointer-events: none;
}

.vial-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(47, 126, 196, 0.28);
  border-radius: 50%;
  animation: ring-spin 12s linear infinite;
}

.vial-ring:nth-child(2) {
  inset: 0;
  border-color: rgba(232, 176, 58, 0.3);
  animation-duration: 18s;
  animation-direction: reverse;
}

.vial-ring:nth-child(3) {
  inset: 16%;
  border-color: rgba(255, 255, 255, 0.45);
  animation-duration: 9s;
}

@keyframes ring-spin {
  to { transform: rotate(360deg) scale(1); }
}

.vial-image {
  position: relative;
  z-index: 2;
  width: min(72%, 280px);
  animation: float-breathe 6s ease-in-out infinite;
  transition: transform 0.45s var(--ease), filter 0.45s ease;
  mix-blend-mode: screen;
  filter: drop-shadow(0 18px 24px rgba(47, 126, 196, 0.22));
}

.vial-stage:hover .vial-image,
.vial-stage:focus-within .vial-image {
  transform: translateY(-8px) rotate(-4deg) scale(1.04);
  filter: drop-shadow(0 28px 36px rgba(47, 126, 196, 0.4)) drop-shadow(0 0 24px rgba(232, 176, 58, 0.35));
}

.vial-stage:hover .vial-glow,
.vial-stage:focus-within .vial-glow {
  transform: scale(1.18);
  opacity: 1;
}

.vial-stage:hover .vial-ring {
  animation-play-state: running;
  transform: scale(1.08);
  border-color: rgba(232, 176, 58, 0.55);
}

.vial-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.vial-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff3c4;
  box-shadow: 0 0 10px var(--gold-bright);
  animation: spark-pop 0.9s var(--ease) forwards;
}

@keyframes spark-pop {
  0% { opacity: 1; transform: translate(0, 0) scale(0.4); }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1); }
}

/* ---------- meme ---------- */
.meme {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  overflow: hidden;
}

.meme-wrap {
  position: relative;
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 247, 230, 0.4)),
    radial-gradient(600px 200px at 50% 0%, rgba(245, 196, 92, 0.25), transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.meme-title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 1.4rem;
}

.meme-lines {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 1.1rem;
}

.meme-ticker {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--midnight);
  color: var(--gold-soft);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.meme-note {
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sticker {
  position: absolute;
  font-family: var(--font-script);
  font-size: 1.05rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px 16px 10px 14px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(80, 50, 20, 0.1);
  color: var(--midnight);
  transform: rotate(-8deg);
}

.sticker-spark {
  top: 1.2rem;
  left: 8%;
  color: var(--gold);
}

.sticker-heart {
  top: 1.6rem;
  right: 8%;
  transform: rotate(7deg);
  color: var(--heart);
}

.scribble {
  position: absolute;
  width: 110px;
  right: 14%;
  bottom: 18%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.8;
}

/* ---------- token ---------- */
.token {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
}

.token-card {
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.token-card-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  background: radial-gradient(circle, rgba(232, 176, 58, 0.35), transparent 70%);
  pointer-events: none;
}

.token-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.token-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.token-row span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.token-row strong {
  font-size: 1.15rem;
}

.token-contract {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: rgba(21, 32, 56, 0.94);
  color: var(--ivory);
  margin-bottom: 1.3rem;
}

.token-contract-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

.token-contract-value {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
  user-select: all;
}

.token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- how to buy ---------- */
.buy {
  position: relative;
  z-index: 2;
  padding: 2rem 0 5.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 1.8rem 0 2rem;
}

.step {
  padding: 1.5rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 30px rgba(80, 50, 20, 0.06);
}

.step-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.step p {
  color: var(--text-soft);
}

.buy-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.disclaimer {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- community ---------- */
.community {
  position: relative;
  z-index: 2;
  padding: 6.5rem 0;
  overflow: hidden;
}

.community-glow {
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 196, 92, 0.45) 0%, rgba(224, 112, 64, 0.12) 42%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.community-wrap {
  position: relative;
  text-align: center;
}

.community-title {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 800;
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  margin-bottom: 1.1rem;
}

.community-lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-soft);
  margin-bottom: 1.6rem;
}

.community-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- finale ---------- */
.finale {
  position: relative;
  z-index: 2;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 5rem 1.2rem;
}

.finale-glow {
  position: absolute;
  width: min(900px, 90vw);
  height: min(900px, 90vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 214, 120, 0.55) 0%, rgba(224, 112, 64, 0.18) 38%, transparent 68%);
  filter: blur(10px);
  animation: orb-breathe 8s ease-in-out infinite;
}

.finale-lines {
  position: relative;
  z-index: 1;
}

.finale-line,
.finale-end {
  font-size: clamp(2.2rem, 6.4vw, 5.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--midnight);
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
}

.finale.is-inview .finale-line,
.finale.is-inview .finale-end {
  animation: finale-in 1s var(--ease) forwards;
}

.finale.is-inview .finale-line:nth-child(1) { animation-delay: 0.05s; }
.finale.is-inview .finale-line:nth-child(2) { animation-delay: 0.28s; }
.finale.is-inview .finale-line:nth-child(3) { animation-delay: 0.5s; }
.finale.is-inview .finale-end { animation-delay: 0.85s; color: var(--gold); }

@keyframes finale-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 3.2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 247, 230, 0.7));
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 42%;
}

.footer-name {
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-ticker {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 700;
  text-decoration: none;
}

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

.footer-ca {
  color: var(--muted);
}

.footer-ca code {
  color: var(--midnight);
  font-weight: 700;
}

.footer-disclaimer {
  max-width: 72ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-made {
  font-family: var(--font-script);
  color: var(--heart);
  font-size: 1.05rem;
}

/* ---------- reveal system ---------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-stagger > * {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.reveal { transform: translateY(28px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-scale { transform: scale(0.94); }
.reveal-stagger > * { transform: translateY(24px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.44s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 380px;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(251, 246, 236, 0.08) 0%, rgba(251, 246, 236, 0.18) 42%, rgba(251, 246, 236, 0.82) 72%, var(--bg) 100%);
  }

  .hero-character {
    width: min(72%, 420px);
  }

  .hero-copy {
    text-align: left;
  }

  .hero-banner {
    object-position: 55% 35%;
    opacity: 0.34;
  }

  .token-meta,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 5.4rem;
    left: 0.7rem;
    right: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 24px;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-mobile-buy {
    display: block;
    padding: 0.45rem 0.2rem 0.2rem;
  }

  .nav-mobile-buy .btn,
  .nav-links .nav-mobile-buy a.btn-primary {
    width: 100%;
    color: var(--midnight);
    background: linear-gradient(180deg, #f6d06a 0%, #e0a326 55%, #c48412 100%);
  }

  .nav-links .nav-mobile-buy a.btn-primary:hover {
    color: var(--midnight);
    background: linear-gradient(180deg, #f6d06a 0%, #e0a326 55%, #c48412 100%);
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .btn-nav-buy {
    display: none;
  }

  .sticker {
    display: none;
  }

  .scribble {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-h) + 1.2rem);
    padding-bottom: 4rem;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-actions,
  .community-actions,
  .token-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .community-actions .btn,
  .token-actions .btn {
    flex: 1 1 180px;
    min-height: 48px;
  }

  .ca-chip {
    width: 100%;
    justify-content: space-between;
  }

  .story,
  .intismeran,
  .meme,
  .community {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .story-sign {
    font-size: 0.92rem;
  }

  .vial-stage {
    min-height: 420px;
  }
}

@media (max-width: 430px) {
  .nav-name {
    font-size: 0.88rem;
  }

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

  .hero-character {
    width: min(88%, 340px);
  }

  .btn-x span {
    display: none;
  }

  .section-wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  .token-card,
  .meme-wrap,
  .step {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}

@media (max-width: 390px) {
  .nav-ticker {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.5rem, 13vw, 3.2rem);
  }
}

@media (max-width: 375px) {
  .nav {
    padding-right: 0.4rem;
  }

  .hero-sub {
    font-size: 1.2rem;
  }
}

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

  .hero-character,
  .vial-image,
  .hero-orb,
  .hero-heart-glow,
  .vial-glow,
  .vial-ring,
  .hero-rays,
  .badge-dot,
  .scroll-hint-line,
  .finale-glow,
  .particle {
    animation: none !important;
  }

  .title-word .ch,
  .finale-line,
  .finale-end,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

  .btn-shine::after {
    display: none;
  }
}

.reduce-motion .hero-character,
.reduce-motion .vial-image,
.reduce-motion .particle {
  animation: none !important;
}
