/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --raw-ice-50: #f1f1f1;
  --raw-ice-100: #e6e6e6;
  --raw-ice-200: #d6d6d6;
  --raw-ink-900: #0f0f10;
  --raw-ink-700: #2b2b2e;
  --raw-ink-500: #6d6d72;
  --raw-wine-600: #7d1f2c;
  --raw-wine-400: #a83341;

  --background: var(--raw-ice-50);
  --foreground: var(--raw-ink-900);
  --foreground-soft: var(--raw-ink-700);
  --muted: var(--raw-ink-500);
  --border: var(--raw-ice-200);
  --border-muted: var(--raw-ice-100);
  --accent: var(--raw-wine-600);
  --accent-soft: var(--raw-wine-400);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  --type-impact: clamp(4rem, 9vw, 7.5rem);
  --type-heading: clamp(1.75rem, 3vw, 2.375rem);
  --type-title: 1.25rem;
  --type-lead: 1.125rem;
  --type-label: 1rem;
  --type-body: 0.875rem;
  --type-eyebrow: 0.75rem;

  --gutter: 1.5rem;
}
@media (min-width: 640px)  { :root { --gutter: 2rem; } }
@media (min-width: 1280px) { :root { --gutter: 3rem; } }

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--background); }
/* the page's backstage is ink: the hero card shrinks into it, the next chapter lives in it */
body {
  margin: 0; background: var(--raw-ink-900); color: var(--foreground);
  font-family: var(--font-body); font-size: var(--type-body); line-height: 1.4;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, dl, dd, dt { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow {
  font-family: var(--font-body); font-size: var(--type-eyebrow); font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.label {
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ============================================================
   ASSET BANNER — a failed load must be visible
   ============================================================ */
.asset-banner {
  display: none; position: fixed; left: 0; right: 0; top: 0; z-index: 100;
  padding: 0.5rem 1rem; background: #ffe9e9; color: #7a0000; font-size: 0.8rem;
}
.asset-banner.on { display: block; }

/* ============================================================
   1 — THE HERO
   ============================================================ */
/* the runway: the hero stays pinned while it shrinks, then scrolls away as a card */
.hero-pin { position: relative; height: 190svh; }
[data-hero] {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: var(--background);
  transform-origin: 50% 50%; will-change: transform, border-radius;
}
.hero-dim {
  position: absolute; inset: 0; z-index: 3; background: var(--raw-ink-900);
  opacity: 0; pointer-events: none;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-canvas canvas { width: 100%; height: 100%; display: block; }
.hero-fallback {
  position: absolute; inset: 0; z-index: 0; display: none; pointer-events: none;
  background: url("assets/hood.jpg") center 50% / cover no-repeat;
}
.hero-fallback.on { display: block; }
/* on narrow screens the photo lives in the lower part, softened at its top edge */
@media (max-width: 1023px) {
  .hero-canvas, .hero-fallback { top: 30%; }
  .hero-canvas::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%;
    background: linear-gradient(to bottom, var(--background), rgba(241,241,241,0));
    z-index: 1;
  }
}
@media (max-width: 639px) {
  .hero-canvas, .hero-fallback { top: 34%; }
}

.hero-content {
  position: relative; z-index: 1; min-height: 100svh;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 1.25rem var(--gutter) 1.5rem;
}
@media (max-width: 639px) { .hero-content { gap: 1rem; } }
@media (min-width: 1280px) { .hero-content { gap: 0; padding-top: 1.5rem; padding-bottom: 2rem; } }

/* --- head: logo / nav / cta --- */
.hero-head {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-height: 2.5rem; will-change: opacity, transform;
}
.hero-logo img { height: 1.75rem; width: auto; }
.hero-nav { display: none; }
@media (min-width: 1280px) {
  .hero-nav { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
}
.hero-nav ul { display: flex; align-items: center; gap: 3.5rem; }
.hero-nav a, .hero-garage {
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--foreground-soft);
  position: relative; transition: color 0.25s ease;
}
.hero-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 1px;
  background: var(--foreground); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-nav a:hover { color: var(--foreground); }
.hero-nav a:hover::after { transform: scaleX(1); }
.hero-garage { display: none; font-weight: 700; color: var(--foreground); }
@media (min-width: 1280px) { .hero-garage { display: block; } }
.hero-garage:hover { color: var(--accent); }
.hero-burger { display: block; padding: 0.5rem; margin-right: -0.5rem; }
@media (min-width: 1280px) { .hero-burger { display: none; } }
.hero-burger span { display: block; width: 1.5rem; height: 2px; background: var(--foreground); transition: transform 0.3s ease, opacity 0.3s ease; }
.hero-burger span + span { margin-top: 0.3125rem; }
.hero-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hero-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* --- mid: identity / panels --- */
.hero-mid { display: flex; flex-direction: column; flex: 1; gap: 1.5rem; }
@media (min-width: 1280px) { .hero-mid { flex-direction: row; justify-content: space-between; align-items: center; gap: 2rem; } }

.hero-identity { position: relative; display: flex; flex-direction: column; gap: 1rem; max-width: 30rem; }
@media (max-width: 639px) { .hero-identity { gap: 0.75rem; } }
@media (min-width: 1280px) { .hero-identity { gap: 2rem; } }
.hero-id { margin-bottom: 0.25rem; }
.hero-name { line-height: 0; }
.hero-name img { width: clamp(11rem, 26vw, 24rem); height: auto; }
.hero-meta { display: flex; flex-direction: column; gap: 0.6rem; }
.hero-meta li {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--foreground-soft);
}
@media (max-width: 639px) { .hero-meta { gap: 0.4rem; } .hero-meta li { font-size: 0.9rem; } }
.hero-meta i { width: 0.45rem; height: 0.45rem; background: var(--accent); transform: rotate(45deg); flex: none; }
.hero-rule { height: 1px; background: var(--border); transform-origin: left; }

[data-hero-panels] {
  display: flex; flex-direction: column; gap: 1.25rem; align-self: flex-start; width: 15rem; flex: none;
}
@media (max-width: 639px) { [data-hero-panels] { display: none; } }
@media (min-width: 1280px) { [data-hero-panels] { align-self: center; } }
.panel {
  position: relative; padding: 1rem 1.1rem;
}
.panel::before, .panel::after, .hero-stats::before, .hero-stats::after {
  content: ""; position: absolute; width: 0.7rem; height: 0.7rem; border-color: var(--foreground-soft); border-style: solid;
}
.panel::before, .hero-stats::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.panel::after,  .hero-stats::after  { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.panel-label { color: var(--accent); font-family: var(--font-body); font-size: var(--type-eyebrow); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6rem; }
.panel-title { font-family: var(--font-display); font-size: var(--type-title); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.panel-sub { font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--foreground-soft); line-height: 1.35; }
.hero-stats {
  position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem;
}
.hero-stats > div { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.hero-stats dt { font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; color: var(--foreground-soft); }
.hero-stats dd { font-family: var(--font-display); font-size: var(--type-heading); font-weight: 700; line-height: 1; letter-spacing: -0.01em; }

/* --- foot: play / cta / social --- */
.hero-foot {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.hero-play { display: flex; align-items: center; gap: 0.75rem; }
.hero-play .play-ico {
  width: 2rem; height: 2rem; border: 1px solid var(--foreground); border-radius: 50%;
  display: grid; place-items: center; flex: none; transition: background 0.25s ease, color 0.25s ease;
}
.hero-play .play-ico::before { content: ""; border-left: 0.5rem solid currentColor; border-top: 0.3rem solid transparent; border-bottom: 0.3rem solid transparent; margin-left: 2px; }
.hero-play:hover .play-ico { background: var(--foreground); color: var(--background); }
@media (max-width: 767px) {
  .hero-play { padding: 0.5rem 0.9rem 0.5rem 0.5rem; margin-left: -0.5rem; background: rgba(241,241,241,0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}
.hero-play b { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--type-label); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.hero-play small { display: block; color: var(--muted); font-size: var(--type-eyebrow); letter-spacing: 0.08em; }
.hero-cta {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  padding: 0.7rem 1.4rem; border: 1px solid var(--foreground);
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(241,241,241,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, color 0.25s ease; white-space: nowrap;
}
.hero-cta:hover { background: var(--foreground); color: var(--background); }
@media (max-width: 767px) { .hero-cta { display: none; } }
.hero-social { display: flex; gap: 1.25rem; }
@media (max-width: 1279px) { .hero-social { display: none; } }
.hero-social a { font-family: var(--font-display); font-size: var(--type-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--foreground-soft); transition: color 0.25s ease; }
.hero-social a:hover { color: var(--foreground); }

/* ============================================================
   THE FLOATING BAR — takes over from the hero header on scroll
   ============================================================ */
.topbar {
  position: fixed; top: 0.9rem; left: 50%; z-index: 30;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  color: var(--raw-ice-50); background: rgba(15, 15, 16, 0.72);
  border: 1px solid rgba(241, 241, 241, 0.12); border-radius: 999px;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -140%); opacity: 0; pointer-events: none;
  will-change: transform, opacity; white-space: nowrap;
}
.topbar.on { pointer-events: auto; }
.topbar-logo { flex: none; }
.topbar-logo img { height: 1.1rem; width: auto; max-width: none; filter: invert(1); }
.topbar-nav { display: none; }
.topbar-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.topbar-nav a {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(241, 241, 241, 0.72);
  transition: color 0.25s ease;
}
.topbar-nav a:hover { color: var(--raw-ice-50); }
.topbar-cta {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 0.95rem; border-radius: 999px; background: var(--raw-ice-50); color: var(--raw-ink-900);
  transition: background 0.25s ease;
}
.topbar-cta:hover { background: #fff; }
.topbar .hero-burger { margin-right: 0; }
.topbar .hero-burger span { background: var(--raw-ice-50); }
@media (max-width: 767px) {
  .topbar { left: var(--gutter); right: var(--gutter); transform: translate(0, -140%); gap: 1rem; justify-content: space-between; }
  .topbar-cta { display: none; }
}
@media (min-width: 1024px) {
  .topbar-nav { display: block; }
  .topbar .hero-burger { display: none; }
}

/* ============================================================
   2 — THE DROP
   ============================================================ */
.next {
  /* clip (not hidden): a scroll container here would break the pinned rail */
  position: relative; z-index: 2; color: var(--raw-ice-50); overflow: clip;
  --ice-12: rgba(241, 241, 241, 0.12); --ice-50: rgba(241, 241, 241, 0.5); --ice-72: rgba(241, 241, 241, 0.72);
}
.next-ghost {
  position: absolute; right: -0.04em; top: 0; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 700; line-height: 0.8;
  font-size: clamp(14rem, 36vw, 34rem); color: transparent;
  -webkit-text-stroke: 1px rgba(241, 241, 241, 0.09); will-change: transform;
}
.next-inner {
  position: relative; z-index: 1; max-width: 72rem; margin: 0 auto;
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) 0;
}
.next-mark { display: flex; align-items: center; gap: 1rem; color: var(--ice-50); }
.next-mark::after { content: ""; flex: 1; height: 1px; background: var(--ice-12); }
.next-title {
  margin-top: 1.5rem; max-width: 14ch; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: 0.92; letter-spacing: -0.01em;
}
.next-row {
  display: grid; grid-template-columns: minmax(0, 34rem) auto; justify-content: space-between; align-items: end; gap: 2.5rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
@media (max-width: 767px) { .next-row { grid-template-columns: 1fr; align-items: start; } }
.next-copy { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ice-72); }
.next-facts {
  position: relative; display: flex; gap: clamp(1.5rem, 3vw, 3rem); padding: 1rem 1.25rem;
}
.next-facts::before, .next-facts::after {
  content: ""; position: absolute; width: 0.7rem; height: 0.7rem; border-color: var(--ice-50); border-style: solid;
}
.next-facts::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.next-facts::after  { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.next-facts > div { display: flex; flex-direction: column; gap: 0.2rem; }
.next-facts dt { font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-50); }
.next-facts dd { font-family: var(--font-display); font-size: var(--type-heading); font-weight: 700; line-height: 1; text-transform: uppercase; }
.next-facts dd.accent { color: var(--accent-soft); }
@media (max-width: 767px) { .next-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; } }
.next-cta {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 2.5rem;
  padding: 0.85rem 1.4rem; border: 1px solid rgba(241, 241, 241, 0.35);
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.next-cta:hover { background: var(--raw-ice-50); color: var(--raw-ink-900); border-color: var(--raw-ice-50); }

/* --- the ticker --- */
.ticker {
  position: relative; z-index: 1; overflow: hidden; margin-top: clamp(4rem, 10vh, 7rem);
  border-top: 1px solid var(--ice-12); border-bottom: 1px solid var(--ice-12); padding: 1.1rem 0;
}
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-item {
  display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2.2rem);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--raw-ice-50);
}
.ticker-item i { width: 0.5rem; height: 0.5rem; background: var(--accent-soft); transform: rotate(45deg); flex: none; }
.ticker-item em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--ice-50); }

/* --- the rail: pinned, scrolls sideways as the page scrolls down --- */
.rail-pin { position: relative; z-index: 1; }
.rail-view {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  padding: 0 var(--gutter);
}
.rail-head { display: flex; justify-content: space-between; align-items: baseline; }
.rail-head h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--type-heading); text-transform: uppercase; letter-spacing: 0.02em; }
.rail-count { font-family: var(--font-display); font-size: var(--type-title); letter-spacing: 0.1em; color: var(--ice-50); }
.rail-count b { color: var(--raw-ice-50); font-weight: 700; }
.rail { display: flex; gap: clamp(1rem, 1.6vw, 1.5rem); width: max-content; will-change: transform; }
.card { position: relative; width: clamp(18rem, 31vw, 29rem); flex: none; }
.card figure {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.25rem; background: #17171a;
}
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease; will-change: transform; }
.card:hover img { transform: scale(1.08); }
/* the second photo (worn) fades in over the packshot on hover */
.card img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover img.alt { opacity: 1; }
.card figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(241, 241, 241, 0.06);
}
.card-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  background:
    linear-gradient(135deg, rgba(241,241,241,0.05), rgba(241,241,241,0) 60%),
    repeating-linear-gradient(-45deg, rgba(241,241,241,0.035) 0 1px, transparent 1px 12px), #17171a;
  color: var(--ice-50);
}
.card-empty b { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ice-50); }
.card-empty span { font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; }
.card-tag {
  position: absolute; left: 1rem; top: 1rem; padding: 0.35rem 0.65rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--raw-ice-50); color: var(--raw-ink-900);
}
.card-tag.soon { background: var(--accent); color: var(--raw-ice-50); }
.card-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 0.35rem 1rem; align-items: baseline; margin-top: 1rem; }
.card-num { font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.16em; color: var(--ice-50); }
.card-meta h4 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--type-title); text-transform: uppercase; letter-spacing: 0.04em; }
.card-price { font-family: var(--font-display); font-size: var(--type-title); color: var(--ice-72); }
.card-sub { grid-column: 2 / span 2; font-family: var(--font-body); font-size: var(--type-body); color: var(--ice-50); }
.rail-bar { height: 1px; background: var(--ice-12); }
.rail-bar i { display: block; height: 100%; background: var(--raw-ice-50); transform-origin: left; transform: scaleX(0); will-change: transform; }
@media (max-width: 767px) {
  .rail-pin { height: auto !important; }
  .rail-view { position: static; height: auto; overflow: visible; padding: clamp(3rem, 8vh, 5rem) 0 0; gap: 1.25rem; }
  .rail-head, .rail-bar { margin: 0 var(--gutter); }
  .rail {
    width: auto; overflow-x: auto; padding: 0 var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; transform: none !important;
  }
  .rail::-webkit-scrollbar { display: none; }
  .card { width: 78vw; scroll-snap-align: start; }
}

/* --- the outro: the campaign photo, then the call --- */
.next-outro {
  position: relative; z-index: 1;
  padding: clamp(3rem, 8vh, 5rem) var(--gutter) clamp(5rem, 12vh, 8rem);
}
.outro-visual {
  position: relative; margin: 0; height: clamp(22rem, 72vh, 44rem); overflow: hidden; border-radius: 1.5rem; background: #17171a;
}
.outro-visual img {
  width: 100%; height: 118%; object-fit: cover; object-position: 50% 45%;
  will-change: transform; transform: translate3d(0, -9%, 0);
}
.outro-cap {
  position: absolute; left: 1.25rem; bottom: 1.1rem; display: flex; gap: 1rem; align-items: baseline;
  font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--raw-ice-50); text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}
.outro-cap .eyebrow { color: rgba(241, 241, 241, 0.75); }
.outro-copy {
  max-width: 72rem; margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.outro-copy p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; max-width: 22ch; }
.outro-copy p em { font-style: normal; color: var(--accent-soft); }

/* --- the cursor pill over the cards --- */
.cursor-pill {
  position: fixed; left: 0; top: 0; z-index: 35; pointer-events: none;
  padding: 0.7rem 1rem; border-radius: 999px; background: var(--raw-ice-50); color: var(--raw-ink-900);
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0); opacity: 0; will-change: transform, opacity; white-space: nowrap;
}
@media (pointer: coarse) { .cursor-pill { display: none; } }

/* ============================================================
   THE MENU SHEET
   ============================================================ */
.sheet {
  position: fixed; inset: 0; z-index: 40; background: var(--background);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  opacity: 0; will-change: opacity, transform;
}
.sheet ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sheet a {
  display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 9vw, 4.5rem); font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.05; opacity: 0; will-change: opacity, transform;
}
.sheet-close { position: absolute; top: 1.25rem; right: var(--gutter); }
.sheet-social { position: absolute; left: var(--gutter); bottom: 1.5rem; display: flex; gap: 1.25rem; opacity: 0; will-change: opacity; }
.sheet-social a { font-family: var(--font-display); font-size: var(--type-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--foreground-soft); }

/* ============================================================
   THE TEXT ENGINE
   ============================================================ */
.rv { display: inline-flex; flex-wrap: wrap; }
.rv-u { display: inline-block; opacity: 0; will-change: transform, opacity; white-space: pre; }
.rise, [data-fade], [data-scalex] { opacity: 0; will-change: transform, opacity; }

/* ============================================================
   THE LOADING VEIL
   ============================================================ */
.veil {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--background); pointer-events: auto;
}
.veil-inner { display: flex; flex-direction: column; align-items: center; }
.veil-mark {
  position: relative; width: 11rem; height: 6.4rem;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.veil-mark .vm-faint { position: absolute; inset: 0; background: var(--foreground); opacity: 0.12; }
.veil-mark .vm-fill { position: absolute; inset: 0; background: var(--foreground); transform-origin: bottom; transform: scaleY(0); }
.veil-name {
  margin-top: 1.5rem; font-family: var(--font-display); font-size: var(--type-lead);
  text-transform: uppercase; line-height: 0.9; letter-spacing: 0.22em; opacity: 0;
}
.veil-meter { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--border-muted); }
.veil-meter i { display: block; height: 100%; background: var(--foreground); transform-origin: left; transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  .rv-u, .rise, [data-fade], [data-scalex], .sheet, .sheet a { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   CARDS — extras shared by every page
   ============================================================ */
.card-link { display: block; color: inherit; }
/* the renders sit small in a black 16:9 frame: zoom so the garment fills the card */
.card-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; background: #000;
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none; transform: scale(1.08); transform-origin: 50% 52%;
}
.card:hover .card-video { opacity: 1; }
.card-3d {
  position: absolute; right: 1rem; top: 1rem; padding: 0.3rem 0.55rem; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  background: rgba(15, 15, 16, 0.7); color: var(--raw-ice-50); border: 1px solid rgba(241,241,241,0.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card-meta h4 a { color: inherit; }

/* ============================================================
   PAGES — the frame every inner page shares
   ============================================================ */
.page { position: relative; z-index: 1; color: var(--raw-ice-50); min-height: 100svh; overflow: clip;
  --ice-12: rgba(241, 241, 241, 0.12); --ice-50: rgba(241, 241, 241, 0.5); --ice-72: rgba(241, 241, 241, 0.72); }
.page-head {
  position: relative; max-width: 80rem; margin: 0 auto;
  padding: clamp(7rem, 18vh, 11rem) var(--gutter) clamp(2.5rem, 6vh, 4rem);
}
.page-head .next-mark { color: var(--ice-50); }
.page-title {
  margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3rem, 9vw, 8.5rem); line-height: 0.9; letter-spacing: -0.01em; max-width: 12ch;
}
.page-lead { margin-top: 1.75rem; max-width: 36rem; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ice-72); }
.page-ghost {
  position: absolute; right: -0.04em; top: 3rem; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 700; line-height: 0.8; font-size: clamp(10rem, 28vw, 26rem);
  color: transparent; -webkit-text-stroke: 1px rgba(241, 241, 241, 0.08);
}
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(3rem, 8vh, 5.5rem); padding-bottom: clamp(3rem, 8vh, 5.5rem); }
.section + .section { border-top: 1px solid var(--ice-12); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; margin-bottom: clamp(1.5rem, 4vh, 2.5rem); flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--type-heading); text-transform: uppercase; letter-spacing: 0.02em; }
.section-head .eyebrow { color: var(--ice-50); }

/* --- the filter row --- */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filters button {
  padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--ice-12);
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-72);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.filters button:hover { border-color: var(--ice-50); color: var(--raw-ice-50); }
.filters button[aria-pressed="true"] { background: var(--raw-ice-50); color: var(--raw-ink-900); border-color: var(--raw-ice-50); }

/* --- the product grid --- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 1.6vw, 1.5rem); }
@media (max-width: 1023px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .grid { grid-template-columns: 1fr; } }
.grid .card { width: auto; }
.grid .card.hidden { display: none; }

/* --- the lookbook wall --- */
.wall { columns: 3; column-gap: 1rem; }
@media (max-width: 1023px) { .wall { columns: 2; } }
@media (max-width: 559px) { .wall { columns: 1; } }
.wall-item { break-inside: avoid; margin: 0 0 1rem; position: relative; overflow: hidden; border-radius: 1.1rem; background: #17171a; }
.wall-item img, .wall-item video { width: 100%; height: auto; display: block; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.wall-item:hover img { transform: scale(1.03); }
.wall-item figcaption {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.8rem;
  font-family: var(--font-display); font-size: var(--type-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--raw-ice-50); text-shadow: 0 1px 12px rgba(0,0,0,0.6); opacity: 0; transform: translateY(0.4rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wall-item:hover figcaption { opacity: 1; transform: none; }
.wall-item.is-video::after {
  content: ""; position: absolute; right: 0.9rem; top: 0.9rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: rgba(15,15,16,0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23f1f1f1'/%3E%3C/svg%3E") center / 1rem no-repeat;
  border: 1px solid rgba(241,241,241,0.3); backdrop-filter: blur(6px);
}
button.wall-item { display: block; width: 100%; text-align: left; }

/* --- the 360 strip --- */
.spin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767px) { .spin-grid { grid-template-columns: 1fr; } }
.spin { position: relative; overflow: hidden; border-radius: 1.25rem; background: #000; aspect-ratio: 4 / 5; }
.spin video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; display: block; transform: scale(1.08); transform-origin: 50% 52%; }
.spin figcaption {
  position: absolute; left: 1rem; bottom: 0.9rem; display: flex; gap: 0.8rem; align-items: baseline;
  font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--raw-ice-50);
}
.spin figcaption .eyebrow { color: var(--ice-50); }

/* --- the drops timeline --- */
.timeline { display: grid; gap: 1rem; }
.drop-row {
  position: relative; display: grid; grid-template-columns: 8rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 4vh, 2.5rem) 0; border-top: 1px solid var(--ice-12);
}
.drop-row:last-child { border-bottom: 1px solid var(--ice-12); }
@media (max-width: 767px) { .drop-row { grid-template-columns: 1fr; gap: 0.75rem; } }
.drop-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--ice-50); }
.drop-row.is-live .drop-num, .drop-row.is-next .drop-num { color: var(--raw-ice-50); -webkit-text-stroke: 0; }
.drop-name { font-family: var(--font-display); font-weight: 700; font-size: var(--type-heading); text-transform: uppercase; letter-spacing: 0.02em; }
.drop-facts { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.4rem; font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-50); }
.drop-facts b { color: var(--accent-soft); font-weight: 500; }
.drop-thumbs { display: flex; gap: 0.4rem; }
.drop-thumbs img { width: 3.6rem; height: 4.5rem; object-fit: cover; border-radius: 0.5rem; }
.drop-row.is-archive { opacity: 0.55; }
.empty { padding: clamp(2rem, 6vh, 4rem) 0; color: var(--ice-50); font-family: var(--font-display); font-size: var(--type-title); letter-spacing: 0.06em; text-transform: uppercase; }

/* --- the notify form --- */
.notify { display: flex; gap: 0.6rem; flex-wrap: wrap; max-width: 34rem; }
.notify input {
  flex: 1 1 14rem; min-width: 0; padding: 0.9rem 1.1rem; border-radius: 999px; border: 1px solid rgba(241,241,241,0.3);
  background: transparent; color: var(--raw-ice-50); font: inherit; font-size: 1rem;
}
.notify input::placeholder { color: var(--ice-50); }
.notify input:focus { outline: 2px solid var(--raw-ice-50); outline-offset: 2px; }
.notify button { padding: 0.9rem 1.4rem; border-radius: 999px; background: var(--raw-ice-50); color: var(--raw-ink-900);
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.notify-note { margin-top: 0.8rem; color: var(--ice-50); font-size: var(--type-body); }
.notify-done { margin-top: 1rem; color: var(--accent-soft); font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }

/* --- the about page --- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 1023px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ice-72); }
.about-copy p + p { margin-top: 1.25rem; }
.about-copy strong { color: var(--raw-ice-50); font-weight: 500; }
.about-visual { position: relative; overflow: hidden; border-radius: 1.5rem; background: #17171a; aspect-ratio: 4 / 5; }
.about-visual img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767px) { .values { grid-template-columns: 1fr; } }
.value { position: relative; padding: 1.5rem 1.25rem 1.6rem; border: 1px solid var(--ice-12); border-radius: 1.25rem; }
.value b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--ice-50); }
.value h3 { margin: 0.9rem 0 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: var(--type-title); text-transform: uppercase; letter-spacing: 0.04em; }
.value p { color: var(--ice-72); line-height: 1.5; }
.statement {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 0.95;
  font-size: clamp(2.2rem, 6vw, 5.5rem); max-width: 18ch;
}
.statement em { font-style: normal; color: var(--accent-soft); }

/* --- the boutique --- */
.shop-note {
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1rem 1.25rem; border: 1px solid var(--ice-12); border-radius: 1rem;
  color: var(--ice-72); margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.shop-note i { width: 0.5rem; height: 0.5rem; background: var(--accent-soft); transform: rotate(45deg); flex: none; }

/* --- the piece page --- */
.piece { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1023px) { .piece { grid-template-columns: 1fr; } }
.piece-gallery { display: grid; gap: 0.75rem; }
.piece-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 1.25rem; background: #17171a; }
.piece-gallery img { width: 100%; height: auto; display: block; }
.piece-gallery video { width: 100%; display: block; background: #000; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 52%; transform: scale(1.08); transform-origin: 50% 52%; }
.piece-gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 559px) { .piece-gallery .pair { grid-template-columns: 1fr; } }
.piece-gallery .pair img { aspect-ratio: 4 / 5; object-fit: cover; }
.piece-info { position: sticky; top: 6rem; }
@media (max-width: 1023px) { .piece-info { position: static; } }
.piece-info .card-num { display: block; margin-bottom: 0.6rem; }
.piece-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 0.95; letter-spacing: -0.005em; }
.piece-sub { margin-top: 0.6rem; color: var(--ice-50); font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.piece-price { margin-top: 1.5rem; font-family: var(--font-display); font-size: var(--type-heading); font-weight: 700; }
.piece-price small { display: block; font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-50); font-weight: 500; margin-top: 0.2rem; }
.piece-desc { margin-top: 1.5rem; color: var(--ice-72); line-height: 1.6; font-size: 1rem; }
.sizes { margin-top: 1.5rem; }
.sizes .eyebrow { color: var(--ice-50); display: block; margin-bottom: 0.6rem; }
.sizes div { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sizes button {
  min-width: 3rem; padding: 0.6rem 0.9rem; border-radius: 0.6rem; border: 1px solid var(--ice-12);
  font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.06em; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sizes button:hover { border-color: var(--ice-50); }
.sizes button[aria-pressed="true"] { background: var(--raw-ice-50); color: var(--raw-ink-900); border-color: var(--raw-ice-50); }
.piece-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.4rem; border-radius: 999px;
  font-family: var(--font-display); font-size: var(--type-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--raw-ice-50); background: var(--raw-ice-50); color: var(--raw-ink-900);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--raw-ice-50); border-color: rgba(241,241,241,0.35); }
.btn.ghost:hover { border-color: var(--raw-ice-50); }
.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.piece-details { margin-top: 1.75rem; border-top: 1px solid var(--ice-12); }
.piece-details li { padding: 0.75rem 0; border-bottom: 1px solid var(--ice-12); color: var(--ice-72); display: flex; gap: 0.7rem; align-items: center; }
.piece-details li::before { content: ""; width: 0.4rem; height: 0.4rem; background: var(--accent-soft); transform: rotate(45deg); flex: none; }
.piece-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 5vh, 3rem); font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ice-72); }
.piece-nav a:hover { color: var(--raw-ice-50); }

/* ============================================================
   THE VIDEO LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 11, 0.95); padding: 3.5rem 1rem 4rem; opacity: 0; will-change: opacity;
}
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lightbox-inner img, .lightbox-inner video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0.75rem; background: #000; display: block; user-select: none; }
.lightbox-inner img { cursor: zoom-in; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.lightbox-inner.is-zoomed { touch-action: none; }
.lightbox-inner.is-zoomed img { transform: scale(2.2); cursor: zoom-out; border-radius: 0; }
.lightbox-close, .lightbox-nav {
  position: absolute; z-index: 2; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 1px solid rgba(241,241,241,0.3); color: var(--raw-ice-50); display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
  background: rgba(15,15,16,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer;
}
.lightbox-close { top: 1rem; right: var(--gutter); font-size: 1.5rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: var(--gutter); }
.lightbox-nav.next { right: var(--gutter); }
.lightbox-nav:hover, .lightbox-close:hover { background: var(--raw-ice-50); color: var(--raw-ink-900); }
@media (max-width: 767px) { .lightbox-nav { top: auto; bottom: 1rem; transform: none; } .lightbox { padding-bottom: 4.5rem; } }
.lightbox-cap { position: absolute; left: 4rem; right: 4rem; bottom: 1.2rem; margin: 0; text-align: center; color: rgba(241,241,241,0.72); font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--type-body); }

/* ============================================================
   THE FOOTER
   ============================================================ */
.footer { position: relative; z-index: 1; color: var(--raw-ice-50); border-top: 1px solid rgba(241,241,241,0.12); }
.footer-inner {
  max-width: 80rem; margin: 0 auto; padding: clamp(3rem, 8vh, 5rem) var(--gutter) 2rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
}
@media (max-width: 1023px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand img { height: 2.2rem; width: auto; filter: invert(1); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; color: rgba(241,241,241,0.6); line-height: 1.55; }
.footer h4 { margin: 0 0 0.9rem; font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(241,241,241,0.5); }
.footer li + li { margin-top: 0.5rem; }
.footer li a { font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(241,241,241,0.8); transition: color 0.2s ease; }
.footer li a:hover { color: var(--raw-ice-50); }
.footer-bottom {
  max-width: 80rem; margin: 0 auto; padding: 1.25rem var(--gutter) 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(241,241,241,0.08); color: rgba(241,241,241,0.45); font-size: var(--type-eyebrow); letter-spacing: 0.12em; text-transform: uppercase;
}
.footer-mark {
  overflow: hidden; padding: 0 var(--gutter); line-height: 0.78; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 22vw, 22rem); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(241,241,241,0.12);
  text-align: center; user-select: none; pointer-events: none; margin-bottom: -0.05em;
}

/* ============================================================
   THE SHOP — cart link, cart page, checkout, order tracking
   ============================================================ */
.topbar-cart {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(241, 241, 241, 0.25); color: var(--raw-ice-50);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
}
.topbar-cart[hidden] { display: none; }
.topbar-cart b {
  min-width: 1.35rem; height: 1.35rem; padding: 0 0.35rem; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--raw-ice-50); color: var(--raw-ink-900); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0;
}
@media (max-width: 767px) { .topbar-cart span { display: none; } .topbar-cart { padding: 0.35rem 0.45rem; margin-left: auto; margin-right: 0.25rem; } }

.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--raw-ice-50); }

.shop { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1023px) { .shop { grid-template-columns: 1fr; } }
.lines { border-top: 1px solid var(--ice-12); }
.line { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--ice-12); }
.line img { width: 5.5rem; height: 6.9rem; object-fit: cover; border-radius: 0.75rem; background: #17171a; }
.line h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--type-title); text-transform: uppercase; letter-spacing: 0.03em; }
.line p { margin: 0.2rem 0 0; color: var(--ice-50); }
.line .line-price { text-align: right; font-family: var(--font-display); font-size: var(--type-title); }
.qty { display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.6rem; border: 1px solid var(--ice-12); border-radius: 999px; padding: 0.15rem; }
.qty button { width: 2rem; height: 2rem; border-radius: 50%; font-size: 1.1rem; line-height: 1; color: var(--raw-ice-50); }
.qty button:hover { background: rgba(241, 241, 241, 0.08); }
.qty output { min-width: 1.6rem; text-align: center; font-family: var(--font-display); }
.remove { margin-left: 0.75rem; color: var(--ice-50); text-decoration: underline; font-size: var(--type-body); }

.panel-box { position: sticky; top: 6rem; border: 1px solid var(--ice-12); border-radius: 1.25rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); background: #141416; }
@media (max-width: 1023px) { .panel-box { position: static; } }
.panel-box h2 { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 700; font-size: var(--type-title); text-transform: uppercase; letter-spacing: 0.06em; }
.totals { display: grid; gap: 0.5rem; margin: 1.25rem 0; padding: 1rem 0; border-top: 1px solid var(--ice-12); border-bottom: 1px solid var(--ice-12); }
.totals div { display: flex; justify-content: space-between; gap: 1rem; color: var(--ice-72); }
.totals .grand { color: var(--raw-ice-50); font-family: var(--font-display); font-size: var(--type-title); font-weight: 700; }

.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-50); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: 0.75rem; border: 1px solid rgba(241, 241, 241, 0.2);
  background: rgba(241, 241, 241, 0.03); color: var(--raw-ice-50); font: inherit; font-size: 1rem;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ice-50) 50%), linear-gradient(135deg, var(--ice-50) 50%, transparent 50%);
  background-position: calc(100% - 1.1rem) 55%, calc(100% - 0.8rem) 55%; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
.field select option { background: #17171a; }
.field textarea { min-height: 4.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--raw-ice-50); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #ff8a95; }
.field .err { color: #ff8a95; font-size: var(--type-body); min-height: 0; }
.field .hint { color: var(--ice-50); font-size: var(--type-body); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 559px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0.5rem 0 1rem; color: var(--ice-72); }
.check input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--raw-ice-50); flex: none; }
.check a { text-decoration: underline; }
.btn.block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.form-error { margin-top: 0.8rem; color: #ff8a95; }
.secure-note { display: flex; gap: 0.6rem; align-items: center; margin-top: 1rem; color: var(--ice-50); font-size: var(--type-body); }
.secure-note svg { flex: none; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.pay-logos span { padding: 0.25rem 0.6rem; border: 1px solid var(--ice-12); border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ice-72); }

.status-card { max-width: 40rem; border: 1px solid var(--ice-12); border-radius: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #141416; }
.status-card .big { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 0.95; }
.status-card .big em { font-style: normal; color: var(--accent-soft); }
.status-card p { color: var(--ice-72); line-height: 1.6; margin-top: 1rem; }
.status-card p.big { color: var(--raw-ice-50); line-height: 0.95; }
.status-card p.eyebrow { margin-top: 0; }
.spinner { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--ice-12); border-top-color: var(--raw-ice-50); animation: spin 0.9s linear infinite; margin-bottom: 1.25rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.recap { margin-top: 1.5rem; border-top: 1px solid var(--ice-12); }
.recap div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--ice-12); color: var(--ice-72); }
.recap .grand { color: var(--raw-ice-50); font-weight: 700; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; transform: translateX(-50%);
  display: flex; gap: 1rem; align-items: center; padding: 0.8rem 0.9rem 0.8rem 1.2rem; border-radius: 999px;
  background: var(--raw-ice-50); color: var(--raw-ink-900); box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; opacity: 0; white-space: nowrap;
}
.toast a { padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--raw-ink-900); color: var(--raw-ice-50); }

/* --- legal pages --- */
.legal { max-width: 46rem; }
.legal h2 { margin: 2.25rem 0 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: var(--type-title); text-transform: uppercase; letter-spacing: 0.05em; }
.legal p, .legal li { color: var(--ice-72); line-height: 1.65; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { text-decoration: underline; }
.legal .updated { color: var(--ice-50); font-size: var(--type-body); }

/* ============================================================
   THE PRODUCT PAGE
   ============================================================ */
.pdp-crumbs {
  display: flex; gap: 0.6rem; align-items: center; padding-top: clamp(6rem, 13vh, 7.5rem);
  font-family: var(--font-body); font-size: var(--type-eyebrow); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice-50);
}
.pdp-crumbs a { transition: color 0.2s ease; }
.pdp-crumbs a:hover { color: var(--raw-ice-50); }
.pdp-crumbs [aria-current] { color: var(--ice-72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start;
  padding-top: 1.5rem; padding-bottom: clamp(3rem, 8vh, 5rem);
}
.pdp-media { position: relative; min-width: 0; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; outline: none; }
.pdp-slide {
  position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.25rem; background: #17171a;
}
.pdp-slide:first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1.05; }
.pdp-slide img, .pdp-slide video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.pdp-slide:hover img { transform: scale(1.035); }
.pdp-slide.is-3d { background: #000; }
.pdp-slide.is-3d video { object-position: 50% 52%; transform: scale(1.08); }
.pdp-slide:focus-visible { outline: 2px solid var(--raw-ice-50); outline-offset: 3px; }
.pdp-dots, .pdp-count { display: none; }

.pdp-info { position: sticky; top: 6.5rem; min-width: 0; }
.pdp-info .card-num { display: block; margin-bottom: 0.6rem; }
.pdp-price { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.pdp-price b { font-family: var(--font-display); font-size: var(--type-heading); font-weight: 700; }
.pdp-badge {
  padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--ice-12); color: var(--ice-72);
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.pdp-badge.hot { background: var(--accent); border-color: var(--accent); color: var(--raw-ice-50); }
.pdp-stock { display: grid; gap: 0.45rem; margin-top: 0.9rem; max-width: 22rem; }
.pdp-stock[hidden] { display: none; }
.pdp-stock-bar { height: 3px; border-radius: 3px; overflow: hidden; background: var(--ice-12); }
.pdp-stock-bar i { display: block; height: 100%; background: var(--accent-soft); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.pdp-sizes { margin-top: 1.6rem; }
.pdp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.6rem; }
.pdp-row .eyebrow { margin: 0 !important; }
.sizes button[aria-checked="true"] { background: var(--raw-ice-50); color: var(--raw-ink-900); border-color: var(--raw-ice-50); }
.pdp-link {
  font: inherit; font-family: var(--font-body); font-size: var(--type-body); color: var(--ice-72); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease;
}
.pdp-link:hover { color: var(--raw-ice-50); }
.sizes .pdp-link { min-width: 0; padding: 0; border: 0; border-radius: 0; font-family: var(--font-body); letter-spacing: 0; }
.pdp-buy { display: grid; gap: 0.8rem; justify-items: start; margin-top: 1.4rem; }
.pdp-buy .btn.block { width: 100%; justify-content: center; }
.pdp-buyrow { display: flex; gap: 0.6rem; width: 100%; align-items: center; }
.pdp-buyrow .qty { margin-top: 0; flex: none; height: 3.1rem; }
.pdp-buyrow .btn { height: 3.1rem; white-space: nowrap; }
.pdp-buyrow .qty button[disabled] { opacity: 0.35; cursor: default; }
.pdp-buyrow .btn { flex: 1; }
.pdp-note { margin: 0; color: var(--ice-50); font-size: var(--type-body); line-height: 1.5; }
.pdp-trust { display: grid; gap: 0.6rem; margin-top: 1.5rem; padding: 1.1rem 0; border-top: 1px solid var(--ice-12); }
.pdp-trust li { display: flex; gap: 0.7rem; align-items: center; color: var(--ice-72); font-size: var(--type-body); }
.pdp-trust svg { width: 1.05rem; height: 1.05rem; flex: none; color: var(--accent-soft); }
.pdp-acc { border-top: 1px solid var(--ice-12); }
.pdp-acc details { border-bottom: 1px solid var(--ice-12); }
.pdp-acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0;
  font-family: var(--font-display); font-size: var(--type-label); letter-spacing: 0.1em; text-transform: uppercase;
}
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: "+"; font-family: var(--font-body); font-size: 1.25rem; line-height: 1; transition: transform 0.3s ease; }
.pdp-acc details[open] summary::after { transform: rotate(45deg); }
.pdp-acc summary:focus-visible { outline: 2px solid var(--raw-ice-50); outline-offset: 2px; }
.pdp-acc-body { padding-bottom: 1.2rem; color: var(--ice-72); line-height: 1.6; }
.pdp-acc-body p { margin: 0 0 0.6rem; }
.pdp-acc-body a { text-decoration: underline; text-underline-offset: 3px; }
.pdp-acc .piece-details { margin-top: 0.6rem; }
.pdp-fees { display: grid; gap: 0.45rem; margin-bottom: 0.9rem; }
.pdp-fees li { display: flex; justify-content: space-between; gap: 1rem; }
.pdp-fees b { color: var(--raw-ice-50); font-weight: 500; }
.pdp-share { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.pdp-share .eyebrow { color: var(--ice-50); margin-right: 0.2rem; }
.pdp .piece-nav { margin-top: 1.8rem; }

.pdp-guide {
  width: min(34rem, 92vw); max-height: 86vh; padding: 1.5rem; border: 1px solid var(--ice-12); border-radius: 1.25rem;
  background: #141416; color: var(--raw-ice-50);
}
.pdp-guide::backdrop { background: rgba(0, 0, 0, 0.72); }
.pdp-guide-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.pdp-guide-head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--type-heading); text-transform: uppercase; }
.pdp-guide .lightbox-close { position: static; }
.pdp-guide .legal { max-width: none; }
.pdp-guide .legal p + p, .pdp-guide .legal p + ul, .pdp-guide .legal ul + p { margin-top: 0.8rem; }
.pdp-guide table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; }

.pdp-sticky {
  position: fixed; z-index: 30; left: var(--gutter); right: var(--gutter); bottom: calc(0.75rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  border-radius: 999px; border: 1px solid rgba(241, 241, 241, 0.14); background: rgba(15, 15, 16, 0.82); color: var(--raw-ice-50);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(160%); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdp-sticky.on { transform: none; }
.pdp-sticky[hidden] { display: none; }
.pdp-sticky-info { display: grid; min-width: 0; line-height: 1.2; }
.pdp-sticky-info b { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-sticky-info span { color: var(--ice-72); font-size: var(--type-body); }
.pdp-sticky .btn { padding: 0.75rem 1.2rem; }
@media (min-width: 1024px) { .pdp-sticky { display: none; } }

@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1rem; }
  .pdp-crumbs { padding-top: 5.75rem; }
  .pdp-media { margin: 0 calc(-1 * var(--gutter)); }
  .pdp-gallery {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-slide, .pdp-slide:first-child { flex: 0 0 100%; aspect-ratio: 4 / 5; border-radius: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .pdp-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 0.85rem; }
  .pdp-dots i { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: rgba(241, 241, 241, 0.2); transition: background 0.3s ease, transform 0.3s ease; }
  .pdp-dots i.on { background: var(--raw-ice-50); transform: scale(1.35); }
  .pdp-count {
    display: block; position: absolute; top: 0.8rem; right: calc(var(--gutter) + 0.2rem); margin: 0; padding: 0.3rem 0.65rem; border-radius: 999px;
    background: rgba(15, 15, 16, 0.6); backdrop-filter: blur(6px); color: var(--raw-ice-50);
    font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.12em;
  }
  .pdp-count:empty { display: none; }
  .pdp-info { position: static; }
  body[data-page="piece"] .toast { bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
  body[data-page="piece"] .footer { padding-bottom: 4.5rem; }
}
