@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap");
/* Z.R. Williams: paper, ink, and a little rust */
:root {
  --paper: #f2ede3;
  --paper-2: #e8e1d3;
  --ink: #1d1a16;
  --ink-soft: #4a443c;
  --rust: #8f3f22;
  --rust-dark: #6e2f18;
  --line: #cfc5b3;
  --destructive: #a12a1a;
  --radius-control: 2px;
  --serif: "Libre Caslon Text", Georgia, serif;
  --display: "DM Serif Display", Georgia, serif;
  --mono: "Courier Prime", "Courier New", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.kicker { font-family: var(--mono); font-size: .85rem; text-transform: lowercase; letter-spacing: .08em; color: var(--rust); margin-bottom: .8rem; display: block; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-soft); }
.wrap { padding: 0 clamp(16px, 5vw, 72px); }
.section { padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 72px); border-top: 1px solid var(--line); }
.section.dark { background: var(--ink); color: var(--paper); border-top: 0; }
.section.dark .kicker { color: #d9a07f; }
.section.dark .muted { color: #c8bfb0; }

/* preview banner */
.preview { background: var(--rust); color: var(--paper); font-family: var(--mono); font-size: .8rem; text-align: center; padding: 6px 16px; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 5vw, 72px); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 20; }
.brand { font-family: var(--display); font-size: 1.6rem; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: clamp(12px, 2vw, 28px); flex-wrap: wrap; font-family: var(--mono); font-size: .9rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; color: var(--rust); }
.tools { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .9rem; }
.tools .session { min-width: 60px; }
.tools button, .linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; width: 100%; order: 3; flex-direction: column; gap: 10px; padding-top: 8px; }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-block; font-family: var(--mono); font-size: .95rem; padding: 14px 26px; border-radius: var(--radius-control); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--rust); border-color: var(--rust); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.section.dark .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section.dark .btn:hover { background: #d9a07f; border-color: #d9a07f; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 82vh; }
.hero-text { padding: clamp(40px, 7vw, 100px) clamp(16px, 5vw, 72px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-text .sub { font-size: 1.25rem; max-width: 30ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hero-img { background: var(--ink); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-img { height: 70vh; order: -1; } }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split img { width: 100%; filter: grayscale(1); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.lede { font-size: 1.3rem; max-width: 40ch; }
.prose { max-width: 62ch; }

/* listen / socials */
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.platforms a { font-family: var(--mono); font-size: .9rem; border: 1px solid currentColor; padding: 10px 16px; border-radius: var(--radius-control); text-decoration: none; }
.platforms a:hover { background: var(--ink); color: var(--paper); }
.section.dark .platforms a:hover { background: var(--paper); color: var(--ink); }
.todo-note { font-family: var(--mono); font-size: .78rem; color: var(--rust); margin-top: 10px; }
.section.dark .todo-note { color: #d9a07f; }

/* ticker */
.ticker { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .9rem; padding: 10px 0; }
.ticker span { display: inline-block; padding-left: 100%; animation: tick 38s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker span { animation: none; padding-left: 16px; } }

/* cards / grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin-top: 28px; }
.card { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 6px; background: var(--paper); color: var(--ink); text-decoration: none; }
.card .price { font-family: var(--mono); font-size: 1.1rem; }
.card ul { padding-left: 1.1em; margin: 8px 0 16px; }
.card .btn { margin-top: auto; text-align: center; }
.card.featured { border-color: var(--rust); border-width: 2px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.tile .ph { aspect-ratio: 4 / 5; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--mono); color: var(--ink-soft); overflow: hidden; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; }
.tile .name { font-size: 1.1rem; }
.ribbon { font-family: var(--mono); font-size: .75rem; color: var(--rust); }

/* forms */
.letter-form { display: grid; gap: 12px; max-width: 460px; margin-top: 18px; }
.field label { display: block; font-family: var(--mono); font-size: .85rem; margin-bottom: 4px; }
.field input { width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; border: 1px solid var(--ink); background: #fbf8f2; color: var(--ink); border-radius: var(--radius-control); }
.err { color: var(--destructive); font-family: var(--mono); font-size: .85rem; margin: 4px 0 0; }
.section.dark .err { color: #f0a08f; }
.thanks { font-size: 1.3rem; }

/* product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.chips button { font-family: var(--mono); padding: 8px 14px; border: 1px solid var(--ink); background: transparent; border-radius: var(--radius-control); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chips button:disabled { opacity: .35; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); margin: 8px 0 18px; }
.stepper button { width: 34px; height: 34px; border: 1px solid var(--ink); background: transparent; cursor: pointer; border-radius: var(--radius-control); }
fieldset { border: 0; padding: 0; margin: 0 0 6px; }
legend { font-family: var(--mono); font-size: .85rem; }

/* the hidden attribute must always win over display rules like .drawer's flex */
[hidden] { display: none !important; }

/* cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(29, 26, 22, .45); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--paper); z-index: 51; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; font-size: .95rem; }
.line img { width: 64px; height: 64px; object-fit: cover; background: var(--paper-2); }
.line .qty { font-family: var(--mono); display: flex; gap: 8px; align-items: center; }
.line .qty button { border: 1px solid var(--ink); background: none; width: 26px; height: 26px; cursor: pointer; border-radius: var(--radius-control); }
.totals { font-family: var(--mono); }
body.locked { overflow: hidden; }

/* footer */
.site-footer { padding: 48px clamp(16px, 5vw, 72px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; font-size: .95rem; }
.site-footer h4 { font-family: var(--mono); font-weight: 400; font-size: .85rem; margin: 0 0 10px; color: var(--rust); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 860px) { .site-footer { grid-template-columns: 1fr; } }
.skeleton { min-height: 120px; background: var(--paper-2); }

/* Dirty Camaro: colors and tracked caps taken from the album cover */
:root { --sky: #9fb0b6; --sky-deep: #6f8189; --butter: #efe38f; --tracked: "Poppins", "Helvetica Neue", Arial, sans-serif; }
.tracked { font-family: var(--tracked); font-weight: 600; text-transform: uppercase; letter-spacing: .38em; }
.release { background: linear-gradient(180deg, var(--sky) 0%, #b9c4c4 100%); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 72px); min-height: 82vh; }
.release .cover { width: 100%; max-width: 620px; justify-self: center; box-shadow: 0 30px 60px rgba(29, 26, 22, .25); }
.release .kicker { color: var(--ink); }
.release .album-title { font-size: clamp(1.4rem, 3.4vw, 2.6rem); color: var(--butter); text-shadow: 0 1px 0 rgba(29, 26, 22, .35); margin: .2em 0 .1em; }
.release .out-now { font-family: var(--tracked); text-transform: uppercase; letter-spacing: .3em; font-size: .85rem; margin-bottom: 1.2em; }
.release h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
.release .btn { background: var(--ink); color: var(--butter); border-color: var(--ink); text-transform: uppercase; letter-spacing: .2em; font-family: var(--tracked); font-size: .8rem; }
.release .btn:hover { background: var(--butter); color: var(--ink); }
.release .btn.ghost { background: transparent; color: var(--ink); }
.release .btn.ghost:hover { background: var(--ink); color: var(--butter); }
@media (max-width: 860px) { .release { grid-template-columns: 1fr; } .release .cover { order: -1; } }
.nav .band { color: var(--ink-soft); }
.socials { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--tracked); font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; margin-top: 20px; }
.socials a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }