/* Spice World Market — premium DTC redesign, mobile first */
:root {
  --cream: #faf6f1;
  --paper: #ffffff;
  --soft: #f0e6da;
  --blush: #e8d5c4;
  --espresso: #1c1412;
  --ink: #2a201c;
  --muted: #6e5c52;
  --terracotta: #c45c3a;
  --terracotta-deep: #9e4328;
  --sage: #7f9a78;
  --sage-deep: #5f7a58;
  --gold: #c9a227;
  --line: rgba(28, 20, 18, 0.08);
  --shadow: 0 18px 50px rgba(28, 20, 18, 0.1);
  --radius: 18px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --max: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Slim draft banner */
.draft-banner {
  background: var(--espresso);
  color: rgba(250,246,241,0.85);
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  font-weight: 500;
}
.draft-banner strong { color: var(--gold); font-weight: 600; }

/* SAMPLE badge subtle */
.badge-sample {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: rgba(28,20,18,0.72);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--espresso);
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8b89a, var(--terracotta) 55%, var(--terracotta-deep));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.nav-toggle {
  width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 50%; background: var(--paper);
  display: grid; place-items: center; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 16px; height: 1.5px; background: var(--espresso);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: var(--espresso);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-direction: column; gap: 0.9rem;
}
.site-nav.open { display: flex; }
.site-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink);
}
.site-nav a:hover { color: var(--terracotta); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 600;
  border: none; cursor: pointer; font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--espresso); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: #fff; color: var(--espresso); }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: #fff; color: var(--espresso); }
.btn-tiktok,
a.btn-tiktok,
.site-nav a.btn-tiktok {
  background: #111 !important;
  color: #ffffff !important;
  border: 1.5px solid #25f4ee;
  box-shadow: 3px 0 0 #fe2c55, -3px 0 0 #25f4ee;
  padding: 0.7rem 1.1rem;
  font-size: 0.82rem;
}
.btn-tiktok:hover,
a.btn-tiktok:hover,
.site-nav a.btn-tiktok:hover,
.btn-tiktok:focus,
.btn-tiktok:visited {
  background: #222 !important;
  color: #ffffff !important;
}

/* Marquee */
.marquee {
  background: var(--terracotta);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid rgba(255,255,255,0.12);
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  padding: 0.75rem 0;
  animation: marquee 32s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-track span { opacity: 0.95; }
.marquee-track span::after {
  content: "·";
  margin-left: 3rem;
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-2%); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,20,18,0.15) 0%, rgba(28,20,18,0.55) 45%, rgba(28,20,18,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 3.5rem 0 4rem;
  max-width: 34rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.85rem;
  opacity: 0.9;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.75rem;
  max-width: 32ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Sections */
.section { padding: 4rem 0; }
.section-tight { padding: 3rem 0; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: end;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 1.75rem;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--espresso);
}
.section-head p { color: var(--muted); max-width: 36ch; font-size: 0.98rem; }
.section-kicker {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 700; margin-bottom: 0.4rem;
}

/* Video strip */
.video-strip {
  background: var(--espresso);
  color: var(--cream);
  padding: 3.5rem 0;
}
.video-strip .section-head h2 { color: #fff; }
.video-strip .section-head p { color: rgba(250,246,241,0.7); }
.video-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 210px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.video-card {
  scroll-snap-align: start;
  border-radius: 22px;
  overflow: hidden;
  background: #2a201c;
  position: relative;
  aspect-ratio: 9/16;
  border: 1px solid rgba(255,255,255,0.08);
}
.video-card img {
  width: 100%; height: 100%; object-fit: cover;
  animation: ken 12s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.video-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.75));
  pointer-events: none;
}
.video-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1rem;
}
.video-meta .label {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.25rem;
}
.video-meta h3 { font-size: 0.95rem; font-weight: 600; }
.play-dot {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.play-dot::before {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--espresso);
  margin-left: 3px;
}

/* Carousel winners */
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-controls {
  display: flex; gap: 0.5rem;
}
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 1.1rem; color: var(--espresso);
}
.carousel-btn:hover { background: var(--espresso); color: #fff; }

/* Product cards */
.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  min-width: min(280px, 82vw);
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(28,20,18,0.14);
}
.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--soft);
  overflow: hidden;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.35s ease, transform 0.5s ease;
}
.thumb .img-b {
  position: absolute; inset: 0; opacity: 0;
}
.product-card:hover .thumb .img-a { opacity: 0; transform: scale(1.04); }
.product-card:hover .thumb .img-b { opacity: 1; transform: scale(1.03); }
.product-body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex; flex-direction: column; gap: 0.45rem; flex: 1;
}
.product-body h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--espresso);
}
.hook { color: var(--muted); font-size: 0.92rem; }
.claim-note {
  font-size: 0.75rem;
  color: var(--sage-deep);
  background: rgba(127,154,120,0.12);
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
}
.price {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--espresso);
}
.price small {
  font-weight: 500; font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.06em; margin-left: 0.35rem;
}
.product-actions { display: flex; gap: 0.5rem; margin-top: 0.55rem; }
.product-actions .btn { flex: 1; font-size: 0.8rem; padding: 0.7rem 0.8rem; }

/* Swatches */
.swatches {
  display: flex; gap: 0.45rem; align-items: center; margin: 0.35rem 0 0.15rem;
}
.swatch {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(28,20,18,0.2);
  cursor: pointer; padding: 0;
}
.swatch.active { box-shadow: 0 0 0 2px var(--espresso); }
.swatch-label { font-size: 0.75rem; color: var(--muted); margin-left: 0.25rem; }

/* Color block */
.color-block {
  display: grid;
  min-height: 420px;
}
.color-block-media { min-height: 260px; }
.color-block-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.color-block-copy {
  background: var(--sage);
  color: #fff;
  padding: 3rem 1.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.color-block-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.color-block-copy p { opacity: 0.92; max-width: 36ch; margin-bottom: 1.5rem; }

/* Signup */
.signup {
  background: linear-gradient(135deg, #2a201c 0%, #4a3228 100%);
  color: #fff;
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  display: grid; gap: 1.5rem;
  box-shadow: var(--shadow);
}
.signup h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.signup p { opacity: 0.85; max-width: 42ch; }
.signup-form {
  display: flex; flex-direction: column; gap: 0.65rem;
}
.signup-form input {
  border: none; border-radius: 999px;
  padding: 0.95rem 1.15rem; font-size: 1rem; font-family: inherit;
  background: rgba(255,255,255,0.95);
}
.form-note { font-size: 0.78rem; opacity: 0.7; margin-top: 0.5rem; }

/* Guides */
.guides-grid {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
}
.guide-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.guide-card:hover { transform: translateY(-3px); }
.guide-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.guide-card .body { padding: 1.2rem 1.25rem 1.4rem; }
.guide-card h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 550;
  margin-bottom: 0.4rem;
}
.guide-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.85rem; }
.guide-card a {
  font-weight: 600; font-size: 0.88rem; color: var(--terracotta);
  border-bottom: 1px solid currentColor;
}

/* About FAQ */
.two-col { display: grid; gap: 1.25rem; }
.panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.85rem;
}
.panel p { color: var(--muted); margin-bottom: 0.85rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--espresso); }
.faq-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Footer */
.site-footer {
  background: var(--espresso);
  color: rgba(250,246,241,0.78);
  padding: 3.5rem 0 1.75rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid; gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a:hover { color: #fff; }
.footer-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.65rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.1rem;
  font-size: 0.8rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: space-between;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .signup { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 3rem; }
  .signup-form { flex-direction: row; }
  .signup-form input { flex: 1; }
  .color-block { grid-template-columns: 1.1fr 1fr; }
  .color-block-media, .color-block-media img { min-height: 100%; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 1.35rem; padding: 0; background: transparent; border: none;
  }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .hero-content { padding: 5rem 0 5.5rem; max-width: 40rem; }
  .product-card { min-width: 300px; }
}
