@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* ============================================================
   NEW BERLIN — main.css
   ============================================================ */

/* 1. @font-face ------------------------------------------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500.woff2') format('woff2');
}

/* 2. Custom Properties ------------------------------------ */

:root {
  --bg:         #0a0a0a;
  --text:       #e8e8e8;
  --border-sub: #1a1a1a;
  --border-em:  #2a2a2a;
  --muted:      #555;
  --dim:        #333;
  --faint:      #444;
  --font-sans:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --nav-h:      52px;
}

/* 3. Reset ------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }
button::-moz-focus-inner { border: 0; padding: 0; }
:focus-visible { outline: 1px solid var(--muted); outline-offset: 2px; }

/* 4. Nav -------------------------------------------------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 0.5px solid var(--border-sub);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
.nav-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
}
.nav-logo img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--muted);
}

/* 5. Mobile nav overlay ---------------------------------- */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
body.nav-open .nav-overlay { display: flex; }
body.nav-open { overflow: hidden; }
.nav-close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  padding: 8px;
}
.nav-close:hover { color: var(--text); }
.nav-overlay a {
  font-family: var(--font-mono);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-overlay a:hover { color: var(--text); }

/* 6. Main + footer --------------------------------------- */

main { padding-top: var(--nav-h); }

.site-footer {
  padding: 1rem 1.5rem;
  border-top: 0.5px solid var(--border-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer a,
.site-footer span {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-social { display: flex; gap: 1rem; }

/* 7. CTA (shared) --------------------------------------- */

.cta {
  display: block;
  border: 0.5px solid var(--border-em);
  padding: 6px 12px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  width: fit-content;
  transition: border-color 0.15s;
}
.cta:hover { border-color: var(--text); }

/* 8. Hero ----------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.hero-left {
  background: var(--bg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: calc(100vh - var(--nav-h));
}
.hero-wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--text);
}
.hero-practice {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  line-height: 2.2;
}
.hero-bottom {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
}
.hero-credits { margin-bottom: 1.25rem; }
.hero-credits li {
  font-family: var(--font-mono);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
  line-height: 2;
}
.hero-right {
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 300px;
}
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
  pointer-events: none;
}
.hero-carousel-slide.active { opacity: 1; }
.hero-carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-img-mobile { display: none; }
.hero-gradient {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}
.hero-caption {
  position: absolute;
  bottom: 1rem; right: 1rem;
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}

/* 9. Upcoming section ----------------------------------- */

.upcoming-section {
  border-top: 0.5px solid var(--border-sub);
  padding: 1rem 1.5rem;
}
.upcoming-header {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.upcoming-empty {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.upcoming-empty a { color: var(--text); text-decoration: none; }

/* 10. Work grid ----------------------------------------- */

.work-grid-section { border-top: 0.5px solid var(--border-sub); }
.filter-tabs {
  display: flex;
  padding: 0.75rem 1.5rem;
  border-bottom: 0.5px solid var(--border-sub);
  gap: 0;
}
.filter-tab {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 4px 12px;
  border: 0.5px solid transparent;
  transition: all 0.15s;
}
.filter-tab:first-child { padding-left: 0; }
.filter-tab.active { color: var(--text); background: #111; border-color: var(--border-em); }
.filter-tab:hover:not(.active) { color: var(--text); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-sub);
}
.work-item {
  aspect-ratio: 16 / 9;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: block;
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.work-item:hover img { transform: scale(1.03); }
.work-placeholder { width: 100%; height: 100%; background: #111; }
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-cat {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.work-title {
  font-family: var(--font-sans);
  font-size: 11px;
  color: #aaa;
  margin-top: 2px;
}

/* 10. Audience framing ---------------------------------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--border-sub);
}
.aud-block {
  padding: 1.5rem;
  border-right: 0.5px solid var(--border-sub);
  display: flex;
  flex-direction: column;
}
.aud-block:last-child { border-right: none; }
.aud-num {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--border-em);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.aud-head {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.aud-body {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
  flex: 1;
}
.aud-cta {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 0.5px solid var(--border-sub);
  padding-top: 0.75rem;
  margin-top: 1rem;
  transition: color 0.15s;
}
.aud-cta:hover { color: var(--text); }

/* 11. Credits bar --------------------------------------- */

.credits-bar {
  padding: 0.75rem 1.5rem;
  border-top: 0.5px solid var(--border-sub);
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* 12. Invid teaser -------------------------------------- */

.invid-teaser {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 0.5px solid var(--border-sub);
  align-items: center;
}
.invid-teaser > img,
.invid-teaser-placeholder {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  background: #111;
  border-right: 0.5px solid var(--border-sub);
}
.invid-text { padding: 1rem; }
.invid-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.invid-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.invid-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 8px;
  transition: color 0.15s;
}
.invid-link:hover { color: var(--text); }

/* 13. Forms --------------------------------------------- */

.form-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.form-section h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: #111;
  border: 0.5px solid var(--border-em);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--muted); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  background: transparent;
  border: 0.5px solid var(--border-em);
  padding: 10px 24px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: border-color 0.15s;
  min-height: 48px;
}
.form-submit:hover { border-color: var(--text); }

/* 14. The Invid page ------------------------------------ */

.invid-hero {
  padding: 4rem 1.5rem 2rem;
  border-bottom: 0.5px solid var(--border-sub);
}
.invid-hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 2rem;
}
.invid-art {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.invid-art img { width: 100%; object-fit: cover; }
.invid-art-placeholder {
  width: 100%;
  height: 300px;
  background: #111;
  border: 0.5px solid var(--border-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--dim);
}
.invid-year {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Audio player */

.audio-section {
  padding: 2rem 1.5rem;
  border-bottom: 0.5px solid var(--border-sub);
}
.player {
  background: #111;
  border: 0.5px solid var(--border-em);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 1rem;
}
.play-btn {
  width: 40px;
  height: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.play-btn svg { width: 20px; height: 20px; fill: var(--text); transition: opacity 0.15s; }
.play-btn:hover svg { opacity: 0.7; }
.progress-wrap {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.progress-bar {
  width: 100%;
  height: 2px;
  background: var(--border-em);
  position: relative;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--text);
  pointer-events: none;
}
.progress-scrubber {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  pointer-events: none;
}
.timestamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Shirt / shop */

.shop-section {
  padding: 2rem 1.5rem;
  border-bottom: 0.5px solid var(--border-sub);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.shop-section > img { width: 100%; }
.shop-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #111;
  border: 0.5px solid var(--border-sub);
}
.size-picker {
  display: flex;
  gap: 6px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.size-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 0.5px solid var(--border-em);
  padding: 8px 14px;
  min-width: 48px;
  min-height: 48px;
  transition: all 0.15s;
}
.size-btn:hover { border-color: var(--muted); color: var(--text); }
.size-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.buy-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  border: 0.5px solid var(--border-em);
  padding: 12px 24px;
  min-height: 48px;
  transition: border-color 0.15s;
}
.buy-btn:hover { border-color: var(--text); }
.invid-credits {
  padding: 2rem 1.5rem;
}
.invid-credits p {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 2;
}

/* 15. Project pages ------------------------------------- */

.project-hero {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; color: var(--dim);
}
.project-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.project-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.project-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.project-desc {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-sub);
}
.project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-gallery-placeholder { width: 100%; aspect-ratio: 4/3; background: #111; }

/* 16. Bio ----------------------------------------------- */

.bio-section { max-width: 720px; margin: 0 auto; padding: 3rem 1.5rem; }
.bio-section p { font-size: 15px; color: #aaa; line-height: 1.8; margin-bottom: 1.5rem; }
.bio-credits { margin-top: 3rem; border-top: 0.5px solid var(--border-sub); padding-top: 1.5rem; }
.bio-credits h2 {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.credit-item {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  border-bottom: 0.5px solid var(--border-sub);
}

/* 17. Press + Contact ----------------------------------- */

.minimal-section { max-width: 480px; margin: 0 auto; padding: 4rem 1.5rem; }
.minimal-section h1 { font-family: var(--font-sans); font-weight: 700; font-size: 2rem; margin-bottom: 1.5rem; }
.minimal-section p { font-size: 14px; color: #aaa; line-height: 1.7; margin-bottom: 1rem; }
.minimal-section a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  border-bottom: 0.5px solid var(--border-em);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.minimal-section a:hover { color: var(--text); border-color: var(--muted); }
.contact-grid {
  border-top: 0.5px solid var(--border-sub);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.contact-block {
  padding: 2rem 1.5rem;
  border-right: 0.5px solid var(--border-sub);
}
.contact-block:last-child { border-right: none; }
.contact-block h2 {
  font-family: var(--font-mono);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.contact-block p { font-size: 13px; color: var(--faint); margin-bottom: 1rem; line-height: 1.6; }

/* 18. Work page ----------------------------------------- */

.work-page-header { padding: 3rem 1.5rem 1.5rem; }
.work-page-header h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
}

/* 19. History page -------------------------------------- */

.history-section { padding: 3rem 1.5rem 2rem; }
.history-section-header { padding: 3rem 1.5rem 0; }
.history-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.history-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
}
.history-era {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 1.5rem 0 0.75rem;
  border-top: 0.5px solid var(--border-sub);
  margin-top: 0.5rem;
}
.history-grid {
  columns: 3;
  column-gap: 1px;
}
.history-item {
  break-inside: avoid;
  margin-bottom: 1px;
}
.history-item img {
  width: 100%;
  display: block;
}
.history-caption {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  padding: 6px 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bio-history-link {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  display: inline-block;
  margin-top: 1.5rem;
  text-decoration: none;
  border-bottom: 0.5px solid var(--border-sub);
  padding-bottom: 2px;
}

/* 20. Responsive ---------------------------------------- */

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { order: -1; min-height: 56vw; }
  .hero-left { min-height: auto; padding: 1.5rem; }
  .hero-wordmark { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-bottom { position: static; margin-top: auto; padding-top: 1.5rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .work-grid { grid-template-columns: repeat(2, 1fr); }

  .audience { grid-template-columns: 1fr; }
  .aud-block { border-right: none; border-bottom: 0.5px solid var(--border-sub); }
  .aud-block:last-child { border-bottom: none; }

  .shop-section { grid-template-columns: 1fr; }
  .player {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
  }
  .timestamp { grid-column: 1 / -1; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-block { border-right: none; border-bottom: 0.5px solid var(--border-sub); }
  .contact-block:last-child { border-bottom: none; }

  .project-gallery { grid-template-columns: 1fr; }
  .form-section { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .hero-left { padding: 1.25rem; }
  .history-grid { columns: 1; }
}

@media (max-width: 768px) {
  .history-grid { columns: 2; }
}

/* =============================================================
   17. Release Grid (Mixtapes + Merch)
   ============================================================= */

.releases-section { padding-top: 57px; }

.releases-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 0.5px solid var(--border-sub);
}
.releases-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.04em;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border-sub);
}
.release-card {
  background: var(--bg);
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.release-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.release-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}
.img-hover { opacity: 0; }
.release-card:hover .img-hover { opacity: 1; }
.release-card:hover .img-default { opacity: 0; }

.merch-card .release-img img {
  transition: filter 0.3s ease;
}
.merch-card:hover .release-img img {
  filter: brightness(1.1);
}

.release-info {
  padding: 0.75rem 1rem;
  border-top: 0.5px solid var(--border-sub);
}
.release-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.release-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.release-price {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

/* =============================================================
   18. Detail Pages (Mixtape + Merch)
   ============================================================= */

.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 57px);
  padding-top: 57px;
}
.detail-left {
  padding: 2rem;
  border-right: 0.5px solid var(--border-sub);
}
.detail-left img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.detail-left img + img {
  margin-top: 1px;
}
.detail-tracklist {
  padding: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.detail-right {
  padding: 2rem;
}
.detail-format {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.detail-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.detail-credits {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--dim);
  line-height: 1.8;
}
.detail-divider {
  border: none;
  border-top: 0.5px solid var(--border-em);
  margin: 1.5rem 0;
}
.detail-description {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.detail-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 1rem;
}
.detail-size-label {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}
.detail-sizes {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
}
.detail-fulfillment {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Play reveal button */
.play-reveal-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: 0.5px solid var(--border-em);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
}
.play-reveal-btn:hover { border-color: var(--muted); }

.audio-reveal {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.audio-reveal.open { max-height: 80px; }
.audio-reveal .player { padding-top: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .detail-section {
    grid-template-columns: 1fr;
    padding-top: 57px;
  }
  .detail-left {
    border-right: none;
    border-bottom: 0.5px solid var(--border-sub);
    padding: 1.5rem;
  }
  .detail-right { padding: 1.5rem; }
  .releases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .releases-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   19. Merch Product Page Enhancements
   ============================================================= */

/* Sold-out size button */
.size-btn.sold-out {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

/* Fabric specs */
.detail-specs {
  list-style: none;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.detail-specs li {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--border-sub);
  display: flex;
  gap: 0.75rem;
}
.detail-specs li span {
  color: var(--dim);
  min-width: 56px;
}

/* Tax / shipping note */
.detail-price-note {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* "Find your size" link */
.size-guide-btn {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 1rem;
  transition: color 0.15s;
}
.size-guide-btn:hover { color: var(--text); }

/* Image gallery */
.gallery-main {
  position: relative;
}
.gallery-main > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.lightbox-trigger {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  background: rgba(10,10,10,0.75);
  border: 0.5px solid var(--border-em);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}
.gallery-main:hover .lightbox-trigger { opacity: 1; }
.lightbox-trigger svg { width: 14px; height: 14px; color: var(--text); }

.gallery-thumbs {
  display: flex;
  gap: 1px;
  margin-top: 1px;
}
.gallery-thumb {
  flex: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 0.15s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
}
.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  padding: 8px;
  transition: color 0.15s;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--muted);
  padding: 12px 16px;
  transition: color 0.15s;
}
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--text); }

/* Size guide modal */
.size-guide-modal {
  background: var(--bg);
  border: 0.5px solid var(--border-em);
  color: var(--text);
  padding: 2rem;
  max-width: 460px;
  width: 90vw;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.size-guide-modal::backdrop { background: rgba(0,0,0,0.85); }
.sgm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  padding: 4px 8px;
  transition: color 0.15s;
}
.sgm-close:hover { color: var(--text); }
.sgm-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.sgm-note {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.sgm-table {
  width: 100%;
  border-collapse: collapse;
}
.sgm-table th,
.sgm-table td {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--border-sub);
  text-align: left;
}
.sgm-table th { color: var(--muted); }
.sgm-table td { color: var(--text); }

/* FAQ accordions */
.detail-accordions {
  margin-top: 2rem;
  border-top: 0.5px solid var(--border-sub);
}
.detail-accordion {
  border-bottom: 0.5px solid var(--border-sub);
}
.detail-accordion-head {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.875rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
}
.detail-accordion-head::-webkit-details-marker { display: none; }
.detail-accordion-head::after { content: '+'; font-size: 14px; color: var(--dim); }
.detail-accordion[open] .detail-accordion-head { color: var(--text); }
.detail-accordion[open] .detail-accordion-head::after { content: '\2212'; }
.detail-accordion-head:hover { color: var(--text); }
.detail-accordion-body { padding-bottom: 1rem; }
.detail-accordion-body p {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--faint);
  line-height: 1.7;
}
.detail-accordion-body a {
  color: var(--muted);
  border-bottom: 0.5px solid var(--border-em);
  transition: color 0.15s;
}
.detail-accordion-body a:hover { color: var(--text); }

/* Footer copyright — VCR/CRT style */
.footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* Payment method icons */
.payment-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.payment-icons img {
  height: 22px;
  width: auto;
  display: block;
  border-radius: 3px;
  opacity: 0.85;
}
