:root {
  --ink: #050607;
  --ink-soft: #0c0f12;
  --steel: #c8cbd0;
  --ivory: #f2ead8;
  --gold: #d9af58;
  --gold-bright: #f6d887;
  --muted: #989591;
  --line: rgba(246, 216, 135, .18);
  --glass: rgba(10, 12, 14, .68);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -10%, rgba(218, 170, 72, .13), transparent 34%),
    linear-gradient(180deg, #090b0d 0%, #050607 45%, #090805 100%);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 80%);
  z-index: -2;
}

.svg-filters { position: absolute; width: 0; height: 0; }
.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .07; z-index: 99;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.royal-glow { position: fixed; width: 32rem; height: 32rem; border-radius: 50%; filter: blur(120px); opacity: .08; pointer-events: none; z-index: -1; }
.royal-glow--one { background: #f4c65e; top: 20vh; left: -18rem; }
.royal-glow--two { background: #d69042; bottom: 10vh; right: -20rem; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  min-height: 62px; padding: 9px 10px 9px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(5, 6, 7, .72); backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 18px 70px rgba(0,0,0,.32);
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 12px/1 Unbounded, sans-serif; letter-spacing: .09em; white-space: nowrap; }
.brand-mark { color: var(--gold-bright); font-size: 16px; }
.nav { display: flex; gap: 8px; color: #c8c2b6; font-size: 13px; }
.nav a { padding: 10px 12px; border-radius: 999px; transition: .25s ease; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }

.section-shell, .section { width: min(1240px, calc(100% - 36px)); margin-inline: auto; }
.hero {
  min-height: 820px; margin-top: 0; padding-top: 94px; position: relative; border-radius: 0 0 34px 34px; overflow: hidden;
  display: flex; align-items: center; border: 1px solid rgba(255,255,255,.05); border-top: 0;
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.hero-art { position: absolute; inset: 0; background: url('assets/black-cat-sword-banner.png') center/cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,5,6,.94) 0%, rgba(4,5,6,.67) 36%, rgba(4,5,6,.18) 62%, rgba(4,5,6,.46) 100%), linear-gradient(0deg, rgba(4,5,6,.72), transparent 55%); }
.hero-copy { position: relative; z-index: 2; max-width: 650px; padding: 84px 7vw 64px; }
.eyebrow { margin: 0 0 14px; color: var(--gold-bright); font: 600 11px/1.4 Unbounded, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.liquid-title, .liquid-heading {
  margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 700; letter-spacing: -.055em; line-height: .88;
  filter: url(#liquid-text); text-wrap: balance;
}
.liquid-title { font-size: clamp(68px, 8.7vw, 138px); max-width: 720px; color: #f4ead5; text-shadow: 0 0 28px rgba(239, 190, 80, .15), 0 2px 0 rgba(255,255,255,.15); }
.liquid-title--small { font-size: clamp(54px, 8vw, 100px); }
.liquid-heading { font-size: clamp(44px, 5.5vw, 76px); color: #f0e8d9; }
.hero-lede { margin: 22px 0 24px; max-width: 540px; color: #c3beb4; font: 500 clamp(17px,2vw,22px)/1.55 Inter,sans-serif; }
.ticker-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.ticker { display: inline-flex; padding: 11px 15px; border: 1px solid rgba(246,216,135,.35); border-radius: 12px; background: rgba(218,175,88,.08); color: var(--gold-bright); font: 600 13px/1 Unbounded,sans-serif; letter-spacing: .08em; }
.copy-btn { cursor: pointer; border: 0; padding: 10px 0; color: #a9a59d; background: transparent; font: 600 11px/1 Unbounded,sans-serif; letter-spacing: .08em; }
.copy-btn:hover { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-row--center { justify-content: center; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.045); color: #eee9df; font: 600 11px/1 Unbounded,sans-serif; letter-spacing: .06em; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.pill:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }
.pill--gold { color: #111; border-color: #edca77; background: linear-gradient(135deg, #f3d98e, #bf8534); box-shadow: 0 14px 34px rgba(211,156,58,.16); }
.pill--gold:hover { background: linear-gradient(135deg, #ffe8a7, #cf9540); }
.pill--ghost { min-height: 42px; }
.pill[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.hero-seal { position: absolute; z-index: 2; right: 4vw; bottom: 38px; width: 112px; aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px solid rgba(246,216,135,.5); border-radius: 50%; color: var(--gold-bright); background: rgba(6,7,8,.5); backdrop-filter: blur(12px); transform: rotate(6deg); box-shadow: inset 0 0 0 4px rgba(246,216,135,.05); }
.hero-seal span { font-size: 26px; }
.hero-seal small { font: 600 7px/1.2 Unbounded,sans-serif; letter-spacing: .12em; text-align:center; }

.marquee { margin: 28px 0 0; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255,255,255,.018); }
.marquee-track { width: max-content; display: flex; gap: 28px; padding: 17px 0; animation: marquee 24s linear infinite; color: #b3aa98; font: 600 11px/1 Unbounded,sans-serif; letter-spacing: .16em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: 128px 0; }
.section-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 78px; align-items: center; }
.section-copy { max-width: 620px; }
.body-copy { color: #aaa69e; font-size: 17px; line-height: 1.8; }
.body-copy strong { color: #efe5d3; }
.lore-quote { margin-top: 30px; padding: 20px 22px; border-left: 1px solid var(--gold); color: #e8dcc4; background: linear-gradient(90deg, rgba(220,177,86,.08), transparent); font: italic 600 24px/1.4 "Cormorant Garamond", serif; }
.portrait-card { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.025); box-shadow: 0 40px 90px rgba(0,0,0,.24); transform: rotate(1.5deg); }
.portrait-card img { width: 100%; display:block; aspect-ratio: 1; object-fit: cover; border-radius: 23px; }
.portrait-card figcaption { padding: 14px 10px 6px; color: #8e8a82; font: 600 9px/1 Unbounded,sans-serif; letter-spacing: .16em; text-align:center; }

.token-section { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items:center; border-block: 1px solid var(--line); }
.token-visual { position: relative; min-height: 620px; display:grid; place-items:center; overflow:hidden; border-radius: var(--radius); background: radial-gradient(circle, rgba(222,171,69,.12), transparent 58%); }
.token-visual img { width: min(92%, 610px); border-radius: 28px; box-shadow: 0 45px 100px rgba(0,0,0,.35); }
.token-orbit { position:absolute; border:1px solid rgba(246,216,135,.2); border-radius:50%; pointer-events:none; }
.token-orbit--one { width: 72%; aspect-ratio:1; transform: rotate(32deg) scaleY(.36); }
.token-orbit--two { width: 96%; aspect-ratio:1; transform: rotate(-22deg) scaleY(.28); }
.token-panel { padding: 20px 0; }
.token-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 32px 0 18px; }
.metric { min-height: 115px; padding: 20px; display:flex; flex-direction:column; justify-content:space-between; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.024); }
.metric span { color:#817e78; font:600 9px/1 Unbounded,sans-serif; letter-spacing:.14em; }
.metric strong { color:#f0e6d2; font:600 clamp(16px,2vw,24px)/1.1 Unbounded,sans-serif; }
.microcopy { max-width: 700px; color:#77746e; font-size:12px; line-height:1.6; }
.microcopy code { color:#b7ab91; }

.chart-section { padding-bottom: 110px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom: 34px; }
.chart-frame { min-height: 560px; border:1px solid var(--line); border-radius:28px; overflow:hidden; background: radial-gradient(circle at 50% 20%, rgba(203,157,66,.08), transparent 34%), #07090b; box-shadow: inset 0 0 80px rgba(255,255,255,.018); }
.chart-frame iframe { width:100%; height:560px; border:0; display:block; }
.chart-placeholder { min-height:560px; display:grid; place-items:center; align-content:center; gap:12px; padding:30px; text-align:center; }
.crest { width:72px; height:72px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--gold-bright); font-size:28px; }
.chart-placeholder h3 { margin:6px 0 0; font:700 30px/1 "Cormorant Garamond",serif; }
.chart-placeholder p { max-width:550px; margin:0 0 10px; color:#8f8b83; line-height:1.7; }
.market-strip { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-top:0; border-radius:0 0 18px 18px; overflow:hidden; }
.market-strip span { padding:16px 18px; display:flex; justify-content:space-between; gap:12px; color:#77736c; font:600 9px/1 Unbounded,sans-serif; letter-spacing:.1em; border-right:1px solid var(--line); }
.market-strip span:last-child { border-right:0; }
.market-strip strong { color:#ded5c4; letter-spacing:0; }

.roadmap-section { padding-top: 90px; }
.roadmap-intro { max-width:430px; margin:0; text-align:right; }
.roadmap-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.road-card { min-height:330px; padding:24px; display:flex; flex-direction:column; justify-content:flex-end; border:1px solid var(--line); border-radius:22px; background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.04)); position:relative; overflow:hidden; }
.road-card::before { content:""; position:absolute; width:220px; height:220px; right:-120px; top:-120px; border:1px solid rgba(246,216,135,.12); border-radius:50%; box-shadow:0 0 90px rgba(217,175,88,.07); }
.chapter { position:absolute; top:22px; left:22px; color:#d6b86f; font:700 12px/1 Unbounded,sans-serif; }
.road-card h3 { margin:0 0 10px; font:700 31px/1 "Cormorant Garamond",serif; }
.road-card p { margin:0; color:#8b8882; line-height:1.7; font-size:14px; }

.gallery-section { width:min(1400px, calc(100% - 24px)); margin: 0 auto 120px; }
.gallery-banner { position:relative; border-radius:32px; overflow:hidden; border:1px solid var(--line); min-height:470px; }
.gallery-banner img { width:100%; height:100%; min-height:470px; object-fit:cover; display:block; }
.gallery-banner::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(4,5,6,.82), transparent 54%); }
.gallery-overlay { position:absolute; z-index:2; left:5vw; bottom:46px; }
.gallery-notes { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); border-top:0; border-radius:0 0 22px 22px; overflow:hidden; }
.gallery-notes span { padding:18px; text-align:center; color:#938e84; font:600 9px/1 Unbounded,sans-serif; letter-spacing:.14em; border-right:1px solid var(--line); }
.gallery-notes span:last-child { border-right:0; }

.final-cta { padding: 130px 20px 150px; text-align:center; display:grid; justify-items:center; }
.final-cta .body-copy { max-width:620px; }
.footer { width:min(1240px, calc(100% - 36px)); margin:0 auto 24px; padding:28px 0; display:grid; grid-template-columns:1fr 1.5fr auto; gap:30px; align-items:center; border-top:1px solid var(--line); color:#77736d; font-size:11px; line-height:1.6; }
.footer div { display:flex; flex-direction:column; gap:6px; }
.footer strong { color:#d7cebd; font:600 11px/1 Unbounded,sans-serif; letter-spacing:.09em; }
.footer span { color:#9a8863; }
.footer p { margin:0; }
.footer a { color:#a9a196; font:600 9px/1 Unbounded,sans-serif; letter-spacing:.1em; }

.toast { position:fixed; z-index:100; left:50%; bottom:28px; transform:translate(-50%,30px); opacity:0; pointer-events:none; padding:13px 18px; border:1px solid rgba(246,216,135,.28); border-radius:999px; background:#11100d; color:#f0ddb2; font:600 9px/1 Unbounded,sans-serif; letter-spacing:.09em; transition:.25s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.reveal { opacity:0; transform:translateY(24px); transition:opacity .8s ease, transform .8s ease; }
.reveal.in { opacity:1; transform:translateY(0); }

@media (max-width: 980px) {
  .nav { display:none; }
  .hero { min-height:760px; }
  .hero-art { background-position: 36% center; }
  .hero-shade { background:linear-gradient(90deg, rgba(4,5,6,.9), rgba(4,5,6,.46) 60%, rgba(4,5,6,.56)); }
  .hero-copy { padding-inline:34px; }
  .hero-seal { display:none; }
  .section-grid, .token-section { grid-template-columns:1fr; gap:46px; }
  .section { padding:90px 0; }
  .token-visual { min-height:unset; padding:30px; }
  .roadmap-grid { grid-template-columns:repeat(2,1fr); }
  .roadmap-intro { text-align:left; }
  .section-heading { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 680px) {
  .topbar { min-height:56px; padding-left:14px; }
  .brand { font-size:9px; }
  .topbar > .pill { min-height:38px; padding-inline:13px; font-size:9px; }
  .section-shell, .section { width:min(100% - 22px, 1240px); }
  .hero { min-height:690px; border-radius:0 0 24px 24px; }
  .hero-art { background-position: 29% center; }
  .hero-shade { background:linear-gradient(90deg, rgba(4,5,6,.94), rgba(4,5,6,.62)), linear-gradient(0deg, rgba(4,5,6,.85), transparent 60%); }
  .hero-copy { padding:108px 20px 44px; }
  .liquid-title { font-size:clamp(58px, 19vw, 92px); }
  .liquid-heading { font-size:clamp(42px, 13vw, 64px); }
  .hero-lede { font-size:16px; }
  .cta-row .pill { flex:1 1 100%; }
  .portrait-card { transform:none; }
  .token-grid, .roadmap-grid { grid-template-columns:1fr; }
  .market-strip { grid-template-columns:1fr 1fr; }
  .market-strip span:nth-child(2) { border-right:0; }
  .market-strip span:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .chart-frame, .chart-placeholder { min-height:440px; }
  .chart-frame iframe { height:440px; }
  .gallery-banner, .gallery-banner img { min-height:520px; }
  .gallery-banner img { object-position:35% center; }
  .gallery-overlay { left:24px; right:24px; bottom:28px; }
  .gallery-notes { grid-template-columns:1fr 1fr; }
  .gallery-notes span { border-bottom:1px solid var(--line); }
  .footer { grid-template-columns:1fr; gap:14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

#contract-text { overflow-wrap: anywhere; word-break: break-word; }
