:root {
  color-scheme: dark;
  --ink: #0b0909;
  --ink-soft: #171313;
  --paper: #f4eadc;
  --muted: #b9afa5;
  --red: #d9312b;
  --red-bright: #ff5148;
  --line: rgba(244, 234, 220, 0.17);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
  color: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); min-width: 320px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  min-height: 72px; padding: 0 4vw;
  display: flex; align-items: center; gap: 2.5rem;
  background: rgba(11, 9, 9, 0.9); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: .96rem; letter-spacing: .11em; white-space: nowrap; }
.brand strong { font-weight: 850; }
.brand-mark { width: 1.7rem; aspect-ratio: 1; border-radius: 50%; background: var(--red); border: .38rem solid var(--paper); box-shadow: inset 0 0 0 .18rem var(--ink); }
nav { display: flex; gap: 1.7rem; margin-left: auto; color: var(--muted); font-size: .9rem; }
nav a:hover, nav a:focus-visible { color: var(--paper); }
.cart-button { border: 1px solid var(--line); color: var(--paper); background: transparent; border-radius: 999px; padding: .65rem .9rem; cursor: pointer; }
.cart-button span { display: inline-grid; place-items: center; min-width: 1.55rem; height: 1.55rem; margin-left: .45rem; border-radius: 50%; background: var(--red); color: white; font-weight: 800; }

.hero { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1.03fr .97fr; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { padding: clamp(4rem, 8vw, 8.5rem) 5vw 8rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-copy::after { content: "KB"; position: absolute; right: 0; bottom: -5rem; color: transparent; -webkit-text-stroke: 1px rgba(244,234,220,.08); font: 900 19rem/1 Arial Black, sans-serif; pointer-events: none; }
.eyebrow { margin: 0 0 1rem; color: var(--red-bright); letter-spacing: .16em; font-weight: 800; font-size: .76rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 1.6rem; font: 860 clamp(3.5rem, 7.4vw, 7.5rem)/.89 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.hero-intro { max-width: 700px; color: #d7cdc4; font-size: clamp(1rem, 1.55vw, 1.23rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; padding: .78rem 1.05rem; border: 1px solid transparent; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-bright); }
.button-quiet { border-color: var(--line); color: var(--paper); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--paper); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 3rem; color: var(--muted); font-size: .85rem; }
.hero-meta strong { color: var(--paper); font-size: 1.25rem; margin-right: .25rem; }
.hero-image-wrap { position: relative; min-height: 620px; overflow: hidden; background: #241817; }
.hero-image-wrap::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 18%), linear-gradient(0deg, rgba(11,9,9,.7), transparent 40%); pointer-events: none; }
.hero-collage-art { position: absolute; top: var(--collage-top, 0px); right: 0; bottom: 0; left: 0; overflow: hidden; background: #17100f; }
.hero-base-collage { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; transform: none; filter: saturate(1.04) contrast(1.03); }
.photo-caption { position: absolute; z-index: 3; right: 2rem; bottom: 1.5rem; margin: 0; color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .08em; }

.catalog, .store, .about, .controls { padding: clamp(5rem, 9vw, 9rem) 5vw; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 520px); gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
h2 { margin-bottom: 0; font: 800 clamp(2.7rem, 5vw, 5.3rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.section-heading > p, .store-copy > p, .controls > div > p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
.album-strip { display: grid; grid-template-columns: 140px 1fr auto; gap: 1.5rem; align-items: center; margin: 0 0 1.6rem; padding: 1rem; background: var(--paper); color: var(--ink); }
.album-strip img { width: 140px; aspect-ratio: 1; object-fit: cover; }
.album-strip .eyebrow { margin-bottom: .45rem; color: #a81c17; }
.album-strip h3 { margin-bottom: .35rem; font: 800 1.75rem/1 Georgia, serif; }
.album-strip p { margin-bottom: 0; color: #504743; line-height: 1.5; }
.album-price { display: grid; gap: .75rem; text-align: right; }
.album-price > span { font-size: 1.5rem; font-weight: 850; }
.album-price s { color: #796f69; font-size: 1rem; margin-right: .35rem; }
.track-list { border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 3rem minmax(180px, 1fr) 7rem 6.5rem; align-items: center; gap: 1rem; min-height: 78px; border-bottom: 1px solid var(--line); transition: background .2s ease; }
.track:hover { background: rgba(244,234,220,.035); }
.track-number { color: #746b65; font-variant-numeric: tabular-nums; }
.track-title { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.track-title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.03rem; }
.track-play { flex: 0 0 auto; width: 2.35rem; height: 2.35rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; }
.track-play:hover, .track-play:focus-visible, .track.is-playing .track-play { background: var(--red); border-color: var(--red); }
.track-note { color: var(--muted); font-size: .78rem; }
.track-price { font-weight: 800; text-align: center; }
.track-add { justify-self: end; border: 1px solid var(--line); background: transparent; color: var(--paper); min-width: 96px; padding: .58rem .8rem; cursor: pointer; }
.track-add:hover, .track-add:focus-visible, .track-add.is-added { background: var(--paper); color: var(--ink); }

.store { background: var(--red); color: #fff; display: grid; grid-template-columns: .95fr 1.25fr; gap: 5vw; align-items: center; }
.store .eyebrow { color: #260707; }
.store-copy h2 { max-width: 660px; }
.store-copy > p { color: rgba(255,255,255,.78); margin-top: 1.5rem; max-width: 620px; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); box-shadow: var(--shadow); }
.price-grid article { min-height: 190px; padding: 1.5rem; display: flex; flex-direction: column; background: #161111; border: 1px solid rgba(255,255,255,.13); }
.price-grid article span { color: var(--muted); font-weight: 700; }
.price-grid article strong { margin: auto 0 .35rem; font: 800 2.8rem/1 Georgia, serif; }
.price-grid article small { color: var(--muted); }
.price-grid .featured-price { background: var(--paper); color: var(--ink); transform: translateY(-10px); }
.price-grid .featured-price span, .price-grid .featured-price small { color: #665c56; }

.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: 8vw; position: relative; overflow: hidden; }
.about::before { content: "360"; position: absolute; top: 2rem; right: -1rem; font: 900 17rem/1 Arial Black, sans-serif; color: rgba(217,49,43,.055); }
.about-title { position: relative; z-index: 1; }
.about-title h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); }
.about-title em { color: var(--red-bright); font-weight: 400; }
.about-copy { position: relative; z-index: 1; max-width: 760px; color: #cfc4bb; font-size: 1.03rem; line-height: 1.8; }
.about-copy .lead { color: var(--paper); font-size: 1.25rem; }
.career-collage { grid-column: 1 / -1; position: relative; z-index: 1; margin: 2rem 0 0; }
.career-collage-artwork { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0f0b0b; }
.career-collage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0f0b0b; }
.career-panel { position: relative; overflow: hidden; background: #161111; }
.career-panel::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(244,234,220,.12); pointer-events: none; }
.career-panel img { position: absolute; max-width: none; }
.career-early, .career-flippers, .career-now, .career-studio { aspect-ratio: 1; }
.career-early { background: #e7e5de; }
.career-early img { inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.career-flippers { background: #101010; }
.career-flippers img { inset: 0; width: 100%; height: 100%; object-fit: contain; }
.career-now img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.career-studio img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.career-panel-label { position: absolute; z-index: 3; left: 1.1rem; bottom: 1rem; padding: .55rem .8rem; color: var(--paper); background: rgba(11,9,9,.84); border: 1px solid rgba(244,234,220,.28); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.career-collage figcaption { margin-top: .75rem; color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
blockquote { margin: 2.5rem 0; color: var(--paper); font: italic 700 clamp(2rem, 4vw, 4.2rem)/1.06 Georgia, serif; }
.band-tape { grid-column: 1 / -1; margin-top: 3rem; padding: 1.15rem 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.band-tape-track { display: flex; width: max-content; animation: band-scroll 30s linear infinite; will-change: transform; }
.band-tape-set { display: flex; gap: 2rem; padding-right: 2rem; }
.band-tape span::after { content: "✦"; color: var(--red); margin-left: 2rem; }
@keyframes band-scroll { to { transform: translateX(-50%); } }

.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 6vw; background: var(--ink-soft); border-top: 1px solid var(--line); }
.controls h2 { max-width: 700px; }
.controls > div > p:not(.eyebrow) { margin-top: 1.4rem; max-width: 680px; }
.status-list { border-top: 1px solid var(--line); }
.status-list > div { display: grid; grid-template-columns: 1rem 1fr auto; gap: .8rem; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.status-list small { color: var(--muted); }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--muted); }
.status-private { background: #f6bd3d; }.status-off { background: #786f69; }.status-planned { background: #6a8dd8; }
.listener-demo { grid-column: 1 / -1; max-width: 860px; padding-top: 1rem; }
.listener-demo h3 { font: 800 1.65rem/1.2 Georgia, serif; }
.listener-demo h3 span { color: var(--muted); font: 600 .75rem/1 sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.listener-demo > p { color: var(--muted); line-height: 1.6; }
.listener-demo label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 750; }
.email-row { display: flex; gap: .75rem; }
.email-row input { flex: 1; min-height: 48px; padding: 0 1rem; border: 1px solid var(--line); background: var(--ink); color: var(--paper); border-radius: 2px; }
#listenerList { list-style: none; padding: 0; margin: 1rem 0 0; }
#listenerList li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); color: #d9cfc6; }
#listenerList button { border: 0; background: transparent; color: var(--red-bright); cursor: pointer; }

footer { min-height: 210px; padding: 3rem 5vw 7rem; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 1rem 2rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--paper); }
.footer-identity { display: grid; justify-items: start; gap: .65rem; }
.footer-domain { color: #d9cfc6; font-size: .86rem; letter-spacing: .04em; }
.footer-domain:hover, .footer-domain:focus-visible { color: var(--paper); }
.footer-contact { display: flex; align-items: center; justify-self: end; gap: .8rem; color: #8f8580; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact a { padding: .48rem .72rem; border: 1px solid var(--line); border-radius: 999px; color: var(--paper); font-weight: 750; letter-spacing: .06em; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
.footer-contact a:hover, .footer-contact a:focus-visible { color: white; border-color: var(--red-bright); background: rgba(217,49,43,.12); }
.footer-copy, .footer-note { margin: 0; font-size: .8rem; }
.footer-note { grid-column: 2; text-align: right; }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin-top: .45rem; padding-top: 1rem; border-top: 1px solid var(--line); color: #a99f98; font-size: .76rem; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--paper); }

.legal-main { width: min(920px, 90vw); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0 8rem; }
.legal-hero { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal-hero h1 { max-width: 850px; font-size: clamp(3.2rem, 7vw, 6.4rem); }
.legal-status { max-width: 760px; margin: 1.5rem 0 0; padding: 1rem 1.1rem; border-left: 4px solid var(--red); background: var(--ink-soft); color: #d7cdc4; line-height: 1.65; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1.6rem; color: var(--muted); font-size: .88rem; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--paper); }
.legal-section { scroll-margin-top: 95px; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 1.35rem; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.legal-section h3 { margin: 1.8rem 0 .65rem; font: 750 1.15rem/1.25 Georgia, serif; }
.legal-section p, .legal-section li { color: #d7cdc4; line-height: 1.75; }
.legal-section ul { padding-left: 1.2rem; }
.legal-section a { color: var(--paper); text-decoration: underline; text-underline-offset: .2em; }
.legal-updated { color: var(--muted); font-size: .82rem; }

.player { position: fixed; z-index: 30; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(980px, calc(100% - 2rem)); min-height: 82px; padding: .8rem 1rem; display: grid; grid-template-columns: 3.2rem minmax(150px, .7fr) minmax(220px, 1.3fr) auto; align-items: center; gap: 1rem; background: rgba(244,234,220,.96); color: var(--ink); box-shadow: 0 18px 55px rgba(0,0,0,.5); backdrop-filter: blur(18px); }
.player-play { width: 3.1rem; height: 3.1rem; border: 0; border-radius: 50%; background: var(--red); color: white; cursor: pointer; }
.player-track { min-width: 0; display: grid; }
.player-track strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.player-track span { color: #6b625d; font-size: .76rem; }
.player-progress input { width: 100%; accent-color: var(--red); }
.player-time { display: flex; justify-content: space-between; color: #6b625d; font-size: .7rem; }
.player-add { border: 1px solid rgba(11,9,9,.25); background: transparent; min-height: 42px; padding: .5rem .8rem; font-weight: 800; cursor: pointer; }

dialog { width: min(620px, calc(100% - 2rem)); max-height: min(740px, calc(100vh - 2rem)); padding: 1.5rem; color: var(--paper); background: var(--ink-soft); border: 1px solid var(--line); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 2.5rem; }
.icon-button { border: 0; background: transparent; color: var(--paper); font-size: 2rem; cursor: pointer; }
.cart-items { max-height: 360px; overflow: auto; }
.cart-item, .empty-cart { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cart-item button { border: 0; background: transparent; color: var(--red-bright); cursor: pointer; }
.cart-summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; color: var(--muted); }
.cart-summary strong { color: var(--paper); font-size: 1.5rem; }
.checkout-button { width: 100%; background: var(--red); color: #fff; cursor: pointer; }
.checkout-button:disabled { background: #403a37; color: #a9a09a; cursor: not-allowed; }
.dialog-note { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 900px) {
  nav { display: none; }
  .site-header { gap: 1rem; }.cart-button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 72vh; padding-bottom: 4rem; }
  .hero-image-wrap { min-height: 62vh; }
  .hero-collage-art { transform: none; }
  .section-heading, .store, .about, .controls { grid-template-columns: 1fr; }
  .career-collage-grid { min-height: 0; }
  .album-strip { grid-template-columns: 105px 1fr; }
  .album-strip img { width: 105px; }.album-price { grid-column: 1/-1; grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .listener-demo { grid-column: auto; }
  .track { grid-template-columns: 2.3rem minmax(140px,1fr) 6rem; }
  .track-note { display: none; }
  .player { grid-template-columns: 3rem 1fr auto; }
  .player-progress { grid-column: 1 / -1; order: 2; }
  footer { grid-template-columns: 1fr; }
  .footer-contact { justify-self: start; }
  .footer-note { grid-column: auto; text-align: left; }
  .footer-links { grid-column: auto; }
}
@media (max-width: 600px) {
  .site-header { min-height: 64px; padding-inline: 1rem; }
  .brand { font-size: .78rem; }.brand-mark { width: 1.45rem; }
  .cart-button { font-size: .82rem; padding: .45rem .6rem; }
  .hero { min-height: auto; }.hero-copy { min-height: 72vh; padding: 4.5rem 1.2rem 3.5rem; }.hero-copy::after { font-size: 9rem; }
  h1 { font-size: clamp(3.3rem, 16vw, 5.2rem); }
  .hero-image-wrap { min-height: 54vh; }
  .hero-base-collage { width: 100%; object-position: center top; transform: none; }
  .photo-caption { right: 1rem; }
  .catalog, .store, .about, .controls { padding: 4.5rem 1rem; }
  .section-heading { gap: 1.3rem; }
  .album-strip { grid-template-columns: 76px 1fr; gap: .9rem; }.album-strip img { width: 76px; }.album-strip p { display: none; }
  .track { grid-template-columns: minmax(0,1fr) 5.6rem; gap: .55rem; min-height: 70px; }
  .track-number { display: none; }.track-title { gap: .55rem; }.track-title strong { font-size: .9rem; }.track-price { display: none; }.track-add { min-width: 82px; font-size: .78rem; }
  .price-grid { grid-template-columns: 1fr 1fr; }.price-grid article { min-height: 150px; padding: 1rem; }.price-grid article strong { font-size: 2rem; }
  .career-collage-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 300px); min-height: 0; }
  .career-early, .career-flippers, .career-now, .career-studio { aspect-ratio: auto; }
  .email-row { flex-direction: column; }
  .player { bottom: .5rem; width: calc(100% - 1rem); min-height: 72px; grid-template-columns: 2.7rem minmax(0,1fr) auto; gap: .65rem; padding: .6rem; }
  .player-play { width: 2.7rem; height: 2.7rem; }.player-add { font-size: .73rem; padding: .4rem .55rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } * { transition: none !important; } .band-tape { overflow-x: auto; } .band-tape-track { animation: none; } .band-tape-set[aria-hidden="true"] { display: none; } }
