/* =========================================================
   Leyla Sabo — vintage / nostalgic theme
   Design system: ui-ux-pro-max (burgundy + craft gold,
   Abril Fatface / Merriweather), warmed onto aged paper.
   ========================================================= */

:root {
  /* colour tokens */
  --paper: #F3E9D7;
  --paper-2: #EADBC1;
  --paper-3: #DFCBA9;
  --ink: #2A170F;
  --ink-soft: #5E4535;
  --primary: #7C2D12;        /* burnt burgundy */
  --primary-dark: #5E200C;
  --secondary: #9B1C1C;      /* lipstick red */
  --gold: #A16207;           /* craft gold (on paper) */
  --gold-light: #D9AE5B;     /* gold on dark */
  --night: #1C0E0A;          /* stage black */
  --night-2: #2A1410;
  --cream: #F6ECD9;          /* text on dark */
  --cream-soft: #CDBBA2;
  --ring: #A16207;

  /* type */
  --font-display: "Abril Fatface", "Times New Roman", serif;
  --font-body: "Merriweather", Georgia, serif;
  --font-mono: "Courier Prime", "Courier New", monospace;

  /* spacing (spacious) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;

  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 2px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* film grain over everything */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; } 20% { background-position: -37px 21px; }
  40% { background-position: 26px -44px; } 60% { background-position: -19px -13px; }
  80% { background-position: 41px 33px; } 100% { background-position: 0 0; }
}

/* ---------- shared type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .005em;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}
.label-mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--gold);
  margin: 0 0 var(--space-2);
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; color: var(--ink-soft); max-width: 36em; }
.section { padding: clamp(72px, 12vw, 140px) 0; position: relative; }
.section-head { margin-bottom: var(--space-5); max-width: 820px; }
.hint { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-mono); font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 999px;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s, transform .25s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--primary); color: var(--cream); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold-light); color: var(--night); }
.btn-gold:hover { background: var(--cream); }
.btn-ghost-light { border-color: var(--cream-soft); color: var(--cream); }
.btn-ghost-light:hover { background: var(--cream); color: var(--night); }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-4); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0 var(--gutter);
  color: var(--cream);
  transition: background-color .35s var(--ease-out), color .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(243, 233, 215, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(42, 23, 15, .12);
  backdrop-filter: blur(6px);
}
.brand {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center;
}
/* LS monogram, drawn in the header's text colour (cream on the photo, ink once scrolled) */
.brand-mark {
  display: block; width: 46px; height: 53px;
  background-color: currentColor;
  -webkit-mask: url("assets/img/ls-monogram.png") center / contain no-repeat;
  mask: url("assets/img/ls-monogram.png") center / contain no-repeat;
}
.nav { margin: 0 auto; }
.nav-list { display: flex; gap: clamp(14px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: 12px 2px; position: relative; display: inline-block;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.socials { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  transition: background-color .25s, color .25s;
}
.socials a:hover { background: var(--cream); color: var(--night); }
.site-header.scrolled .socials a:hover { background: var(--ink); color: var(--paper); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 0; position: relative;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--night); color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%;
  filter: sepia(.35) contrast(1.08) brightness(.88) blur(14px);
  transform: scale(1.08);
  animation: develop 2.2s var(--ease-out) .15s forwards;
}
@keyframes develop {
  to { filter: sepia(.35) contrast(1.08) brightness(.88) blur(0); transform: scale(1); }
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 30%, rgba(28, 14, 10, .75) 100%),
    linear-gradient(to top, rgba(28, 14, 10, .9) 0%, rgba(28, 14, 10, 0) 55%),
    linear-gradient(to bottom, rgba(28, 14, 10, .55) 0%, rgba(28, 14, 10, 0) 22%);
}
.hero-content { width: 100%; padding: 0 var(--gutter) clamp(56px, 10vh, 110px); }
.kicker {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .3em; font-size: .8rem;
  color: var(--gold-light); margin: 0 0 var(--space-2);
  opacity: 0; animation: fade-up .9s var(--ease-out) 1.1s forwards;
}
.hero-title { margin: 0; line-height: 0; }
.hero-logo {
  width: min(880px, 92vw); height: auto;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, .45));
  opacity: 0; animation: logo-in 1.4s var(--ease-out) .45s forwards;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(18px); filter: drop-shadow(0 2px 24px rgba(0, 0, 0, .45)) blur(6px); }
  to { opacity: 1; transform: none; filter: drop-shadow(0 2px 24px rgba(0, 0, 0, .45)) blur(0); }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: var(--space-4);
  font-family: var(--font-mono); font-size: .9rem; letter-spacing: .06em; text-decoration: none;
  padding: 12px 20px; border: 1px solid rgba(246, 236, 217, .45); border-radius: 999px;
  min-height: 48px;
  opacity: 0; animation: fade-up .9s var(--ease-out) 1.35s forwards;
  transition: background-color .25s, color .25s;
}
.hero-cta .dot { flex: none; }
.hero-cta em { font-family: var(--font-body); font-style: italic; }
.hero-cta:hover { background: var(--cream); color: var(--night); }
.hero-cta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 0 rgba(185, 28, 28, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(185, 28, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); } }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; color: var(--cream-soft); min-width: 44px; padding: 6px;
  writing-mode: vertical-rl;
}
.scroll-cue svg { width: 20px; height: 20px; writing-mode: horizontal-tb; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- ticker ---------- */
.ticker {
  background: var(--primary); color: var(--cream); overflow: hidden;
  border-block: 1px solid var(--primary-dark);
}
.ticker-track {
  display: flex; width: max-content; gap: 28px; padding: 14px 0;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); white-space: nowrap;
}
.ticker-track i { font-style: normal; color: var(--gold-light); font-size: .8em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- music ---------- */
.music { background: var(--paper); overflow: hidden; }
.music-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.record { position: relative; aspect-ratio: 1; max-width: 520px; width: 88%; }
.sleeve {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 24px 50px -18px rgba(42, 23, 15, .55), 0 2px 6px rgba(42, 23, 15, .2);
}
.vinyl {
  position: absolute; z-index: 1; inset: 3%; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255,255,255,.06) 17.5% 18%, transparent 18.5%),
    repeating-radial-gradient(circle, #141010 0 2px, #1d1715 2px 3px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  transform: translateX(22%);
  transition: transform .9s var(--ease-out);
}
.vinyl .label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle, var(--night) 0 6%, var(--secondary) 7% 100%);
  box-shadow: inset 0 0 0 4px rgba(217, 174, 91, .5);
}
.record.in-view .vinyl, .record:hover .vinyl { transform: translateX(36%) rotate(40deg); }
.amp { font-family: var(--font-body); font-style: italic; font-weight: 300; color: var(--gold); }

/* ---------- videos ---------- */
.videos { background: var(--night); color: var(--cream); overflow: hidden; }
.videos .label-mono { color: var(--gold-light); }
.film-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: clamp(16px, 3vw, 36px); }
.film { margin: 0; }
.film-frame {
  position: relative; padding: 22px 12px; background: #0d0806; border-radius: 4px;
  /* sprocket holes */
  background-image:
    radial-gradient(circle at 50% 50%, #3b2a22 0 3.2px, transparent 3.6px),
    radial-gradient(circle at 50% 50%, #3b2a22 0 3.2px, transparent 3.6px);
  background-size: 18px 11px, 18px 11px;
  background-repeat: repeat-x;
  background-position: 0 5px, 0 calc(100% - 5px);
}
.film-frame video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000;
  filter: sepia(.15) contrast(1.03);
}
.film figcaption {
  display: flex; align-items: baseline; gap: 12px; margin-top: 14px;
  font-family: var(--font-display); font-size: 1.35rem;
}
.film figcaption span { font-family: var(--font-mono); font-size: .8rem; color: var(--gold-light); letter-spacing: .2em; }

/* ---------- photos ---------- */
.photos { background: var(--paper-2); }
.photos::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.35), transparent 60%);
}
.gallery { columns: 3 280px; column-gap: clamp(14px, 2.2vw, 26px); }
.print {
  display: block; width: 100%; margin: 0 0 clamp(14px, 2.2vw, 26px);
  break-inside: avoid; padding: 10px 10px 30px; border: 0; background: #FBF5EA;
  box-shadow: 0 1px 2px rgba(42, 23, 15, .15), 0 12px 24px -16px rgba(42, 23, 15, .45);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.print:nth-child(4n+1) { --tilt: -.8deg; }
.print:nth-child(4n+2) { --tilt: .6deg; }
.print:nth-child(4n+3) { --tilt: -.3deg; }
.print:nth-child(4n) { --tilt: .9deg; }
.print img {
  width: 100%; height: auto;
  filter: sepia(.3) saturate(.85) contrast(1.04);
  transition: filter .5s var(--ease-out);
}
.print:hover, .print:focus-visible {
  transform: rotate(0) translateY(-4px) scale(1.01);
  box-shadow: 0 2px 4px rgba(42, 23, 15, .15), 0 26px 40px -18px rgba(42, 23, 15, .55);
}
.print:hover img, .print:focus-visible img { filter: none; }

/* ---------- shows ---------- */
.shows {
  position: relative; color: var(--cream); background: var(--night);
  padding: clamp(96px, 16vw, 180px) 0; overflow: hidden; isolation: isolate; text-align: center;
}
.shows-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(28, 14, 10, .78), rgba(28, 14, 10, .9)), url("assets/img/logo-curtain.jpg") center / cover no-repeat;
}
.shows .label-mono { color: var(--gold-light); }
.shows .display { font-size: clamp(3rem, 10vw, 7rem); }
.show-list { list-style: none; margin: var(--space-4) auto 0; padding: 0; max-width: 820px; text-align: left; }
.show {
  display: grid; grid-template-columns: 110px 1fr auto auto; gap: var(--space-3); align-items: center;
  padding: var(--space-3) 0; border-top: 1px solid rgba(217, 174, 91, .35);
}
.show:last-child { border-bottom: 1px solid rgba(217, 174, 91, .35); }
.show time { font-family: var(--font-mono); color: var(--gold-light); letter-spacing: .1em; text-transform: uppercase; }
.show .venue { font-family: var(--font-display); font-size: 1.4rem; }
.show .city { color: var(--cream-soft); }
.show-empty { grid-template-columns: 1fr auto; }

/* ---------- merch ---------- */
.merch { background: var(--paper-2); }
.merch-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3); max-width: none; }
.merch-head .lede { margin: 0; }
.currency { display: flex; flex-direction: column; gap: 4px; }
.currency .label-mono { margin: 0; font-size: .7rem; }
.currency select {
  font-family: var(--font-mono); font-size: .9rem; color: var(--ink);
  min-height: 44px; padding: 0 36px 0 14px; border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232A170F' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
  appearance: none; cursor: pointer;
}
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(20px, 3vw, 40px); }
.merch-skeleton { aspect-ratio: 3 / 4.6; background: var(--paper-3); border-radius: 4px; animation: shimmer 1.6s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .55; } }
.merch-empty { grid-column: 1 / -1; font-family: var(--font-mono); color: var(--ink-soft); text-align: center; padding: var(--space-4) 0; }
.merch-empty a { color: var(--primary); }
.merch-note { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); text-align: center; margin: var(--space-5) 0 0; letter-spacing: .04em; }

/* each product is a swing tag: paper card, photo, name, price */
.tag-card {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  background: #FBF5EA; border: 0; padding: 12px 12px 18px; border-radius: 3px;
  box-shadow: 0 1px 2px rgba(42, 23, 15, .12), 0 18px 30px -22px rgba(42, 23, 15, .55);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.merch-grid.loaded .tag-card { animation: fade-up .7s var(--ease-out) both; }
.merch-grid.loaded .tag-card:nth-child(2) { animation-delay: .08s; }
.merch-grid.loaded .tag-card:nth-child(3) { animation-delay: .16s; }
.tag-card:hover, .tag-card:focus-visible { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(42, 23, 15, .12), 0 26px 40px -22px rgba(42, 23, 15, .6); }
.tag-frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper); }
.tag-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); }
.tag-alt { opacity: 0; }
/* Product photos with white backgrounds blend into the paper colour behind them,
   so they match the see-through clothing photos. Black and colour stay as they are. */
.tag-frame img, .pv-media > img, .pv-thumbs img, .bag-line img { mix-blend-mode: multiply; }
.tag-card:hover .tag-alt, .tag-card:focus-visible .tag-alt { opacity: 1; }
.tag-card:hover .tag-frame img { transform: scale(1.03); }
.tag-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--night); color: var(--cream); padding: 4px 10px; border-radius: 999px;
}
.tag-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; padding: 4px 4px 0; text-wrap: balance; }
.tag-price { font-family: var(--font-mono); font-size: .9rem; color: var(--primary); padding: 0 4px; letter-spacing: .04em; }

/* header bag button */
.bag-toggle {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; transition: background-color .25s, color .25s;
}
.bag-toggle:hover { background: var(--cream); color: var(--night); }
.site-header.scrolled .bag-toggle:hover { background: var(--ink); color: var(--paper); }
.bag-toggle svg { width: 22px; height: 22px; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--secondary); color: #fff; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; line-height: 1;
}

/* product view + bag dialogs */
html:has(dialog[open]) { overflow: hidden; }
.product-view, .bag {
  border: 0; padding: 0; color: var(--ink); background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.product-view::backdrop, .bag::backdrop { background: rgba(28, 14, 10, .7); }
.product-view {
  width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border-radius: 6px;
  overflow: auto; overscroll-behavior: contain;
}
.product-view[open] { display: grid; grid-template-columns: 1.1fr 1fr; animation: lb-in .25s var(--ease-out); }
.pv-close {
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(251, 245, 234, .9); transition: background-color .2s;
}
.pv-close:hover { background: var(--paper-3); }
.pv-close svg { width: 22px; height: 22px; }
.product-view > .pv-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.pv-media { background: var(--paper-2); padding: clamp(12px, 2vw, 20px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pv-media > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper); }
.pv-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pv-thumbs button { flex: none; width: 60px; padding: 0; border: 2px solid transparent; border-radius: 3px; background: var(--paper); }
.pv-thumbs button[aria-current="true"] { border-color: var(--primary); }
.pv-thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pv-info { padding: clamp(24px, 4vw, 48px); padding-top: clamp(48px, 5vw, 56px); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.pv-info > .label-mono { margin: 0; }
.pv-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.08; margin: -12px 0 0; text-wrap: balance; }
.pv-price { font-family: var(--font-mono); font-size: 1.25rem; color: var(--primary); margin: -8px 0 0; }
#pv-options { display: flex; flex-direction: column; gap: var(--space-3); }
.pv-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.pv-group legend { padding: 0; margin-bottom: 10px; }
.pv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-pills button {
  min-width: 52px; min-height: 44px; padding: 0 14px;
  font-family: var(--font-mono); font-size: .88rem;
  border: 1.5px solid var(--paper-3); border-radius: 999px; background: #FBF5EA;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pv-pills button:hover:not(:disabled) { border-color: var(--ink); }
.pv-pills button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pv-pills button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pv-qty { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.pv-qty .label-mono { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--paper-3); border-radius: 999px; background: #FBF5EA; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; border-radius: 50%; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--font-mono); }
.stepper-sm button { width: 36px; height: 36px; font-size: 1rem; }
.pv-add { width: 100%; }
.pv-add:disabled { background: var(--paper-3); color: var(--ink-soft); cursor: not-allowed; }
.pv-error { margin: -12px 0 0; min-height: 1em; font-family: var(--font-mono); font-size: .85rem; color: var(--secondary); }
.pv-error:empty { display: none; }
.pv-desc { border-top: 1px solid var(--paper-3); padding-top: var(--space-3); color: var(--ink-soft); font-size: .95rem; }
.pv-desc p { margin: 0 0 1em; }
.pv-desc ul { margin: 0; padding-left: 1.2em; }

.bag {
  margin: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-height: none; max-width: 100vw;
  flex-direction: column;
}
.bag[open] { display: flex; animation: bag-in .35s var(--ease-out); }
@keyframes bag-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.bag-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); padding-top: max(var(--space-2), env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--paper-3);
}
.bag-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin: 0; }
.bag-items { list-style: none; margin: 0; padding: 0 var(--space-3); flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.bag-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: var(--space-3) 0; border-bottom: 1px solid var(--paper-3); align-items: start; }
.bag-line img { width: 76px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; background: var(--paper); }
.bag-line-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bag-line-info p { margin: 0; }
.bag-line-name { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.bag-line-opts { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
.bag-line-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }
.bag-remove { border: 0; background: none; padding: 8px 2px; font-family: var(--font-mono); font-size: .78rem; text-decoration: underline; color: var(--ink-soft); }
.bag-remove:hover { color: var(--secondary); }
.bag-line-price { margin: 0; font-family: var(--font-mono); font-size: .9rem; }
.bag-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-4); font-family: var(--font-mono); color: var(--ink-soft); }
.bag-empty p { margin: 0; }
.bag-foot { padding: var(--space-3); padding-bottom: max(var(--space-3), env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--paper-3); background: var(--paper-2); }
.bag-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.bag-total strong { font-size: 1.2rem; letter-spacing: .02em; }
.bag-fine { font-size: .8rem; color: var(--ink-soft); margin: 0 0 var(--space-2); line-height: 1.55; }
.bag-checkout { width: 100%; }

@media (max-width: 760px) {
  .product-view { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .product-view[open] { display: block; }
  .pv-info { padding-top: var(--space-3); }
  .product-view > .pv-close { position: fixed; top: max(12px, env(safe-area-inset-top, 0px)); }
}

/* ---------- about ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.polaroid {
  position: relative; margin: 0; background: #FBF5EA; padding: 14px 14px 56px;
  transform: rotate(-2.5deg);
  box-shadow: 0 2px 4px rgba(42, 23, 15, .15), 0 30px 50px -24px rgba(42, 23, 15, .6);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.25) saturate(.9); }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-family: var(--font-mono); color: var(--ink-soft); font-size: .9rem;
}
.tape {
  position: absolute; top: -14px; left: 50%; width: 120px; height: 32px; translate: -50% 0; rotate: 3deg;
  background: rgba(217, 174, 91, .55); box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.about-copy p { max-width: 34em; }
.dropcap::first-letter {
  font-family: var(--font-display); float: left; font-size: 4.2em; line-height: .82;
  padding: 6px 10px 0 0; color: var(--primary);
}
.signature {
  font-family: var(--font-display); font-size: 2rem; color: var(--primary);
  margin-top: var(--space-4); opacity: .85;
}

/* ---------- contact ---------- */
.contact { background: var(--paper-3); text-align: center; }
.contact-card { max-width: 760px; }
.contact .lede { margin: 0 auto var(--space-4); }
.contact-or { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-soft); margin: var(--space-4) 0 var(--space-2); }
.socials-lg { justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.socials-lg a {
  width: auto; height: auto; min-height: 44px; padding: 0 4px; border-radius: 0;
  font-family: var(--font-display); font-size: 1.3rem; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--gold);
}
.socials-lg a:hover { background: none; color: var(--primary); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--night); color: var(--cream-soft); text-align: center;
  padding: var(--space-5) var(--gutter) var(--space-4);
}
.footer-name { font-family: var(--font-display); color: var(--cream); font-size: clamp(2.6rem, 9vw, 6rem); margin: 0; line-height: 1; text-transform: uppercase; }
.footer-small { font-family: var(--font-mono); font-size: .8rem; margin: var(--space-3) 0 var(--space-1); }
.back-top { font-family: var(--font-mono); font-size: .8rem; display: inline-block; padding: 12px; }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 10, 7, .96); color: var(--cream);
}
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: lb-in .25s var(--ease-out); }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; display: grid; place-items: center; height: 100vh; padding: 56px 0 40px; }
.lb-figure img { max-height: calc(100vh - 120px); max-width: 100%; width: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-figure figcaption { font-family: var(--font-mono); font-size: .85rem; color: var(--cream-soft); margin-top: 12px; text-align: center; padding: 0 8px; }
.lb-close, .lb-nav {
  background: none; border: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  transition: background-color .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(246, 236, 217, .12); }
.lb-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lb-nav { justify-self: center; }
.lb-close svg, .lb-nav svg { width: 26px; height: 26px; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .socials:not(.socials-lg) { display: none; }
  .menu-toggle { display: block; margin-left: 0; }
  .bag-toggle { margin-left: auto; }
  .nav { position: static; margin: 0; }
  .nav-list {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    background: var(--night); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility .3s;
  }
  .nav-list a { font-family: var(--font-display); font-size: 2.2rem; text-transform: none; letter-spacing: 0; padding: 8px 12px; }
  .nav-list a::after { bottom: 8px; }
  .nav-open .nav-list { opacity: 1; visibility: visible; }
  /* backdrop-filter would trap the fixed menu inside the header, so drop it while open */
  .nav-open .site-header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open { overflow: hidden; }

  .music-grid, .about-grid { grid-template-columns: 1fr; }
  .record { margin: 0 auto; width: 78%; }
  .polaroid { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .film-strip {
    grid-template-columns: repeat(2, 78%); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 12px; margin-right: calc(var(--gutter) * -1);
  }
  .film { scroll-snap-align: start; }
  .show { grid-template-columns: 1fr auto; }
  .show time { grid-column: 1 / -1; }
  .scroll-cue { display: none; }
  .hero-cta { font-size: .8rem; padding: 12px 16px; line-height: 1.5; }
  .kicker { letter-spacing: .2em; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .hero-media img { filter: sepia(.35) contrast(1.08) brightness(.88); transform: none; }
  .hero-logo { opacity: 1; transform: none; }
  .kicker, .hero-cta { opacity: 1; }
  .ticker-track { animation: none; }
}
