/* ════════════════════════════════════════════════
   SONDER & CAMEO — Handcrafted Dark Elegance
   Palette drawn from the moth emblem:
   black lacquer, antique brass, bone, dried blood
   ════════════════════════════════════════════════ */

:root {
  --black: #0a0807;
  --coal: #120e0b;
  --ash: #1c1610;
  --line: rgba(176, 141, 68, 0.22);
  --brass: #b08d44;
  --gold: #d9b36a;
  --gold-bright: #f0d28e;
  --bone: #e8dfc9;
  --smoke: #9c8d6e;
  --blood: #8e1622;
  --blood-bright: #c42233;
  --font-display: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 50;
  --z-cursor: 90;
  --z-preloader: 100;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--blood); color: var(--bone); }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.amp { font-family: var(--font-serif); font-style: italic; }

/* ── Grain & vignette ─────────────────────────── */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 80;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

.vignette {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 79;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5, 3, 2, 0.55) 100%);
}

/* ── Preloader ────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: var(--z-preloader);
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease-lux), visibility 0.9s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-moth {
  width: 110px; height: 110px;
  filter: drop-shadow(0 0 24px rgba(217, 179, 106, 0.4));
  animation: moth-pulse 1.6s ease-in-out infinite;
}
@keyframes moth-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(217, 179, 106, 0.25)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 34px rgba(217, 179, 106, 0.55)); }
}
.preloader-text {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--brass);
}
.preloader-bar {
  width: 160px; height: 1px; margin: 22px auto 0;
  background: rgba(176, 141, 68, 0.18);
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--gold-bright));
  transition: width 0.3s ease;
}

/* ── Custom cursor ────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold-bright);
  box-shadow: 0 0 8px rgba(217, 179, 106, 0.8);
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(217, 179, 106, 0.5);
  transition: width 0.25s var(--ease-lux), height 0.25s var(--ease-lux),
              border-color 0.25s, background 0.25s;
}
.cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: var(--blood-bright);
  background: rgba(142, 22, 34, 0.12);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Nav ──────────────────────────────────────── */
.nav {
  position: fixed; top: 16px; left: 16px; right: 16px;
  z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px;
  border: 1px solid var(--line);
  background: rgba(10, 8, 7, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(10, 8, 7, 0.88);
  border-color: rgba(176, 141, 68, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 42px; height: 42px;
  filter: drop-shadow(0 0 8px rgba(217, 179, 106, 0.35));
  transition: transform 0.4s var(--ease-lux);
}
.nav-brand:hover .nav-logo { transform: rotate(8deg) scale(1.08); }
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--smoke);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-lux);
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-cta {
  border: 1px solid var(--brass);
  padding: 9px 18px;
  color: var(--gold);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  background: var(--brass); color: var(--black);
  box-shadow: 0 0 24px rgba(176, 141, 68, 0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--brass);
  position: relative; overflow: hidden;
  transition: color 0.35s, box-shadow 0.35s, border-color 0.35s;
  cursor: pointer;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--brass), var(--gold-bright));
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-lux);
  z-index: -1;
}
.btn-solid {
  background: linear-gradient(105deg, var(--brass), #c9a050);
  color: var(--black);
}
.btn-solid::before { background: var(--gold-bright); }
.btn-solid:hover { box-shadow: 0 0 36px rgba(217, 179, 106, 0.45); }
.btn-solid:hover::before { transform: translateX(0); }
.btn-ghost { background: transparent; color: var(--gold); z-index: 1; }
.btn-ghost:hover { color: var(--black); box-shadow: 0 0 28px rgba(176, 141, 68, 0.35); }
.btn-ghost:hover::before { transform: translateX(0); }

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero-fallback-logo {
  display: none;
  position: absolute; top: 50%; left: 50%;
  width: min(60vw, 480px);
  transform: translate(-50%, -50%);
  opacity: 0.35;
  filter: drop-shadow(0 0 40px rgba(217, 179, 106, 0.3));
}
.hero.no-webgl .hero-fallback-logo { display: block; }
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 24px 60px;
  pointer-events: none;
}
.hero-content::before {
  content: '';
  position: absolute; inset: -8% -16%;
  background: radial-gradient(ellipse at center, rgba(10, 8, 7, 0.5) 30%, transparent 72%);
  z-index: -1;
}
.hero-content a { pointer-events: auto; }
.hero-kicker {
  font-size: 12px; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--brass);
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 8.5vw, 104px);
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-shadow: 0 0 60px rgba(10, 8, 7, 0.9);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-lux) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.18s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-dark { color: var(--bone); }
.hero-gold {
  background: linear-gradient(120deg, var(--brass) 10%, var(--gold-bright) 45%, var(--brass) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: rise 1.1s var(--ease-lux) 0.18s forwards, shimmer 5s linear 1.4s infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--smoke);
  margin: 28px 0 40px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: drip 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero-scroll-text {
  font-size: 10px; letter-spacing: 0.45em; text-indent: 0.45em;
  color: var(--brass);
}

/* ── Marquee ──────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--coal);
  padding: 16px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 48px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--brass);
  white-space: nowrap;
}
.m-moth { color: var(--blood-bright); font-style: normal; font-size: 12px; }

/* ── Sections ─────────────────────────────────── */
.section { padding: 130px 24px; max-width: 1280px; margin: 0 auto; }
.section--full { max-width: none; padding-left: 0; padding-right: 0; }
.section--full .section-head { padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 70px; }
.section-kicker {
  font-size: 11px; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--blood-bright);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: 0.04em;
  color: var(--bone);
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 500;
  color: var(--gold);
}
.section-sub {
  margin-top: 16px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px; color: var(--smoke);
}

/* ── Reveal on scroll ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Collections grid ─────────────────────────── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.c-card {
  position: relative;
  min-height: 240px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ash) 0%, var(--coal) 70%);
  padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}
.c-card--tall { grid-row: span 2; min-height: 494px; }
.c-card-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(176, 141, 68, 0.13), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(142, 22, 34, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.45s;
}
.c-card::after {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(240, 210, 142, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-lux);
}
.c-card:hover { border-color: rgba(176, 141, 68, 0.55); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(176, 141, 68, 0.08); }
.c-card:hover .c-card-bg { opacity: 1; }
.c-card:hover::after { left: 125%; }
.c-icon {
  width: 54px; height: 54px;
  color: var(--brass);
  transition: color 0.35s, transform 0.45s var(--ease-lux);
}
.c-card--tall .c-icon { width: 84px; height: 84px; }
.c-card:hover .c-icon { color: var(--gold-bright); transform: translateY(-4px); }
.c-num {
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.4em;
  color: var(--blood-bright);
}
.c-meta h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--bone);
  margin: 8px 0 6px;
}
.c-card--tall .c-meta h3 { font-size: 28px; }
.c-meta p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px; color: var(--smoke);
}

/* ── Divider ──────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 28px;
  max-width: 720px; margin: 0 auto;
  padding: 20px 24px;
}
.divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
}
.divider-line:last-child { background: linear-gradient(90deg, var(--brass), transparent); }
.divider-moth {
  width: 64px; height: 64px;
  filter: drop-shadow(0 0 12px rgba(217, 179, 106, 0.35));
  animation: hover-flutter 4s ease-in-out infinite;
}
@keyframes hover-flutter {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-6px) rotate(2deg); }
  65% { transform: translateY(2px) rotate(-2deg); }
}

/* ── Product shelf ────────────────────────────── */
.shelf {
  display: flex; gap: 22px;
  overflow-x: auto;
  padding: 10px 24px 30px;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--brass) var(--coal);
}
.shelf.dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf::-webkit-scrollbar { height: 4px; }
.shelf::-webkit-scrollbar-track { background: var(--coal); }
.shelf::-webkit-scrollbar-thumb { background: var(--brass); }
.p-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--coal);
  transition: border-color 0.35s, box-shadow 0.35s;
  transform-style: preserve-3d;
}
.p-card:hover {
  border-color: rgba(176, 141, 68, 0.55);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6), 0 0 36px rgba(176, 141, 68, 0.07);
}
.p-visual {
  position: relative;
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.p-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/logo.png');
  background-size: 78%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  filter: saturate(0.4) brightness(1.4);
  transition: opacity 0.5s, transform 0.7s var(--ease-lux);
}
.p-card:hover .p-visual::before { opacity: 0.22; transform: scale(1.07) rotate(2deg); }
.p-visual--1 { background: radial-gradient(circle at 30% 25%, #241a10, var(--coal) 75%); }
.p-visual--2 { background: radial-gradient(circle at 70% 30%, #1f1410, #0d0a08 75%); }
.p-visual--3 { background: radial-gradient(circle at 50% 80%, #20100e, var(--coal) 75%); }
.p-visual--4 { background: radial-gradient(circle at 25% 70%, #1c1812, #0c0908 75%); }
.p-visual--5 { background: radial-gradient(circle at 75% 75%, #221709, var(--coal) 75%); }
.p-visual--6 { background: radial-gradient(circle at 50% 20%, #261c0d, #0d0a07 75%); }
.p-visual--7 { background: radial-gradient(circle at 20% 30%, #1a1410, var(--coal) 78%); }
.p-visual--8 { background: radial-gradient(circle at 80% 60%, #1e150c, #0c0a08 75%); }
.p-mono {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(217, 179, 106, 0.85);
  text-shadow: 0 0 30px rgba(217, 179, 106, 0.35);
  position: relative;
}
.p-tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-display);
  font-size: 9px; letter-spacing: 0.35em; text-indent: 0.35em;
  padding: 6px 10px;
  border: 1px solid var(--brass);
  color: var(--gold);
  background: rgba(10, 8, 7, 0.6);
}
.p-tag--red { border-color: var(--blood-bright); color: var(--blood-bright); }
.p-info { padding: 20px 22px 24px; }
.p-info h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--bone);
}
.p-detail {
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; color: var(--smoke);
  margin: 6px 0 16px;
}
.p-row { display: flex; align-items: center; justify-content: space-between; }
.p-price {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  color: var(--gold);
}
.btn-cart {
  background: none;
  border: 1px solid var(--line);
  color: var(--smoke);
  font-size: 10px; letter-spacing: 0.25em; text-indent: 0.25em;
  text-transform: uppercase;
  padding: 10px 14px;
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
}
.btn-cart:hover {
  border-color: var(--blood-bright);
  color: var(--bone);
  background: var(--blood);
  box-shadow: 0 0 22px rgba(196, 34, 51, 0.35);
}
.shelf-hint {
  text-align: center;
  font-size: 11px; letter-spacing: 0.4em; text-indent: 0.4em;
  color: var(--smoke);
  margin-top: 4px;
}

/* ── Atelier ──────────────────────────────────── */
.atelier {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.atelier-img-wrap { position: absolute; inset: 0; }
.atelier-img {
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
}
.atelier-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 8, 7, 0.94) 0%, rgba(10, 8, 7, 0.78) 42%, rgba(10, 8, 7, 0.32) 100%);
}
.atelier-content {
  position: relative; z-index: 2;
  max-width: 560px;
  padding: 130px 24px 130px 7vw;
}
.atelier-content .section-kicker, .atelier-content .section-title { text-align: left; }
.atelier-copy {
  margin: 24px 0 36px;
  font-size: 17px;
  color: var(--bone);
  opacity: 0.88;
}
.atelier-stats {
  list-style: none;
  display: flex; gap: 44px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 42px; font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(217, 179, 106, 0.35);
}
.stat-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--smoke);
}

/* ── Creed ────────────────────────────────────── */
.creed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.creed-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ash), var(--coal));
  padding: 46px 34px 40px;
  text-align: center;
  transition: border-color 0.35s, transform 0.45s var(--ease-lux), box-shadow 0.35s;
}
.creed-card:hover {
  border-color: rgba(176, 141, 68, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
}
.creed-numeral {
  font-family: var(--font-display);
  font-size: 54px; font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px var(--brass);
  display: block;
  margin-bottom: 14px;
}
.creed-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.creed-card p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  color: var(--smoke);
}

/* ── Order (newsletter) ───────────────────────── */
.order { padding: 140px 24px; }
.order-inner {
  max-width: 620px; margin: 0 auto;
  text-align: center;
}
.order-moth {
  width: 92px; height: 92px;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 18px rgba(217, 179, 106, 0.4));
  animation: hover-flutter 5s ease-in-out infinite;
}
.order-copy {
  margin: 20px 0 36px;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--smoke);
}
.order-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.order-form input {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--coal);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 15px 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.order-form input::placeholder { color: rgba(156, 141, 110, 0.55); }
.order-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(176, 141, 68, 0.15);
}
.order-confirm {
  margin-top: 20px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 16px;
  color: var(--gold);
  min-height: 24px;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--coal);
  padding: 70px 24px 30px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.footer-logo {
  width: 74px; height: 74px;
  filter: drop-shadow(0 0 10px rgba(217, 179, 106, 0.3));
}
.footer-tag {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 14px;
}
.footer-sub { font-size: 13px; color: var(--smoke); margin-top: 6px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px; color: var(--smoke);
  padding: 5px 0;
  transition: color 0.25s, transform 0.25s;
}
.footer-col a:hover { color: var(--gold-bright); transform: translateX(4px); }
.footer-base {
  max-width: 1280px; margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(176, 141, 68, 0.12);
  display: flex; justify-content: center;
  font-size: 12.5px; color: var(--smoke);
}
.footer-mori {
  font-family: var(--font-serif); font-style: italic;
  color: var(--blood-bright);
}

/* ── Toast ────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 140%);
  z-index: 95;
  background: var(--coal);
  border: 1px solid var(--brass);
  color: var(--bone);
  font-family: var(--font-serif); font-style: italic;
  font-size: 15px;
  padding: 14px 26px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.7), 0 0 26px rgba(176, 141, 68, 0.18);
  transition: transform 0.5s var(--ease-lux);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ── Nav tools & cart button ──────────────────── */
.nav-tools { display: flex; align-items: center; gap: 14px; }
.nav-cart {
  position: relative;
  background: none; border: none;
  color: var(--gold);
  padding: 8px;
  transition: color 0.25s, transform 0.3s var(--ease-lux);
}
.nav-cart:hover { color: var(--gold-bright); transform: translateY(-2px); }
.nav-cart svg { width: 22px; height: 22px; display: block; }
.cart-count {
  position: absolute; top: 0; right: -2px;
  min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  border-radius: 50%;
  background: var(--ash); color: var(--smoke);
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-lux);
}
.cart-count.has-items {
  background: var(--blood-bright); color: var(--bone);
  border-color: var(--blood-bright);
  transform: scale(1.12);
}

/* ── Cart drawer ──────────────────────────────── */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(5, 3, 2, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.cart-backdrop.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw);
  z-index: 61;
  background: var(--coal);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-lux);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.7);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bone);
}
.cart-head em { font-family: var(--font-serif); font-style: italic; color: var(--gold); }
.cart-close {
  background: none; border: 1px solid var(--line);
  color: var(--smoke);
  width: 38px; height: 38px;
  font-size: 20px; line-height: 1;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.cart-close:hover { border-color: var(--blood-bright); color: var(--blood-bright); transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 0; }
.cart-empty-moth {
  width: 80px; height: 80px;
  opacity: 0.5;
  filter: grayscale(0.4);
  animation: hover-flutter 5s ease-in-out infinite;
}
.cart-empty p {
  margin-top: 18px;
  font-family: var(--font-serif); font-style: italic;
  color: var(--smoke);
}
.cart-line {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(176, 141, 68, 0.12);
}
.cart-line-visual {
  flex: 0 0 72px; height: 88px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  overflow: hidden;
}
.cart-line-visual span {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: rgba(217, 179, 106, 0.75);
}
.cart-line-info { flex: 1; }
.cart-line-info h3 {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--bone);
}
.cart-line-info > p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 13.5px; color: var(--smoke);
  margin: 4px 0 10px;
}
.cart-qty { display: flex; align-items: center; gap: 10px; }
.cart-qty button {
  background: none; border: 1px solid var(--line);
  color: var(--smoke);
  width: 26px; height: 26px;
  font-size: 14px; line-height: 1;
  transition: border-color 0.25s, color 0.25s;
}
.cart-qty button:hover { border-color: var(--gold); color: var(--gold-bright); }
.cart-qty span { font-size: 14px; min-width: 18px; text-align: center; color: var(--bone); }
.cart-qty .line-remove {
  width: auto; height: auto;
  border: none;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-left: 8px;
  color: rgba(156, 141, 110, 0.7);
}
.cart-qty .line-remove:hover { color: var(--blood-bright); }
.cart-line-price {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--gold);
}
.cart-foot {
  padding: 22px 28px 26px;
  border-top: 1px solid var(--line);
  background: rgba(10, 8, 7, 0.5);
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 16px;
}
.cart-total {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.cart-checkout { width: 100%; }
.cart-note {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 13px; color: rgba(156, 141, 110, 0.7);
}

/* ── Product photos ───────────────────────────── */
.p-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.p-visual .p-mono { z-index: 0; }
.p-visual .p-tag { z-index: 2; }
.p-cat {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 6px;
}
.p-info h3 a { transition: color 0.25s; }
.p-info h3 a:hover { color: var(--gold-bright); }

/* ── Shop page ────────────────────────────────── */
.shop-main, .product-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 24px 110px;
}
.filter-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin: 0 0 50px;
}
.filter-pill {
  background: none;
  border: 1px solid var(--line);
  color: var(--smoke);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-indent: 0.22em; text-transform: uppercase;
  padding: 10px 18px;
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
}
.filter-pill:hover { border-color: var(--brass); color: var(--gold-bright); }
.filter-pill.active {
  background: linear-gradient(105deg, var(--brass), #c9a050);
  border-color: var(--brass);
  color: var(--black);
  box-shadow: 0 0 22px rgba(176, 141, 68, 0.3);
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.shop-grid .p-card { flex: none; }
.shop-empty {
  text-align: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px;
  color: var(--smoke);
  padding: 60px 0;
}

/* ── Product detail page ──────────────────────── */
.breadcrumb {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 34px;
}
.breadcrumb a { color: var(--brass); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb span[aria-hidden] { margin: 0 10px; color: var(--blood-bright); }
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 35% 25%, #241a10, var(--coal) 75%);
  overflow: hidden;
  transform-style: preserve-3d;
}
.product-stage::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/logo.png');
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  filter: saturate(0.4) brightness(1.4);
}
.p-mono--xl {
  font-family: var(--font-display);
  font-size: 84px; font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(217, 179, 106, 0.85);
  text-shadow: 0 0 50px rgba(217, 179, 106, 0.35);
  position: relative;
}
.product-stage .p-tag { top: 18px; right: 18px; }
.product-info .p-cat { margin-bottom: 10px; }
.product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.04em;
  color: var(--bone);
  line-height: 1.15;
}
.product-price {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--gold);
  margin: 14px 0 18px;
}
.product-detail {
  font-family: var(--font-serif); font-style: italic;
  font-size: 17px; color: var(--smoke);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.product-desc { font-size: 15.5px; color: var(--bone); opacity: 0.85; margin-bottom: 28px; }
.size-block { margin-bottom: 30px; }
.size-label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blood-bright);
  margin-bottom: 12px;
}
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pill {
  background: none;
  border: 1px solid var(--line);
  color: var(--smoke);
  font-family: var(--font-body);
  font-size: 13px;
  min-width: 46px;
  padding: 10px 12px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.size-pill:hover { border-color: var(--brass); color: var(--gold-bright); }
.size-pill.active {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
}
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.product-notes {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.product-notes li {
  font-family: var(--font-serif);
  font-size: 15px; color: var(--smoke);
  padding: 5px 0 5px 24px;
  position: relative;
}
.product-notes li::before {
  content: '✤';
  position: absolute; left: 0;
  color: var(--blood-bright);
  font-size: 11px; top: 9px;
}
.related { margin-top: 110px; }
.related-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.05em;
  color: var(--bone);
  text-align: center;
  margin-bottom: 44px;
}
.related-title em {
  font-family: var(--font-serif); font-style: italic;
  color: var(--gold);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-grid .p-card { flex: none; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { gap: 36px; }
  .c-card--tall { grid-row: span 1; min-height: 280px; }
  .c-card--tall .c-icon { width: 60px; height: 60px; }
  .c-card--tall .c-meta h3 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 16px; right: 16px;
    flex-direction: column; gap: 4px;
    background: rgba(10, 8, 7, 0.97);
    border: 1px solid var(--line);
    padding: 24px;
    transform: translateY(-16px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s var(--ease-lux), transform 0.35s var(--ease-lux), visibility 0.35s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { padding: 12px 0; font-size: 14px; }
  .nav-links .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: flex; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .creed-grid { grid-template-columns: 1fr; }
  .atelier-content { padding: 110px 24px; }
  .atelier-shade { background: linear-gradient(180deg, rgba(10,8,7,0.92), rgba(10,8,7,0.72)); }
  .section { padding: 90px 20px; }
  .p-card { flex-basis: 260px; }
  .p-visual { height: 250px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid .p-visual { height: 220px; }
  .product-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .shop-main, .product-main { padding-top: 130px; }
}

@media (max-width: 480px) {
  .collections-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-grid .p-visual { height: 280px; }
  .c-card, .c-card--tall { min-height: 200px; }
  .nav-wordmark { font-size: 12px; letter-spacing: 0.14em; }
  .atelier-stats { gap: 28px; }
}

/* ── Reduced motion ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; }
  .grain { animation: none; }
}
