/* =====================================================
   Clip-Claps — Placeholder marketing site
   Palette: ivory / champagne / obsidian / blush
   ===================================================== */

:root {
  --ivory: #f6f1ea;
  --ivory-2: #efe7dc;
  --champagne: #d9c3a2;
  --champagne-2: #c9ad83;
  --obsidian: #14110f;
  --obsidian-2: #201c19;
  --blush: #e7bfb6;
  --blush-2: #d99a8d;
  --sand: #e5d3b3;
  --ink: #2a2420;
  --muted: #7a6f65;
  --line: rgba(20,17,15,0.12);
  --line-light: rgba(246,241,234,0.18);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #f0dec2 0%, var(--champagne) 60%, #f6e7cd 100%);
  box-shadow: 0 0 18px rgba(217,195,162,0.65);
  z-index: 100;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ Typography ============ */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.display .italic { font-style: italic; font-weight: 400; }
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 0 0 14px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne-2);
  margin: 0 0 18px;
  font-weight: 500;
}
.eyebrow.dark { color: var(--obsidian); opacity: 0.65; }
.eyebrow.light, .h2.light, .h3.light, .light { color: var(--ivory); }
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 32px;
}
.section-lede { color: var(--muted); max-width: 60ch; margin: 0 auto; }
.section-lede.light { color: rgba(246,241,234,0.75); }
.link-arrow {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-weight: 500;
  transition: transform .3s var(--ease);
}
.link-arrow:hover { transform: translateX(4px); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--obsidian); color: var(--ivory); }
.btn-primary:hover { background: var(--obsidian-2); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); }
.btn-secondary { background: transparent; color: var(--obsidian); border-color: var(--obsidian); }
.btn-secondary:hover { background: var(--obsidian); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--obsidian); border: 1px solid var(--line); padding: 10px 18px; font-size: 0.8rem; }
.btn-ghost:hover { border-color: var(--obsidian); }
.btn-outline-light { background: transparent; color: var(--ivory); border: 1px solid var(--ivory); }
.btn-outline-light:hover { background: var(--ivory); color: var(--obsidian); }

/* ============ Nav ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,241,234,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.02em; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { font-weight: 600; }
.brand-dot { color: var(--champagne-2); margin: 0 2px; }
.primary-nav { display: flex; gap: 30px; font-size: 0.9rem; font-weight: 500; }
.primary-nav a { position: relative; padding: 4px 0; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a.nav-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--obsidian); margin: 4px 0; }
.nav-toggle span { transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); flex-direction: column; padding: 20px 28px; border-bottom: 1px solid var(--line); gap: 16px; }
  .primary-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 60px 0 0; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 80% 20%, rgba(231,191,182,0.55), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(217,195,162,0.45), transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 78vh;
  padding: 40px 28px 80px;
}
.hero-copy { max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 0.86rem; letter-spacing: 0.04em; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(20,17,15,0.18));
  animation: floaty 6s ease-in-out infinite;
}
.hero-caption {
  position: absolute; bottom: -8px; right: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: var(--muted);
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-bottom: 50px; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ivory-2);
}
.marquee-track {
  display: inline-flex; gap: 40px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.marquee-track span { flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Story ============ */
.story { padding: 120px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.story-copy p { color: var(--muted); margin: 0 0 18px; max-width: 46ch; }
.story-visual img { width: 100%; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 40px; } .story { padding: 80px 0; } }

/* ============ Sections & Section head ============ */
.section-head { max-width: 720px; margin: 0 0 60px; }
.section-head.center { text-align: center; margin: 0 auto 60px; }

.collection { padding: 120px 0; }
.collection-women { background: linear-gradient(180deg, var(--ivory) 0%, #f2e6dc 100%); }
.collection-men { background: var(--obsidian); color: var(--ivory); }
.collection-men .h2, .collection-men h3, .collection-men p { color: var(--ivory); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-lift: 0px;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --glare-opacity: 0;
  position: relative;
  background: var(--ivory);
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  transform: perspective(800px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--card-lift));
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid var(--line);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--glare-opacity);
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.42), rgba(255,255,255,0.1) 16%, transparent 42%);
  mix-blend-mode: screen;
  transition: opacity .25s var(--ease);
}
.product-card.dark { background: var(--obsidian-2); border-color: rgba(255,255,255,.08); }
.product-card.dark::after {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.26), rgba(217,195,162,0.12) 18%, transparent 45%);
}
.product-card:hover {
  --card-lift: -6px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.3);
}
.product-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #f5ead9, #e8d5be);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
}
.product-card.dark .product-media { background: linear-gradient(160deg, #2a221c, #17130f); }
.product-media img { max-height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2)); }
.product-body { padding: 22px 24px 26px; }
.product-body h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tag { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne-2); font-weight: 500; }
.product-body p { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.product-card.dark .product-body p { color: rgba(246,241,234,0.65); }
.price { font-weight: 600; color: var(--ink) !important; font-size: 0.95rem !important; }
.product-card.dark .price { color: var(--ivory) !important; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } .collection { padding: 80px 0; } }

/* ============ How ============ */
.how { padding: 120px 0; background: var(--ivory-2); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.how-step {
  position: relative;
  text-align: center;
  padding: 12px;
  border-radius: 18px;
  cursor: pointer;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.how-step:focus-visible {
  outline: 2px solid var(--champagne-2);
  outline-offset: 6px;
}
.how-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ivory);
  border-radius: 50%;
  border: 1px solid rgba(217,195,162,0.28);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  margin: 0 auto 24px;
  max-width: 260px;
  box-shadow: 0 20px 40px -20px rgba(20,17,15,0.15);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.how-visual::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(217,195,162,0.58);
  opacity: 0;
  transform: scale(0.82);
}
.how-step:hover .how-visual,
.how-step:focus-visible .how-visual,
.how-step.active-step .how-visual {
  transform: scale(1.04);
  border-color: rgba(217,195,162,0.8);
  box-shadow: 0 28px 54px -24px rgba(20,17,15,0.28), 0 0 0 8px rgba(217,195,162,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,241,234,0.98));
}
.how-step.active-step {
  background: rgba(255,255,255,0.35);
}
.how-step.active-step h3 {
  color: var(--obsidian);
}
.how-step.active-step p {
  color: #5e544b;
}
.how-step.pulse-step .how-visual::after {
  animation: howPulse .9s var(--ease);
}
.how-visual img { width: 100%; }
.how-step h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 10px; }
.how-step p { color: var(--muted); max-width: 32ch; margin: 0 auto; }
@keyframes howPulse {
  0% { opacity: 0.85; transform: scale(0.82); }
  70% { opacity: 0.18; transform: scale(1.14); }
  100% { opacity: 0; transform: scale(1.22); }
}
@media (max-width: 760px) { .how-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============ Imprint feature (men's) ============ */
.imprint-feature {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: linear-gradient(135deg, #1c1815 0%, #2b241d 100%);
  border: 1px solid rgba(217,195,162,0.15);
  border-radius: 8px;
}
.imprint-visual img { width: 100%; border-radius: 4px; }
.imprint-copy .h3 { margin-bottom: 16px; }
.imprint-copy p { margin: 0 0 28px; max-width: 44ch; }
@media (max-width: 860px) { .imprint-feature { grid-template-columns: 1fr; padding: 30px; gap: 30px; } }

/* ============ Sand canvas ============ */
.sand-canvas {
  padding: 120px 0;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(217,195,162,0.08), transparent 55%),
    linear-gradient(180deg, #17120f 0%, #221914 55%, #18120f 100%);
  color: var(--ivory);
}
.sand-canvas-copy {
  max-width: 760px;
}
.sand-instruction {
  color: rgba(240,222,194,0.92);
  font-style: italic;
}
.sand-canvas-shell {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(217,195,162,0.18);
  box-shadow: 0 30px 70px -42px rgba(0,0,0,0.7);
}
#sand-walk {
  width: 100%;
  height: 500px;
  display: block;
  background: linear-gradient(180deg, #c8a96e 0%, #a8845a 100%);
  touch-action: manipulation;
}
@media (max-width: 760px) {
  .sand-canvas { padding: 80px 0; }
  #sand-walk { height: 300px; }
}

/* ============ Journal ============ */
.journal { padding: 120px 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.journal-card { display: block; transition: transform .35s var(--ease); }
.journal-card:hover { transform: translateY(-4px); }
.journal-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; margin-bottom: 18px; background: var(--ivory-2); }
.journal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.journal-card:hover .journal-media img { transform: scale(1.04); }
.journal-cat { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--champagne-2); margin: 0 0 8px; }
.journal-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 8px; }
.journal-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .journal-grid { grid-template-columns: 1fr; } .journal { padding: 80px 0; } }

/* ============ Waitlist ============ */
.waitlist { padding: 100px 0; background: linear-gradient(135deg, #e7bfb6 0%, #d9c3a2 100%); }
.waitlist-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.waitlist p { color: var(--ink); opacity: 0.8; margin: 0; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist-form input {
  flex: 1 1 260px;
  padding: 16px 20px;
  border: 1px solid var(--obsidian);
  background: transparent;
  border-radius: var(--radius);
  font: inherit;
  color: var(--obsidian);
}
.waitlist-form input::placeholder { color: rgba(20,17,15,0.5); }
.form-success { flex: 1 1 100%; margin: 8px 0 0; font-size: 0.9rem; color: var(--obsidian); }
@media (max-width: 760px) { .waitlist-inner { grid-template-columns: 1fr; gap: 30px; } }

/* ============ Footer ============ */
.site-footer { background: var(--obsidian); color: var(--ivory); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-brand .brand-word { font-family: var(--serif); font-size: 1.4rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-tag { color: rgba(246,241,234,0.6); font-style: italic; font-family: var(--serif); font-size: 1.05rem; margin-top: 6px; }
.site-footer h4 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; margin: 0 0 16px; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(246,241,234,0.75); font-size: 0.92rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--ivory); }
.footer-base { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.82rem; color: rgba(246,241,234,0.5); flex-wrap: wrap; gap: 12px; }
.tiny { font-size: 0.78rem; opacity: 0.7; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }

/* ============ Motion reveal ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ============ CSS-first editorial overhaul ============ */
.hero-visual-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  min-height: 560px;
}

.hero-panel {
  width: 340px;
  height: 520px;
  background: linear-gradient(160deg, #1e1814 0%, #2e251e 40%, #3d2e22 100%);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: rotate(-2deg);
  box-shadow: 0 60px 100px -40px rgba(20,17,15,0.5), 0 0 0 1px rgba(217,195,162,0.12);
  padding: 40px;
}

.hero-panel-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.3rem, 7vw, 4.5rem);
  letter-spacing: 0.45em;
  color: var(--ivory);
  font-weight: 300;
  line-height: 1;
  padding-left: 0.45em;
}

.hero-panel-line { width: 60px; height: 1px; background: var(--champagne-2); }

.hero-panel-sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 400;
}

.hero-visual-art::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(231,191,182,0.35) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.story-art {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 420px;
}

.story-art-panel {
  border-radius: 3px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--ivory);
}

.story-art-panel--1 {
  background: linear-gradient(160deg, #2a1f1a 0%, #14110f 100%);
  grid-row: 1 / 3;
}

.story-art-panel--2 {
  background: linear-gradient(135deg, #d99a8d 0%, #c07a6b 100%);
  color: var(--obsidian);
}

.story-art-panel--3 {
  background: linear-gradient(135deg, #c9ad83 0%, #a8845a 100%);
  color: var(--obsidian);
}

.product-media {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.product-media--aurora   { background: linear-gradient(145deg, #f0c8be 0%, #d99a8d 100%); }
.product-media--noir     { background: linear-gradient(145deg, #1a1614 0%, #2a2220 50%, #0d0b09 100%); }
.product-media--mirage   { background: linear-gradient(145deg, #e8d5a8 0%, #c9ad83 60%, #a88a5c 100%); }
.product-media--signet   { background: linear-gradient(145deg, #c49a6c 0%, #8B5E3C 60%, #5c3821 100%); }
.product-media--tide     { background: linear-gradient(145deg, #2a2220 0%, #14110f 100%); }
.product-media--dune     { background: linear-gradient(145deg, #e5d5b0 0%, #c8a87a 60%, #a88055 100%); }

.product-art {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(246,241,234,0.22);
  border-radius: 3px;
}

.product-art-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(246,241,234,0.85);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  padding-left: 0.3em;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
  pointer-events: none;
}

.how-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.how-icon-num {
  position: absolute;
  top: 24px;
  left: 34px;
  font-size: 1.15rem;
  color: var(--champagne-2);
  line-height: 1;
}

.how-icon-svg {
  width: 80px;
  height: 80px;
}

.imprint-art {
  width: 100%;
  aspect-ratio: 1.1;
  border-radius: 4px;
  overflow: hidden;
}

.imprint-art-sand {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #c9a96e 0%, #a87840 60%, #8a6030 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.imprint-cc {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(90,55,20,0.5);
  text-shadow: 2px 3px 0 rgba(200,160,80,0.4), -1px -1px 0 rgba(60,30,10,0.3);
  padding-left: 0.3em;
}

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

.imprint-trail span {
  width: 22px;
  height: 34px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: rgba(70,40,15,0.4);
  box-shadow: inset 1px 2px 0 rgba(200,160,80,0.3);
}

.imprint-trail span:nth-child(odd) { transform: translateY(-6px); }

.journal-media {
  position: relative;
}

.journal-media--night::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,17,15,0.08) 0%, rgba(20,17,15,0.42) 100%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-visual-art {
    min-height: auto;
    padding: 10px 0 0;
  }

  .hero-panel {
    width: min(100%, 340px);
    height: 460px;
  }

  .story-art {
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 360px;
  }

  .story-art-panel {
    min-height: 175px;
  }

  .story-art-panel--1 {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .hero-panel {
    height: 400px;
    padding: 28px;
  }

  .hero-panel-title {
    font-size: 3rem;
  }

  .story-art {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(120px, 1fr));
    height: auto;
  }

  .story-art-panel,
  .story-art-panel--1 {
    grid-column: auto;
    grid-row: auto;
    min-height: 140px;
  }

  .product-art-name {
    font-size: 2.5rem;
    letter-spacing: 0.24em;
  }

  .imprint-cc {
    font-size: 3.8rem;
  }
}

/* ============ Product Carousel ============ */
.carousel {
  position: relative;
}

/* On desktop (≥860px): show all 3 cards, arrows hidden, dots hidden */
@media (min-width: 861px) {
  .carousel-btn  { display: none; }
  .carousel-dots { display: none; }
  .carousel-track.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: visible;
  }
}

/* On mobile: horizontal scroll snap carousel */
@media (max-width: 860px) {
  .carousel-track.product-grid {
    display: flex;
    gap: 16px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 24px 20px;
    /* Negative margin to bleed cards to screen edges */
    margin: 0 -28px;
  }
  .carousel-track.product-grid::-webkit-scrollbar { display: none; }

  .carousel-track .product-card {
    flex: 0 0 80vw;
    max-width: 340px;
    scroll-snap-align: center;
  }

  .carousel-btn {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    background: rgba(246,241,234,0.92);
    border: 1px solid var(--line);
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(20,17,15,0.12);
  }
  .carousel--dark .carousel-btn {
    background: rgba(32,28,25,0.92);
    border-color: rgba(255,255,255,0.12);
    color: var(--ivory);
  }
  .carousel-btn:hover { box-shadow: 0 6px 24px rgba(20,17,15,0.22); }
  .carousel-btn--prev { left: 4px; }
  .carousel-btn--next { right: 4px; }

  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 4px;
  }
  .carousel-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--champagne-2);
    opacity: 0.35;
    transition: opacity .3s, transform .3s;
    cursor: pointer;
  }
  .carousel--dark .carousel-dot { background: rgba(217,195,162,0.5); }
  .carousel-dot.active {
    opacity: 1;
    transform: scale(1.35);
  }
}

/* ── brand-c: highlighted C letters in nav/footer ─────────── */
.brand-c {
  color: #c9ad83;
  font-style: italic;
  transition: color 0.3s;
}
.brand-logo:hover .brand-c,
.footer-brand:hover .brand-c {
  color: #e8c87a;
}

/* ── cc-concept section ───────────────────────────────────── */
.cc-concept {
  background: #faf6f0;
  padding: 120px 0;
  overflow: hidden;
}
.cc-concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cc-concept-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-toes-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  filter: drop-shadow(0 24px 40px rgba(20,17,15,0.14));
}
.cc-toes-img.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cc-concept-copy .h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.cc-concept-copy .h2 .italic {
  font-style: italic;
  color: #c9ad83;
}
.cc-concept-copy p {
  max-width: 42ch;
  color: #4a3f35;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.cc-concept-copy strong {
  color: #c9ad83;
  font-style: italic;
}

@media (max-width: 860px) {
  .cc-concept-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .cc-concept-copy p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============ Moonlit Monogram dark-mode overrides ============ */
:root {
  --obsidian: #0a0a0c;
  --midnight: #080d1a;
  --silver: #c8d0dc;
  --silver-dim: #8a929e;
  --graphite: #2a2a32;
  --cream: #f0ece4;
  --gold: #c9a84c;
}

body {
  background: var(--obsidian);
  color: var(--cream);
}

.scroll-progress {
  background: linear-gradient(90deg, rgba(200,208,220,0.25) 0%, var(--silver) 55%, #eef3f8 100%);
  box-shadow: 0 0 18px rgba(200,208,220,0.35);
}

.lede,
.section-lede,
.story-copy p,
.product-body p,
.journal-card p,
.waitlist p,
.cc-concept-copy p,
.hero-badges,
.hero-caption,
.footer-base,
.site-footer a,
.footer-tag,
.sand-instruction {
  color: rgba(240,236,228,0.72);
}

.eyebrow,
.journal-cat,
.tag,
.how-icon-num,
.brand-dot {
  color: var(--silver-dim);
}

.eyebrow.dark,
.eyebrow.light,
.h2.light,
.h3.light,
.light,
.collection-men .h2,
.collection-men h3,
.collection-men p,
.site-footer,
.site-footer h4,
.cc-concept-copy .h2,
.story-copy .h2,
.section-head .h2,
.display,
.brand,
.primary-nav a,
.waitlist .h2,
.journal-card h3,
.product-body h3,
.imprint-copy .h3 {
  color: var(--cream);
}

.site-header {
  background: rgba(8,8,12,0.92);
  border-bottom: 1px solid rgba(200,208,220,0.12);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

.nav-toggle span,
.btn-ghost,
.btn-secondary,
.btn-outline-light {
  color: var(--silver);
  border-color: rgba(200,208,220,0.45);
}

.btn-primary {
  background: var(--silver);
  color: var(--obsidian);
  box-shadow: 0 0 0 rgba(200,208,220,0);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover,
.btn-outline-light:hover {
  box-shadow: 0 0 24px rgba(200,208,220,0.18);
}

.btn-secondary,
.btn-ghost,
.btn-outline-light {
  background: transparent;
  color: var(--silver);
}

.btn-secondary:hover,
.btn-ghost:hover,
.btn-outline-light:hover {
  background: rgba(200,208,220,0.08);
  color: var(--cream);
  border-color: var(--silver);
}

.hero {
  background: linear-gradient(160deg, #060812 0%, #080d1a 50%, #0d0d14 100%);
}

.hero-bg {
  background:
    radial-gradient(55% 55% at 73% 18%, rgba(200,208,220,0.2), transparent 62%),
    radial-gradient(45% 38% at 18% 78%, rgba(42,42,50,0.45), transparent 70%),
    linear-gradient(160deg, #060812 0%, #080d1a 50%, #0d0d14 100%);
}

.marquee {
  background: #090b11;
  border-top: 1px solid rgba(200,208,220,0.12);
  border-bottom: 1px solid rgba(200,208,220,0.12);
}

.marquee-track {
  color: var(--silver);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  font-weight: 400;
}

.cc-concept,
.story,
.how,
.journal {
  background: #0d0d14;
}

.cc-concept {
  background: #080d1a;
}

.collection-women,
.collection-men,
.sand-canvas,
.waitlist,
.site-footer {
  background: var(--obsidian);
}

.product-card,
.product-card.dark {
  background: #111118;
  border: 1px solid rgba(200,208,220,0.08);
}

.product-card:hover {
  border-color: rgba(200,208,220,0.42);
  box-shadow: 0 34px 68px -38px rgba(0,0,0,0.72), 0 0 0 1px rgba(200,208,220,0.12);
}

.product-media,
.product-card.dark .product-media,
.how-visual,
.journal-media,
.story-art-panel--1,
.story-art-panel--2,
.story-art-panel--3,
.imprint-feature,
.sand-canvas-shell {
  background: #111118;
  border-color: rgba(200,208,220,0.1);
}

.product-media--aurora { background: linear-gradient(145deg, #0c111d 0%, #121826 100%); }
.product-media--noir { background: linear-gradient(145deg, #0c0c10 0%, #141419 100%); }
.product-media--mirage { background: linear-gradient(145deg, #150f16 0%, #22131d 100%); }
.product-media--signet { background: linear-gradient(145deg, #0b1018 0%, #131827 100%); }
.product-media--tide { background: linear-gradient(145deg, #0e1520 0%, #182231 100%); }
.product-media--dune { background: linear-gradient(145deg, #17120d 0%, #221911 100%); }

.how-step.active-step,
.how-step:hover .how-visual,
.how-step:focus-visible .how-visual,
.how-step.active-step .how-visual {
  background: rgba(200,208,220,0.06);
  border-color: rgba(200,208,220,0.32);
  box-shadow: 0 28px 54px -24px rgba(0,0,0,0.6), 0 0 0 8px rgba(200,208,220,0.05);
}

.how-step.active-step h3,
.how-step.active-step p,
.how-step h3,
.how-step p,
.waitlist .eyebrow,
.imprint-copy p,
.story-art-panel span {
  color: var(--cream);
}

.waitlist {
  background: var(--midnight);
}

.waitlist-form input {
  border: 1px solid rgba(200,208,220,0.34);
  color: var(--cream);
}

.waitlist-form input::placeholder {
  color: rgba(200,208,220,0.42);
}

.site-footer {
  background: var(--obsidian);
  color: var(--silver);
}

.footer-grid {
  border-bottom: 1px solid rgba(200,208,220,0.12);
}

.primary-nav a::after,
.link-arrow,
.product-art::before {
  border-color: rgba(200,208,220,0.28);
}

.link-arrow {
  color: var(--silver);
}

.section-callout {
  margin: 22px 0 0;
  color: var(--silver);
  font-size: 0.9rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-c,
.cc-concept-copy .h2 .italic {
  color: var(--gold);
}

/* ── product image fix: ensure SVGs fill card and render above overlay ── */
.product-media {
  position: relative;
  overflow: hidden;
}
.product-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  position: relative;
  z-index: 2;
}
.product-art .product-art-name {
  display: none;
}
/* override old conflicting rule */
.product-media img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

/* ── ensure product-art fills its parent so img height:100% works ── */
.product-media {
  display: flex;
  align-items: stretch;
}
.product-art {
  flex: 1;
  min-height: 280px;
}
.product-art img {
  width: 100% !important;
  height: 100% !important;
  min-height: 260px;
  object-fit: contain;
  display: block;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* ════════════════════════════════════════════════
   DARK THEME — FINAL OVERRIDE
   Forces obsidian/midnight palette site-wide.
   Must stay at the very bottom of this file.
   ════════════════════════════════════════════════ */
:root {
  --obsidian: #0a0a0c;
  --midnight: #080d1a;
  --silver: #c8d0dc;
  --silver-dim: #8a929e;
  --graphite: #2a2a32;
  --cream: #f0ece4;
  --gold: #c9a84c;
}

html, body {
  background: var(--obsidian) !important;
  color: var(--cream) !important;
}

/* Nav */
.site-header {
  background: rgba(8,8,12,0.94) !important;
  border-bottom: 1px solid rgba(200,208,220,0.1) !important;
  backdrop-filter: blur(12px) !important;
}
.primary-nav a, .brand-word { color: var(--cream) !important; }
.primary-nav { background: #0a0a0c !important; }

/* Hero */
.hero, .hero-bg {
  background: linear-gradient(160deg, #060812 0%, #080d1a 55%, #0d0d14 100%) !important;
}
.hero-copy h1, .hero-copy p, .hero-badges li { color: var(--cream) !important; }
.hero-caption { color: var(--silver-dim) !important; }

/* Marquee ticker */
.marquee { background: #0d0d14 !important; border-top: 1px solid rgba(200,208,220,0.08) !important; border-bottom: 1px solid rgba(200,208,220,0.08) !important; }
.marquee-track span { color: var(--silver-dim) !important; }

/* CC concept brand section */
.cc-concept { background: #080d1a !important; }
.cc-concept-copy h2, .cc-concept-copy p { color: var(--cream) !important; }

/* Story */
.story { background: #0d0d14 !important; }
.story-copy h2, .story-copy p { color: var(--cream) !important; }
.story-art-panel { background: #111118 !important; border-color: rgba(200,208,220,0.08) !important; }

/* Collections */
.collection-women, .collection-men {
  background: var(--obsidian) !important;
  color: var(--cream) !important;
}
.collection-women .eyebrow { color: #d4a574 !important; }
.collection-men .eyebrow { color: var(--silver) !important; }
.section-head h2, .section-lede, .section-callout { color: var(--cream) !important; }
.eyebrow { color: var(--silver-dim) !important; }
.eyebrow.light, h2.light, p.light { color: var(--cream) !important; }

/* Product cards */
.product-card { background: #111118 !important; border: 1px solid rgba(200,208,220,0.08) !important; }
.product-card:hover { border-color: rgba(200,208,220,0.22) !important; }
.product-body h3, .product-body p, .price { color: var(--cream) !important; }
.tag { color: var(--silver-dim) !important; }

/* How it works */
.how { background: #0d0d14 !important; }
.how-step h3, .how-step p { color: var(--cream) !important; }
.how-visual { background: #1a1a22 !important; border-color: rgba(200,208,220,0.1) !important; }
.how-icon-num { color: var(--silver-dim) !important; }

/* Sand canvas */
.sand-canvas-shell { background: #060810 !important; }

/* Journal */
.journal { background: #0a0a0c !important; }
.journal-card { background: #111118 !important; }
.journal-card h3, .journal-card p { color: var(--cream) !important; }

/* Waitlist */
.waitlist { background: #080d1a !important; }
.waitlist h2, .waitlist p { color: var(--cream) !important; }
.waitlist-form input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(200,208,220,0.28) !important;
  color: var(--cream) !important;
}
.waitlist-form input::placeholder { color: rgba(200,208,220,0.38) !important; }

/* Buttons */
.btn-primary { background: var(--silver) !important; color: #0a0a0c !important; }
.btn-primary:hover { background: #eef3f8 !important; }
.btn-secondary, .btn-outline {
  background: transparent !important;
  border: 1px solid rgba(200,208,220,0.5) !important;
  color: var(--silver) !important;
}
.btn-secondary:hover, .btn-outline:hover { background: rgba(200,208,220,0.08) !important; }

/* Footer */
.site-footer { background: #050508 !important; color: var(--silver-dim) !important; }
.footer-grid { border-bottom: 1px solid rgba(200,208,220,0.1) !important; }
.footer-brand .brand-word { color: var(--cream) !important; }

/* Gender collection logos */
.collection-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.collection-logo-img {
  width: 36px;
  height: 36px;
  display: block;
}
.collection-logo-label {
  font-family: var(--serif, Georgia, serif);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.65;
}
.collection-women .collection-logo-label { color: #d4a574; }
.collection-men .collection-logo-label { color: var(--silver); }

/* ── High-quality transitions (ready for real assets) ──────── */

/* Product card: image scale on hover */
.product-art { overflow: hidden; }
.product-art img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}
.product-card:hover .product-art img { transform: scale(1.06) !important; }

/* Section entrance: fade up on scroll */
.section-head,
.hero-copy,
.story-copy,
.cc-concept-copy,
.cc-concept-visual {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-head.is-visible,
.hero-copy.is-visible,
.story-copy.is-visible,
.cc-concept-copy.is-visible,
.cc-concept-visual.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CC gender logos: shimmer pulse */
@keyframes cc-shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5) drop-shadow(0 0 5px rgba(200,208,220,0.55)); }
}
.collection-women .collection-logo-img {
  animation: cc-shimmer 3.5s ease-in-out infinite;
}
.collection-men .collection-logo-img {
  animation: cc-shimmer 3.5s ease-in-out 1.75s infinite;
}

/* Hero video placeholder (activates when video is added) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

/* Product card: silver border glow on hover */
.product-card {
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease !important;
}
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,208,220,0.2) !important;
}
