:root {
  --paper: #f5f3ec;
  --ink: #0b0b0a;
  --muted: #d8d5cd;
  --green: #65ff63;
  --max: 1560px;
  --line: clamp(2px, .18vw, 3px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, system-ui, sans-serif;
  overflow-x: hidden;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 4px solid var(--green); outline-offset: 3px; }
img { max-width: 100%; }
::selection { background: var(--green); color: #000; }

.page-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .055;
  background-image: radial-gradient(circle at 20% 20%, #000 0 .7px, transparent .8px), radial-gradient(circle at 75% 35%, #000 0 .5px, transparent .7px);
  background-size: 8px 8px, 11px 11px;
  mix-blend-mode: multiply;
}

.site-header {
  width: 100%; min-height: 74px; padding: 11px clamp(16px, 2vw, 34px);
  border-bottom: var(--line) solid var(--ink);
  display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; align-items: center; gap: 22px;
  position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(7px);
}
.brand { display: flex; align-items: stretch; text-decoration: none; font-weight: 900; min-width: 0; }
.brand-mark { display: grid; place-items: center; background: var(--ink); color: #fff; padding: 8px 10px; font-family: Impact, 'Arial Black', sans-serif; letter-spacing: .04em; }
.brand-name { display: flex; align-items: center; padding: 8px 12px; border: var(--line) solid var(--ink); border-left: 0; font-family: Impact, 'Arial Black', sans-serif; letter-spacing: .035em; white-space: nowrap; }
.primary-nav { display: flex; gap: 4px; }
.nav-word { border: 0; background: transparent; cursor: pointer; padding: 10px 12px; font-family: Impact, 'Arial Black', sans-serif; font-size: clamp(18px, 1.45vw, 25px); letter-spacing: .035em; }
.nav-word:hover { background: var(--ink); color: #fff; transform: rotate(-1deg); }
.social-mini { display: flex; align-items: center; gap: 5px; }
.icon-link { width: 42px; height: 42px; border: 2px solid var(--ink); display: grid; place-items: center; background: #fff; }
.icon-link:hover { background: var(--green); transform: translateY(-2px) rotate(-2deg); }
.icon-link img { width: 34px; height: 34px; object-fit: contain; }

.hero {
  width: min(100%, 1920px); margin: 0 auto; min-height: calc(100svh - 74px);
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); grid-template-rows: 1fr auto;
  position: relative; border-bottom: var(--line) solid var(--ink); overflow: clip;
}
.hero-copy { padding: clamp(34px, 5vw, 90px) 20px clamp(36px, 4vw, 70px) clamp(20px, 5vw, 92px); align-self: center; z-index: 3; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--green); border: 1px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 3px rgba(101,255,99,.18); }
.hero h1, .damage-head h2, .site-footer h2, .modal h2 { font-family: Impact, 'Arial Black', sans-serif; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(68px, 8.2vw, 162px); line-height: .77; letter-spacing: -.025em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: transparent; -webkit-text-stroke: clamp(2px, .2vw, 4px) var(--ink); transform: rotate(-1.2deg); transform-origin: left center; margin-top: .05em; }
.ticker-lockup { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; border: var(--line) solid var(--ink); padding: 3px 14px 3px 5px; background: #fff; transform: rotate(1deg); }
.ticker-lockup img { width: 42px; height: 42px; object-fit: contain; }
.ticker-lockup strong { font: 900 clamp(25px, 2vw, 36px)/1 Impact, 'Arial Black', sans-serif; letter-spacing: .04em; }
.hero-lede { font-size: clamp(18px, 1.35vw, 24px); line-height: 1.2; margin: 24px 0 0; max-width: 470px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
.btn { min-height: 52px; padding: 0 18px; border: var(--line) solid var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 16px; text-decoration: none; cursor: pointer; font-family: Impact, 'Arial Black', sans-serif; font-size: 20px; letter-spacing: .035em; border-radius: 3px; }
.btn span { font-family: Arial, sans-serif; font-weight: 900; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn:hover { background: var(--green); color: var(--ink); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.hero-jump { margin-top: 24px; border-top: var(--line) solid var(--ink); border-bottom: var(--line) solid var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); max-width: 690px; }
.hero-jump button { min-width: 0; background: transparent; border: 0; border-right: 1px solid var(--ink); padding: 11px 10px; cursor: pointer; font: 900 clamp(18px, 1.5vw, 25px)/1 Impact, 'Arial Black', sans-serif; display: flex; justify-content: space-between; align-items: baseline; }
.hero-jump button:last-child { border-right: 0; }
.hero-jump span { font: 700 10px/1 Arial, sans-serif; opacity: .55; }
.hero-jump button:hover { background: var(--ink); color: #fff; }

.hero-art-wrap { position: relative; min-width: 0; display: grid; place-items: end center; padding: 28px 18px 0 0; align-self: stretch; }
.hero-art { width: min(900px, 102%); height: auto; object-fit: contain; align-self: end; filter: drop-shadow(7px 10px 0 rgba(0,0,0,.04)); transform: rotate(-.3deg); }
.rough-note { position: absolute; z-index: 2; font: 900 13px/1 Arial, sans-serif; letter-spacing: .12em; }
.note-a { top: 7%; right: 9%; transform: rotate(5deg); border-bottom: 3px solid var(--ink); padding-bottom: 5px; }
.stamp { position: absolute; right: 4%; bottom: 10%; z-index: 2; border: 4px double var(--ink); padding: 8px 11px; font: 900 17px/1 Impact, 'Arial Black', sans-serif; text-align: center; transform: rotate(-9deg); background: rgba(245,243,236,.88); }

.market-strip { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1fr 1fr minmax(390px, 2.1fr); border-top: var(--line) solid var(--ink); background: var(--ink); color: #fff; z-index: 4; }
.metric, .ca-panel { min-height: 82px; padding: 12px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #64645f; }
.metric span, .ca-panel > span { font-size: 10px; letter-spacing: .16em; font-weight: 900; opacity: .68; }
.metric strong { font: 900 clamp(22px, 2vw, 34px)/1 Impact, 'Arial Black', sans-serif; margin-top: 5px; }
.ca-panel { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; border-right: 0; }
.ca-panel code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 13px/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ca-panel button { border: 2px solid #fff; background: transparent; color: #fff; min-height: 38px; padding: 0 13px; font-weight: 900; cursor: pointer; }
.ca-panel button:hover { background: var(--green); color: #000; border-color: var(--green); }

.rip-section { min-height: 76svh; position: relative; overflow: clip; border-bottom: var(--line) solid var(--ink); padding: clamp(35px, 5vw, 78px) clamp(20px, 5vw, 92px) 0; }
.rip-kicker { display: inline-block; background: var(--ink); color: #fff; font-weight: 900; letter-spacing: .12em; padding: 7px 10px; transform: rotate(-1deg); }
.rip-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 60svh; }
.rip-copy h2 { margin: 0; font: 900 clamp(54px, 6.6vw, 126px)/.84 Impact, 'Arial Black', sans-serif; letter-spacing: -.025em; }
.rip-copy h2 em { font-style: normal; -webkit-text-stroke: 2px var(--ink); color: transparent; }
.rip-copy p { font-size: clamp(21px, 1.8vw, 31px); line-height: 1.08; margin: 24px 0 0; padding-left: 18px; border-left: 7px solid var(--green); }
.rip-visual { height: min(62vh, 600px); position: relative; overflow: hidden; border-left: var(--line) solid var(--ink); }
.rip-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px 18px 56px; }
.coin-tags { position: absolute; inset: auto 18px 20px 18px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.coin-tags span { background: var(--paper); border: 2px solid var(--ink); padding: 5px 8px; font-weight: 900; transform: rotate(-2deg); }
.coin-tags span:nth-child(even) { transform: rotate(2deg); }
.tear-rule { height: 42px; margin: 0 -6vw; background: repeating-linear-gradient(165deg, transparent 0 18px, var(--ink) 19px 23px, transparent 24px 35px); opacity: .96; }

.damage-section { padding: clamp(45px, 5vw, 80px) clamp(20px, 5vw, 92px) clamp(50px, 5vw, 85px); background: #fff; border-bottom: var(--line) solid var(--ink); }
.damage-head { max-width: var(--max); margin: 0 auto; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.damage-head h2 { margin: 0; font-size: clamp(78px, 9vw, 170px); line-height: .8; letter-spacing: -.02em; }
.condition { border: var(--line) solid var(--ink); padding: 12px 15px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-align: right; box-shadow: 6px 6px 0 var(--ink); margin-bottom: 8px; }
.condition strong { display: block; font: 900 32px/1 Impact, 'Arial Black', sans-serif; color: #168d25; letter-spacing: .02em; margin-top: 5px; }
.damage-metrics { max-width: var(--max); margin: 32px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border: var(--line) solid var(--ink); }
.damage-metrics div { padding: 10px 16px 13px; border-right: var(--line) solid var(--ink); }
.damage-metrics div:last-child { border-right: 0; }
.damage-metrics span { display: block; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.damage-metrics strong { font: 900 clamp(25px, 2.3vw, 40px)/1 Impact, 'Arial Black', sans-serif; }
.chart-shell { max-width: var(--max); height: clamp(430px, 57vh, 680px); margin: 14px auto 0; border: var(--line) solid var(--ink); background: var(--paper); position: relative; overflow: hidden; }
.chart-shell iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.chart-empty { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; text-align: center; padding: 28px; background-image: linear-gradient(90deg, transparent 49.7%, rgba(0,0,0,.08) 50%, transparent 50.3%), linear-gradient(0deg, transparent 49.7%, rgba(0,0,0,.08) 50%, transparent 50.3%); background-size: 80px 80px; }
.chart-empty img { width: clamp(100px, 12vw, 170px); filter: grayscale(1); }
.chart-empty strong { font: 900 clamp(34px, 4.5vw, 75px)/1 Impact, 'Arial Black', sans-serif; margin-top: 12px; }
.chart-empty p { max-width: 580px; margin: 12px 0 0; font-weight: 700; line-height: 1.4; }
.chart-empty code { background: #fff; border: 1px solid var(--ink); padding: 1px 4px; }
.damage-actions { max-width: var(--max); margin: 14px auto 0; display: flex; gap: 10px; flex-wrap: wrap; }

.site-footer { background: var(--ink); color: #fff; padding: clamp(38px, 4vw, 70px) clamp(20px, 5vw, 92px) 16px; display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.footer-kicker { font-size: 12px; font-weight: 900; letter-spacing: .15em; margin: 0 0 8px; }
.site-footer h2 { font-size: clamp(84px, 10vw, 190px); line-height: .76; margin: 0; }
.footer-ticker { display: inline-block; font: 900 clamp(28px, 3vw, 52px)/1 Impact, 'Arial Black', sans-serif; color: var(--green); margin-top: 16px; }
.footer-actions { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 15px; }
.btn.inverse { border-color: #fff; background: #fff; color: #000; min-width: 230px; }
.footer-socials { display: flex; gap: 7px; }
.footer-socials a { width: 55px; height: 55px; display: grid; place-items: center; background: #fff; border: 2px solid #fff; }
.footer-socials a:hover { background: var(--green); transform: rotate(-3deg); }
.footer-socials img { width: 46px; height: 46px; object-fit: contain; }
.footer-line { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #777; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; font-weight: 900; letter-spacing: .12em; opacity: .65; }

.modal { border: 0; padding: 0; background: transparent; width: min(94vw, 980px); max-height: 92vh; overflow: visible; }
.modal::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(3px); }
.modal-card { background: var(--paper); border: 4px solid var(--ink); padding: clamp(28px, 5vw, 65px); position: relative; max-height: 88vh; overflow: auto; box-shadow: 12px 12px 0 rgba(255,255,255,.2); }
.modal-close { position: absolute; right: 14px; top: 10px; width: 48px; height: 48px; background: var(--ink); color: #fff; border: 0; font-size: 38px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--green); color: #000; }
.modal-index { margin: 0 0 18px; font-weight: 900; letter-spacing: .12em; }
.modal h2 { margin: 0; font-size: clamp(55px, 8vw, 116px); line-height: .78; }
.lore-text { border-top: var(--line) solid var(--ink); margin-top: 28px; padding-top: 24px; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; font-size: clamp(18px, 2vw, 27px); line-height: 1.2; }
.modal-scribble { margin-top: 32px; font: 900 18px/1 ui-monospace, monospace; transform: rotate(-2deg); }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.community-grid a { border: 3px solid var(--ink); min-height: 120px; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; text-decoration: none; background: #fff; }
.community-grid a:hover { background: var(--green); transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.community-grid img { width: 72px; height: 72px; object-fit: contain; }
.community-grid span { font: 900 clamp(22px, 2.5vw, 34px)/1 Impact, 'Arial Black', sans-serif; }
.community-grid b { font-size: 26px; }

.is-disabled { opacity: .42 !important; cursor: not-allowed !important; filter: grayscale(1); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .social-mini { display: none; }
  .hero { grid-template-columns: .9fr 1.1fr; }
  .hero-copy { padding-left: 28px; }
  .market-strip { grid-template-columns: repeat(3, 1fr); }
  .ca-panel { grid-column: 1 / -1; min-height: 58px; }
  .rip-copy h2 { font-size: clamp(50px, 7vw, 88px); }
}

@media (max-width: 760px) {
  .site-header { position: relative; min-height: auto; grid-template-columns: 1fr; gap: 8px; padding: 10px 12px; }
  .brand { justify-self: stretch; }
  .brand-name { flex: 1; font-size: 16px; }
  .primary-nav { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
  .nav-word { font-size: 20px; padding: 9px 4px; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-copy { padding: 30px 16px 18px; }
  .hero h1 { font-size: clamp(62px, 20vw, 96px); }
  .hero-lede { font-size: 18px; }
  .ticker-lockup { margin-top: 18px; }
  .hero-art-wrap { order: 2; padding: 0 8px; min-height: 285px; }
  .hero-art { width: min(700px, 115%); margin: 0 auto -4px; }
  .note-a { display: none; }
  .stamp { right: 10px; bottom: 10px; font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .btn { font-size: 18px; padding: 0 10px; }
  .hero-jump { margin-top: 14px; }
  .hero-jump button { font-size: 17px; padding-inline: 7px; }
  .market-strip { order: 3; grid-template-columns: repeat(3, 1fr); }
  .metric { min-height: 67px; padding: 9px 8px; }
  .metric strong { font-size: clamp(18px, 6vw, 26px); }
  .ca-panel { grid-template-columns: auto minmax(0,1fr) auto; padding: 9px 10px; }
  .ca-panel code { font-size: 11px; }
  .rip-section { padding: 38px 16px 0; min-height: auto; }
  .rip-grid { grid-template-columns: 1fr; min-height: auto; }
  .rip-copy { padding: 28px 0 25px; }
  .rip-copy h2 { font-size: clamp(53px, 16vw, 76px); }
  .rip-visual { height: 320px; border-left: 0; border-top: var(--line) solid var(--ink); }
  .rip-visual img { inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px 12px 46px; }
  .damage-section { padding: 40px 16px 50px; }
  .damage-head { align-items: start; flex-direction: column; gap: 18px; }
  .damage-head h2 { font-size: clamp(72px, 22vw, 102px); }
  .condition { align-self: stretch; text-align: left; box-shadow: 4px 4px 0 var(--ink); }
  .damage-metrics { margin-top: 24px; }
  .damage-metrics div { padding: 8px; }
  .damage-metrics strong { font-size: clamp(20px, 7vw, 28px); }
  .chart-shell { height: 480px; }
  .damage-actions { display: grid; grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; padding: 40px 16px 14px; }
  .site-footer h2 { font-size: clamp(88px, 28vw, 130px); }
  .footer-actions { align-items: stretch; }
  .footer-socials { justify-content: flex-start; }
  .footer-line { font-size: 9px; }
  .modal { width: 94vw; }
  .modal-card { padding: 28px 18px; }
  .modal h2 { font-size: clamp(54px, 17vw, 78px); }
  .lore-text { grid-template-columns: 1fr; gap: 5px; font-size: 19px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-grid a { min-height: 92px; grid-template-columns: 62px 1fr auto; }
  .community-grid img { width: 58px; height: 58px; }
}

@media (max-width: 390px) {
  .brand-name { font-size: 14px; }
  .nav-word { font-size: 17px; }
  .hero-copy { padding-top: 24px; }
  .hero h1 { font-size: 61px; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-jump button { font-size: 15px; }
  .metric strong { font-size: 18px; }
  .ca-panel { grid-template-columns: auto 1fr; }
  .ca-panel button { grid-column: 1 / -1; width: 100%; }
  .chart-shell { height: 450px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
