@font-face {
  font-family: "RwillDisplay";
  src: local("Arial Black");
  font-display: swap;
}

:root {
  --black: #080607;
  --paper: #f5eee4;
  --red: #e72918;
  --red-dark: #6d0705;
  --glass: rgba(7, 5, 6, .72);
  --line: rgba(255,255,255,.2);
  --scroll: 0;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 64px);
  z-index: 50;
  background: linear-gradient(to bottom, rgba(3,2,3,.9), rgba(3,2,3,.25), transparent);
  backdrop-filter: blur(4px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .19em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.main-nav { display: flex; gap: clamp(12px, 2.5vw, 36px); }
.main-nav a {
  position: relative;
  padding: 9px 0;
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 3px;
  height: 2px;
  background: var(--red);
  transition: right .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: white; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.album-scroll {
  position: relative;
  height: 250vh;
  background: #000;
}
.album-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.cover-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}
.cover-base {
  z-index: 0;
  transform: scale(calc(1 + var(--scroll) * .035));
  filter: saturate(calc(1 - var(--scroll) * .08)) brightness(calc(1 - var(--scroll) * .12));
}
.cross-layer {
  z-index: 2;
  clip-path: polygon(0 21%, 35% 21%, 35% 66%, 0 66%);
  transform-origin: 22% 52%;
  transform: translate3d(calc(var(--scroll) * 2vw), calc(var(--scroll) * 2vh), 0)
             scale(calc(1 + var(--scroll)));
  filter: brightness(calc(1 + var(--scroll) * .1));
}
.ready-erase {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: calc(var(--scroll) * .92);
  background: radial-gradient(ellipse at 71% 58%, rgba(5,3,4,.97) 0 45%, rgba(5,3,4,.82) 59%, transparent 74%);
  clip-path: polygon(42% 17%, 100% 17%, 100% 100%, 12% 100%, 12% 66%, 24% 53%, 35% 37%);
  pointer-events: none;
}
.ready-layer {
  z-index: 3;
  clip-path: polygon(42% 17%, 100% 17%, 100% 100%, 12% 100%, 12% 66%, 24% 53%, 35% 37%);
  transform-origin: 75% 82%;
  transform: translate3d(calc(var(--scroll) * -8vw), calc(var(--scroll) * -7vh), 0)
             rotate(calc(var(--scroll) * -8deg))
             scale(calc(1 + var(--scroll) * .18));
}
.cover-vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.12), transparent 20%, transparent 78%, rgba(0,0,0,.55)),
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(0,0,0,.35) 100%);
}
.hero-actions {
  position: absolute;
  z-index: 15;
  top: 88px;
  right: clamp(16px, 3vw, 42px);
  display: flex;
  gap: 10px;
}
.ghost-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(7,5,6,.42);
  color: white;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.ghost-button:hover, .primary-button:hover {
  transform: translateY(-2px);
  border-color: white;
  background: rgba(231,41,24,.82);
}
.primary-button { background: var(--red); border-color: var(--red); }

.playlist-card {
  --card-accent: var(--red);
  position: absolute;
  z-index: 12;
  width: min(310px, 27vw);
  padding: 17px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(145deg, rgba(7,5,6,.86), rgba(20,8,10,.56));
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(13px);
}
.playlist-left { left: clamp(12px, 2.2vw, 35px); bottom: 4.5vh; }
.playlist-right { right: clamp(12px, 2.2vw, 35px); bottom: 4.5vh; }
.playlist-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.55);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .22em;
}
.playlist-title {
  margin: 0 0 11px;
  color: white;
  font-family: RwillDisplay, Impact, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
  line-height: 1;
  letter-spacing: .05em;
}
.track-list { display: grid; gap: 4px; }
.track-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 4px 5px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.track-row:first-child { border-top-color: rgba(255,255,255,.2); }
.track-play {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}
.track-play:hover, .track-play.is-playing { background: var(--red); border-color: var(--red); }
.track-name {
  overflow: hidden;
  color: rgba(255,255,255,.88);
  font-size: .76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.track-download {
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.track-download:hover { color: white; border-color: white; background: rgba(231,41,24,.5); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 21px;
  z-index: 11;
  display: grid;
  justify-items: center;
  gap: 7px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.58);
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .22em;
  transition: opacity .2s ease;
  opacity: calc(1 - var(--scroll) * 2);
}
.scroll-cue i {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, white, transparent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { transform: scaleY(.55); opacity: .5; } }

.music-scene {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 50px) clamp(22px, 7vw, 110px) 84px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.scene-neon { background-image: url("assets/images/neon-hall.jpg"); }
.scene-wall { background-image: url("assets/images/bricks-stage.jpg"); }
.scene-goat { background-image: url("assets/images/black-sheep-to-goat.jpg"); background-position: center 24%; }
.scene-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.87), rgba(0,0,0,.18) 58%, rgba(0,0,0,.5)),
    linear-gradient(to top, rgba(0,0,0,.78), transparent 55%);
}
.scene-content {
  position: relative;
  z-index: 2;
  width: min(660px, 90vw);
}
.scene-content-right { margin-left: auto; text-align: right; }
.section-kicker {
  margin: 0 0 12px;
  color: #ff7d70;
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.scene-content h2, .manifesto-card h1, .products-shell h1, .profile-strip h2 {
  margin: 0;
  font-family: RwillDisplay, Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 9px 34px rgba(0,0,0,.55);
}
.scene-content > p:not(.section-kicker) {
  max-width: 540px;
  color: rgba(255,255,255,.77);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.scene-content-right > p:not(.section-kicker) { margin-left: auto; }
.scene-playlist {
  position: relative;
  width: min(420px, 90vw);
  margin-top: 28px;
}
.scene-content-right .scene-playlist { margin-left: auto; text-align: left; }

.now-playing {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 14px;
  width: min(620px, calc(100vw - 28px));
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px minmax(120px, 1fr) minmax(180px, 1.2fr);
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  transform: translate(-50%, 130%);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(8,6,7,.88);
  box-shadow: 0 15px 65px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
  transition: transform .28s ease;
}
.now-playing.is-visible { transform: translate(-50%, 0); }
.player-toggle {
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
}
.player-copy { min-width: 0; }
.player-label {
  display: block;
  color: rgba(255,255,255,.45);
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .17em;
}
.player-copy strong {
  display: block;
  overflow: hidden;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-progress { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 9px; }
.player-progress input { width: 100%; accent-color: var(--red); }
.player-progress span { color: rgba(255,255,255,.58); font-size: .62rem; white-space: nowrap; }

.site-footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px clamp(20px, 5vw, 70px) 90px;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #050405;
  color: rgba(255,255,255,.56);
  font-size: .72rem;
  letter-spacing: .08em;
}
.site-footer strong { color: white; letter-spacing: .16em; }

.inner-page { min-height: 100vh; }
.inner-hero, .products-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 50px) clamp(20px, 8vw, 130px) 80px;
  background-size: cover;
  background-position: center;
}
.profile-hero { background-image: url("assets/images/bricks-profile.jpg"); background-position: center 24%; }
.products-hero { background-image: url("assets/images/bricks-products.jpg"); background-position: center 28%; }
.inner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.48) 58%, rgba(0,0,0,.68));
}
.manifesto-card, .products-shell {
  position: relative;
  z-index: 2;
  width: min(760px, 95vw);
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(5,4,5,.76);
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  backdrop-filter: blur(15px);
}
.manifesto-card h1, .products-shell h1 { font-size: clamp(4rem, 10vw, 9rem); }
.manifesto-lead {
  color: white !important;
  font-size: clamp(1.25rem, 2.3vw, 2rem) !important;
  font-weight: 850;
  line-height: 1.15;
}
.manifesto-card p {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  line-height: 1.7;
}
.manifesto-card blockquote {
  margin: 27px 0;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-style: italic;
}
.button-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }

.profile-strip {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  align-items: center;
  gap: clamp(25px, 6vw, 90px);
  padding: clamp(35px, 7vw, 100px);
  background: linear-gradient(135deg, #0a0709, #260709);
}
.profile-strip img {
  width: 100%;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.profile-strip h2 { font-size: clamp(2.5rem, 6vw, 6rem); }
.profile-strip p:last-child { color: rgba(255,255,255,.65); font-size: 1.05rem; }

.products-shell { width: min(1180px, 96vw); }
.products-intro { max-width: 700px; color: rgba(255,255,255,.72); line-height: 1.65; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.product-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
}
.product-card > span { color: #ff796d; font-size: .66rem; font-weight: 900; letter-spacing: .2em; }
.product-card h2 { margin: 20px 0 10px; font-size: 1.5rem; text-transform: uppercase; }
.product-card p { flex: 1; color: rgba(255,255,255,.63); line-height: 1.5; }
.product-card button {
  align-self: flex-start;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* RWILLER NFC KEYCHAIN STORE */
.keychain-store {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(255,255,255,.23);
  background:
    radial-gradient(circle at 18% 20%, rgba(231,41,24,.2), transparent 34%),
    linear-gradient(145deg, rgba(10,7,9,.96), rgba(48,7,10,.78));
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
  overflow: hidden;
}
.keychain-store::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.035) 48%, transparent 70%);
}
.keychain-visual {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
}
.keychain-ring {
  position: absolute;
  top: 3%;
  width: 88px;
  height: 88px;
  border: 11px solid rgba(218,218,218,.84);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), 0 16px 25px rgba(0,0,0,.35);
}
.keychain-token {
  position: relative;
  width: min(270px, 82%);
  aspect-ratio: 1 / 1.12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 34%, rgba(231,41,24,.38), transparent 28%),
    linear-gradient(160deg, #17090b 0%, #050405 56%, #260709 100%);
  box-shadow: 0 34px 80px rgba(0,0,0,.58), inset 0 0 40px rgba(255,255,255,.025);
  transform: rotate(-5deg);
}
.keychain-token::before {
  content: "";
  position: absolute;
  top: 15px;
  width: 32px;
  height: 32px;
  border: 6px solid #8f8f8f;
  border-radius: 50%;
  background: #080607;
}
.keychain-r {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: .8;
  text-shadow: 0 8px 30px rgba(231,41,24,.3);
}
.keychain-token strong { margin-top: 16px; font-size: 1.35rem; letter-spacing: .16em; }
.keychain-token small { margin-top: 5px; color: rgba(255,255,255,.54); font-size: .62rem; font-weight: 900; letter-spacing: .24em; }
.nfc-waves {
  position: absolute;
  right: 23px;
  bottom: 23px;
  width: 31px;
  height: 31px;
  border: 3px solid transparent;
  border-right-color: rgba(255,255,255,.75);
  border-radius: 50%;
}
.nfc-waves::before, .nfc-waves::after {
  content: "";
  position: absolute;
  border: 2px solid transparent;
  border-right-color: rgba(255,255,255,.72);
  border-radius: 50%;
}
.nfc-waves::before { inset: 5px; }
.nfc-waves::after { inset: 11px; }
.keychain-copy { position: relative; z-index: 1; }
.keychain-copy h2 { margin: 5px 0 16px; font-family: RwillDisplay, Impact, sans-serif; font-size: clamp(2.3rem, 5vw, 5.2rem); line-height: .92; letter-spacing: .025em; }
.keychain-lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.65; }
.keychain-features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; margin: 25px 0; }
.keychain-features span { position: relative; padding-left: 19px; color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.4; }
.keychain-features span::before { content: ""; position: absolute; left: 0; top: .48em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.keychain-buybar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 24px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.keychain-buybar > div { display: grid; gap: 3px; }
.keychain-price-label { color: rgba(255,255,255,.46); font-size: .58rem; font-weight: 900; letter-spacing: .17em; }
.keychain-price { font-size: clamp(1.3rem, 2.5vw, 2rem); }
.keychain-buybar small { color: rgba(255,255,255,.5); }
.keychain-buy { min-width: 180px; min-height: 52px; }
.keychain-buy.is-unconfigured { opacity: .62; cursor: pointer; }
.paypal-checkout-wrap { width: min(100%, 330px); min-width: 260px; }
.paypal-checkout-wrap > div { min-height: 45px; }
.paypal-checkout-caption { margin: 8px 0 0; color: rgba(255,255,255,.5); font-size: .68rem; line-height: 1.4; text-align: center; }
.paypal-load-error { margin: 0; padding: 12px 14px; border: 1px solid rgba(255,80,80,.4); color: #ffaaa3; font-size: .75rem; line-height: 1.4; }
.keychain-note { margin: 16px 0 0; color: rgba(255,255,255,.5); font-size: .76rem; line-height: 1.5; }
.keychain-status { min-height: 1.2em; margin: 9px 0 0; color: #ff9a91; font-size: .74rem; font-weight: 800; }

@media (max-width: 900px) {
  .keychain-store { grid-template-columns: 1fr; }
  .keychain-visual { min-height: 300px; }
  :root { --header-h: 64px; }
  .brand span:last-child { display: none; }
  .album-stage { min-height: 700px; }
  .hero-actions { top: 72px; }
  .playlist-card { width: min(330px, 43vw); padding: 13px; }
  .track-row { grid-template-columns: 30px minmax(0,1fr) auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-strip { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .keychain-store { padding: 22px 16px; }
  .keychain-visual { min-height: 270px; }
  .keychain-features { grid-template-columns: 1fr; }
  .keychain-buybar { align-items: stretch; flex-direction: column; }
  .keychain-buy { width: 100%; }
  .paypal-checkout-wrap { width: 100%; min-width: 0; }
  .site-header { padding-inline: 14px; }
  .main-nav { gap: 13px; }
  .main-nav a { font-size: .62rem; letter-spacing: .1em; }
  .album-scroll { height: 300vh; }
  .album-stage { min-height: 760px; }
  .cover-layer { object-position: 54% center; }
  .hero-actions { left: 12px; right: auto; }
  .playlist-card {
    width: calc(50% - 18px);
    bottom: 16px;
    padding: 10px;
  }
  .playlist-left { left: 12px; }
  .playlist-right { right: 12px; }
  .playlist-title { font-size: .9rem; }
  .playlist-eyebrow { font-size: .48rem; }
  .track-row { min-height: 34px; padding-inline: 0; grid-template-columns: 27px minmax(0,1fr); }
  .track-download { grid-column: 2; justify-self: start; margin-bottom: 4px; }
  .track-name { font-size: .64rem; }
  .track-play { width: 25px; height: 25px; }
  .scroll-cue { display: none; }
  .music-scene { background-attachment: scroll; padding-inline: 20px; }
  .scene-content-right { text-align: left; }
  .scene-content-right > p:not(.section-kicker), .scene-content-right .scene-playlist { margin-left: 0; }
  .now-playing { grid-template-columns: 42px minmax(0,1fr); }
  .player-progress { grid-column: 1 / -1; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .manifesto-card, .products-shell { padding: 24px 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover-base, .cross-layer, .ready-layer { transform: none !important; }
  .ready-erase { display: none; }
  .scroll-cue i { animation: none; }
}
