@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --ink: #0d0c0c;
  --paper: #f4ead8;
  --ember: #ff8b36;
  --tan: #aaa093;
  --line: rgba(244, 234, 216, .15);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Verdana, sans-serif;
  --gutter: max(32px, calc((100vw - 1176px) / 2));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 15px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 30; top: -100px; left: 20px; padding: 12px 16px; background: var(--ember); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 15px; }

/* Header */
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(13, 12, 12, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(15px); }
.header-inner { height: 86px; max-width: 1240px; margin: auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 52px; }
.brand-mark img { width: 45px; height: 45px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; letter-spacing: .13em; }
.brand-copy strong { font-size: 13px; }
.brand-copy small { font-size: 10px; color: var(--ember); letter-spacing: .2em; margin-top: 6px; }
.site-nav { display: flex; align-items: center; gap: 36px; margin: 0 auto; }
.nav-link { position: relative; min-height: 44px; display: flex; align-items: center; color: var(--tan); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; transition: color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--paper); }
.nav-link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ember); }
.header-buy { display: flex; align-items: center; gap: 11px; min-height: 44px; border: 1px solid rgba(255, 139, 54, .6); padding: 10px 16px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: background .2s; }
.header-buy:hover { background: rgba(255, 139, 54, .15); }
.header-buy img { width: 21px; height: 21px; object-fit: contain; }
.arrow { font-size: 19px; line-height: 1; color: var(--ember); }
.buy-label-mobile { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 9px 11px; align-items: center; gap: 7px; min-height: 44px; text-transform: uppercase; font-size: 10px; letter-spacing: .07em; cursor: pointer; }
.menu-toggle img { width: 18px; height: 18px; object-fit: contain; }

/* The Lair */
.section-shell { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.hero { max-width: none; min-height: 740px; height: calc(100svh - 86px); max-height: 850px; position: relative; display: flex; align-items: center; padding: 55px var(--gutter); isolation: isolate; overflow: clip; }
.hero::after { content: ''; position: absolute; z-index: 1; pointer-events: none; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(13,12,12,.99) 23%, rgba(13,12,12,.85) 36%, rgba(13,12,12,.3) 53%, rgba(13,12,12,0) 70%), linear-gradient(0deg, var(--ink), transparent 21%), linear-gradient(180deg, rgba(13,12,12,.45), transparent 25%); }
.hero-glow { position: absolute; z-index: -1; right: 0; top: 5%; width: 65%; height: 95%; background: radial-gradient(ellipse, rgba(127,44,15,.32), transparent 68%); }
.hero-copy { width: 51%; max-width: 570px; position: relative; z-index: 2; }
.eyebrow, .section-label { margin: 0 0 22px; color: var(--ember); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; vertical-align: middle; width: 32px; height: 1px; background: var(--ember); margin-right: 10px; }
.token-badge { display: inline-block; margin: 0 0 24px; color: var(--tan); border: 1px solid var(--line); padding: 5px 9px; font-size: 9px; letter-spacing: .12em; font-weight: 600; }
.token-badge span { color: var(--ember); padding: 0 5px; }
h1 { font-family: var(--serif); font-size: clamp(82px, 9vw, 124px); font-weight: 700; letter-spacing: -.05em; line-height: .76; margin: 0 0 32px; }
h1 span, h1 em { display: block; font-style: normal; }
h1 em { color: var(--ember); padding-left: 8%; margin-top: 18px; }
.hero-lede { font-family: var(--serif); font-size: 25px; line-height: 1.08; font-weight: 600; max-width: 375px; margin-bottom: 15px; }
.hero-intro { max-width: 375px; color: var(--tan); font-size: 12px; line-height: 1.8; margin-bottom: 27px; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 440px; }
.action-button { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 12px 13px; border: 1px solid var(--line); background: rgba(24,21,20,.74); font-size: 10px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; transition: border-color .2s, background .2s, transform .2s; cursor: pointer; }
.action-button:hover { border-color: var(--ember); background: rgba(255,139,54,.12); transform: translateY(-2px); }
.action-button img { width: 23px; height: 23px; object-fit: contain; flex-shrink: 0; }
.action-button span { flex: 1; }
.action-button b { color: var(--ember); font-size: 16px; font-weight: 400; }
.action-primary { background: var(--ember); border-color: var(--ember); color: var(--ink); }
.action-primary:hover { background: #ffa25a; border-color: #ffa25a; }
.action-primary b { color: var(--ink); }
.contract-strip { display: flex; align-items: center; gap: 13px; max-width: 440px; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--tan); font-size: 8px; letter-spacing: .1em; }
.contract-strip code { font-family: var(--sans); font-size: 10px; color: var(--paper); letter-spacing: .02em; text-transform: none; }
.contract-status { width: 5px; height: 5px; background: var(--ember); border-radius: 50%; margin-left: auto; box-shadow: 0 0 11px var(--ember); }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 78%; z-index: 0; }
.hero-art > img { height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: 54% 52%; }
.art-caption { position: absolute; right: 8%; bottom: 8%; font-size: 9px; letter-spacing: .18em; color: var(--paper); font-weight: 700; }
.art-caption span { color: var(--ember); }
.art-rule { position: absolute; right: 0; bottom: 9.5%; height: 1px; width: 45px; background: var(--ember); }
.hero-corner { position: absolute; z-index: 2; bottom: 27px; right: var(--gutter); display: flex; gap: 14px; align-items: center; color: var(--ember); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.hero-corner span { color: var(--tan); font-size: 9px; }
.embers { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.embers i { position: absolute; width: 3px; height: 3px; background: #ffc27c; border-radius: 50%; box-shadow: 0 0 10px #ff7b24; opacity: .7; animation: rise 7s ease-in-out infinite; }
.embers i:nth-child(1) { left: 39%; bottom: 18%; animation-delay: -2s; }
.embers i:nth-child(2) { left: 56%; bottom: 28%; animation-delay: -5s; }
.embers i:nth-child(3) { left: 74%; bottom: 21%; animation-delay: -1s; }
.embers i:nth-child(4) { left: 62%; bottom: 60%; animation-delay: -4s; }
.embers i:nth-child(5) { left: 84%; bottom: 42%; animation-delay: -6s; }
@keyframes rise { 0%, 100% { transform: translate(0,5px); opacity: .15; } 50% { transform: translate(8px,-25px); opacity: .8; } }
.identity-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 68px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--tan); font-size: 9px; letter-spacing: .18em; font-weight: 700; }
.identity-band strong { color: var(--ember); font-family: var(--serif); font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.identity-band i { height: 1px; flex: 1; background: var(--line); max-width: 130px; }

/* Roadmap */
.roadmap { padding-top: 125px; padding-bottom: 135px; }
.section-heading { max-width: 650px; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(52px, 6vw, 80px); font-weight: 700; letter-spacing: -.035em; line-height: .95; margin: 0 0 25px; }
.section-heading h2 em { color: var(--ember); font-style: normal; }
.section-intro { max-width: 390px; color: var(--tan); font-size: 12px; line-height: 1.8; }
.quest-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 25px; margin-top: 75px; border-top: 1px solid var(--line); }
.quest-phase { position: relative; padding-top: 28px; min-height: 255px; border-right: 1px solid var(--line); padding-right: 18px; }
.quest-phase::before { content: ''; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: var(--ember); box-shadow: 0 0 12px rgba(255,139,54,.35); }
.quest-phase:last-child { border-right: 0; }
.phase-number { position: absolute; right: 23px; top: 16px; color: rgba(255,139,54,.2); font: 700 92px/.8 var(--serif); letter-spacing: -.1em; }
.phase-label { position: relative; z-index: 1; color: var(--ember); font-size: 9px; letter-spacing: .16em; font-weight: 700; }
.quest-phase h3 { position: relative; z-index: 1; font: 700 30px/1.05 var(--serif); max-width: 180px; margin: 40px 0 14px; }
.quest-phase p { max-width: 195px; color: var(--tan); font-size: 12px; line-height: 1.75; margin: 0; }
.phase-mark { position: absolute; bottom: 14px; right: 25px; color: var(--ember); font-size: 16px; }

/* Dexscreener */
.chart-section { padding-top: 100px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.chart-heading { max-width: none; display: grid; grid-template-columns: 1fr 340px; gap: 0 50px; }
.chart-heading .section-label { grid-column: 1 / -1; }
.chart-heading h2 { grid-row: 2 / 4; margin-bottom: 0; }
.chart-heading .section-intro { grid-column: 2; margin: 12px 0 20px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ember); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; justify-self: start; }
.text-link img { width: 19px; height: 22px; object-fit: contain; }
.text-link span { font-size: 18px; }
.text-link:hover { color: var(--paper); }
.chart-shell { margin-top: 48px; background: #101010; border: 1px solid var(--line); }
.chart-topbar { min-height: 68px; padding: 15px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chart-token { display: flex; align-items: center; gap: 12px; }
.chart-token img { width: 30px; height: 32px; object-fit: contain; }
.chart-token strong { font-size: 10px; letter-spacing: .08em; }
.chart-token small { color: var(--tan); font-size: 10px; }
.pair-pill { border: 1px solid rgba(255,139,54,.4); padding: 6px 9px; color: var(--ember); font-size: 8px; letter-spacing: .1em; font-weight: 700; white-space: nowrap; }
.pair-pill.is-live { color: var(--paper); border-color: var(--line); }
.chart-frame-wrap { min-height: 580px; position: relative; }
.chart-placeholder { min-height: 580px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background-color: #101010; background-image: radial-gradient(ellipse at 50% 45%, rgba(255,139,54,.04), transparent 55%), linear-gradient(rgba(244,234,216,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244,234,216,.035) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.placeholder-sigil { width: 50px; height: 50px; object-fit: contain; margin-bottom: 24px; opacity: .8; }
.placeholder-title { font: 600 35px/1.1 var(--serif); margin-bottom: 10px; }
.chart-placeholder p:last-child { color: var(--tan); font-size: 12px; margin-bottom: 0; }
.chart-frame-wrap iframe { display: block; width: 100%; height: 580px; border: 0; }

/* Footer and feedback */
.site-footer { max-width: 1240px; margin: 0 auto; padding: 32px; min-height: 130px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 32px; }
.site-footer p { margin: 0; color: var(--tan); font: 600 18px var(--serif); flex: 1; }
.site-footer nav { display: flex; gap: 20px; color: var(--tan); font-size: 10px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; }
.site-footer nav img { width: 13px; height: 13px; }
.site-footer nav a:hover { color: var(--ember); }
.footer-year { color: var(--tan); font-size: 10px; }
.toast { position: fixed; right: 25px; bottom: 25px; max-width: calc(100vw - 40px); z-index: 20; padding: 14px 18px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; transform: translateY(15px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .header-inner { gap: 20px; }
  .site-nav { gap: 20px; }
  .hero-copy { width: 55%; }
  h1 { font-size: clamp(78px, 10vw, 110px); }
  .hero-art { width: 85%; }
  .hero::after { background: linear-gradient(90deg, var(--ink), rgba(13,12,12,.95) 23%, rgba(13,12,12,.7) 38%, transparent 80%), linear-gradient(0deg,var(--ink),transparent 24%); }
  .quest-grid { gap: 18px; }
  .quest-phase h3 { font-size: 27px; }
  .site-footer { gap: 24px; }
  .site-footer p { max-width: 190px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 90px; }
  .header-inner { height: 72px; padding: 0 20px; gap: 15px; }
  .brand-mark { width: 34px; height: 40px; }
  .brand-mark img { width: 34px; height: 38px; }
  .brand-copy strong { font-size: 10px; }
  .brand-copy small { font-size: 8px; margin-top: 5px; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 14px 24px 20px; background: rgba(13,12,12,.98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 8px; }
  .site-nav.is-open { display: flex; }
  .nav-link.is-active::after { right: auto; width: 30px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-buy { padding: 9px 12px; gap: 7px; }
  .header-buy .arrow, .buy-label-desktop { display: none; }
  .buy-label-mobile { display: inline; }
  .header-buy img { width: 18px; height: 18px; }
  .section-shell { padding-left: 24px; padding-right: 24px; }
  .hero { height: auto; min-height: 0; max-height: none; align-items: flex-end; padding-top: 420px; padding-bottom: 50px; }
  .hero-art { inset: 0 0 auto; width: 100%; height: 465px; }
  .hero-art > img { object-fit: cover; object-position: 52% 47%; }
  .hero::after { background: linear-gradient(180deg, rgba(13,12,12,.1), transparent 190px, rgba(13,12,12,.4) 320px, var(--ink) 450px); }
  .hero-copy { width: 100%; max-width: 570px; }
  .hero-corner, .art-caption, .art-rule { display: none; }
  h1 { font-size: clamp(74px, 13vw, 106px); }
  .eyebrow { margin-bottom: 17px; font-size: 9px; }
  .token-badge { margin-bottom: 23px; font-size: 8px; }
  .hero-lede { font-size: 24px; max-width: 400px; }
  .hero-intro { max-width: 430px; }
  .hero-actions, .contract-strip { max-width: 100%; }
  .action-button { padding: 11px 10px; gap: 8px; font-size: 9px; }
  .action-button img { width: 20px; height: 20px; }
  .action-button b { font-size: 13px; }
  .identity-band { gap: 12px; font-size: 8px; letter-spacing: .1em; min-height: 62px; }
  .identity-band strong { font-size: 15px; }
  .identity-band i { max-width: 30px; }
  .roadmap { padding-top: 85px; padding-bottom: 85px; }
  .section-heading h2 { font-size: clamp(50px, 9vw, 66px); }
  .quest-grid { grid-template-columns: 1fr; gap: 0; margin-top: 52px; border-top: 0; border-left: 1px solid var(--line); padding-left: 23px; }
  .quest-phase { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); padding-top: 25px; padding-bottom: 32px; }
  .quest-phase::before { left: -26px; top: 31px; }
  .quest-phase:last-child { border-bottom: 0; }
  .phase-number { right: 16px; top: 25px; }
  .quest-phase h3 { margin-top: 24px; font-size: 30px; max-width: 210px; }
  .quest-phase p { max-width: 230px; }
  .chart-section { padding-top: 85px; padding-bottom: 85px; }
  .chart-heading { display: block; }
  .chart-heading h2 { margin-bottom: 23px; }
  .chart-heading .section-intro { margin: 0 0 12px; }
  .chart-shell { margin-top: 32px; }
  .chart-topbar { flex-wrap: wrap; padding: 14px 17px; gap: 12px; }
  .chart-token { flex-wrap: wrap; gap: 8px; }
  .chart-token strong { font-size: 9px; }
  .chart-token small { font-size: 9px; }
  .chart-frame-wrap, .chart-placeholder { min-height: 470px; }
  .chart-frame-wrap iframe { height: 470px; }
  .chart-placeholder { padding: 25px; }
  .placeholder-title { font-size: 30px; }
  .site-footer { padding: 30px 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 1; max-width: none; }
  .site-footer .brand { grid-column: 1; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 3; gap: 24px; }
  .footer-year { grid-column: 2; grid-row: 2; align-self: center; }
  .toast { right: 20px; bottom: 20px; }
}
@media (max-width: 370px) {
  :root { --gutter: 20px; }
  .section-shell { padding-left: 20px; padding-right: 20px; }
  .header-inner { padding: 0 15px; gap: 9px; }
  .brand { gap: 6px; }
  .header-buy { padding: 9px; }
  .menu-toggle { padding: 9px; }
  .hero { padding-top: 390px; }
  .hero-art { height: 435px; }
  h1 { font-size: 72px; }
  .action-button { font-size: 8px; padding: 11px 9px; gap: 6px; }
  .action-button b { display: none; }
  .contract-strip { gap: 8px; }
  .identity-band { gap: 9px; font-size: 7px; }
  .identity-band i { display: none; }
  .identity-band strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .embers i { animation: none; }
  .action-button, .toast, .reveal { transition: none; }
  .js-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }
