/* ============================================================
   Kandi Bags — Premium CSS
   Archetype: Editorial Luxury | Layout: Z-Axis Cascade
   Fonts: Cormorant Garamond (serif) + Outfit (sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --cream:        #F5F1EC;
  --stone:        #EDE8E0;
  --ivory:        #E5DDD3;
  --charcoal:     #1A1820;
  --charcoal-soft:#241F2E;
  --charcoal-mid: #4A4558;
  --muted:        #9A90A2;
  --wine:         #B8546A;
  --wine-dark:    #8C2040;
  --wine-light:   #D4849A;
  --gold:         #C9A84C;
  --tobacco:      #8B6242;
  --border:       #E0D8D0;
  --border-light: #EAE4DC;
  --border-dark:  rgba(255,255,255,0.1);

  /* keep mauve as alias for wine for compatibility */
  --mauve:        #B8546A;
  --mauve-dark:   #8C2040;
  --mauve-light:  #D4849A;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Outfit', system-ui, sans-serif;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:      cubic-bezier(0.7, 0, 0.84, 0);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height:   72px;
  --max-w:        1400px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Utilities ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--charcoal);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.scrolled {
  background: rgba(26, 24, 32, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo span {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.45);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.65);
  transition: color 0.2s var(--ease-out);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--wine);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-actions button, .nav-actions a {
  color: rgba(245,241,236,0.65);
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-actions button:hover, .nav-actions a:hover {
  color: var(--cream);
  transform: translateY(-1px);
}
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px; height: 17px;
  background: var(--mauve);
  color: #fff;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 600;
  margin-left: -4px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + 6rem) 3rem 8rem calc(max(3rem, calc((100vw - var(--max-w)) / 2 + 3rem)));
  position: relative;
  z-index: 2;
  background: var(--charcoal);
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--wine);
  flex-shrink: 0;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--wine);
  font-weight: 300;
}
.hero-subline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(245,241,236,0.55);
  line-height: 1.7;
  max-width: 360px;
  margin-top: 1.75rem;
  margin-bottom: 3rem;
}
.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 2.25rem;
  background: var(--wine);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(184,84,106,0.5);
}
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 0;
  color: rgba(245,241,236,0.7);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(245,241,236,0.35);
  transition: color 0.2s, gap 0.3s var(--ease-out);
}
.btn-ghost:hover { color: var(--cream); gap: 1rem; }
/* btn-ghost in light sections should be dark */
.collections .btn-ghost,
.products-section .btn-ghost,
.story-section .btn-ghost,
.testimonials .btn-ghost,
.insta-section .btn-ghost {
  color: var(--charcoal-mid);
  border-bottom-color: var(--charcoal-mid);
}
.collections .btn-ghost:hover,
.products-section .btn-ghost:hover,
.story-section .btn-ghost:hover,
.testimonials .btn-ghost:hover,
.insta-section .btn-ghost:hover {
  color: var(--charcoal);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 3rem; left: calc(max(3rem, calc((100vw - var(--max-w)) / 2 + 3rem)));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.35);
}
.scroll-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--mauve);
  animation: scrollLineAnim 2s var(--ease-out) infinite;
}
@keyframes scrollLineAnim {
  0%  { left: -100%; }
  50% { left: 0%; }
  100%{ left: 100%; }
}
.hero-image-panel {
  position: relative;
  overflow: hidden;
}
.hero-image-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}
.hero-image-panel:hover img { transform: scale(1.04); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--charcoal) 0%, transparent 30%);
  z-index: 1;
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 4rem;
  right: 3rem;
  z-index: 3;
  background: rgba(26,24,32,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  box-shadow: 0 16px 40px -12px rgba(28,25,23,0.12);
}
.hero-badge-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.45);
}
.hero-badge-value {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
}
.hero-badge-sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: rgba(245,241,236,0.45);
  font-weight: 300;
}

/* ── Marquee ──────────────────────────────────────────────── */
.marquee-section {
  background: var(--wine-dark);
  overflow: hidden;
  padding: 1rem 0;
  border-top: none;
  border-bottom: none;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.85);
}
.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Labels ───────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--wine);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.section-title em {
  font-style: italic;
  color: var(--wine);
}
.section-body {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 52ch;
}

/* ── Collections Bento ────────────────────────────────────── */
.collections {
  padding: 8rem 0 6rem;
}
.collections-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
}
.collections-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 420px 280px;
  gap: 1rem;
}
.collection-tile {
  position: relative;
  overflow: hidden;
  background: var(--stone);
  cursor: pointer;
}
.collection-tile:first-child {
  grid-row: 1 / 3;
}
.collection-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.collection-tile:hover img { transform: scale(1.06); }
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.7) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.tile-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  color: var(--cream);
  z-index: 2;
  transform: translateY(4px);
  transition: transform 0.3s var(--ease-out);
}
.collection-tile:hover .tile-content { transform: translateY(0); }
.tile-tag {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.65);
  margin-bottom: 0.4rem;
}
.tile-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
}
.tile-name em { font-style: italic; }
.tile-arrow {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 36px; height: 36px;
  border: 1px solid rgba(250,248,244,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  z-index: 2;
}
.collection-tile:hover .tile-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ── Products Featured ────────────────────────────────────── */
.products-section {
  padding: 8rem 0;
  background: var(--stone);
}
.products-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}
.products-scroll-container {
  padding: 0 3rem;
  max-width: calc(var(--max-w) + 6rem);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.products-scroll-container::-webkit-scrollbar { display: none; }
.products-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(280px, 1fr));
  gap: 1.5rem;
  width: max-content;
  min-width: 100%;
}
.product-card {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ivory);
}
.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}
.badge-new { background: var(--charcoal); color: var(--cream); }
.badge-sale { background: var(--mauve); color: #fff; }
.badge-rare { background: var(--tobacco); color: #fff; }
.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.875rem;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease-out);
  z-index: 3;
  cursor: pointer;
  border: none;
}
.product-card:hover .product-quick-add { transform: translateY(0); }
.product-quick-add:active { background: var(--charcoal-soft); transform: translateY(0) scale(0.98); }
.product-info {
  padding: 1.25rem 0 0;
}
.product-brand {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.product-price {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}
.price-original {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 300;
}
.price-sale { color: var(--mauve-dark); }
.product-wishlist {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s var(--ease-spring);
  z-index: 3;
}
.product-wishlist:hover {
  background: var(--cream);
  transform: scale(1.1);
}

/* ── Story Section ────────────────────────────────────────── */
.story-section {
  padding: 10rem 0;
}
.story-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.story-image-stack {
  position: relative;
  height: 600px;
}
.story-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 75%;
  height: 85%;
  object-fit: cover;
}
.story-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 55%;
  object-fit: cover;
  border: 6px solid var(--cream);
}
.story-floater {
  position: absolute;
  top: 2rem; right: 2rem;
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.5rem 2rem;
  font-family: var(--font-serif);
}
.story-floater-num {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  display: block;
}
.story-floater-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.5);
  display: block;
  margin-top: 0.35rem;
}
.story-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.story-quote {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--charcoal);
  border-left: 2px solid var(--wine);
  padding-left: 2rem;
  margin: 1rem 0;
}
.story-signature {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
}

/* ── Why Us Strip ─────────────────────────────────────────── */
.why-section {
  background: var(--charcoal);
  padding: 6rem 0;
}
.why-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-item {
  padding: 3rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.why-item:last-child { border-right: none; }
.why-icon {
  width: 36px; height: 36px;
  color: var(--mauve);
}
.why-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}
.why-body {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(250,248,244,0.5);
  line-height: 1.7;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: 8rem 0;
  background: var(--ivory);
}
.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}
.testimonial-card {
  padding: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}
.testimonial-card.featured {
  background: var(--wine-dark);
  border-color: transparent;
}
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--gold);
  font-size: 0.75rem;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
}
.testimonial-card.featured .testimonial-text {
  color: rgba(250,248,244,0.9);
  font-size: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
}
.testimonial-card.featured .author-name { color: var(--cream); }
.author-location {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--muted);
}
.testimonial-card.featured .author-location { color: rgba(250,248,244,0.4); }

/* ── Instagram Feed Preview ───────────────────────────────── */
.insta-section {
  padding: 6rem 0;
}
.insta-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}
.insta-handle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--mauve);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.insta-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.insta-tile {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--stone);
}
.insta-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.3s;
}
.insta-tile:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}
.insta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: white;
  font-size: 1.25rem;
}
.insta-tile:hover .insta-overlay { opacity: 1; }

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter {
  padding: 8rem 0;
  background: var(--stone);
}
.newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
.newsletter-sub {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46ch;
}
.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--cream);
}
.newsletter-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--charcoal);
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-btn {
  padding: 0.875rem 1.75rem;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  flex-shrink: 0;
}
.newsletter-btn:hover { background: var(--charcoal-soft); }
.newsletter-fine {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  padding: 6rem 0 3rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.03em;
}
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
}
.footer-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(250,248,244,0.45);
  line-height: 1.7;
  max-width: 30ch;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,248,244,0.5);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-spring);
  font-size: 0.75rem;
}
.social-link:hover {
  border-color: var(--mauve);
  color: var(--mauve);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,248,244,0.5);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.875rem; }
.footer-col li a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(250,248,244,0.6);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(250,248,244,0.3);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(250,248,244,0.3);
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(250,248,244,0.6); }
.footer-payments {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.payment-badge {
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(250,248,244,0.4);
  text-transform: uppercase;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Shop Page Specifics ──────────────────────────────────── */
.shop-hero {
  min-height: 40dvh;
  background: var(--stone);
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
}
.shop-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 3rem;
  width: 100%;
}
.shop-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}
.shop-hero-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  font-weight: 300;
}
.shop-controls {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.filter-tabs {
  display: flex;
  gap: 0;
}
.filter-tab {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
}
.filter-tab.active, .filter-tab:hover {
  color: var(--charcoal);
  border-color: var(--border);
  background: var(--cream);
}
.shop-sort {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.sort-select {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--charcoal);
  font-weight: 500;
  cursor: pointer;
}
.shop-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.5rem;
}

/* ── Product Detail Specifics ─────────────────────────────── */
.product-detail {
  padding-top: var(--nav-height);
  min-height: 100dvh;
}
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 3rem 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--charcoal); }
.breadcrumb-sep { opacity: 0.4; }
.product-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.product-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.gallery-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: var(--stone);
}
.gallery-thumb.active { border-color: var(--charcoal); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--stone);
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-zoom-hint {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
}
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.product-detail-brand {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mauve);
}
.product-detail-name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
}
.product-detail-price {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--charcoal);
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.product-detail-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}
.option-group { display: flex; flex-direction: column; gap: 0.75rem; }
.option-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
}
.color-options { display: flex; gap: 0.5rem; }
.color-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s var(--ease-spring);
}
.color-swatch.active::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--charcoal);
}
.color-swatch:hover { transform: scale(1.1); }
.add-to-cart-btn {
  padding: 1.1rem 2.5rem;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.2s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
.add-to-cart-btn:hover {
  background: var(--charcoal-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(28,25,23,0.3);
}
.add-to-cart-btn:active { transform: scale(0.98); }
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 0.78rem;
}
.meta-key { color: var(--muted); font-weight: 300; }
.meta-val { color: var(--charcoal); font-weight: 400; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .collections-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .collection-tile:first-child { grid-row: auto; grid-column: 1 / -1; height: 420px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 0 1.5rem; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-image-panel { display: none; }
  .hero-content {
    padding: calc(var(--nav-height) + 3rem) 1.5rem 5rem;
    justify-content: flex-end;
    min-height: 100dvh;
    background: linear-gradient(to bottom, var(--charcoal) 0%, rgba(26,24,32,0.85) 100%),
                url('IMG_9156.jpg') center 20%/cover no-repeat;
  }
  .collections-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }
  .collection-tile:first-child { height: 380px; grid-column: auto; }
  .products-scroll-container { padding: 0 1.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-image-stack { height: 380px; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.5rem 3rem; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem 0; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.5rem; }
  .product-layout { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; }
  .gallery-thumb { width: 60px; height: 60px; flex-shrink: 0; }
  .collections-header { padding: 0 1.5rem; }
  .products-header { padding: 0 1.5rem; }
  .testimonials-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .newsletter-inner { padding: 0 1.5rem; }
}

/* ── Image fade-in ────────────────────────────────────────── */
img {
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
img.img-loading {
  opacity: 0;
}
img.img-loaded {
  opacity: 1;
}

/* ── Smoother card/tile hover transitions ─────────────────── */
.product-card {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(26,24,32,0.18);
}
.collection-tile {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.collection-tile:hover {
  transform: scale(1.015);
}

/* ── Hero image parallax base ─────────────────────────────── */
.hero-image-panel img {
  transform-origin: center center;
  will-change: transform;
}

/* ── Smooth cart badge transition ─────────────────────────── */
.cart-badge {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Misc ─────────────────────────────────────────────────── */
::selection { background: var(--wine); color: #fff; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--wine-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }
