/* ---------- Brand ----------
   "Dark angel": pearl light and halo glow against deep violet-black.
   One typeface everywhere: DM Mono (light). Spacing matched to shy-flw.com. */
:root {
  --bg: #0a090c;
  --bg-lift: #17141c;
  --surface: #18161d;
  --line: rgba(236, 231, 223, 0.14);
  --text: #ece7df;
  --muted: #8f8896;
  --halo: #e6dcc6;
  --glow: 0 0 18px rgba(236, 228, 210, 0.35);
  /* Fluid spacing: scales smoothly from phones to large screens */
  --header-h: clamp(68px, 7.5vw, 110px);
  --gutter: clamp(16px, 3.8vw, 56px);
  --max: 1400px;
  --section-top: calc(var(--header-h) + clamp(4px, 0.8vw, 12px));
  --section-bottom: clamp(64px, 10vw, 150px);
  --font: "DM Mono", ui-monospace, Menlo, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  /* Faint light falling from above into darkness */
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, var(--bg-lift), transparent 70%) fixed,
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--halo); color: var(--bg); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

/* Clear focus ring for keyboard users */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.gallery button:focus-visible { outline-offset: 3px; }
.skip-link:focus {
  left: var(--gutter);
  top: 16px;
  z-index: 400;
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
}

/* Small ornament used as a brand mark */
.ornament {
  display: block;
  text-align: center;
  color: var(--halo);
  font-size: 0.9rem;
  letter-spacing: 1.2em;
  margin: 0 0 20px 1.2em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(10, 9, 12, 0.92), rgba(10, 9, 12, 0));
}

.logo {
  position: relative;
  z-index: 110;
  margin-right: auto;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-decoration: none;
  text-transform: lowercase;
}
.logo img { height: 54px; width: auto; }

.nav-list {
  display: flex;
  gap: clamp(20px, 2.6vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  padding: 6px 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { opacity: 1; }
/* Dot under the current page, and under any link on hover */
.nav-list a::after {
  content: "";
  opacity: 0;
  transition: opacity 0.3s;
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { opacity: 1; }

/* Basket button */
.cart-toggle {
  position: relative;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  z-index: 110;
  opacity: 0.85;
  transition: opacity 0.3s, filter 0.3s;
}
.cart-toggle:hover { opacity: 1; }
.cart-toggle svg { width: 24px; height: 24px; display: block; }
.cart-count {
  position: absolute;
  top: -1px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--halo);
  color: var(--bg);
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  box-shadow: var(--glow);
}
.cart-count[hidden] { display: none; }

/* Burger (mobile only) */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 7px 0;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header { gap: 6px; }
  .logo { letter-spacing: 0.12em; }
  .menu-toggle { display: block; }

  /* Full-screen overlay menu, like the reference */
  .site-nav {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 50% at 50% 40%, var(--bg-lift), transparent 70%),
      var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }
  .nav-list a { font-size: clamp(0.9rem, 3.6vw, 1rem); }
}

/* ---------- Layout ---------- */
main { flex: 1; }

.page {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: var(--section-top) var(--gutter) var(--section-bottom);
}

/* Photos: slightly muted, film-like */
.hero,
.bio-photo,
.product img,
.cart-item img { filter: saturate(0.85) contrast(1.05) brightness(0.94); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--surface);
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(70px, 10vh, 100px);
}
.hero-portrait {
  background-image: url("../assets/img/hero-blur-portrait-2400.jpg");
  background-position: 50% 50%;
}
@media (min-width: 2401px) {
  .hero-portrait { background-image: url("../assets/img/hero-blur-portrait.jpg"); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 35%, rgba(236, 228, 210, 0.12), transparent 70%),
    linear-gradient(to bottom, rgba(10, 9, 12, 0.55), transparent 30%, transparent 55%, rgba(10, 9, 12, 0.95));
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 5vh, 48px);
}

/* Laptops and up: header text sits a little higher; icons closer to the copyright line */
@media (min-width: 641px) {
  .site-header { padding-bottom: clamp(0px, 1.7vw, 26px); }
  .home .hero { padding-bottom: 63px; }
}

/* Phones: slightly larger name in the header, icons closer to the copyright line */
@media (max-width: 640px) {
  .logo { font-size: 1.45rem; }
  .home .hero { padding-bottom: 58px; }
}

/* Home on a pale photo: no shading, dark type and icons.
   The mobile menu overlay stays dark, so keep cream type while it is open. */
.home .hero-shade { display: none; }
.home .site-header { background: none; }
.home:not(.menu-open) .logo,
.home:not(.menu-open) .nav-list a,
.home .site-footer {
  color: var(--bg);
}
.home:not(.menu-open) .menu-toggle span { background: var(--bg); }
.home .socials img { filter: none; }


/* ---------- Social icons ---------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.socials a {
  display: block;
  opacity: 0.75;
  transition: opacity 0.3s, filter 0.3s;
}
.socials a:hover { opacity: 1; }
.socials img {
  width: 20px;
  height: 20px;
  filter: invert(0.92);
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 40px var(--gutter);
  font-family: var(--font);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer .socials { margin-bottom: 18px; }
.home .site-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
}
/* Phones: equal space above and below the copyright line */
@media (max-width: 640px) { .home .site-footer { padding-bottom: 20px; } }

/* ---------- Placeholders for embeds without content yet ---------- */
.embed-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

/* ---------- Bio ---------- */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
/* Large, magazine-style photo in its own 3:4 shape */
.bio-photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
  background: var(--surface);
}
/* First line starts level with the top of the photo (trims the space above the capitals) */
.bio-text { margin-top: -0.6em; max-width: 38em; }
.bio-text p {
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  line-height: 2.1;
  margin: 0 0 1.6em;
}
/* Spotify players: 3 across on desktop, 2 on tablets, 1 on phones */
.embeds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(56px, 8vw, 120px);
}
@media (max-width: 1000px) { .embeds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .embeds { grid-template-columns: 1fr; } }
.embeds iframe,
.embeds .embed-placeholder {
  width: 100%;
  height: 352px;
  border-radius: 12px;
}
.embeds iframe { border: 0; display: block; }

/* ---------- Listen ----------
   Cover art first: each release links to Spotify. */
.releases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 64px) clamp(14px, 2.4vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 860px) { .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.release {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}
.release-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 18px;
}
.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
}
.release:hover .release-cover img { transform: scale(1.04); filter: brightness(1.08); }
.release-title {
  font-family: var(--font);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  line-height: 1.5;
}
.release-cta {
  margin-top: 6px;
  color: var(--muted);
  font-style: italic;
  font-size: 0.85rem;
  transition: color 0.3s;
}
.release:hover .release-cta { color: var(--text); }

@media (max-width: 860px) {
  .bio { grid-template-columns: 1fr; }
  .bio-photo { width: 100%; max-width: 520px; margin: 0 auto; }
  .bio-text { max-width: 640px; margin: 0 auto; }
}

/* ---------- Gallery ----------
   Like the reference: a narrow column that starts lower and a wide column
   that starts higher; photos keep their own shape. */
.gallery {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 7vw, 120px);
  max-width: 1300px;
  margin: 0 auto;
}
.gallery-col {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 28px);
  min-width: 0;
}
.gallery-narrow { flex: 2; margin-top: clamp(60px, 10vw, 150px); }
.gallery-wide { flex: 3; }
.gallery button {
  padding: 0;
  border: 0;
  background: var(--surface);
  cursor: zoom-in;
  overflow: hidden;
  display: block;
  width: 100%;
}
.gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.8s ease;
}
.gallery button:hover img { transform: scale(1.03); }
/* Fluid, asymmetric rhythm: each photo has its own width, side and spacing,
   and some reach into the gap between the columns */
.gallery-narrow button:nth-child(2) { width: 74%; margin-left: auto; }
.gallery-narrow button:nth-child(3) { width: 90%; margin-top: clamp(20px, 4vw, 64px); }
.gallery-narrow button:nth-child(4) { width: 68%; margin-left: auto; margin-right: -14%; }
.gallery-narrow button:nth-child(5) { width: 60%; margin-left: 14%; }
.gallery-narrow button:nth-child(6) { width: 78%; margin-left: 12%; }
.gallery-narrow button:nth-child(7) { width: 88%; margin-left: auto; margin-top: clamp(20px, 4vw, 64px); }
.gallery-wide button:nth-child(2) { width: 80%; margin-left: 8%; margin-top: clamp(24px, 5vw, 80px); }
.gallery-wide button:nth-child(3) { width: 92%; margin-left: auto; margin-top: clamp(36px, 6vw, 92px); }
.gallery-wide button:nth-child(4) { width: 74%; margin-left: -10%; margin-top: clamp(20px, 4vw, 64px); }
.gallery-wide button:nth-child(5) { width: 96%; margin-left: auto; margin-top: clamp(32px, 6vw, 100px); }

/* Phones: one column, photos back in their original order */
@media (max-width: 640px) {
  .gallery { display: flex; flex-direction: column; gap: 14px; }
  .gallery-col { display: contents; }
  .gallery button { order: var(--i); }
  .gallery .gallery-col button { width: 100%; margin: 0; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 9, 12, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: 2.2rem;
  line-height: 1;
  padding: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Videos ---------- */
.videos {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  max-width: 1100px;
  margin: 0 auto;
}
.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--surface);
}
.video-frame iframe,
.video-frame .embed-placeholder {
  width: 100%;
  height: 100%;
}
.video-frame iframe { border: 0; }
.video { margin: 0; }
.video figcaption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(0.68rem, 0.9vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}
.videos-more { margin: clamp(48px, 6vw, 80px) 0 0; text-align: center; }

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.button:hover {
  border-color: var(--halo);
}
.button-solid {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.button-solid:hover {
  background: var(--halo);
  border-color: var(--halo);
}
.button:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }

/* ---------- Shop ----------
   Cards stay a modest size and centred; the photo is capped by screen height
   so the name, price and button are visible without scrolling. */
.products {
  --cols: 2;
  --gap-x: clamp(12px, 2vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(36px, 4vw, 56px) var(--gap-x);
  max-width: 1080px;
  margin: 0 auto clamp(64px, 9vw, 120px);
}
/* Phones: 2 per row, left-aligned so a leftover card sits under the first */
@media (max-width: 559px) { .products { justify-content: flex-start; } }
@media (min-width: 560px) { .products { --cols: 3; } }
.product {
  /* Same width for every card */
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols));
  max-width: 330px;
  min-width: 0;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
}
.product-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 14px;
}
.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: max(220px, calc(100vh - var(--section-top) - 150px));
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s ease, filter 0.8s ease;
}
.product:hover .product-media img {
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.05) brightness(1.04);
}
.product-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.product h2 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.product .price {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  white-space: nowrap;
}
.product-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Size chips */
.sizes {
  display: flex;
  gap: 2px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.sizes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sizes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.sizes span:hover { color: var(--text); }
.sizes input:checked + span {
  color: var(--text);
  border-color: var(--line);
}
.sizes input:focus-visible + span { outline: 1px solid var(--halo); }
.product .add {
  margin-left: auto;
  padding: 9px 14px;
  font-size: 0.62rem;
  white-space: nowrap;
}

/* Narrow cards (e.g. two per row on phones): stack everything */
@container (max-width: 270px) {
  .product-info { flex-direction: column; }
  .product-actions { flex-direction: column; align-items: stretch; }
  .sizes { justify-content: space-between; }
  .sizes span { min-width: 0; flex: 1; }
  .sizes label { flex: 1; display: flex; }
  .product .add { margin-left: 0; width: 100%; }
}

.shop-intro {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.shop-intro p {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Basket drawer ---------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(5, 4, 7, 0.65);
  backdrop-filter: blur(3px);
}
.cart-backdrop[hidden] { display: none; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 260;
  width: min(420px, 100%);
  max-width: 100vw;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, var(--bg-lift), transparent 70%),
    var(--bg);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s ease, visibility 0.45s;
  outline: none;
}
.cart-drawer.open { transform: none; visibility: visible; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(18px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.cart-close {
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.cart-close:hover { opacity: 1; }
.cart-items {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 8px clamp(18px, 3vw, 28px);
}
.cart-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  padding: 32px 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 76px; height: 95px; object-fit: cover; }
.cart-item p { margin: 0 0 2px; }
.cart-name {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.cart-name span { color: var(--muted); }
.cart-price { color: var(--muted); font-style: italic; }
.qty { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty button {
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  line-height: 1;
}
.qty button:hover { border-color: var(--halo); }
.qty .cart-remove {
  width: auto;
  height: auto;
  border: 0;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.qty .cart-remove:hover { color: var(--text); }
.cart-foot { padding: clamp(18px, 3vw, 28px); border-top: 1px solid var(--line); }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.cart-total { font-family: var(--font); font-size: 1.05rem; letter-spacing: 0; }
.cart-note { margin: 0 0 20px; color: var(--muted); font-style: italic; }
.cart-error { margin: 0 0 12px; color: var(--halo); }
.cart-error:empty { display: none; }
.cart-checkout { width: 100%; padding: 15px; }

/* ---------- Thank-you page ---------- */
.thanks-msg {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 60px;
}
.thanks-msg h1 {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin: 0 0 16px;
}
.thanks-msg p {
  color: var(--muted);
  font-style: italic;
  font-size: 1rem;
  margin: 0 0 36px;
}

/* Visitors who ask for less motion: no fades, zooms or slides */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .gallery button:hover img,
  .release:hover .release-cover img { transform: none; }
}
