/* Cat wif Hat and Sword — storybook design tokens */
:root {
  --paper: #f7f2e8;
  --paper-light: #fffcf5;
  --ink: #302823;
  --muted: #70665c;
  --gold: #f2bf51;
  --pink: #ecc0b8;
  --green: #dce4d2;
  --line: #ded6c8;
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', sans-serif;
  --radius: 15px;
  --shadow: 4px 4px 0 var(--ink);
  --max-width: 1224px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .035; 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; object-fit: contain; }
button:focus-visible, a:focus-visible { outline: 3px solid #925338; outline-offset: 5px; }
::selection { background: var(--gold); color: var(--ink); }
.container { width: min(var(--max-width), calc(100% - 96px)); margin-inline: auto; }
.section-anchor { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 14px 20px; background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247, 242, 232, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 98px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; }
.brand-mark { width: 61px; height: 61px; }
.brand-wordmark { font-weight: 900; font-size: 22px; letter-spacing: -.7px; line-height: 1; }
.brand-wordmark > span { color: #9c513b; }
.brand-wordmark small { display: block; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; margin-top: 7px; }
.site-nav { display: flex; align-items: center; gap: 31px; }
.site-nav a { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 14px 0; transition: color .2s; white-space: nowrap; }
.nav-number { font-size: 9px; color: #776a5c; font-weight: 500; }
.site-nav a:hover, .site-nav .is-active { color: #975430; }
.site-nav .is-active .nav-number { color: #975430; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.button { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1.5px solid var(--ink); border-radius: 10px; padding: 15px 19px; font-size: 14px; font-weight: 700; line-height: 1.2; position: relative; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.button:active { transform: translate(0, 0); box-shadow: none; }
.button-gold { background: var(--gold); }
.button-paper { background: var(--paper-light); }
.button-pink { background: var(--pink); }
.button-icon { width: 30px; height: 30px; flex-shrink: 0; object-fit: contain; }
.social-icon { width: 23px; height: 23px; }
[data-link="x"] img, [data-link="dexscreener"] img { filter: brightness(0) saturate(100%); }
.arrow { margin-left: auto; font-size: 22px; font-weight: 400; line-height: 1; }
.button-header { min-height: 45px; padding: 8px 15px; gap: 8px; font-size: 12px; border-radius: 8px; }
.button-header .button-icon { width: 25px; height: 25px; }
.button-header .arrow { margin-left: 6px; font-size: 19px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 8px; background: var(--paper-light); border: 1.5px solid var(--ink); border-radius: 8px; }
.menu-lines { display: none; }
.hero { padding: 65px 0 66px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 65px; align-items: center; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.8px; display: flex; align-items: center; gap: 10px; line-height: 1.6; }
.hero-eyebrow { margin-bottom: 21px; }
.little-star { font-size: 18px; color: #b37232; }
h1, h2, h3, p { margin: 0; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(58px, 5.85vw, 84px); letter-spacing: -4.4px; line-height: 1.04; }
.sword-word { position: relative; display: inline-block; z-index: 1; }
.sword-word svg { position: absolute; width: 103%; height: 19px; left: -1%; bottom: -12px; z-index: -1; fill: none; stroke: var(--gold); stroke-width: 8px; stroke-linecap: round; }
.title-period { color: #b36a4c; }
.hero-tagline { font-size: 17px; font-weight: 700; margin-top: 30px; letter-spacing: -.4px; }
.hero-tagline em { font-weight: 400; font-style: normal; }
.hero-description { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 440px; margin-top: 15px; }
.hero-description strong { color: var(--ink); font-weight: 600; }
.hero-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 27px; max-width: 478px; }
.hero-buttons .button { justify-content: flex-start; padding: 12px 17px; }
.hero-buttons .button-buy { box-shadow: 3px 3px 0 var(--ink); }
.hero-buttons .button-buy:hover { box-shadow: 5px 5px 0 var(--ink); }
.contract-box { display: flex; align-items: center; justify-content: space-between; max-width: 478px; gap: 12px; border: 1px dashed #b7aa98; background: rgba(255, 252, 245, .6); padding: 11px 13px 11px 16px; border-radius: 9px; margin-top: 25px; }
.contract-content { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contract-label { font-size: 8px; letter-spacing: 1.6px; font-weight: 700; color: var(--muted); }
.contract-address { font-size: 11px; color: var(--muted); font-family: monospace; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 330px; }
.copy-button { border: 0; background: transparent; display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 5px; flex-shrink: 0; }
.copy-button:disabled { opacity: .45; }
.copy-button:not(:disabled):hover { background: var(--gold); border-radius: 5px; }
.hero-footnote { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; margin-top: 17px; }
.tiny-paw { color: #aa623c; font-size: 14px; }
.hero-art { position: relative; padding: 15px 17px 24px 0; }
.hero-portrait { position: relative; overflow: hidden; height: 541px; border: 2px solid var(--ink); border-radius: 230px 230px 18px 18px; background: #b6b4ab; box-shadow: 8px 8px 0 #e6dac6; transform: rotate(2deg); }
.character-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 22, 17, .7), transparent 30%); }
.portrait-caption { position: absolute; bottom: 21px; left: 22px; right: 22px; display: flex; align-items: center; gap: 12px; color: #fff7e6; }
.caption-star { font-size: 27px; color: var(--gold); }
.portrait-caption > span:nth-child(2) { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }
.portrait-caption small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .2px; margin-top: 5px; opacity: .8; }
.portrait-level { margin-left: auto; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; text-align: center; }
.portrait-level small { font-size: 7px; font-family: var(--body); letter-spacing: 1.1px; opacity: 1; }
.hat-sticker { position: absolute; right: -27px; top: 56px; z-index: 2; width: 114px; height: 114px; background: var(--pink); border: 1.5px solid var(--ink); border-radius: 50%; box-shadow: 3px 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; transform: rotate(12deg); }
.hat-sticker > span:first-child { font-size: 10px; font-weight: 500; }
.hat-sticker strong { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: .95; text-align: center; letter-spacing: -.5px; }
.hat-sticker > span:last-child { font-size: 9px; letter-spacing: 3px; margin-top: 2px; }
.hero-spark { position: absolute; fill: var(--gold); stroke: var(--ink); stroke-width: 1.5px; z-index: 2; }
.spark-one { width: 62px; height: 62px; left: -25px; top: 28px; transform: rotate(13deg); }
.spark-two { width: 33px; height: 33px; right: -11px; bottom: 46px; }
.art-orbit { position: absolute; z-index: -1; border: 1px solid #dfd3bf; border-radius: 50%; width: 590px; height: 450px; top: 90px; left: -48px; transform: rotate(-34deg); }
.orbit-two { transform: rotate(37deg); width: 520px; height: 510px; left: -10px; top: 46px; }
.art-note { position: absolute; bottom: -14px; left: 41px; font-family: var(--display); font-size: 14px; font-style: italic; transform: rotate(-3deg); }
.art-note svg { width: 78px; height: 41px; position: absolute; bottom: 5px; left: -65px; transform: rotate(-14deg); fill: none; stroke: #856248; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ribbon-clip { overflow: clip; padding-block: 16px; margin-block: -16px; }
.quest-ribbon { background: var(--gold); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); overflow: hidden; transform: rotate(-1.1deg); width: calc(100% + 8px); margin-left: -4px; }
.ribbon-inner { min-width: max-content; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 19px 20px; font-size: 11px; font-weight: 700; letter-spacing: 1.8px; }
.ribbon-inner i { font-style: normal; font-size: 20px; }
.roadmap { padding: 106px 0 89px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 50px; }
.eyebrow-icon { width: 27px; height: 27px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(39px, 4.2vw, 59px); letter-spacing: -2.6px; line-height: 1.1; margin-top: 17px; }
h2 em { font-weight: 600; color: #a56546; }
.section-heading > p { color: var(--muted); max-width: 295px; font-size: 13px; line-height: 1.85; padding-bottom: 3px; }
.quest-path { display: flex; align-items: center; gap: 17px; padding: 0 42px; margin-bottom: 23px; }
.quest-path span { font-size: 8px; letter-spacing: 1.6px; color: #796a58; font-weight: 700; }
.quest-path div { flex: 1; border-bottom: 1px dashed #bfae95; position: relative; }
.quest-path div::after { content: '›'; position: absolute; right: -1px; top: -8px; font-size: 17px; color: #a89071; background: var(--paper); padding-left: 3px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.quest-card { border: 1.5px solid var(--ink); border-radius: 13px; padding: 25px 27px 19px; display: flex; flex-direction: column; min-width: 0; }
.quest-card-gold { background: #f5e6be; }
.quest-card-pink { background: #f0d8d0; }
.quest-card-green { background: #e0e7d7; }
.quest-card-top { display: flex; align-items: flex-start; position: relative; margin-bottom: 30px; gap: 9px; }
.phase-number { font-family: var(--display); font-size: 37px; font-weight: 600; line-height: 1; }
.phase-tag { font-size: 7px; font-weight: 700; letter-spacing: 1.3px; margin-top: 12px; }
.quest-card-top img { width: 58px; height: 58px; margin-left: auto; margin-top: -3px; }
.quest-card h3 { font-family: var(--display); font-size: 29px; line-height: 1.2; font-weight: 700; letter-spacing: -1px; }
.quest-card > p { color: #6e5c4d; font-size: 12px; line-height: 1.9; margin-top: 13px; }
.quest-card ul { list-style: none; margin: 23px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.quest-card li { font-size: 11px; line-height: 1.5; position: relative; padding-left: 19px; }
.quest-card li::before { content: '✧'; position: absolute; left: 0; top: -1px; font-size: 15px; }
.quest-card-bottom { border-top: 1px solid rgba(48,40,35,.2); padding-top: 16px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 7px; font-weight: 700; letter-spacing: 1.2px; }
.quest-card-bottom > span:last-child { font-size: 18px; }
.roadmap-note { text-align: center; font-size: 10px; color: var(--muted); margin-top: 24px; }
.market { padding: 70px 0 92px; background: #efe8db; border-top: 1px solid var(--line); }
.market .section-heading { margin-bottom: 34px; }
.market h2 { margin-top: 13px; }
.market-open { min-height: 46px; font-size: 11px; padding: 10px 15px; gap: 9px; margin-bottom: 4px; }
.market-open .arrow { margin-left: 13px; font-size: 19px; }
.market-open .button-icon { width: 22px; height: 22px; }
.chart-window { border: 1.5px solid var(--ink); border-radius: 14px; background: var(--paper-light); overflow: hidden; box-shadow: 6px 6px 0 #d8cdbc; }
.chart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 23px; background: #fffbf1; border-bottom: 1px solid var(--line); }
.chart-identity { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.chart-pair { font-size: 8px; color: var(--muted); font-weight: 500; letter-spacing: .8px; margin-left: 6px; }
.chart-status { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--muted); }
.chart-status > span:first-child { width: 6px; height: 6px; background: #c8a66b; border-radius: 50%; }
.chart-body { min-height: 580px; position: relative; }
.chart-frame { border: 0; width: 100%; height: 580px; display: block; background: var(--paper-light); }
.chart-frame[hidden] { display: none; }
.chart-placeholder { min-height: 580px; position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 24px; overflow: hidden; }
.chart-placeholder[hidden] { display: none; }
.placeholder-grid { position: absolute; inset: 0; background-image: linear-gradient(#ebe2d233 1px, transparent 1px), linear-gradient(90deg, #ebe2d244 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000, transparent 85%); }
.placeholder-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.chart-emblem { width: 82px; height: 82px; border: 1px solid #e0cfac; background: #faf0da; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; transform: rotate(-8deg); }
.chart-emblem img { width: 68px; height: 68px; }
.placeholder-content .eyebrow { font-size: 8px; letter-spacing: 1.7px; color: #977443; }
.placeholder-content h3 { font-family: var(--display); font-size: 37px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.1; margin-top: 10px; }
.placeholder-content p { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 14px; }
.placeholder-content .button { min-height: 45px; font-size: 11px; padding: 10px 17px; margin-top: 22px; }
.placeholder-content .arrow { margin-left: 12px; font-size: 18px; }
.placeholder-content .button-icon { width: 21px; height: 21px; }
.chart-bottom { padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: 8px; color: var(--muted); }
.chart-bottom > span:first-child > span { font-size: 14px; margin-right: 6px; }
.chart-bottom > span:last-child { font-size: 7px; letter-spacing: 1.2px; }
.site-footer { padding: 27px 0 21px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand > span { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.3px; }
.footer-brand em { color: #945336; }
.footer-copyright { font-size: 9px; color: var(--muted); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-light); transition: background .2s, transform .2s; }
.footer-socials a:hover { background: var(--gold); transform: translateY(-2px); }
.footer-socials img { width: 17px; height: 17px; }
.footer-disclaimer { color: var(--muted); font-size: 8px; line-height: 1.7; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 15px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 15px); z-index: 50; max-width: calc(100% - 32px); width: max-content; padding: 15px 22px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper-light); color: var(--ink); font-size: 13px; text-align: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.js-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s, transform .65s; }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js-ready .quest-card:nth-child(2) { transition-delay: .09s; }
.js-ready .quest-card:nth-child(3) { transition-delay: .18s; }
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .7s both; }
  .hero-art { animation: enter .9s .12s both; }
  .spark-one { animation: sparkle 6s ease-in-out infinite; }
}
@keyframes enter { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes sparkle { 0%, 100% { transform: rotate(13deg) scale(1); } 50% { transform: rotate(30deg) scale(.9); } }
@media (min-width: 1500px) { .hero { padding-block: 80px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 18px; height: 86px; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 11px; }
  .brand-wordmark { font-size: 19px; }
  .brand-mark { width: 49px; height: 49px; }
  .brand-wordmark small { font-size: 6px; }
  .button-header { font-size: 10px; padding: 8px 11px; }
  .hero-grid { gap: 38px; }
  .hero { padding: 52px 0 61px; }
  h1 { font-size: 64px; letter-spacing: -3.5px; }
  .hero-portrait { height: 505px; }
  .hero-buttons .button { font-size: 11px; gap: 8px; padding-inline: 12px; }
  .hero-buttons .button-icon { width: 25px; height: 25px; }
  .hero-tagline { font-size: 14px; }
  .hero-description { font-size: 12px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .hat-sticker { width: 98px; height: 98px; right: -17px; }
  .hat-sticker strong { font-size: 20px; }
  .quest-card { padding: 21px; }
  .quest-card h3 { font-size: 25px; }
  .quest-card-top { gap: 7px; }
  .phase-tag { font-size: 6px; letter-spacing: 1px; }
  .quest-card-top img { width: 43px; height: 43px; }
}
@media (max-width: 850px) {
  .container { width: calc(100% - 48px); }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 24px; right: 24px; background: var(--paper-light); border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow); padding: 12px 22px; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 16px 4px; font-size: 15px; }
  .site-nav a + a { border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-inner { height: 80px; }
  .hero-grid { gap: 28px; grid-template-columns: 1.1fr 1fr; }
  h1 { font-size: 52px; letter-spacing: -2.8px; }
  .hero-portrait { height: 460px; border-radius: 180px 180px 14px 14px; }
  .hero-art { padding-right: 7px; }
  .hero-description { font-size: 11px; }
  .hero-tagline { font-size: 12px; }
  .hero-buttons { gap: 9px; }
  .hero-buttons .button { min-height: 50px; font-size: 10px; gap: 6px; padding: 10px; }
  .hero-buttons .button-icon { width: 23px; height: 23px; }
  .hero-buttons .arrow { font-size: 16px; }
  .contract-box { margin-top: 19px; padding-left: 11px; }
  .contract-label { font-size: 6px; }
  .contract-address { font-size: 9px; max-width: 210px; }
  .copy-button { font-size: 9px; }
  .copy-button img { width: 21px; height: 21px; }
  .hero-footnote { font-size: 8px; }
  .hero-eyebrow { font-size: 6px; letter-spacing: 1px; margin-bottom: 17px; }
  .hat-sticker { width: 82px; height: 82px; right: -7px; top: 46px; }
  .hat-sticker strong { font-size: 16px; }
  .hat-sticker > span:first-child { font-size: 8px; }
  .hat-sticker > span:last-child { font-size: 7px; }
  .portrait-caption { left: 13px; right: 13px; gap: 8px; }
  .portrait-caption > span:nth-child(2) { font-size: 8px; letter-spacing: 1px; }
  .portrait-caption small { font-size: 8px; }
  .portrait-level { font-size: 22px; }
  .spark-one { width: 43px; height: 43px; left: -13px; }
  .art-note { font-size: 12px; left: 20px; }
  .art-note svg { width: 51px; height: 29px; left: -39px; }
  .roadmap { padding: 83px 0 68px; }
  .section-heading { gap: 25px; margin-bottom: 37px; }
  h2 { font-size: 45px; letter-spacing: -2px; }
  .section-heading > p { font-size: 11px; max-width: 230px; }
  .roadmap-grid { gap: 12px; }
  .quest-card { padding: 18px 15px; }
  .quest-card-top { flex-wrap: wrap; gap: 5px; margin-bottom: 23px; }
  .phase-tag { font-size: 5px; letter-spacing: .7px; }
  .phase-number { font-size: 32px; }
  .quest-card-top img { width: 37px; height: 37px; }
  .quest-card h3 { font-size: 23px; letter-spacing: -.8px; }
  .quest-card > p { font-size: 10px; }
  .quest-card li { font-size: 9px; padding-left: 15px; }
  .quest-card-bottom { font-size: 6px; letter-spacing: .7px; }
  .quest-path { padding-inline: 18px; }
  .quest-path span { font-size: 6px; }
  .market { padding: 59px 0 68px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  html { scroll-padding-top: 85px; }
  .section-anchor { scroll-margin-top: 80px; }
  .header-inner { height: 73px; gap: 10px; }
  .brand-mark { width: 45px; height: 45px; }
  .brand-wordmark { font-size: 17px; }
  .brand-wordmark small { font-size: 5.5px; letter-spacing: .7px; }
  .brand { gap: 4px; }
  .header-actions { gap: 9px; }
  .button-header { min-height: 38px; font-size: 9px; gap: 4px; padding: 6px 8px; }
  .button-header .button-icon { width: 20px; height: 20px; }
  .button-header .arrow { display: none; }
  .nav-toggle { width: 38px; height: 38px; padding: 6px; }
  .site-nav { left: 18px; right: 18px; }
  .hero { padding: 37px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { position: relative; }
  .hero-eyebrow { font-size: 8px; letter-spacing: 1.1px; margin-bottom: 18px; }
  h1 { font-size: clamp(52px, 12.9vw, 72px); letter-spacing: -3px; }
  .hero-tagline { font-size: 14px; margin-top: 29px; }
  .hero-description { font-size: 12px; max-width: 440px; margin-top: 13px; }
  .hero-buttons { max-width: none; margin-top: 24px; gap: 11px; }
  .hero-buttons .button { font-size: 12px; min-height: 55px; padding: 11px 13px; gap: 8px; }
  .hero-buttons .button-icon { width: 26px; height: 26px; }
  .hero-buttons .social-icon { width: 21px; height: 21px; }
  .hero-buttons .arrow { font-size: 20px; }
  .contract-box { max-width: none; margin-top: 22px; padding: 12px; }
  .contract-label { font-size: 7px; }
  .contract-address { font-size: 10px; max-width: 255px; }
  .copy-button { font-size: 10px; }
  .hero-footnote { font-size: 9px; margin-top: 14px; }
  .hero-art { max-width: 400px; width: calc(100% - 25px); justify-self: center; padding: 0 3px 22px; }
  .hero-portrait { height: 450px; border-radius: 210px 210px 16px 16px; box-shadow: 6px 6px 0 #e6dac6; }
  .hat-sticker { width: 93px; height: 93px; right: -15px; top: 52px; }
  .hat-sticker strong { font-size: 19px; }
  .spark-one { width: 50px; height: 50px; left: -20px; top: 17px; }
  .spark-two { width: 30px; height: 30px; right: -19px; bottom: 44px; }
  .art-note { bottom: -6px; font-size: 13px; left: 30px; }
  .portrait-caption { left: 18px; right: 18px; bottom: 20px; gap: 10px; }
  .portrait-caption > span:nth-child(2) { font-size: 10px; }
  .portrait-caption small { font-size: 9px; }
  .portrait-level { font-size: 24px; }
  .art-orbit { width: 410px; height: 320px; left: -24px; top: 85px; }
  .orbit-two { width: 360px; height: 420px; top: 15px; left: -1px; }
  .ribbon-inner { padding-block: 15px; gap: 25px; font-size: 9px; }
  .roadmap { padding: 62px 0 52px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 27px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  h2 { font-size: 43px; letter-spacing: -2px; margin-top: 14px; }
  .section-heading > p { font-size: 12px; max-width: 340px; }
  .quest-path { display: none; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 17px; }
  .quest-card { padding: 24px; }
  .quest-card-top { margin-bottom: 21px; gap: 12px; }
  .phase-number { font-size: 39px; }
  .phase-tag { font-size: 8px; letter-spacing: 1.3px; }
  .quest-card-top img { width: 61px; height: 61px; }
  .quest-card h3 { font-size: 31px; }
  .quest-card > p { font-size: 12px; max-width: 365px; margin-top: 11px; }
  .quest-card ul { margin: 19px 0 25px; gap: 12px; }
  .quest-card li { font-size: 12px; padding-left: 20px; }
  .quest-card-bottom { font-size: 8px; letter-spacing: 1px; }
  .roadmap-note { font-size: 9px; line-height: 1.8; padding-inline: 15px; }
  .market { padding: 48px 0 54px; }
  .market .section-heading { margin-bottom: 25px; gap: 22px; }
  .market h2 { font-size: 40px; }
  .market-open { font-size: 12px; min-height: 45px; }
  .chart-toolbar { padding: 10px 12px; gap: 5px; }
  .chart-identity { font-size: 10px; gap: 4px; }
  .chart-identity img { width: 31px; height: 31px; }
  .chart-pair { display: none; }
  .chart-status { font-size: 8px; gap: 5px; }
  .chart-body, .chart-placeholder { min-height: 520px; }
  .chart-frame { height: 520px; }
  .chart-placeholder { padding-inline: 14px; }
  .placeholder-content h3 { font-size: 33px; }
  .placeholder-content p { font-size: 10px; }
  .chart-bottom { padding: 12px; font-size: 7px; }
  .chart-bottom > span:last-child { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 16px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-brand > span { font-size: 21px; }
  .footer-brand img { width: 48px; height: 48px; }
  .footer-copyright { font-size: 10px; }
  .footer-disclaimer { font-size: 8px; margin-top: 19px; }
}
@media (max-width: 360px) {
  .brand-wordmark { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-wordmark small { font-size: 5px; }
  .button-header { font-size: 8px; }
  .header-actions { gap: 6px; }
  .hero-buttons .button { font-size: 10px; padding-inline: 10px; }
  .hero-portrait { height: 405px; }
  .contract-address { max-width: 205px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}

/* Keep runtime-controlled controls from flashing before /api/config resolves. */
[hidden] { display: none !important; }
