/* =============================================================
   LIFETIME RECORDS — components.css
   ============================================================= */

/* ---------- Site header (in-flow at the top of the page; logo
              scrolls away with the page). The MENU pill is the only
              piece that stays fixed in the corner. ---------- */
.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem var(--gutter);
}

.site-header__logo {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  height: 44px;
}
.site-header__logo img {
  height: 100%;
  width: auto;
  display: block;
}

/* The MENU pill is the only chrome that stays pinned. It lives inside
   the <header> in the DOM (so the .is-scrolled class still drives its
   style swap) but is positioned independently in the top-right. */
.menu-toggle {
  position: fixed;
  top: 1rem;
  right: var(--gutter);
  /* Above the bar-player (1000) so it stays clickable; below the
     menu-overlay (1100) so it's hidden when the menu is open. */
  z-index: 1050;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease-out);
  /* Force a compositor layer for rock-steady fixed positioning on iOS */
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.menu-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translate3d(0, 0, 0) rotate(45deg);
}
/* On scroll past hero: pill goes transparent with a black border + black
   text. On hover the whole pill becomes black with white text. */
.site-header.is-scrolled .menu-toggle {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.site-header.is-scrolled .menu-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
@media (max-width: 480px) {
  .menu-toggle { width: 54px; height: 54px; font-size: 11px; }
  .site-header__logo { height: 36px; }
}

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  /* Top of the stack: above bar-player (1000), menu-toggle (1050),
     and any open modal (1150). When the menu opens it covers them all. */
  z-index: 1200;
  display: none;
  flex-direction: column;
  /* Match the closed-header padding (1rem var(--gutter)) so the
     overlay's logo sits at the exact same vertical position as the
     header logo when the menu opens. */
  padding: 1rem var(--gutter);
}
.menu-overlay.is-open { display: flex; }

.menu-overlay__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  /* Top-align so the menu logo lands at the same y-position as the
     closed header logo (rather than centering inside the close-button
     row, which pushed it ~10px down). */
  align-items: start;
}
.menu-overlay__top .logo {
  grid-column: 2;
  height: 44px;
}
.menu-overlay__top .logo img { height: 100%; width: auto; }
.menu-overlay__close {
  grid-column: 3;
  justify-self: end;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform .35s var(--ease-out), background .2s, color .2s;
}
.menu-overlay__close:hover {
  transform: rotate(45deg);
}
@media (max-width: 480px) {
  .menu-overlay__close { width: 54px; height: 54px; font-size: 11px; }
  .menu-overlay__top .logo { height: 36px; }
}

.menu-overlay__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}
.menu-overlay__nav a {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: -.01em;
  display: inline-block;
  /* Only color transitions — font swap is instant so we don't see a frame
     in the new font without italic. */
  transition: color .25s;
}
.menu-overlay__nav a:hover {
  color: var(--neon);
  font-family: var(--font-italic);
  font-style: italic;
  text-transform: none;
  letter-spacing: -.02em;
}

.menu-overlay__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  padding-bottom: 2rem;
}
.menu-overlay__socials a {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .55rem 1rem;
  border: 1px solid var(--neon);
  border-radius: var(--button-r);
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: background .2s, color .2s;
}
.menu-overlay__socials a:hover {
  background: var(--neon);
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 0 var(--gutter) clamp(2.5rem, 5vw, 4.5rem);
  border-radius: var(--card-r);
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.05) saturate(1.05);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: clamp(560px, 88vh, 920px);
}
/* Hero words — three words ("Authentic" / "sounds" / "forever") fading in/out
   at alternating positions. Letter weights also breathe via animation, and on
   hover they grow bolder. */
.hero__words {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero__word {
  position: absolute;
  font-family: var(--font-italic);
  color: var(--paper);
  font-size: clamp(4rem, 14vw, 14rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: auto;
  cursor: default;
  transition: font-weight .4s var(--ease-out), transform .4s var(--ease-out), color .4s;
  animation: hero-word 8s ease-in-out infinite;
}
/* Position 1: top-left */
.hero__word:nth-of-type(1) {
  top: 8%;   left: 4%;
  animation-delay: 0s;
}
/* Position 2: middle-right */
.hero__word:nth-of-type(2) {
  top: 38%;  right: 5%;
  animation-delay: 1.5s;
}
/* Position 3: bottom-left */
.hero__word:nth-of-type(3) {
  bottom: 8%; left: 10%;
  animation-delay: 3s;
}
@keyframes hero-word {
  /* Fade in white, hold, then shift white -> silver while still fully
     visible, and finally fade out as silver. Greyscale variant of the
     original red-to-neon animation. */
  0%, 100% { opacity: 0; transform: translateY(8px);  color: #ffffff; }
  18%      { opacity: 1; transform: translateY(0);    color: #ffffff; }
  60%      { opacity: 1; transform: translateY(0);    color: #ffffff; }
  78%      { opacity: 1; transform: translateY(0);    color: #c8c8c8; }
  92%      { opacity: 0; transform: translateY(-8px); color: #c8c8c8; }
}
/* Hover-bold: when a word is hovered, it stays full opacity and gains weight */
.hero__word:hover {
  font-weight: 700;
  transform: translateY(0) scale(1.04);
  color: var(--neon);
  animation-play-state: paused;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero__word { animation: none; opacity: 1; }
}

/* Mobile-only hero adjustments — placed AFTER the desktop word-position
   rules above so source order makes them win on small viewports. */
@media (max-width: 760px) {
  .hero__inner {
    min-height: clamp(420px, 68vh, 600px);
  }
  .hero__word {
    font-size: clamp(3rem, 11vw, 6rem);
  }
  /* Lift "forever" up off the Listen button so it sits in the empty
     space between the spinning vinyl and the CTA. Single tweakable
     percentage — bigger number = higher position. */
  .hero__word:nth-of-type(3) {
    bottom: 13% !important;
    top: auto !important;
  }
}

.hero__cta {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid var(--paper);
  border-radius: var(--button-r);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(10,10,10,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, color .2s;
}
.hero__cta:hover { background: var(--paper); color: var(--ink); }

/* ---------- Releases (horizontal scroll) ---------- */
.h-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 30vw, 420px);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.h-scroll::-webkit-scrollbar { height: 6px; }
.h-scroll::-webkit-scrollbar-track { background: transparent; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--rule-on-paper); border-radius: 3px; }

.release {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  position: relative;
}
.release__art {
  aspect-ratio: 1 / 1;
  border-radius: var(--card-r);
  overflow: hidden;
  background: var(--paper);
  position: relative;
  cursor: pointer;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
}
.release__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.release:hover .release__art img { transform: scale(1.04); }
.release__art .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,.35);
  opacity: 0;
  transition: opacity .25s;
}
.release:hover .release__art .play-overlay { opacity: 1; }
.release__art .play-overlay span {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--neon);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.release__art .play-overlay svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }

.release--paper .release__art { background: var(--paper); }
.release--red   .release__art { background: var(--red);   }
.release--ink   .release__art { background: var(--ink-2); }

/* ---------- Videos (horizontal scroll, larger cards) ---------- */
.video-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(420px, 60vw, 900px);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.video-scroll::-webkit-scrollbar { height: 6px; }
.video-scroll::-webkit-scrollbar-track { background: transparent; }
.video-scroll::-webkit-scrollbar-thumb { background: var(--rule-on-paper); border-radius: 3px; }

.video-card {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--card-r);
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
}
.video-card img,
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.video-card:hover img,
.video-card:hover video { transform: scale(1.03); }
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 30%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}
.video-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
  z-index: 2;
  padding: 1rem;
}
.video-card__title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
  letter-spacing: -.01em;
}
.video-card__artist {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.video-card__cta {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border: 1px solid var(--paper);
  border-radius: var(--button-r);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: .25rem;
  background: rgba(10,10,10,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s, color .2s;
}
.video-card__cta:hover { background: var(--paper); color: var(--ink); }

/* ---------- News ---------- */
.news-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(clamp(600px, 80vw, 1200px), max-content);
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.news-scroll::-webkit-scrollbar { height: 6px; }
.news-scroll::-webkit-scrollbar-thumb { background: var(--rule-on-paper); border-radius: 3px; }

.news-card {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
}
.news-card__media {
  position: absolute;
  inset: 0;
}
.news-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, transparent 50%, rgba(0,0,0,.5) 100%);
}
.news-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  z-index: 2;
}
.news-card__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: .9;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: -.005em;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.news-card__source {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.news-card__source .src {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--paper);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}
.news-card__source .tag {
  display: inline-flex;
  padding: .35rem .8rem;
  border: 1px solid var(--paper);
  border-radius: var(--button-r);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- Catalog grid (homepage "Recent releases" — v4 style, dark version) ---------- */
.catalog-section {
  padding: var(--sec-y) var(--gutter);
}
.catalog-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}
.catalog-section__head .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--ink);
}
.catalog-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--ink);
}
.catalog-section__head .meta {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .6;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-on-paper);
  border: 1px solid var(--rule-on-paper);
  border-radius: var(--card-r);
  overflow: hidden;
  max-width: var(--max-w);
  margin-inline: auto;
}
.catalog-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  width: 100%;
  font: inherit;
}
.catalog-card__art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-2);
}
.catalog-card__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out), filter .3s;
}
.catalog-card:hover .catalog-card__art img {
  transform: scale(1.06);
  filter: brightness(.7);
}
.catalog-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.catalog-card:hover .catalog-card__play { opacity: 1; }
.catalog-card__play span {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--neon);
  border-radius: 50%;
  color: var(--ink);
  transform: scale(.8);
  transition: transform .3s var(--ease-out);
}
.catalog-card:hover .catalog-card__play span { transform: scale(1); }
.catalog-card__play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.catalog-card__body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.catalog-card__artist {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  text-transform: uppercase;
  line-height: .95;
  color: var(--ink);
}
.catalog-card__title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.1;
  color: var(--ink);
}
.catalog-card__meta {
  margin-top: .5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(10,10,10,.55);
}

@media (max-width: 1080px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .catalog-grid { grid-template-columns: 1fr; } }

/* ---------- Merch grid (homepage teaser + merch page) ---------- */
.merch-section {
  padding: var(--sec-y) var(--gutter);
}
.merch-section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}
.merch-section__head .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--ink);
}
.merch-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--ink);
}
.merch-section__head .all-merch-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: var(--button-r);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: background .2s, color .2s;
}
.merch-section__head .all-merch-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  max-width: var(--max-w);
  margin-inline: auto;
}
.product {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--rule-on-ink);
  border-radius: var(--card-r);
  padding: 1rem;
  /* White-on-black per the monochrome brief. */
  background: var(--ink);
  color: var(--paper);
  transition: transform .3s var(--ease-out), background .3s, border-color .2s;
  cursor: pointer;
}
.product:hover {
  transform: translateY(-4px);
  background: var(--ink-2);
  border-color: var(--paper);
}
.product__art {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
  border-radius: calc(var(--card-r) - 4px);
}
.product__art img { width: 100%; height: 100%; object-fit: cover; }
.product__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.product__name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--paper);
}
.product__price {
  font-family: var(--font-mono);
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--paper);
}
@media (max-width: 880px) { .merch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .merch-grid { grid-template-columns: 1fr; } }

/* ---------- Latest Drop (single featured release between hero and catalog) ---------- */
.latest-drop {
  padding: var(--sec-y) var(--gutter);
}
.latest-drop__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: var(--max-w);
  margin-inline: auto;
}
.latest-drop__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--card-r);
  overflow: hidden;
  background: var(--ink-2);
  max-width: 560px;
}
.latest-drop__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out), filter .3s;
}
.latest-drop__art:hover img {
  transform: scale(1.03);
  filter: brightness(.7);
}
.latest-drop__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, background .3s;
}
.latest-drop__art:hover .latest-drop__play { opacity: 1; }
.latest-drop__play span {
  width: 88px; height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--neon);
  border-radius: 50%;
  color: var(--ink);
}
.latest-drop__play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }

.latest-drop__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.latest-drop__copy .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  display: inline-block;
}
.latest-drop__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0;
}
.latest-drop__artist {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--step-2);
  color: rgba(10,10,10,.55);
  margin: 0;
}
.latest-drop__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  max-width: 480px;
}
.latest-drop__meta div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-top: 1px solid var(--rule-on-paper);
  padding-top: .65rem;
}
.latest-drop__meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(10,10,10,.55);
}
.latest-drop__meta dd {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .latest-drop__inner { grid-template-columns: 1fr; }
  .latest-drop__meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Subscribe (black rounded-rect card on white page) ---------- */
.subscribe {
  margin: 2rem var(--gutter);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  /* --red is now black in the monochrome palette; keep the var so the
     intent (accent panel) is preserved if the palette shifts later. */
  background: var(--red);
  color: var(--paper);
  border-radius: var(--card-r);
  text-align: center;
  position: relative;
}
.subscribe__title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(2.5rem, 10vw, 9rem);
  line-height: .9;
  letter-spacing: -.015em;
  color: var(--paper);
  /* Long words like "underground" can overflow narrow viewports --
     allow the browser to break them as a last resort. */
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.subscribe__lede {
  margin: clamp(1rem, 2vw, 1.5rem) auto 0;
  max-width: 50ch;
  color: var(--paper);
  font-size: var(--step-1);
  line-height: 1.45;
}
.subscribe__cta {
  display: inline-flex;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: .9rem 2rem;
  border: 1px solid var(--paper);
  border-radius: var(--button-r);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  background: transparent;
  transition: background .2s, color .2s;
  cursor: pointer;
  font-weight: 600;
}
.subscribe__cta:hover { background: var(--paper); color: var(--ink); }

.subscribe__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* Variant: neon (about page CTA) */
.subscribe--neon { background: var(--neon); }
.subscribe--neon .subscribe__title,
.subscribe--neon .subscribe__lede { color: var(--ink); }
.subscribe--neon .subscribe__cta { color: var(--ink); border-color: var(--ink); }
.subscribe--neon .subscribe__cta:hover { background: var(--ink); color: var(--neon); }

/* ---------- Footer (CREAM — reversed from page, with divider above) ---------- */
.site-footer {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) 1.5rem;
  border-top: 1px solid var(--rule-on-paper);
  position: relative;
  overflow: hidden;
}
.footer-logo {
  position: relative;
  width: 100%;
  line-height: 0;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}
.footer-logo__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s var(--ease-out);
}
.footer-logo__link:hover { opacity: 0.7; }
.footer-logo__link img {
  display: block;
  width: clamp(140px, 18vw, 240px);
  height: auto;
  object-fit: contain;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 1.05rem 1.85rem;
  border: 1.5px solid var(--ink);
  border-radius: var(--button-r);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.7vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  transition: background .2s, color .2s, transform .2s var(--ease-out);
}
.footer-nav a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.footer-fineprint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .65;
  justify-self: end;
  color: var(--ink);
}
.footer-fineprint a { transition: opacity .2s, color .2s; color: var(--ink); }
.footer-fineprint a:hover { color: var(--red); opacity: 1; }
/* Lifetime Records / each.life brand attribution links — no underline */
.footer-fineprint .brand-link {
  color: var(--ink);
  opacity: 1;
  text-decoration: none;
}
.footer-fineprint .brand-link:hover { color: var(--red); }
@media (max-width: 760px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-fineprint { justify-self: center; justify-content: center; text-align: center; }
  .footer-nav a {
    padding: .9rem 1.35rem;
    font-size: 1.25rem;
  }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--card-r);
  padding: 1rem 1.25rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  max-width: 720px;
  margin-inline: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.cookie-banner.is-open { display: flex; }
.cookie-banner .actions { display: flex; gap: .5rem; }
.cookie-banner button {
  padding: .55rem .9rem;
  border: 1px solid var(--paper);
  border-radius: var(--button-r);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.cookie-banner button.primary {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--neon);
}

/* ---------- Subscribe modal (popup) ----------
   z-index ladder: bar-player 1000 < menu-toggle 1050 < modal 1150 < menu-overlay 1200.
   So an open modal sits above the bar player (no hidden submit buttons),
   while the menu overlay still wins when it's open. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: none;
  /* Scroll the modal backdrop itself if the panel is taller than the
     viewport (long demo form on small screens). */
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem) var(--gutter);
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.modal.is-open { display: flex; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--card-r);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  /* Don't shrink below content height — the .modal backdrop scrolls. */
  margin-block: auto;
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(10,10,10,.3);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: transform .35s var(--ease-out), background .2s;
}
.modal__close:hover { transform: rotate(45deg); background: rgba(10,10,10,.05); }
.modal__title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1.75rem;
  max-width: 28ch;
  letter-spacing: -.01em;
}
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal__form label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.modal__form .lbl {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.modal__form input,
.modal__form textarea {
  padding: .85rem 1rem;
  border: 1px solid rgba(10,10,10,.3);
  border-radius: var(--button-r);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
}
.modal__form textarea {
  resize: vertical;
  min-height: 96px;
}
.modal__form input:focus,
.modal__form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
}
.modal__form button[type="submit"] {
  margin-top: .5rem;
  padding: .85rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--button-r);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal__form button[type="submit"]:hover {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}
.modal__success {
  display: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: var(--step--1);
  margin-top: 1rem;
  color: var(--red);
}
.modal__success.is-shown { display: block; }

/* Demo modal — wider for the larger form */
.modal__panel--wide { max-width: 640px; }

/* File upload field — styled to match other inputs */
.modal__form .file-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.modal__form .file-field input[type="file"] {
  padding: .85rem 1rem;
  border: 1px dashed rgba(10,10,10,.4);
  border-radius: var(--button-r);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  cursor: pointer;
}
.modal__form .file-field input[type="file"]::file-selector-button {
  margin-right: .75rem;
  padding: .35rem .85rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  cursor: pointer;
}
.modal__form .file-field .hint {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .6;
}

/* =============================================================
   v4 class-name support (for sections lifted verbatim from v4)
   ============================================================= */

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
}
.section {
  padding: var(--sec-y) var(--gutter);
}
.section-head {
  position: relative;
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-right: clamp(8rem, 14vw, 14rem);
  width: 100%;
  isolation: isolate;
}
.section-head > div { pointer-events: none; }
.section-head > div a,
.section-head > div button { pointer-events: auto; }
.section-head h2 { margin: 0; }
.section-head > .btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  pointer-events: auto;
}
@media (max-width: 640px) {
  .section-head { padding-right: 0; }
  .section-head > .btn { position: static; margin-top: 1rem; }
}
.section-head .eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  display: inline-block;
  color: var(--ink);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--ink);
}
.section-head .meta {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .6;
}

/* Featured release (Latest drop) */
.featured {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.featured__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--card-r);
  overflow: hidden;
  background: var(--paper-2);
  max-width: 560px;
}
.featured__art img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.featured__art .play-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border: 0;
  background: var(--neon);
  color: var(--ink);
  border-radius: var(--button-r);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  font-weight: 600;
}
.featured__art .play-tag svg {
  width: 16px; height: 16px;
  fill: currentColor;
}
.featured__copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.featured__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--ink);
}
.featured__title .italic-serif { font-size: .85em; }
.featured__meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 480px;
}
.featured__meta-grid div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-top: 1px solid var(--rule-on-paper);
  padding-top: .65rem;
}
.featured__meta-grid dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(10,10,10,.55);
}
.featured__meta-grid dd {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}
.featured__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
@media (max-width: 880px) {
  .featured { grid-template-columns: 1fr; }
  .featured__meta-grid { grid-template-columns: 1fr 1fr; }
}

/* Releases grid (catalog) */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  /* Light hairlines so the grid divisions read against dark cards. */
  background: var(--rule-on-ink);
  border: 1px solid var(--rule-on-ink);
  border-radius: var(--card-r);
  overflow: hidden;
}
.release {
  /* White-on-black per the monochrome brief. */
  background: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
}
.release__art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
}
.release__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out), filter .3s;
}
.release__art:hover img {
  transform: scale(1.06);
  filter: brightness(.7);
}
.release__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.release__art:hover .release__play { opacity: 1; }
.release__play span {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--neon);
  border-radius: 50%;
  color: var(--ink);
}
.release__play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.release__body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.release__artist {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  text-transform: uppercase;
  line-height: .95;
  color: var(--paper);
}
.release__title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.1;
  color: var(--paper);
}
.release__meta {
  margin-top: .5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-on-ink);
}
@media (max-width: 1080px) { .releases-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .releases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .releases-grid { grid-template-columns: 1fr; } }

/* Buttons (.btn / .btn--neon / .btn--ghost / .btn--lg) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: var(--button-r);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  background: transparent;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--neon {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
}
.btn--neon:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
}
.btn--lg {
  padding: 1rem 1.75rem;
  font-size: var(--step-0);
}

/* Eyebrow utility (used in v4) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  display: inline-block;
}

/* ---------- Dark middle-content wrapper for interior pages
              The body is paper, but the prose/forms/merch grid sit on a dark
              section so the content stage stays consistent. ---------- */
.dark-section {
  background: var(--ink);
  color: var(--paper);
  margin: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
  border-radius: var(--card-r);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
}
.dark-section a { color: var(--paper); }
.dark-section a:hover { color: var(--neon); }
.dark-section h2,
.dark-section h3 {
  color: var(--paper);
}
.dark-section input,
.dark-section textarea,
.dark-section select {
  border: 1px solid rgba(255, 255, 255,.18);
  background: var(--ink-2);
  color: var(--paper);
}
.dark-section input:focus,
.dark-section textarea:focus,
.dark-section select:focus {
  outline: 2px solid var(--neon);
  outline-offset: -2px;
}
.dark-section .form-grid input,
.dark-section .form-grid textarea,
.dark-section .form-grid select {
  border: 1px solid rgba(255, 255, 255,.18);
  background: var(--ink-2);
  color: var(--paper);
}

/* Dark-section variants of cards (merch grid on the merch page) */
.dark-section .product {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255,.18);
}
.dark-section .product:hover {
  background: var(--ink);
  border-color: var(--paper);
}
.dark-section .product__art { background: var(--ink); }
.dark-section .product__name,
.dark-section .product__price {
  color: var(--paper);
}

/* Prose inside dark-section */
.dark-section .prose {
  max-width: 65ch;
  margin: 0 auto;
  padding: 0;
  color: var(--paper);
}

/* About layout — copy on left, masonry gallery on right */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.about-prose {
  max-width: 56ch;
  margin: 0;
}
.about-gallery {
  /* CSS columns gives us a true masonry without requiring JS */
  column-count: 3;
  column-gap: clamp(.4rem, 1vw, .9rem);
}
.about-gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: clamp(.4rem, 1vw, .9rem);
  border-radius: calc(var(--card-r) - 6px);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
@media (max-width: 1080px) {
  .about-gallery { column-count: 2; }
}
@media (max-width: 880px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-prose { max-width: 65ch; margin: 0 auto; }
  .about-gallery { column-count: 3; }
}
@media (max-width: 560px) {
  .about-gallery { column-count: 2; }
}

/* ---------- Interior page header (cream rounded card) ---------- */
.page-header {
  margin: 0 var(--gutter);
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
  background: var(--paper-2);
  color: var(--ink);
  border-radius: var(--card-r);
}
.page-header__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.25rem;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.page-header__eyebrow a,
.page-header__eyebrow a:link,
.page-header__eyebrow a:visited,
a.breadcrumb-link,
a.breadcrumb-link:link,
a.breadcrumb-link:visited {
  color: #0a0a0a;
  text-decoration: none;
  transition: color .15s var(--ease-out);
}
.page-header__eyebrow a:hover,
.page-header__eyebrow a:focus,
a.breadcrumb-link:hover,
a.breadcrumb-link:focus {
  color: #e85230 !important;
  text-decoration: none;
}
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
  max-width: 16ch;
  margin: 0;
  pointer-events: none;
}
.page-header__title a { pointer-events: auto; }
.page-header__title .italic-serif { font-size: .9em; }
.page-header__lede {
  margin-top: 1.5rem;
  max-width: 60ch;
  font-size: var(--step-1);
  line-height: 1.45;
}

/* ---------- Prose ---------- */
.prose {
  max-width: 65ch;
  margin: 0 auto;
  padding: var(--sec-y) var(--gutter);
}
.prose p {
  font-size: var(--step-1);
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin: 2.5rem 0 1rem;
  text-transform: uppercase;
}

/* ---------- Form (contact page) ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 720px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.form-grid label .lbl {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
  border: 1px solid var(--rule-on-paper);
  background: transparent;
  padding: .85rem 1rem;
  border-radius: var(--button-r);
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
}
.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { min-height: 160px; resize: vertical; }
.form-grid button[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: .85rem 1.6rem;
  border: 1px solid var(--neon);
  border-radius: var(--button-r);
  background: var(--neon);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  cursor: pointer;
}
.form-grid button[type="submit"]:hover { background: transparent; color: var(--neon); }

.form-grid .form-status {
  display: inline-block;
  margin-left: 1rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--neon);
  opacity: 0;
  transition: opacity .2s;
}
.form-grid .form-status.is-shown { opacity: 1; }
.form-grid .form-status.is-error { color: var(--red); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Product detail page (PDP) ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.pdp__gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pdp__main-art {
  aspect-ratio: 1 / 1;
  background: var(--ink-2);
  border-radius: var(--card-r);
  overflow: hidden;
  position: relative;
}
.pdp__main-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp__thumbs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.pdp__thumb {
  width: 88px;
  height: 88px;
  border-radius: calc(var(--card-r) - 4px);
  overflow: hidden;
  background: var(--ink-2);
  border: 1.5px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s var(--ease-out);
}
.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp__thumb:hover { border-color: rgba(255, 255, 255,.4); }
.pdp__thumb.is-active { border-color: var(--neon); }

.pdp__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--paper);
}
.pdp__sku {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--neon);
}
.pdp__name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .95;
  text-transform: uppercase;
  margin: 0;
}
.pdp__name .italic-serif { font-size: .85em; }
.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0;
}
.pdp__price-now {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--paper);
}
.pdp__price-note {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .55;
}
.pdp__lede {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 50ch;
  margin: 0;
  color: rgba(255, 255, 255,.85);
}
.pdp__variant {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.pdp__variant legend {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--paper);
  padding: 0;
}
.pdp__variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.pdp__variant-row label {
  position: relative;
  cursor: pointer;
}
.pdp__variant-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pdp__variant-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: .55rem 1rem;
  border: 1px solid rgba(255, 255, 255,.3);
  border-radius: var(--button-r);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--paper);
  transition: background .15s, border-color .15s, color .15s;
}
.pdp__variant-row label:hover span {
  border-color: var(--paper);
}
.pdp__variant-row input:checked + span {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--neon);
}
.pdp__variant-row input:focus-visible + span {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}
.pdp__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .5rem;
}
/* Specificity bumped (.dark-section .pdp__buy) so .dark-section a doesn't
   inherit-override the text color. Otherwise the button paints cream-on-
   neon which reads almost-monochrome. */
.dark-section .pdp__buy,
.pdp__buy {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--neon);
}
.dark-section .pdp__buy:hover,
.pdp__buy:hover {
  background: transparent;
  color: var(--neon);
  border-color: var(--neon);
}
/* Out-of-stock state — dim and non-interactive. Used until Shopify
   inventory is wired up. */
.dark-section .pdp__buy.is-out-of-stock,
.pdp__buy.is-out-of-stock,
.dark-section .pdp__buy.is-out-of-stock:hover,
.pdp__buy.is-out-of-stock:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.18);
  cursor: not-allowed;
}
.dark-section .pdp__notify,
.pdp__notify {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.dark-section .pdp__notify:hover,
.pdp__notify:hover {
  background: var(--paper);
  color: var(--ink);
}
.pdp__accordion {
  border-top: 1px solid rgba(255, 255, 255,.18);
  padding-top: 1rem;
}
.pdp__accordion summary {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
}
.pdp__accordion summary::-webkit-details-marker { display: none; }
.pdp__accordion summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4em;
  line-height: 1;
}
.pdp__accordion[open] summary::after { content: "−"; }
.pdp__accordion p,
.pdp__accordion ul {
  margin-top: .75rem;
  font-size: var(--step-0);
  line-height: 1.55;
  color: rgba(255, 255, 255,.85);
}
.pdp__accordion ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

@media (max-width: 880px) {
  .pdp { grid-template-columns: 1fr; }
}

/* Contact page direct lines + layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-h {
  font-family: var(--font-display);
  font-size: var(--step-3);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--font-body);
  font-size: var(--step-1);
  list-style: none;
  padding: 0;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.contact-list__lbl {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--neon);
}
.contact-list__hint {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .55;
}
@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; }
}
