:root {
  --bg: #090705;
  --bg-2: #100b07;
  --panel: rgba(255,255,255,.035);
  --line: rgba(255,255,255,.12);
  --muted: #9f9489;
  --text: #f7f1e8;
  --ember: #ff9b18;
  --ember-2: #ffbe42;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 12%, rgba(255,132,0,.10), transparent 30rem),
    radial-gradient(circle at 20% 65%, rgba(255,113,0,.06), transparent 27rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.nav {
  height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-bottom: 1px solid var(--line); position: relative; z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; width: fit-content; }
.brand-mark { width: 34px; height: 34px; border: 1px solid rgba(255,155,24,.55); display: grid; place-items: center; border-radius: 50%; color: var(--ember); box-shadow: 0 0 25px rgba(255,155,24,.14); }
.nav-links { display: flex; gap: 34px; font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.mini-button { justify-self: end; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: .12em; transition: .2s ease; }
.mini-button:hover { border-color: rgba(255,155,24,.65); color: var(--ember-2); box-shadow: 0 0 22px rgba(255,155,24,.12); }

.hero { min-height: calc(100vh - 84px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 78px); align-items: center; padding-block: 56px 76px; }
.eyebrow, .section-kicker { font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 8px; box-shadow: 0 0 12px var(--ember); animation: pulse 1.8s infinite; }
.hero h1 { margin: 20px 0 0; font-size: clamp(78px, 10vw, 156px); line-height: .78; letter-spacing: -.085em; font-weight: 950; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,185,72,.85); text-shadow: 0 0 28px rgba(255,155,24,.14); }
.ticker { margin: 22px 0 30px; font-size: 15px; letter-spacing: .42em; color: var(--ember-2); font-weight: 800; }
.lead { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(25px, 3.2vw, 44px); line-height: 1.08; color: #d9d0c7; max-width: 640px; }
.hero-actions, .contract-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 19px; display: inline-flex; align-items: center; gap: 18px; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; letter-spacing: .12em; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ember); color: #171008; border-color: var(--ember); box-shadow: 0 14px 45px rgba(255,139,0,.13); }
.button.primary:hover { background: var(--ember-2); box-shadow: 0 16px 50px rgba(255,139,0,.20); }
.button.ghost:hover { border-color: rgba(255,155,24,.55); color: var(--ember-2); }
.button.disabled { opacity: .45; pointer-events: none; }
.ca-chip { margin-top: 16px; width: min(100%, 500px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: inherit; border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left; }
.ca-label { font-size: 10px; color: var(--ember); font-weight: 900; letter-spacing: .16em; }
.ca-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #b9afa5; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.copy-icon { font-size: 9px; letter-spacing: .12em; color: var(--muted); }

.hero-visual { min-width: 0; }
.photo-frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,155,24,.25); box-shadow: 0 32px 100px rgba(0,0,0,.52), 0 0 70px rgba(255,126,0,.09); transform: rotate(1.25deg); }
.photo-frame::before { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 90px rgba(0,0,0,.38); pointer-events: none; }
.photo-frame img { width: 100%; display: block; aspect-ratio: 1/1; object-fit: cover; filter: saturate(.92) contrast(1.05); }
.photo-scan { position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .13; background: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(255,255,255,.05) 6px); }
.frame-label { position: absolute; z-index: 4; font-size: 9px; letter-spacing: .15em; background: rgba(7,5,3,.72); border: 1px solid rgba(255,255,255,.13); padding: 8px 10px; backdrop-filter: blur(5px); }
.top-left { top: 16px; left: 16px; }
.bottom-right { right: 16px; bottom: 16px; }

.signal-strip { border-block: 1px solid var(--line); overflow: hidden; background: rgba(255,155,24,.025); }
.marquee-inner { min-width: max-content; display: flex; gap: 28px; align-items: center; padding: 14px 0; font-size: 10px; letter-spacing: .18em; color: #a99d91; animation: drift 24s linear infinite; }
.marquee-inner i { color: var(--ember); font-style: normal; }

.story { padding-block: 120px; }
.story-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 8vw; align-items: start; margin-top: 28px; }
.story h2, .contract h2 { margin: 0; font-size: clamp(50px, 7.4vw, 102px); letter-spacing: -.065em; line-height: .9; }
.story-copy { border-left: 1px solid var(--line); padding-left: 28px; }
.story-copy p { margin: 0 0 22px; color: #b8ada2; font-size: 17px; line-height: 1.75; }
.story-copy .accent-copy { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.35; }
.lore-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 80px; }
.lore-card { min-height: 270px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); position: relative; overflow: hidden; }
.lore-card::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,145,0,.09); filter: blur(45px); right: -40px; bottom: -50px; }
.lore-card > span { font-size: 10px; color: var(--ember); letter-spacing: .18em; }
.lore-card h3 { margin: 72px 0 14px; font-size: 22px; letter-spacing: -.03em; }
.lore-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

.manifesto { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,102,0,.035), transparent 50%, rgba(255,166,0,.035)); }
.manifesto-inner { min-height: 410px; display: grid; align-content: center; text-align: center; }
.manifesto-small { font-size: 10px; letter-spacing: .25em; color: var(--muted); }
.manifesto-big { margin: 20px 0 0; font-size: clamp(56px, 8vw, 118px); line-height: .88; letter-spacing: -.07em; font-weight: 950; }
.manifesto-big span { color: var(--ember); text-shadow: 0 0 36px rgba(255,155,24,.16); }

.token { padding-block: 120px; }
.token-panel { margin-top: 26px; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.018); }
.token-head { min-height: 300px; padding: 36px; display: flex; align-items: center; justify-content: space-between; background: radial-gradient(circle at 84% 50%, rgba(255,136,0,.13), transparent 23rem); }
.token-name { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .2em; }
.token-head h2 { font-size: clamp(70px, 11vw, 160px); margin: 8px 0 0; letter-spacing: -.08em; line-height: .9; }
.coin-orbit { width: clamp(125px, 17vw, 210px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,155,24,.35); display: grid; place-items: center; box-shadow: inset 0 0 60px rgba(255,130,0,.07), 0 0 45px rgba(255,130,0,.08); position: relative; animation: float 4s ease-in-out infinite; }
.coin-orbit::before, .coin-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.coin-orbit::before { inset: 14px; }
.coin-orbit::after { inset: -14px; border-style: dashed; }
.coin-orbit span { font-family: Georgia, serif; font-size: clamp(60px, 8vw, 110px); color: var(--ember); text-shadow: 0 0 25px rgba(255,155,24,.35); }
.stats-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { min-height: 120px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat span { font-size: 9px; letter-spacing: .18em; color: var(--muted); }
.stat strong { font-size: 18px; }

.contract { padding-bottom: 120px; }
.contract-box { border: 1px solid rgba(255,155,24,.26); border-radius: 28px; padding: clamp(28px, 5vw, 56px); background: radial-gradient(circle at 92% 8%, rgba(255,155,24,.12), transparent 25rem), rgba(255,255,255,.02); }
.contract h2 { margin-top: 18px; font-size: clamp(50px, 7vw, 98px); }
.contract-copy { width: 100%; margin-top: 34px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.24); color: #bcb2a8; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; text-align: left; }
.contract-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.contract-copy b { color: var(--ember); font-size: 10px; letter-spacing: .13em; }

.footer { border-top: 1px solid var(--line); min-height: 220px; padding-block: 46px; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 20px; }
.footer-brand { font-size: 30px; font-weight: 900; letter-spacing: -.04em; }
.footer-brand span { color: var(--ember); font-size: 14px; letter-spacing: .12em; margin-left: 8px; }
.footer p { margin: 0; color: var(--muted); text-align: right; }
.footer .disclaimer { grid-column: 1/-1; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ember); color: #140d06; font-size: 10px; font-weight: 900; letter-spacing: .14em; padding: 12px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@keyframes pulse { 0%,100% { opacity: .45; box-shadow: 0 0 7px var(--ember); } 50% { opacity: 1; box-shadow: 0 0 18px var(--ember); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-34%); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 54px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; margin-top: 18px; }
  .hero h1 { font-size: clamp(82px, 24vw, 150px); }
  .story-grid { grid-template-columns: 1fr; gap: 42px; }
  .lore-cards { grid-template-columns: 1fr; }
  .token-head { min-height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 24px, 1180px); }
  .nav { height: 70px; }
  .brand span:last-child { display: none; }
  .hero { min-height: auto; padding-block: 42px 56px; gap: 26px; }
  .hero h1 { font-size: 24vw; }
  .ticker { margin: 18px 0 22px; }
  .lead { font-size: 30px; }
  .hero-actions .button { width: 100%; }
  .photo-frame { border-radius: 20px; transform: none; }
  .frame-label { font-size: 7px; }
  .story, .token { padding-block: 86px; }
  .story h2, .contract h2 { font-size: 15vw; }
  .story-copy { border-left: 0; padding-left: 0; }
  .story-copy .accent-copy { font-size: 23px; }
  .lore-cards { margin-top: 50px; }
  .manifesto-inner { min-height: 320px; }
  .manifesto-big { font-size: 15vw; }
  .token-head { min-height: 220px; padding: 24px; }
  .coin-orbit { width: 104px; }
  .coin-orbit span { font-size: 58px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 104px; }
  .contract { padding-bottom: 86px; }
  .contract-actions .button { width: 100%; }
  .footer { grid-template-columns: 1fr; }
  .footer p { text-align: left; }
  .footer .disclaimer { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
