/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  color-scheme: dark;

  --bg: #050506;
  --surface: #0e0e10;
  --surface-2: #16161a;
  --ink: #ececea;          /* main text */
  --muted: #86868d;
  --line: #1f1f24;
  --ice: #bcd6f5;          /* cold diamond tint */

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Prismatic sheen used across the site */
  --prism: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 44%,
    rgba(190, 225, 255, 0.25) 48%,
    rgba(255, 210, 235, 0.25) 52%,
    rgba(255, 250, 210, 0.2) 55%,
    transparent 68%
  );
}

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

html { scroll-behavior: smooth; }

/* Only body gets the background: it then paints the page canvas itself,
   which keeps the lightning layer (z-index: -1) visible above it. */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 15px/1.6 var(--sans);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 1px solid var(--ice); outline-offset: 3px; }

/* ─── Lightning sky (drawn by lightning.js) ──────────────────── */
/* Sits behind all content; sections are transparent so strikes show through. */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  background: rgba(3, 3, 4, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo { display: flex; align-items: center; gap: 14px; }

.logo-mark { transition: filter 0.5s var(--ease), transform 0.5s var(--ease); }
.logo-mark img { display: block; width: auto; height: 44px; }
.logo:hover .logo-mark {
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(185, 215, 255, 0.55));
  transform: scale(1.05);
}

.logo-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-nav { display: flex; gap: clamp(18px, 3vw, 36px); }
.site-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ─── Diamond shine on the logos ─────────────────────────────── */
/*
 * A band of prism-tinted light sweeps across the logo on hover. The band is
 * masked to the logo's shape, so the light only lands on the chrome letters.
 */
.shine {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.shine::before,
.shine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(170, 205, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 200, 235, 0.35) 55%,
    transparent 62%
  );
  background-size: 250% 100%;
  background-position: 130% 0;
  background-repeat: no-repeat;
  -webkit-mask: var(--shine-mask) center / 100% 100% no-repeat;
  mask: var(--shine-mask) center / 100% 100% no-repeat;
}
.shine:hover::after,
.logo:hover .shine::after { animation: shine-sweep 1s var(--ease); }

@keyframes shine-sweep {
  from { background-position: 130% 0; }
  to   { background-position: -30% 0; }
}

.logo-mark { --shine-mask: url("../images/logo-web.png"); }
.hero-logo { --shine-mask: url("../images/big-logo-mask.png"); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 65px);
  min-height: calc(100svh - 65px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px var(--gutter) 72px;
  overflow: hidden;
}

.hero-logo {
  width: min(100%, 760px);
  margin: 0;
  cursor: default;
}
.hero-logo img {
  width: 100%;
  height: auto;
  /* The logo image has a black background; "screen" drops it so lightning shows behind. */
  mix-blend-mode: screen;
  transition: filter 0.8s var(--ease);
}
.hero-logo:hover img { filter: brightness(1.08) contrast(1.05); }

/* The hero also catches the light on its own every few seconds. */
.hero-logo::before { animation: shine-idle 7s var(--ease) 1.2s infinite; }
@keyframes shine-idle {
  0%   { background-position: 130% 0; }
  22%, 100% { background-position: -30% 0; }
}

/* Twinkles that pop over the hero logo on hover (added by main.js) */
.twinkle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  translate: -50% -50%;
  background: radial-gradient(circle, #fff 0 18%, rgba(200, 225, 255, 0.9) 40%, transparent 70%);
  clip-path: polygon(50% 0, 56% 44%, 100% 50%, 56% 56%, 50% 100%, 44% 56%, 0 50%, 44% 44%);
  animation: twinkle-pop 0.9s ease-out forwards;
}
@keyframes twinkle-pop {
  0%   { opacity: 0; transform: scale(0.2) rotate(0deg); }
  35%  { opacity: 1; transform: scale(1) rotate(30deg); }
  100% { opacity: 0; transform: scale(0.4) rotate(70deg); }
}

.tagline {
  margin: 8px 0 40px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 15px 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--prism);
  transform: translateX(-100%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:hover::after { transform: translateX(100%); }

/* ─── Chrome marquee ─────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  width: max-content;
  padding-right: clamp(28px, 4vw, 56px); /* keeps the loop seamless */
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  /* Chrome: bright top edge, cool steel middle, glint, dark base */
  background: linear-gradient(180deg, #ffffff 0%, #c9d6e6 38%, #f4f8ff 50%, #7d8a99 64%, #dfe7f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee span:nth-of-type(even) { font-style: italic; }
.marquee i {
  flex: none;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #ffffff, var(--ice) 50%, #e7bcd6);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(188, 214, 245, 0.6);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Collection ─────────────────────────────────────────────── */
.collection {
  max-width: 1680px;
  margin: 0 auto;
  padding: 100px var(--gutter) 140px;
  scroll-margin-top: 20px;
}

.collection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 30px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ice);
}

.collection-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 8.5vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 10%, #cfd8e3 55%, #8793a1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.collection-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.collection-count {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.01em;
}

/* Filter pills */
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid #2a2a30;
  border-radius: 999px;
  cursor: pointer;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.filter sup {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ice);
  color: #050506;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: baseline;
}
.filter:hover { color: var(--ink); border-color: #4a4a52; }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ─── Featured: the latest drop ──────────────────────────────── */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 120px;
}
.featured .card-media { aspect-ratio: 4 / 5; }
.featured-info { max-width: 520px; }
.featured-tags { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.featured-tags .kicker { margin: 0; }
.featured-tags .badge-new { position: relative; top: auto; left: auto; }
.featured-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 5.2vw, 80px);
  line-height: 0.98;
}
.featured-name a { transition: color 0.3s; }
.featured-name a:hover { color: #fff; }
.featured-price { margin: 18px 0 0; font-size: 20px; letter-spacing: 0.04em; }
.featured-desc {
  margin: 24px 0 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.8;
  color: #b9b9c0;
}
.featured-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.featured-sizes span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #2c2c33;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #cfcfd4;
}
.featured .btn { margin-top: 36px; }

/* ─── Grid ───────────────────────────────────────────────────── */
.grid-label {
  margin: 0 0 30px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px clamp(18px, 2.4vw, 40px);
}

/* Cards (and the featured block) fade up as they scroll into view. */
.card,
.featured {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.card.is-in,
.featured.is-in { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 20px; }
}
@media (max-width: 760px) {
  .featured { grid-template-columns: 1fr; margin-bottom: 90px; }
  .collection-side { align-items: flex-start; }
  .filters { justify-content: flex-start; }
}

/* ─── Card photo slider ──────────────────────────────────────── */
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, var(--surface-2), var(--surface) 70%);
}

.slides {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  /* Show the whole photo — no cropping */
  object-fit: contain;
  scroll-snap-align: start;
  transition: transform 1.2s var(--ease);
}
.card:hover .slides img,
.featured .card-media:hover .slides img { transform: scale(1.02); }

/* Diamond sheen that sweeps across on hover */
.card-media::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: var(--prism);
  mix-blend-mode: screen;
  transform: translateX(-110%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.card:hover .card-media::after,
.featured .card-media:hover::after { transform: translateX(110%); }

.slide-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 5, 6, 0.6);
  backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0;
  translate: 0 -50%;
  transition: opacity 0.3s, background 0.3s, border-color 0.3s;
}
.slide-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }
.slide-btn:hover { background: rgba(5, 5, 6, 0.85); border-color: var(--ice); }
.slide-btn:disabled { opacity: 0 !important; pointer-events: none; }
.card:hover .slide-btn,
.featured .card-media:hover .slide-btn,
.slide-btn:focus-visible { opacity: 1; }
@media (hover: none) {
  .slide-btn { display: none; }
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 7px;
  translate: -50% 0;
  pointer-events: none;
}
.dots i {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  transition: background 0.3s, transform 0.3s;
}
.dots i.is-active { background: #fff; transform: rotate(45deg) scale(1.3); }

.photo-count {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 3px 7px;
  background: rgba(5, 5, 6, 0.6);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.placeholder svg {
  width: 44px;
  fill: none;
  stroke: #3a3a40;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.badge-new {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  background: #f4f4f2;
  color: #050506;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  overflow: hidden;
}
.badge-new i {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #1b2a3c, #6f93bd 50%, #b67fa3);
  transform: rotate(45deg);
  animation: twinkle 2.4s ease-in-out infinite;
}
.badge-new::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(170, 205, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: badge-glint 3.6s var(--ease) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: rotate(45deg) scale(1); }
  50%      { opacity: 0.55; transform: rotate(45deg) scale(0.7); }
}
@keyframes badge-glint {
  0%, 55% { transform: translateX(-100%); }
  100%    { transform: translateX(100%); }
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
}
.card-name {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.card-name a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}
.card:hover .card-name a { background-size: 100% 1px; }
.card-price { font-size: 15px; white-space: nowrap; }
.card-meta {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.empty {
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding: 60px 0;
}

/* ─── Gallery lightbox ───────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #030304;
  animation: lb-in 0.35s var(--ease);
}
@keyframes lb-in { from { opacity: 0; } }

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
}
.lb-title { margin: 0; font-size: 13px; font-weight: 400; letter-spacing: 0.06em; }
.lb-title span { margin-left: 12px; color: var(--muted); }
.lb-count { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); }
.lb-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.3s;
}
.lb-close:hover { border-color: var(--ice); }
.lb-close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.5; }

.lb-stage { position: relative; min-height: 0; }
.lb-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.lb-slide img {
  position: absolute;
  inset: 8px var(--gutter);
  width: calc(100% - 2 * var(--gutter));
  height: calc(100% - 16px);
  max-width: none;
  object-fit: contain;
}
.lb-stage .slide-btn { width: 46px; height: 46px; opacity: 1; }
.lb-stage .slide-btn.prev { left: var(--gutter); }
.lb-stage .slide-btn.next { right: var(--gutter); }
.lb-stage .slide-btn svg { width: 14px; height: 14px; }

.lb-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-x: auto;
}
.lb-thumbs button {
  flex: 0 0 auto;
  width: 48px;
  aspect-ratio: 4 / 5;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
}
.lb-thumbs button:hover { opacity: 0.85; }
.lb-thumbs button.is-active { opacity: 1; border-color: var(--ice); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

body.lb-open { overflow: hidden; }

/* ─── About ──────────────────────────────────────────────────── */
.about {
  padding: 110px var(--gutter) 130px;
  text-align: center;
  border-top: 1px solid var(--line);
  scroll-margin-top: 40px;
}
.about-kicker {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-text {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
}
.about-text p { margin: 0 0 0.8em; }
.about-text p:last-child { margin-bottom: 0; }

/* The creators */
.creators-wrap { max-width: 1180px; margin: 110px auto 0; }
.creators-title {
  padding-bottom: 20px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.creators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 64px clamp(20px, 3vw, 44px);
  text-align: left;
}
/* One or two people: give each a bit more room, photo beside the text */
.creators:has(> :nth-child(-n + 2):last-child) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.creators:has(> :nth-child(-n + 2):last-child) .creator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.creator { opacity: 0; animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }

.creator-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
}
.creator-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%; /* keep faces in frame */
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}
.creator:hover .creator-photo img { filter: none; transform: scale(1.03); }
.creator-photo::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: var(--prism);
  mix-blend-mode: screen;
  transform: translateX(-110%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.creator:hover .creator-photo::after { transform: translateX(110%); }
.creator-photo svg {
  position: absolute;
  inset: 0;
  width: 36px;
  margin: auto;
  fill: none;
  stroke: #3a3a40;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.creator-body { padding-top: 20px; }
.creators:has(> :nth-child(-n + 2):last-child) .creator-body { padding-top: 6px; }
.creator-role {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ice);
}
.creator-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
}
.creator-bio {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #bdbdc3;
}
.creator-bio p { margin: 0 0 10px; }
.creator-bio p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .creators:has(> :nth-child(-n + 2):last-child) .creator { display: block; }
  .creators:has(> :nth-child(-n + 2):last-child) .creator-body { padding-top: 20px; }
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--ink); }
.footer-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-links svg .dot { fill: currentColor; stroke: none; }

/* ─── Cursor sparkles ────────────────────────────────────────── */
.sparkle {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  translate: -50% -50%;
  background: linear-gradient(135deg, #ffffff, #bcd6ec 50%, #efc6dc);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: sparkle 0.8s ease-out forwards;
}
@keyframes sparkle {
  from { opacity: 1; transform: scale(0.4) rotate(0deg); }
  40%  { opacity: 1; transform: scale(1) rotate(45deg); }
  to   { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2) rotate(90deg); }
}

/* ─── Product page ───────────────────────────────────────────── */
.pdp {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px var(--gutter) 110px;
}

.crumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a:hover { color: var(--ink); }
.crumbs span:last-child { color: var(--ink); }

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(32px, 5vw, 80px);
}

/* Photos: two per row, like most clothing stores. A single photo is centred. */
.pdp-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pdp-photos > :only-child {
  grid-column: 1 / -1;
  width: min(100%, calc((100vh - 150px) * 0.8));
  justify-self: center;
}

.pdp-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.pdp-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s var(--ease);
}
.pdp-photo:hover img { transform: scale(1.02); }
.pdp-photo::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: var(--prism);
  mix-blend-mode: screen;
  transform: translateX(-110%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.pdp-photo:hover::after { transform: translateX(110%); }

.pdp-dots { display: none; }

/* Info column: stays in view while the photos scroll past. */
.pdp-info-inner {
  position: sticky;
  top: 96px;
}

.pdp-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  margin-bottom: 14px;
}
.pdp-tags .badge-new { position: relative; top: auto; left: auto; }
.pdp-cat {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
.pdp-price {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.pdp-block {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pdp-label {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  display: grid;
  place-items: center;
  min-width: 50px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #2c2c33;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.pdp-desc { font-size: 14px; line-height: 1.8; color: #c4c4ca; }
.pdp-desc p { margin: 0 0 12px; }
.pdp-desc p:last-child { margin-bottom: 0; }

.pdp-details {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}
.pdp-details div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.pdp-details dt {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 10.5px;
}
.pdp-details dd { margin: 0; text-align: right; }

.pdp-back { display: block; margin-top: 32px; text-align: center; }

.pdp-missing {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 120px 0;
  text-align: center;
  color: var(--muted);
}
.pdp-missing .btn { margin-top: 24px; color: var(--ink); }

/* More pieces */
.related { margin-top: 120px; }
.related .section-title {
  padding-bottom: 20px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 40px clamp(14px, 2vw, 28px);
}
.related-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
}
.related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 1.2s var(--ease);
}
.related-card:hover .related-media img { transform: scale(1.03); }

@media (max-width: 860px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 28px; }

  /* Photos become a swipeable strip */
  .pdp-photos {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .pdp-photos::-webkit-scrollbar { display: none; }
  .pdp-photo,
  .pdp-photos > :only-child {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }
  .pdp-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
  .pdp-dots i {
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    transition: background 0.3s, transform 0.3s;
  }
  .pdp-dots i.is-active { background: #fff; transform: rotate(45deg) scale(1.3); }

  .pdp-info-inner { position: static; }
  .related { margin-top: 80px; }
}

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .logo-text { display: none; }
  .collection { padding-top: 64px; }
  .collection-head { flex-direction: column; align-items: flex-start; margin-bottom: 44px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 40px 12px; }
  .card-name,
  .card-price { font-size: 13px; }
  .marquee { padding: 18px 0; }
  .photo-count { top: 10px; right: 10px; }
  .badge-new { top: 10px; left: 10px; padding: 5px 8px 5px 7px; font-size: 8.5px; }
  .lb-stage .slide-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .card,
  .featured,
  .creator { opacity: 1; transform: none; }
}
