/* ================================================================
   PROVIBING — Design System
   Multi-page luxury candle site: home, collections, products
   ================================================================ */

@view-transition { navigation: auto; }

:root {
  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Base neutrals */
  --cream:        #FAF6EC;
  --paper:        #F3ECDC;
  --sand:         #ECE1C8;
  --sand-dark:    #DECAA0;
  --ink:          #241F1A;
  --ink-soft:     #4E4337;
  --muted:        #8A7C64;
  --line:         #E1D2AF;
  --line-soft:    #EADFC4;

  /* Accents */
  --accent:       #B1622E;
  --accent-warm:  #D98C4A;
  --accent-dark:  #7A431E;
  --olive:        #5F6146;

  /* Dark section */
  --charcoal:      #1C1914;
  --charcoal-soft: #29231C;
  --on-dark:       #F5EEDD;
  --on-dark-muted: #C9BBA0;

  /* Collection tints */
  --woosahhh:      #75805F;
  --woosahhh-soft: #E4E7D5;
  --woosahhh-dark: #4C5540;
  --love:          #AD5F63;
  --love-soft:     #F2DEDA;
  --love-dark:     #7C3F45;

  --tint: var(--accent);
  --tint-soft: var(--sand);
  --tint-dark: var(--accent-dark);

  --shadow-soft: 0 30px 70px -32px rgba(28, 25, 20, 0.38);
  --shadow-card: 0 18px 44px -26px rgba(28, 25, 20, 0.3);
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.16,1,.3,1);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--tint-dark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tint);
  margin: 0 0 14px;
  display: inline-block;
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 46px); }
.section-sub { color: var(--ink-soft); font-size: 16.5px; margin: 16px 0 0; }

section { padding: 108px 24px; position: relative; }
@media (max-width: 700px) { section { padding: 76px 20px; } }

.wrap { max-width: 1280px; margin: 0 auto; }
.wrap-narrow { max-width: 900px; margin: 0 auto; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--tint-dark); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-outline-light { background: transparent; color: var(--on-dark); border: 1px solid rgba(245,238,221,.5); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--charcoal); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: 11.5px; }

/* ===================== Custom cursor ===================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none !important; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--ink); opacity: 0; transition: opacity .3s ease; }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(36,31,26,.35);
  opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s ease, background .3s ease, opacity .3s ease;
}
body.cursor-active .cursor-dot, body.cursor-active .cursor-ring { opacity: 1; }
body.cursor-active { cursor: none; }
body.cursor-active a, body.cursor-active button { cursor: none; }
.cursor-ring.is-hover { width: 60px; height: 60px; background: rgba(177, 98, 46, 0.1); border-color: var(--accent); }
.cursor-ring.is-drag { width: 84px; height: 84px; background: var(--ink); border-color: var(--ink); }

/* ===================== Placeholder imagery ===================== */
.ph-image {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--paper), var(--sand-dark));
  overflow: hidden;
}
.ph-image::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.ph-image span {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: min(34vw, 240px); line-height: 1; color: rgba(36,31,26,0.075);
  user-select: none; position: relative;
}
.ph-note {
  position: absolute; bottom: 14px; right: 16px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(36,31,26,0.28); font-weight: 700;
}

/* ===================== Scroll-reveal media (curtain wipe) ===================== */
.reveal-media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--sand);
}
.reveal-media img, .reveal-media .ph-image {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.14);
  transition: transform 1.7s var(--ease-soft);
}
.reveal-media::after {
  content: ""; position: absolute; inset: 0; background: var(--cream);
  transform-origin: left; z-index: 2;
  transition: transform 1.05s var(--ease-soft);
}
.reveal-media.is-visible::after { transform: scaleX(0); }
.reveal-media.is-visible img, .reveal-media.is-visible .ph-image { transform: scale(1); }

/* ===================== Generic scroll reveal ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ===================== Announcement ===================== */
.announce { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.announce p {
  margin: 0; text-align: center; padding: 9px 20px;
  font-size: 12px; letter-spacing: 0.06em; font-weight: 500;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 236, 0.82);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(28,25,20,.4); }

.header-inner {
  max-width: 1320px; margin: 0 auto;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 28px; gap: 12px;
}

.nav-desktop { display: flex; gap: 36px; align-items: center; }
.nav-desktop a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 4px 0;
  transition: color .25s ease;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px;
  background: var(--accent); transition: right .3s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--ink); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { right: 0; }

.logo {
  justify-self: center; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 24px; font-weight: 500; font-style: italic;
  color: var(--ink); letter-spacing: 0.01em;
}
.logo-mark { color: var(--accent); display: inline-flex; }
.logo-img { height: 34px; width: auto; display: block; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }

.icon-btn {
  position: relative; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--ink); transition: background .25s ease;
}
.icon-btn:hover { background: var(--sand-dark); }

.cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 3px;
  background: var(--accent); color: var(--cream); border-radius: 50%;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.35); } }

.menu-toggle { display: none; }
.menu-lines { width: 18px; height: 12px; position: relative; display: block; }
.menu-lines span {
  position: absolute; left: 0; width: 100%; height: 1.4px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.menu-lines span:nth-child(1) { top: 0; }
.menu-lines span:nth-child(2) { top: 5px; }
.menu-lines span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.search-bar { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); border-top: 1px solid transparent; }
.search-bar.open { max-height: 70px; border-color: var(--line); }
.search-form { max-width: 1320px; margin: 0 auto; padding: 14px 28px; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.search-form input { flex: 1; border: none; background: transparent; outline: none; font-size: 15px; color: var(--ink); }
.search-form input::placeholder { color: var(--muted); }

/* Mega dropdown */
.has-mega { position: relative; }
.mega {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(28,25,20,.3);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 55;
}
.has-mega:hover .mega, .mega:hover, .mega.force-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-inner {
  max-width: 1320px; margin: 0 auto; padding: 40px 28px 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.mega-inner.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.mega-card { display: block; border-radius: var(--radius-md); overflow: hidden; }
.mega-card .reveal-media { aspect-ratio: 4/5; border-radius: var(--radius-md); }
.mega-card h4 { margin-top: 14px; font-size: 17px; }
.mega-card p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .mega { display: none; } }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(88vw, 380px);
  background: var(--cream); z-index: 90; transform: translateX(100%);
  transition: transform .45s var(--ease); padding: 110px 32px 40px;
  display: flex; flex-direction: column; gap: 30px;
  box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a { font-family: var(--font-display); font-size: 26px; font-style: italic; }
.mobile-nav .mn-sub { display: flex; flex-direction: column; gap: 12px; margin: -6px 0 0 4px; }
.mobile-nav .mn-sub a { font-family: var(--font-body); font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.mobile-nav-foot { color: var(--muted); font-size: 13px; margin-top: auto; line-height: 1.6; }

.scrim {
  position: fixed; inset: 0; background: rgba(28,25,20,.35);
  opacity: 0; pointer-events: none; transition: opacity .35s ease; z-index: 80;
  backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; pointer-events: auto; }

/* ===================== Breadcrumb ===================== */
.breadcrumb {
  max-width: 1280px; margin: 0 auto; padding: 26px 28px 0;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.breadcrumb a:hover { color: var(--tint-dark); }
.breadcrumb span { opacity: .5; }
.breadcrumb .current { color: var(--ink-soft); }

/* ===================== Marquee ===================== */
.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 22px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink-soft); padding: 0 24px;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 13px; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== Hero (home) ===================== */
.hero {
  min-height: 94vh; display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: 40px; padding-top: calc(var(--header-h) + 20px);
  position: relative;
}
.hero-copy { padding: 0 28px 60px 56px; position: relative; z-index: 2; }
.hero-copy .eyebrow { }
.hero h1 { font-size: clamp(46px, 5.6vw, 84px); }
.hero-sub { max-width: 440px; margin: 26px 0 0; font-size: 17.5px; color: var(--ink-soft); }
.hero-cta { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero-media { position: relative; height: 100%; min-height: 480px; padding: 32px 40px 32px 0; }
.hero-media .reveal-media { width: 100%; height: 100%; aspect-ratio: 4/5; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 16px); }
  .hero-copy { padding: 0 24px; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-media { padding: 0 24px 40px; min-height: 380px; order: -1; }
}

.scroll-cue {
  position: absolute; left: 28px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.scroll-cue span { width: 1px; height: 34px; background: var(--ink-soft); position: relative; overflow: hidden; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--accent); animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }
@media (max-width: 1080px) { .scroll-cue { display: none; } }

/* ===================== Bento collections (floating photo cards) ===================== */
.bento-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px 44px;
  max-width: 1080px; margin: 0 auto;
}
.bento-card { display: block; text-align: center; }
.bento-frame {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, var(--tint-soft), var(--paper) 70%);
  border-radius: var(--radius-lg);
}
.bento-photo {
  position: absolute; z-index: 2;
  top: -9%; bottom: -12%; left: 9%; right: 9%;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow:
    0 8px 16px -6px rgba(28,25,20,.22),
    0 40px 70px -28px rgba(28,25,20,.42);
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft);
  will-change: transform;
}
.bento-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--ease-soft);
}
.bento-card:hover .bento-photo {
  transform: translateY(-18px) rotate(-1.2deg) scale(1.015);
  box-shadow:
    0 14px 24px -8px rgba(28,25,20,.26),
    0 58px 90px -26px rgba(28,25,20,.48);
}
.bento-card:hover .bento-photo img { transform: scale(1.06); }
.bento-label { margin-top: 40px; }
.bento-label h3 { font-size: clamp(24px, 2.8vw, 32px); }
.bento-label p { color: var(--ink-soft); margin: 10px 0 20px; font-size: 14.5px; }
.bento-label .btn-sm { }

@media (max-width: 780px) {
  .bento-grid { grid-template-columns: 1fr; max-width: 380px; gap: 76px; }
}

/* ===================== Collections showcase ===================== */
.collections-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.collection-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; display: block;
}
.collection-card .reveal-media { position: absolute; inset: 0; border-radius: 0; }
.collection-card-overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 40px; color: var(--on-dark);
  background: linear-gradient(0deg, rgba(20,17,13,.72) 0%, rgba(20,17,13,.15) 55%, transparent 100%);
}
.collection-card-overlay .eyebrow { color: var(--accent-warm); }
.collection-card-overlay h3 { color: var(--on-dark); font-size: clamp(26px, 3vw, 36px); }
.collection-card-overlay p { color: var(--on-dark-muted); margin: 10px 0 20px; max-width: 32ch; font-size: 14.5px; }
.collection-card-overlay .btn { align-self: flex-start; }
.collection-card:hover .reveal-media img,
.collection-card:hover .reveal-media .ph-image { transform: scale(1.06); }

@media (max-width: 820px) {
  .collections-grid { grid-template-columns: 1fr; }
  .collection-card { aspect-ratio: 4/5; }
}

/* ===================== Product / candle cards ===================== */
.candle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.candle-grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .candle-grid, .candle-grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .candle-grid, .candle-grid--6 { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

.product-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--paper);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.product-card-media { position: relative; aspect-ratio: 4/5; }
.product-card-media .reveal-media { position: absolute; inset: 0; border-radius: 0; }
.product-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px;
  background: var(--tint-soft); color: var(--tint-dark);
}
.product-card-quickadd {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 3;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.product-card:hover .product-card-quickadd { opacity: 1; transform: translateY(0); }
.product-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.product-card-body .notes { font-size: 12.5px; color: var(--muted); margin: 0 0 18px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-size: 18px; color: var(--tint-dark); }
.btn-add {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 100px; border: 1px solid var(--ink);
  transition: all .3s var(--ease); background: var(--cream);
}
.btn-add:hover { background: var(--ink); color: var(--cream); }
.btn-add.added { background: var(--tint-dark); border-color: var(--tint-dark); color: var(--cream); }
.btn-add-icon {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; border-radius: 100px; background: var(--ink); color: var(--cream);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.btn-add-icon:hover { background: var(--tint-dark); }

.btn-buy {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; border-radius: 100px; background: var(--accent); color: var(--cream);
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  transition: all .3s var(--ease);
}
.btn-buy:hover { background: var(--accent-dark); transform: translateY(-1px); }
.product-card-quickadd { display: flex; flex-direction: column; gap: 8px; }

/* Tint classes applied per-collection */
.tint-woosahhh { --tint: var(--woosahhh); --tint-soft: var(--woosahhh-soft); --tint-dark: var(--woosahhh-dark); }
.tint-love { --tint: var(--love); --tint-soft: var(--love-soft); --tint-dark: var(--love-dark); }

/* ===================== Values strip ===================== */
.values {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-top: 0; padding-bottom: 0;
}
.value { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; color: var(--ink-soft); }
.value svg { color: var(--accent); }
.value span { font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; }
@media (max-width: 780px) { .values { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } }

/* ===================== Story ===================== */
.story { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1fr; gap: 80px; align-items: center; }
.story-media .reveal-media { aspect-ratio: 4/5; }
.story-copy p { color: var(--ink-soft); font-size: 16px; margin: 18px 0; max-width: 46ch; }
.story-copy h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 4px; }
.story-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; margin: 30px 0 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.story-stats strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--tint-dark); }
.story-stats span { font-size: 12px; color: var(--muted); }
@media (max-width: 980px) { .story { grid-template-columns: 1fr; gap: 44px; } .story-media { max-width: 380px; margin: 0 auto; } }
@media (max-width: 560px) { .story-stats { grid-template-columns: repeat(2, auto); row-gap: 22px; } }

/* ===================== Gallery strip (UGC) ===================== */
.gallery-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery-strip .reveal-media { aspect-ratio: 1/1; position: relative; }
.gallery-strip .reveal-media::before {
  content: "♥"; position: absolute; z-index: 4; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--on-dark); font-size: 22px; background: rgba(20,17,13,0); opacity: 0;
  transition: opacity .3s ease, background .3s ease;
}
.gallery-strip .reveal-media:hover::before { opacity: 1; background: rgba(20,17,13,.32); }
@media (max-width: 900px) { .gallery-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* ===================== Reviews ===================== */
.review-carousel { max-width: 760px; margin: 0 auto; }
.review-track { display: flex; transition: transform .5s var(--ease); }
.review-card { flex: 0 0 100%; margin: 0; text-align: center; padding: 10px 20px; }
.stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 20px; font-size: 15px; }
.review-card blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.6vw, 26px); line-height: 1.5; color: var(--ink);
}
.review-card figcaption { margin-top: 22px; font-size: 13.5px; font-weight: 700; }
.review-card figcaption span { font-weight: 500; color: var(--muted); }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 36px; }
.review-controls button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all .25s ease; }
.review-controls button:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.review-dots { display: flex; gap: 8px; }
.review-dots button { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: none; padding: 0; }
.review-dots button.active { background: var(--accent); width: 20px; border-radius: 4px; }

/* ===================== Accordion (FAQ / product details) ===================== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list.faq-list--left { margin: 0; max-width: none; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; text-align: left; font-size: 17px; font-weight: 600; font-family: var(--font-display);
}
.faq-q svg { flex-shrink: 0; color: var(--tint); transition: transform .35s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }
.faq-a p { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 58ch; line-height: 1.65; }
.faq-a ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

/* ===================== Newsletter ===================== */
.newsletter {
  background: var(--charcoal);
  background-image: radial-gradient(90% 140% at 50% 0%, var(--charcoal-soft), var(--charcoal));
  color: var(--on-dark); text-align: center;
}
.newsletter .eyebrow { color: #E3A467; }
.newsletter h2 { color: var(--on-dark); font-size: clamp(30px, 4.4vw, 46px); }
.newsletter p { color: var(--on-dark-muted); max-width: 440px; margin: 18px auto 0; }
.newsletter-inner { max-width: 560px; margin: 0 auto; }
.newsletter-form {
  display: flex; gap: 10px; max-width: 420px; margin: 34px auto 0;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  padding: 6px; border-radius: 100px;
}
.newsletter-form input { flex: 1; background: transparent; border: none; outline: none; padding: 10px 16px; color: var(--on-dark); font-size: 15px; }
.newsletter-form input::placeholder { color: var(--on-dark-muted); }
.newsletter-form .btn-primary { background: var(--accent); color: var(--charcoal); }
.newsletter-form .btn-primary:hover { background: #E3A467; transform: none; box-shadow: none; }
.form-msg { min-height: 20px; margin: 16px 0 0; font-size: 13.5px; color: #8fd6a8; }
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; background: none; border: none; padding: 0; gap: 12px; }
  .newsletter-form input { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 100px; text-align: center; }
}

/* ===================== Footer ===================== */
.site-footer { background: var(--sand); border-top: 1px solid var(--line-soft); padding: 72px 28px 0; }
.footer-top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 30ch; margin: 16px 0 20px; }
.footer-brand .logo { justify-content: flex-start; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all .25s ease; }
.socials a:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.footer-col h4 { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink-soft); }
.footer-col { display: flex; flex-direction: column; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-soft); transition: color .2s ease; }
.footer-col a:hover { color: var(--tint-dark); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--tint-dark); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; text-align: left; } }

/* ===================== Cart Drawer ===================== */
.cart-scrim { position: fixed; inset: 0; background: rgba(28,25,20,.4); opacity: 0; pointer-events: none; transition: opacity .35s ease; z-index: 95; }
.cart-scrim.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(92vw, 420px);
  background: var(--cream); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.35);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 26px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 22px; }
.cart-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart-empty { color: var(--muted); font-size: 14.5px; text-align: center; margin-top: 40px; }
.cart-empty.hide { display: none; }
.cart-items { display: flex; flex-direction: column; gap: 20px; }
.cart-item { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.cart-item-swatch { width: 46px; height: 56px; border-radius: 8px; flex-shrink: 0; object-fit: cover; background: var(--sand); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h5 { margin: 0 0 4px; font-size: 14.5px; font-weight: 600; }
.cart-item-info span { font-size: 13px; color: var(--muted); }
.cart-item-qty { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; }
.cart-item-qty button { font-size: 15px; width: 16px; color: var(--ink-soft); }
.cart-item-qty button:hover { color: var(--tint-dark); }
.cart-item-remove { color: var(--muted); font-size: 12px; text-decoration: underline; margin-top: 6px; }
.cart-item-remove:hover { color: var(--tint-dark); }
.cart-foot { padding: 22px 26px 28px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 15px; }
.cart-subtotal strong { font-family: var(--font-display); font-size: 22px; color: var(--accent-dark); }
.cart-note { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; text-align: center; line-height: 1.5; }

/* ===================== Discount popup ===================== */
.popup-scrim {
  position: fixed; inset: 0; background: rgba(28,25,20,.4);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-soft); z-index: 150;
  backdrop-filter: blur(3px);
}
.popup-scrim.open { opacity: 1; pointer-events: auto; }

.discount-popup {
  position: fixed; top: 50%; left: 50%; z-index: 151;
  width: min(92vw, 440px);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 46px 40px 38px;
  text-align: center;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(.94);
  transition: opacity .5s var(--ease-soft), transform .5s var(--ease-soft);
}
.discount-popup.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: background .25s ease;
}
.popup-close:hover { background: var(--sand-dark); }

.popup-mark { color: var(--accent); display: inline-flex; margin-bottom: 6px; }
.discount-popup h3 { font-size: clamp(26px, 4vw, 32px); margin: 0 0 4px; }
.discount-popup .popup-percent { color: var(--accent-dark); font-style: italic; }
.discount-popup p { color: var(--ink-soft); font-size: 14.5px; margin: 10px 0 26px; max-width: 34ch; margin-inline: auto; }

.popup-form {
  display: flex; gap: 8px; background: var(--sand); border: 1px solid var(--line);
  padding: 6px; border-radius: 100px;
}
.popup-form input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  padding: 10px 16px; font-size: 14.5px; color: var(--ink);
}
.popup-form input::placeholder { color: var(--muted); }
.popup-msg { min-height: 20px; margin: 14px 0 0; font-size: 13px; }
.popup-dismiss {
  display: inline-block; margin-top: 18px; font-size: 12.5px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px;
}
.popup-dismiss:hover { color: var(--ink-soft); }

@media (max-width: 480px) {
  .discount-popup { padding: 40px 26px 32px; }
  .popup-form { flex-direction: column; background: none; border: none; padding: 0; gap: 10px; }
  .popup-form input { background: var(--sand); border: 1px solid var(--line); border-radius: 100px; text-align: center; }
}

/* ===================== Toast ===================== */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 120; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--cream); padding: 14px 24px; border-radius: 100px;
  font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: var(--shadow-soft);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===================== Page hero banner (collections) ===================== */
.page-banner { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-banner .reveal-media { position: absolute; inset: 0; border-radius: 0; }
.page-banner-overlay {
  position: relative; z-index: 3; width: 100%;
  background: linear-gradient(0deg, rgba(20,17,13,.7) 0%, rgba(20,17,13,.05) 70%, transparent 100%);
  padding: 140px 28px 56px;
}
.page-banner-inner { max-width: 1280px; margin: 0 auto; color: var(--on-dark); }
.page-banner-inner .eyebrow { color: var(--accent-warm); }
.page-banner-inner h1 { color: var(--on-dark); font-size: clamp(40px, 6vw, 68px); max-width: 16ch; }
.page-banner-inner p { color: var(--on-dark-muted); max-width: 50ch; margin: 16px 0 0; font-size: 16.5px; }

/* ===================== Product page ===================== */
.product-hero { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 84px 1fr 1fr; gap: 20px; align-items: start; padding-top: calc(var(--header-h) + 24px); }
.gallery-thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery-thumb { aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: none; opacity: .55; transition: opacity .3s ease, border-color .3s ease; background: none; padding: 0; }
.gallery-thumb .reveal-media, .gallery-thumb img { border-radius: 11px; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--tint); }
.gallery-main { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.gallery-main .reveal-media { width: 100%; height: 100%; border-radius: var(--radius-lg); }
.gallery-main img, .gallery-main .ph-image { width: 100%; height: 100%; object-fit: cover; }

.product-info { position: sticky; top: calc(var(--header-h) + 24px); padding-right: 8px; }
.product-info .collection-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--tint-dark);
  background: var(--tint-soft); padding: 7px 14px; border-radius: 100px; margin-bottom: 18px;
}
.product-info h1 { font-size: clamp(34px, 3.4vw, 48px); }
.product-info .notes-line { color: var(--muted); font-size: 14.5px; margin: 12px 0 0; }
.product-info .price-line { font-family: var(--font-display); font-size: 28px; color: var(--tint-dark); margin: 20px 0 0; }
.product-info .desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin: 20px 0 0; max-width: 46ch; }

.qty-add-row { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; }
.buy-now-row { margin: 12px 0 0; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; }
.qty-stepper button { width: 44px; height: 46px; font-size: 16px; }
.qty-stepper span { min-width: 30px; text-align: center; font-weight: 700; }

.trust-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.trust-row div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.trust-row svg { color: var(--tint); flex-shrink: 0; }

.product-accordion { margin-top: 36px; }

@media (max-width: 1080px) {
  .product-hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 16px); }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; order: 2; }
  .gallery-thumbs .gallery-thumb { flex: 0 0 72px; }
  .gallery-main { order: 1; }
  .product-info { position: static; order: 3; padding-right: 0; }
}

.related-strip { margin-top: 20px; }
.related-strip-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.related-strip-head h2 { font-size: clamp(24px, 3vw, 32px); }
.related-strip-head a { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tint-dark); }
.related-strip-head a:hover { text-decoration: underline; }

/* ===================== Per-product reviews ===================== */
.reviews-summary {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 40px; flex-wrap: wrap; text-align: center;
}
.reviews-summary .stars-lg { color: var(--tint); font-size: 20px; letter-spacing: 3px; }
.reviews-summary strong { font-family: var(--font-display); font-size: 22px; }
.reviews-summary span { color: var(--muted); font-size: 13.5px; }
.mini-reviews {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 900px; margin: 0 auto;
}
.mini-review { background: var(--paper); border-radius: var(--radius-md); padding: 26px 28px; }
.mini-review .stars { color: var(--tint); font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.mini-review h4 { font-size: 15px; margin: 0 0 8px; font-family: var(--font-body); font-weight: 700; }
.mini-review p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 14px; }
.mini-review cite { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.no-reviews { text-align: center; color: var(--muted); font-size: 15px; padding: 10px 0 0; max-width: 46ch; margin: 0 auto; }
@media (max-width: 700px) { .mini-reviews { grid-template-columns: 1fr; } }

/* ===================== Collection page philosophy strip ===================== */
.philosophy-strip {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.philosophy-strip blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.45; color: var(--ink); margin: 0;
}
.philosophy-strip cite { display: block; margin-top: 20px; font-style: normal; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.cross-collection {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto; padding: 36px 40px; border-radius: var(--radius-lg);
  background: var(--paper);
}
.cross-collection p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.cross-collection strong { font-family: var(--font-display); font-style: italic; color: var(--ink); }

/* ===================== Header/footer partial mount points ===================== */
#site-header, #site-footer { }

/* ===================== Responsive: header/nav breakpoints ===================== */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { font-size: 22px; }
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .scroll-cue span::after, [data-reveal], .reveal-media, .reveal-media img, .reveal-media::after {
    animation: none !important; transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .reveal-media::after { transform: scaleX(0); }
  .reveal-media img, .reveal-media .ph-image { transform: scale(1); }
}
