@font-face {
  font-family: 'Nimbus Poster';
  src: url('assets/nimbus-narrow.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #eee5d0;
  --light: #fff6e0;
  --ink: #1c1a17;
  --red: #b92e20;
  --accent: #ff765e;
  --rule: #1c1a1733;
  --mono: 'Courier New', monospace;
  --display: 'Nimbus Poster', 'Arial Narrow', Impact, sans-serif;
  --gutter: clamp(20px, 5vw, 75px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) url('assets/paper.png');
  font: 17px/1.55 Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px dashed currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2 { margin: 0; }
section[id] { scroll-margin-top: 24px; }
::selection { background: var(--red); color: white; }
.shell { width: min(100% - var(--gutter) * 2, 1220px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px; background: var(--light); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--rule); position: relative; z-index: 2; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 26px/.9 var(--display); letter-spacing: -.045em; }
.brand-dot { color: var(--red); margin-left: -7px; }
.paw {
  width: 25px; height: 25px; display: inline-block; transform: rotate(-15deg);
  background:
    radial-gradient(ellipse at 50% 72%, currentColor 0 54%, transparent 58%) 5px 11px / 16px 12px,
    radial-gradient(ellipse, currentColor 0 56%, transparent 62%) 1px 6px / 6px 8px,
    radial-gradient(ellipse, currentColor 0 56%, transparent 62%) 7px 2px / 6px 9px,
    radial-gradient(ellipse, currentColor 0 56%, transparent 62%) 13px 2px / 6px 9px,
    radial-gradient(ellipse, currentColor 0 56%, transparent 62%) 19px 6px / 6px 8px;
  background-repeat: no-repeat;
}
nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); font: 700 12px/1 var(--mono); text-transform: uppercase; }
nav a:hover { color: var(--red); }
nav .nav-token { display: flex; align-items: center; gap: 14px; border: 1px solid var(--ink); padding: 12px 14px; box-shadow: 3px 3px var(--ink); transition: transform .18s, box-shadow .18s, background-color .18s; }
nav .nav-token:hover { background: var(--ink); color: var(--light); transform: translate(2px, 2px); box-shadow: 1px 1px var(--ink); }
.burger { display: none; }

.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; padding-block: clamp(56px, 6vw, 92px) clamp(76px, 8vw, 120px); }
.eyebrow { font: 700 12px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.hero-label { display: flex; gap: 9px; align-items: center; margin-bottom: 29px; }
.red-light { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #b92e2028; }
.hero h1 { font: 700 clamp(97px, 13.1vw, 193px)/.84 var(--display); letter-spacing: -.058em; margin-left: -.04em; }
.hero h1 > span { display: inline-block; margin-left: .09em; transform: rotate(-3deg); transform-origin: left; }
.period { color: var(--red); }
.hero-deck { margin-top: 17px; font: italic 700 clamp(26px, 3.2vw, 43px)/1.05 Georgia, serif; letter-spacing: -.045em; }
.hero-description { margin-top: 12px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 27px; margin-top: 24px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 10px; padding: 11px 17px;
  font: 700 12px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase;
  border: 1px solid var(--ink); box-shadow: 4px 4px var(--ink);
  transition: transform .18s, box-shadow .18s, background-color .18s;
}
.button-red { background: var(--red); color: #fff8e9; }
.button-red:hover { background: #9b2016; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px var(--ink); }
.button:active { transform: translate(4px, 4px); box-shadow: none; }
.play-icon { display: inline-block; flex: 0 0 auto; width: 10px; height: 11px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.text-link { display: inline-flex; gap: 6px; align-items: center; width: fit-content; border-bottom: 1px solid currentColor; font: 700 12px/1.6 var(--mono); text-transform: uppercase; }
.text-link:hover { color: var(--red); }

.hero-art { width: 100%; position: relative; align-self: center; isolation: isolate; aspect-ratio: 1.25; }
.sleeve {
  width: 68%; position: absolute; z-index: 1; top: 2%; left: 4%; transform: rotate(-6deg);
  background: #f9edd3 url('assets/paper.png'); padding: 3% 3% 2%;
  border: 1px solid #685235; box-shadow: 6px 11px 0 #1c1a171f, 0 20px 36px #34230c2a;
  transition: transform .4s cubic-bezier(.2,.7,.3,1.25);
}
.sleeve img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid #33281573; }
.sleeve figcaption, .contact-sheet figcaption { display: flex; flex-wrap: wrap; gap: 5px 12px; justify-content: space-between; align-items: center; font: 700 clamp(8px, 1vw, 12px)/1.15 var(--mono); letter-spacing: .05em; padding-top: 12px; }
.sleeve figcaption span:first-child { font: 700 clamp(14px, 2vw, 28px)/.9 var(--display); letter-spacing: -.035em; }
.vinyl {
  width: 72%; aspect-ratio: 1; position: absolute; right: 0; top: 5%; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 12deg, #11111170, #ddceac39 19%, transparent 26%, #11111170 46%, #cab79535 69%, transparent 77%, #11111170),
    repeating-radial-gradient(circle, #232121 0 2px, #171614 2px 4px, #2a2722 4px 5px);
  box-shadow: 6px 14px 20px #39250c36, inset 0 0 0 2px #181613;
  transition: translate .5s ease;
}
.hero-art:hover .vinyl { translate: 2% 0; }
.hero-art:hover .vinyl-label { rotate: 32deg; }
.hero-art:hover .sleeve { transform: rotate(-4deg) translateY(-3px); }
.vinyl-label { width: 33%; aspect-ratio: 1; border-radius: 50%; background: var(--red) url('assets/paper.png'); color: white; border: 3px double var(--ink); display: grid; align-content: center; justify-items: center; gap: 5px; rotate: -10deg; transition: rotate .65s ease; font: 700 clamp(15px, 2.5vw, 28px)/1 var(--display); }
.vinyl-label i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.spark { position: absolute; z-index: 2; color: var(--red); font-size: clamp(38px, 6vw, 82px); line-height: 1; }
.spark-top { right: 1%; top: -2%; transform: rotate(-12deg); }
.pick {
  position: absolute; z-index: 2; right: 4%; bottom: 0; width: clamp(60px, 17%, 116px); aspect-ratio: 1/.98;
  display: grid; place-content: center; justify-items: center;
  background: var(--red) url('assets/paper.png'); color: var(--light); border: 2px solid #802615;
  border-radius: 42% 45% 50% 52% / 32% 35% 67% 68%;
  transform: rotate(14deg); box-shadow: 3px 5px 0 #463122; font: 700 clamp(17px, 3vw, 30px)/1 var(--display);
}
.pick i { font: normal 15px/1 var(--mono); }

.ticker { background: var(--ink); color: var(--light); border-block: 1px solid var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tape-roll 55s linear infinite; }
.ticker span { padding: 11px 0; white-space: nowrap; font: 700 13px/1 var(--mono); letter-spacing: .12em; }
.ticker b { color: var(--accent); display: inline-block; margin-inline: clamp(13px, 2vw, 32px); }
@keyframes tape-roll { to { transform: translateX(-50%); } }

.lore { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(30px, 8vw, 110px); align-items: center; padding-block: clamp(73px, 10vw, 145px); }
.rule-label { display: flex; align-items: center; gap: 10px; color: var(--red); }
.rule-label span { width: 28px; height: 1px; background: currentColor; }
h2 { font: 700 clamp(54px, 7.2vw, 107px)/.79 var(--display); letter-spacing: -.055em; margin-block: 18px 25px; }
h2 em { font-style: normal; color: var(--red); }
.lore-copy > p:not(.eyebrow) { max-width: 41ch; margin-top: 13px; }
.annotation, .sound-note { display: inline-block; margin-top: 26px; color: var(--red); font: italic 700 clamp(19px, 2.3vw, 28px)/1.3 Georgia, serif; transform: rotate(-3deg); }
.annotation { border-bottom: 2px solid currentColor; }
.contact-sheet {
  position: relative; padding: 14px 14px 12px; background: #f8eed8 url('assets/paper.png'); border: 1px solid #79654c;
  box-shadow: 5px 6px 0 #38271928; rotate: 3deg;
}
.contact-sheet img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: #c6b28b; }
.masking-tape {
  position: absolute; z-index: 1; top: -11px; left: 33%; width: 33%; height: 26px; transform: rotate(-8deg);
  background: #ccb67ea8 url('assets/paper.png'); clip-path: polygon(0 5%, 100% 0, 96% 22%, 99% 38%, 95% 58%, 99% 80%, 97% 95%, 2% 100%, 4% 78%, 0 57%, 3% 35%);
}

.garage {
  color: var(--light);
  background: radial-gradient(ellipse at 83% 50%, #522822a3, transparent 63%), #201916;
  border-block: 3px solid #1c1a17;
}
.garage-inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(26px, 7vw, 100px); padding-block: clamp(66px, 9vw, 125px); }
.garage .rule-label, .garage h2 em, .sound-note { color: var(--accent); }
.garage-copy > p:not(.eyebrow) { max-width: 31ch; color: #f0ddc3; }
.sound-note span { font: 400 1.4em/1 Georgia, serif; }

.amp { position: relative; padding: 18px; border: 2px solid #504437; border-radius: 11px; background: #26201b; box-shadow: 6px 9px #0f0c09, inset 0 0 0 4px #40362c; }
.amp-handle {
  position: absolute; width: 33%; height: 14px; left: 33.5%; top: -15px; background: #493c32;
  border: 4px solid #16120f; border-radius: 8px 8px 0 0; box-shadow: inset 0 3px #574b3d;
}
.amp-controls, .amp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.amp-controls { padding: 3px 2px 12px; }
.amp-name { display: flex; align-items: center; gap: 9px; font: 700 21px/1 var(--display); letter-spacing: .09em; }
.amp-led { width: 8px; height: 8px; border-radius: 50%; background: #af5847; box-shadow: inset 0 0 0 1px #ffb48740; }
.amp.is-playing .amp-led, .amp.is-plucking .amp-led { background: #ff8d62; box-shadow: 0 0 12px #ff5724; }
.fuzz, .copy {
  background: var(--light); border: 1px solid var(--ink); color: var(--ink); padding: 7px 11px; min-height: 36px;
  font: 700 12px/1.15 var(--mono); text-transform: uppercase; white-space: nowrap;
}
.fuzz span { margin-left: 4px; color: var(--red); }
.fuzz:hover, .copy:hover { background: #ead6af; }
.fuzz[aria-pressed="true"] { background: var(--accent); }
.fuzz[aria-pressed="true"] span { color: var(--ink); }
.fretboard {
  display: grid; row-gap: 0; padding: 6px 9px; border: 2px solid #a68a6a; background:
  repeating-linear-gradient(90deg, transparent 0 24%, #c59d6d35 24% 24.8%, transparent 24.8% 25%), url('assets/paper.png'), #624333;
}
.string {
  width: 100%; display: grid; grid-template-columns: 33px 1fr 28px; align-items: center; gap: 9px; min-height: 36px;
  padding: 0 4px; background: transparent; border: 0; color: var(--light); text-align: center;
}
.string:hover, .string.is-hit { background: #210e0d68; }
.string kbd { background: #271d18; padding: 3px; border: 1px solid #79593e; font: 700 12px/1 var(--mono); }
.string small { font: 700 12px/1 var(--mono); }
.string > span { height: var(--string-size, 1px); background: #efcf97; box-shadow: 0 1px 2px #20100b; transform-origin: 50% 50%; }
.string:nth-child(-n+3) > span { --string-size: 2px; }
.string:first-child > span { --string-size: 3px; }
.string.is-hit > span { background: #fff3bf; animation: vibrate .33s ease-out; }
@keyframes vibrate { 14%, 48% { transform: scaleY(2.3) translateY(2px) skewY(.8deg); } 32%, 72% { transform: skewY(-.8deg); } }
.amp-foot { padding-top: 15px; }
.amp-foot .button { min-height: 42px; padding: 9px 10px; }
.riff-button[aria-pressed="true"] .play-icon { clip-path: inset(0); }
.amp-status { font: 400 11px/1.25 var(--mono); color: #f2d6ad; text-align: right; }

.token { background: var(--red) url('assets/paper.png'); color: #fff6e1; }
.token-inner { min-height: 305px; padding-block: 52px; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: 35px; }
.token .rule-label { color: #fff6e1; }
.token h2 { font-size: clamp(85px, 13vw, 167px); margin-block: 27px 0; line-height: .93; }
.token h2 span { color: #291b17; }
.contract { border: 1px solid #fff6e1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; box-shadow: 4px 4px #4c1a14; }
.contract > div { display: grid; gap: 5px; min-width: 0; }
.contract span { font: 700 10px/1.3 var(--mono); letter-spacing: .09em; }
.contract code { font: 700 16px/1.2 var(--mono); overflow-wrap: anywhere; }
.copy-status { min-height: 14px; margin-top: 8px; font: 700 11px/1.3 var(--mono); }
.socials { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 6px 0 0; padding: 0; font: 700 11px/1.3 var(--mono); }
.socials li { display: flex; }
.socials a, .socials li > span { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.socials a:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials small { font-size: 9px; border: 1px solid #fff6e195; padding: 1px 3px; }
.footer { border-top: 1px solid #3c1b16; }
.footer-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .55s ease, translate .55s ease; }
  .reveal.is-waiting { opacity: 0; translate: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
}

@media (max-width: 950px) {
  .hero { grid-template-columns: .88fr 1.12fr; }
  .lore { gap: 46px; }
  .garage-inner { gap: 36px; }
  .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 730px) {
  .header-inner { min-height: 62px; }
  .brand { font-size: 24px; }
  .burger { display: grid; gap: 5px; justify-content: center; align-content: center; width: 43px; height: 39px; background: transparent; border: 1px solid var(--ink); }
  .burger span { width: 18px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  nav { display: none; position: absolute; inset: 100% 0 auto; padding: 14px var(--gutter) 20px; align-items: stretch; gap: 7px; background: var(--paper) url('assets/paper.png'); border-bottom: 1px solid var(--ink); box-shadow: 0 10px 15px #231e1b22; }
  nav.is-open { display: flex; flex-direction: column; }
  nav a { padding-block: 13px; }
  nav .nav-token { width: fit-content; }
  .hero { grid-template-columns: 1fr; gap: 41px; padding-block: 46px 53px; }
  .hero h1 { font-size: clamp(110px, 20vw, 150px); }
  .hero-label { margin-bottom: 21px; }
  .hero-deck { margin-top: 13px; }
  .hero-description { margin-top: 10px; }
  .hero-actions { margin-top: 19px; }
  .hero-art { width: min(100%, 520px); margin-inline: auto; }
  .lore, .garage-inner, .token-inner { grid-template-columns: 1fr; }
  .lore { gap: 40px; padding-block: 62px 66px; }
  .contact-sheet { margin-inline: 8px; }
  .garage-inner { gap: 40px; padding-block: 60px 67px; }
  .sound-note { margin-top: 13px; }
  .token-inner { gap: 23px; padding-block: 45px 38px; }
  .token h2 { font-size: clamp(85px, 18vw, 121px); }
  .footer-inner { min-height: 69px; }
}
@media (max-width: 385px) {
  .hero-actions { column-gap: 18px; }
  .amp { padding: 14px; }
  .amp-foot { gap: 8px; }
  .amp-status { max-width: 12ch; }
}
