/* Velvet Wobble · mobile first. Colors come from the album cover. */
:root {
  --night: #140b16;
  --night-2: #1f1023;
  --line: #3b2242;
  --cream: #fff4e4;
  --muted: #cdb9c8;
  --pink: #f2a0c0;
  --blush: #efc9d3;   /* matches the shirt photo background */
  --plum: #7a2a6e;
  --plum-ink: #2a0f26;
  --amber: #f2a541;
  --radius: 18px;
  --player-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 16px/1.55 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--player-h) + var(--safe-b));
}
img { max-width: 100%; height: auto; display: block; }   /* height:auto keeps every image in proportion */
a { color: var(--pink); }
button { font: inherit; color: inherit; }
h1, h2, h3, .brand { font-family: "Shrikhand", Georgia, serif; font-weight: 400; letter-spacing: .01em; }
h2 { font-size: clamp(34px, 8vw, 54px); line-height: 1.02; margin: 0 0 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.wrap.narrow { max-width: 620px; text-align: center; }
.kicker { color: var(--amber); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 12px; margin: 0 0 10px; }
.kicker.dark { color: var(--plum); }
.sub { color: var(--muted); margin: 0; font-size: 17px; max-width: 36em; }
.section { padding: 64px 0; }
.section-head { margin-bottom: 28px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 14px 0 18px;
  background: rgba(20, 11, 22, .82);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { color: var(--cream); text-decoration: none; font-size: 22px; transform: rotate(-3deg); display: inline-block; margin: 0; }
.top nav { display: none; margin-left: auto; gap: 26px; }
.top nav a { color: var(--cream); text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--pink); }
.cart-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--pink); color: var(--plum-ink); font-weight: 700;
  transition: transform .2s ease;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn.bump { transform: scale(1.15) rotate(-4deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; text-decoration: none; cursor: pointer;
  min-height: 48px; border-radius: 999px; padding: 0 24px; border: 2px solid var(--pink);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px) rotate(-1deg); }
.btn.primary { background: var(--pink); color: var(--plum-ink); box-shadow: 0 10px 30px -10px rgba(242, 160, 192, .7); }
.btn.ghost { background: transparent; color: var(--cream); }
.btn.big { min-height: 56px; font-size: 17px; padding: 0 28px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 22px 0 56px; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 120%;
  background: url(/img/cover.jpg) center / cover;
  filter: blur(70px) saturate(1.3); opacity: .38; transform: scale(1.2);
}
.hero-glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--night)); }
.hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 18px; display: grid; gap: 26px; }
.cover-play {
  position: relative; padding: 0; border: 0; background: none; cursor: pointer;
  width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1 / 1;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-1.5deg); transition: transform .25s ease;
}
.cover-play img { width: 100%; height: 100%; object-fit: cover; }
.cover-play:hover { transform: rotate(0deg) scale(1.01); }
.cover-badge {
  position: absolute; right: 14px; bottom: 14px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pink); color: var(--plum-ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
.cover-badge svg { width: 28px; height: 28px; margin-left: 3px; }
.hero h1 { font-size: clamp(50px, 14vw, 96px); line-height: .92; margin: 0 0 16px; transform: rotate(-1.5deg); }
.hero h1 span { display: block; color: var(--pink); }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 30em; }
.cta-row { display: grid; gap: 10px; }
.meta { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* ---------- tracklist ---------- */
.rooms { background: linear-gradient(var(--night), var(--night-2)); }
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  width: 100%; padding: 14px 6px; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; cursor: pointer; border-radius: 0;
  transition: background .15s ease;
}
.track:hover { background: rgba(255, 255, 255, .04); }
.t-num { font-weight: 700; color: var(--amber); text-align: center; font-variant-numeric: tabular-nums; }
.t-name { display: block; font-weight: 700; font-size: 17px; line-height: 1.25; }
.t-room { display: block; color: var(--muted); font-size: 14px; }
.t-len { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.t-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: 2px; background: var(--plum); color: var(--cream); }
.track.on { background: rgba(242, 160, 192, .1); }
.track.on .t-name { color: var(--pink); }
.eq { display: none; gap: 2px; height: 16px; align-items: flex-end; justify-content: center; }
.eq i { width: 3px; background: var(--pink); border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.track.on .eq { display: flex; }
.track.on .t-num-n { display: none; }
.track.on.paused .eq i { animation-play-state: paused; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.also-label { color: var(--muted); font-size: 14px; }
.also-links { display: flex; flex-wrap: wrap; gap: 8px; }
.also-links a, .also-links span {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  color: var(--cream); text-decoration: none;
}
.also-links a:hover { border-color: var(--pink); }
.also-links span { color: var(--muted); }

/* ---------- shop ---------- */
.shop { background: var(--blush); color: var(--plum-ink); }
.shop h2 { color: var(--plum-ink); }
.shop .sub { color: #5d3554; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product { display: flex; flex-direction: column; background: #fff7f2; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px -18px rgba(90, 30, 70, .45); }
.product .shot { position: relative; padding: 0; border: 0; background: var(--blush); cursor: zoom-in; aspect-ratio: 1 / 1; }
.product .shot img { width: 100%; height: 100%; object-fit: contain; }
.product .zoom { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(42, 15, 38, .75); color: var(--cream); }
.badge { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--amber); color: var(--plum-ink); }
.p-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-name { font-family: "Shrikhand", Georgia, serif; font-size: 18px; line-height: 1.1; margin: 0; }
.p-blurb { margin: 0; font-size: 13px; color: #6a4562; display: none; }
.p-price { font-weight: 700; color: var(--plum); }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.sizes button {
  font-size: 13px; font-weight: 700; cursor: pointer;
  min-width: 0; height: 38px; padding: 0; border-radius: 10px;
  background: #fff; color: var(--plum-ink); border: 1.5px solid #e2c3cf;
}
.sizes button[aria-pressed="true"] { background: var(--plum-ink); color: var(--cream); border-color: var(--plum-ink); }
.sizes button:disabled { opacity: .35; cursor: not-allowed; }
.product .btn { min-height: 44px; padding: 0 12px; font-size: 14px; margin-top: auto; }
.product .btn.primary { box-shadow: none; background: var(--plum-ink); border-color: var(--plum-ink); color: var(--cream); }
.product .btn.primary.ready { background: var(--pink); border-color: var(--pink); color: var(--plum-ink); }
.product .btn.ghost { color: var(--plum-ink); border-color: #d9b4c3; }
.shop-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-size: 15px; color: #5d3554; }
.shop-facts a { color: var(--plum); font-weight: 700; }

/* ---------- guest list ---------- */
.guestlist { background: var(--plum); background-image: radial-gradient(circle at 20% 0%, rgba(242, 160, 192, .35), transparent 55%); }
.guestlist .sub { color: #f1d9e7; margin: 0 auto 22px; }
.key-tag {
  width: 74px; height: 92px; margin: 0 auto 18px; border-radius: 40px 40px 14px 14px;
  background: var(--amber); color: var(--plum-ink); display: grid; place-items: center;
  font: 700 22px "DM Sans", sans-serif; transform: rotate(-8deg); box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
  position: relative;
}
.key-tag::before { content: ""; position: absolute; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--plum); }
.guest-form { display: grid; gap: 10px; }
.guest-form input[type=email] {
  height: 54px; border-radius: 999px; border: 0; padding: 0 22px; font: inherit; font-size: 17px;
  background: var(--cream); color: var(--plum-ink);
}
.guest-form .btn { min-height: 54px; }
.hp { display: none; }
.form-note { min-height: 1.4em; margin: 12px 0 0; font-weight: 700; }

/* ---------- band ---------- */
.band-grid { display: grid; gap: 28px; align-items: center; }
.band-photo { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); transform: rotate(1.5deg); }
.band p { color: var(--muted); font-size: 17px; max-width: 34em; }
.band p strong { color: var(--cream); }
.band .fine { font-size: 14px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 500; }
.social a:hover { border-color: var(--pink); }

.foot { text-align: center; padding: 36px 18px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .brand { font-size: 26px; margin-bottom: 8px; }

/* ---------- player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding-bottom: var(--safe-b);
  background: rgba(31, 16, 35, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
}
.p-progress { position: absolute; left: 0; right: 0; top: -6px; height: 12px; cursor: pointer; touch-action: none; }
.p-progress::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 3px; background: rgba(255, 255, 255, .12); }
#pBar { position: absolute; left: 0; top: 5px; height: 3px; width: 0; background: var(--pink); }
#pBar::after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); opacity: 0; transition: opacity .15s; }
.p-progress:hover #pBar::after, .p-progress:focus #pBar::after { opacity: 1; }
.p-row { display: flex; align-items: center; gap: 12px; height: var(--player-h); max-width: 1160px; margin: 0 auto; padding: 0 12px; }
.p-art { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.p-info { min-width: 0; flex: 1; }
.p-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-time { display: none; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.p-controls { display: flex; align-items: center; gap: 4px; flex: none; }
.p-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.p-btn svg { width: 24px; height: 24px; }
.p-btn.main { width: 50px; height: 50px; background: var(--pink); color: var(--plum-ink); }
.p-btn.main svg { width: 26px; height: 26px; }
.hide-sm { display: none; }

/* ---------- lightbox, drawer, toast ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10, 5, 12, .92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--radius); }
.lightbox .x { position: absolute; top: 12px; right: 16px; }
.x { font-size: 34px; line-height: 1; width: 44px; height: 44px; background: none; border: 0; color: var(--cream); cursor: pointer; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 50; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 55;
  width: min(420px, 100vw);
  background: var(--night-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 26px; }
.lines { flex: 1; overflow-y: auto; padding: 6px 20px; }
.line { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 68px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.line .name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.line .meta { color: var(--muted); font-size: 13px; margin: 0; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--cream); cursor: pointer; font-weight: 700; }
.drawer-foot { padding: 16px 20px calc(20px + var(--safe-b)); border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.err { color: var(--amber); min-height: 1.2em; margin: 8px 0 0; }
.empty { color: var(--muted); padding: 24px 0; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + var(--safe-b) + 14px); z-index: 45;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--plum-ink); font-weight: 700; padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: all .25s ease; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { margin-left: 10px; border: 0; background: none; color: var(--plum); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* simple pages */
.page { max-width: 720px; margin: 0 auto; padding: 56px 20px; }
.page h1 { font-size: clamp(38px, 8vw, 56px); margin: 0 0 16px; }
.page p, .page li { color: var(--muted); font-size: 17px; }

/* ---------- bigger screens ---------- */
@media (min-width: 560px) {
  .cta-row { display: flex; flex-wrap: wrap; }
  .guest-form { grid-template-columns: 1fr auto; }
  .p-blurb { display: block; }
}
@media (min-width: 760px) {
  .top nav { display: flex; }
  .cart-btn { margin-left: 18px; }
  .section { padding: 88px 0; }
  .hero { padding: 56px 0 88px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
  .cover-play { max-width: 520px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .p-body { padding: 16px 18px 18px; gap: 10px; }
  .sizes { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .p-name { font-size: 22px; }
  .band-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
  .p-time { display: block; }
  .hide-sm { display: grid; }
  .shop-facts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  :root { --player-h: 76px; }
  .p-art { width: 54px; height: 54px; }
}
@media (min-width: 1040px) {
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tracklist { display: grid; grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 40px; }
}

/* ---------- shop page + see-all ---------- */
.see-all { display: flex; justify-content: center; margin-top: 28px; }
.btn.dark { background: var(--plum-ink); border-color: var(--plum-ink); color: var(--cream); }
.shop-page { padding: 40px 0 64px; }
.page-title { font-size: clamp(40px, 9vw, 64px); line-height: 1; margin: 0 0 12px; color: var(--plum-ink); }
.size-guide { margin-top: 26px; background: #fff7f2; border-radius: var(--radius); padding: 14px 18px; color: var(--plum-ink); }
.size-guide summary { font-weight: 700; cursor: pointer; }
.size-guide p { color: #6a4562; font-size: 14px; }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-guide th, .size-guide td { padding: 8px 4px; border-bottom: 1px solid #ecd3dc; text-align: center; }
.size-guide tbody th { text-align: left; font-weight: 500; }
.shop-listen .sub { margin: 0 auto 22px; }
.cta-row.center { justify-content: center; }
.product .tag-back { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--amber); color: var(--plum-ink); }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--cream); font-size: 26px; cursor: pointer; }
.lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }
.top nav a.active { color: var(--pink); }
@media (min-width: 760px) { .shop-page { padding: 64px 0 88px; } .products[data-show="all"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .products[data-show="all"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* phones: keep a Shop link in the header (Listen/Band are on the page itself) */
@media (max-width: 759px) {
  .top nav { display: flex; margin-left: auto; }
  .top nav a:not([data-nav="shop"]) { display: none; }
  .top nav a[data-nav="shop"] { font-weight: 700; }
  .cart-btn { margin-left: 14px; }
}
