/* ==========================================================================
   AURO -- Handcrafted Soy Candles
   Quiet luxury aesthetic. Warm, tactile, organic.
   ========================================================================== */

/* --- Self-hosted fonts (GDPR: no Google Fonts CDN) --- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sand: #F5F0EB;
  --sand-light: #FAF7F4;
  --sand-dark: #EDE6DD;
  --cream: #FFFCF8;
  --charcoal: #1A1A1A;
  --charcoal-soft: #3A3A3A;
  --terracotta: #C4724E;
  --terracotta-light: #D4896A;
  --sage: #8B9A7B;
  --sage-light: #A8B49C;
  --muted: #9A948D;
  --border: rgba(26, 26, 26, 0.08);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background-color: var(--sand);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

/* Subtle linen texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 100px;
  transition: all 0.4s ease;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--charcoal);
  color: var(--sand-light);
}

.btn-primary:hover {
  background-color: var(--charcoal-soft);
  transform: translateY(-1px);
}

.btn-cart {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--charcoal);
  transition: all 0.4s ease;
  width: 100%;
  margin-top: 16px;
}

.btn-cart:hover {
  background-color: var(--charcoal);
  color: var(--sand-light);
  border-color: var(--charcoal);
}

.btn-cart.added {
  background-color: var(--sage);
  color: #fff;
  border-color: var(--sage);
  pointer-events: none;
}

/* Cart toast */
.cart-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--sand-light);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 100px;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.btn-sm {
  padding: 12px 28px;
  font-size: 0.78rem;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.5s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo-wordmark {
  color: var(--charcoal);
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.logo:hover .logo-wordmark {
  opacity: 0.7;
}

.nav-desktop {
  display: flex;
  gap: 0;
  position: relative;
  background: rgba(26, 26, 26, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--charcoal-soft);
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 22px;
  border-radius: 999px;
  z-index: 1;
}

.nav-desktop a:hover {
  color: var(--charcoal);
}

.nav-desktop a.active {
  color: var(--charcoal);
}

/* Tubelight sliding indicator */
.nav-indicator {
  position: absolute;
  top: 3px;
  left: 0;
  height: calc(100% - 6px);
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.05);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

/* Tubelight glow on top */
.nav-indicator::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 3px 3px 0 0;
}

/* Soft glow bloom */
.nav-indicator::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: var(--terracotta-light);
  opacity: 0.35;
  border-radius: 50%;
  filter: blur(6px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  opacity: 0.7;
  transition: opacity 0.3s ease;
  position: relative;
}

.cart-btn:hover {
  opacity: 1;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-badge.visible {
  opacity: 1;
  transform: scale(1);
}

.cart-badge.bump {
  animation: badge-bump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badge-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  padding: 4px 0;
}

.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  background-color: var(--charcoal);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 40px 30px;
  gap: 20px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--charcoal-soft);
  transition: color 0.3s ease;
}

.nav-mobile a:hover {
  color: var(--charcoal);
}

/* --- Hero --- */
.hero {
  padding: 180px 40px 120px;
  max-width: 1400px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

main {
  position: relative;
  z-index: 1;
}

/* Hero wrapper covers the fixed banner, fades out at bottom */
.hero-reveal {
  height: 250vh;
  position: relative;
}


.hero-wrapper {
  background: linear-gradient(
    to bottom,
    #1a1410 0%,
    #1a1410 70%,
    transparent 100%
  );
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 2;
}

.hero-darkness {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse 60% 50% at 65% 45%,
    transparent 0%,
    rgba(20, 16, 12, 0.6) 50%,
    rgba(20, 16, 12, 0.92) 100%
  );
  z-index: 3;
  pointer-events: none;
}


/* Transparent gap where the fixed banner shows through */
.parallax-gap {
  height: 80vh;
  position: relative;
}

/* Collection fades in over the banner */
.collection::before {
  content: '';
  position: absolute;
  top: -400px;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(to top, var(--sand), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--cream);
}

.hero-subline {
  font-size: 1.1rem;
  color: rgba(255, 252, 248, 0.7);
  max-width: 420px;
  margin-bottom: 44px;
  line-height: 1.9;
}

.hero-image {
  position: relative;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-active: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Outer glow shadow for hero image (on parent, not ::after, to avoid overflow clip) */
.hero-image {
  box-shadow:
    0 0 20px rgba(196, 114, 78, calc(0.3 * var(--glow-active))),
    0 0 40px rgba(212, 165, 116, calc(0.15 * var(--glow-active)));
  transition: box-shadow 0.4s ease;
}

.hero .btn-primary {
  background-color: var(--cream);
  color: var(--charcoal);
}

/* --- Collection --- */
.collection {
  padding: 120px 0 140px;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-light) 100%);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.section-header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 60px;
}

.product-scroll-wrapper {
  position: relative;
}

.product-scroll {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 320px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-active: 0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 60px rgba(26, 26, 26, 0.06),
    0 0 20px rgba(196, 114, 78, calc(0.3 * var(--glow-active))),
    0 0 40px rgba(212, 165, 116, calc(0.15 * var(--glow-active)));
}

/* Soft glow effect (no hard border) */
.glow-border {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: 10;
  opacity: var(--glow-active);
  transition: opacity 0.4s ease;
  background:
    radial-gradient(
      300px circle at var(--glow-x) var(--glow-y),
      rgba(196, 114, 78, 0.12),
      rgba(212, 165, 116, 0.06) 40%,
      transparent 70%
    );
}

/* Outer glow shadow (on parent via calc, not ::after, to avoid overflow clip) */
.product-card {
  box-shadow:
    0 0 20px rgba(196, 114, 78, calc(0.3 * var(--glow-active))),
    0 0 40px rgba(212, 165, 116, calc(0.15 * var(--glow-active)));
}

.product-card:first-child {
  margin-left: 40px;
}

.product-card:last-child {
  margin-right: 40px;
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(255,255,255,0.15) 0%, transparent 70%);
}


.product-info {
  padding: 24px 24px 28px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.product-notes {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-weight {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
}


/* --- Story --- */
.story {
  padding: 140px 40px;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--sand) 100%);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.story-text p {
  color: var(--charcoal-soft);
  margin-bottom: 20px;
  max-width: 520px;
}

.story-text p:last-of-type {
  margin-bottom: 0;
}

.story-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

/* --- Reviews --- */
.reviews {
  padding: 120px 40px 140px;
  background: var(--sand);
  position: relative;
  z-index: 2;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-quote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8;
  color: var(--charcoal-soft);
  margin-bottom: 28px;
}

.review-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.review-name {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.review-product {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: 100px 24px 120px;
  }
}

/* --- Craft & Ingredients --- */
.craft {
  padding: 140px 40px;
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--sand) 0%,
    rgba(245, 240, 235, 0.82) 20%,
    rgba(245, 240, 235, 0.82) 80%,
    var(--sand) 100%
  );
}

.craft-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ingredient-list li {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.ingredient-list li:first-child {
  padding-top: 0;
}

.ingredient-nevers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ingredient-nevers span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.craft-process h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 32px;
}

.craft-process p {
  font-size: 1rem;
  color: var(--charcoal-soft);
  line-height: 1.9;
  margin-bottom: 20px;
}

.craft-process p:last-child {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 0;
}

/* --- Press --- */
.press {
  padding: 100px 40px;
  background: var(--sand);
  position: relative;
  z-index: 2;
}

.press::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--sand), transparent);
  pointer-events: none;
  z-index: 2;
}

.press-inner {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.press-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.press-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.press-name:hover {
  opacity: 1;
}

/* --- Journal --- */
.journal {
  padding: 120px 40px 140px;
  background: var(--sand);
  position: relative;
  z-index: 2;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.journal-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 26, 26, 0.06);
}

.journal-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.journal-card:hover .journal-card-image img {
  transform: scale(1.04);
}

.journal-card-body {
  padding: 28px 28px 32px;
}

.journal-date {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.journal-title {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 12px;
}

.journal-excerpt {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}

.journal-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  transition: color 0.3s ease;
}

.journal-card:hover .journal-link {
  color: var(--terracotta-light);
}

@media (max-width: 1024px) {
  .journal-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .journal {
    padding: 100px 24px 120px;
  }
}

/* --- Product Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--cream);
  border-radius: var(--radius-xl);
  max-width: 840px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
}

.modal-overlay.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: var(--muted);
  z-index: 10;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--charcoal);
}

.modal-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.modal-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.modal-name {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 8px;
}

.modal-notes {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.modal-weight {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.modal-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.modal-story {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  line-height: 1.9;
  margin-bottom: 32px;
}

.modal-cart-btn {
  align-self: flex-start;
  width: auto;
  padding: 14px 36px;
}

@media (max-width: 768px) {
  .modal-overlay {
    padding: 20px;
    align-items: flex-end;
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }

  .modal-image {
    min-height: 250px;
    max-height: 40vh;
  }

  .modal-details {
    padding: 32px 24px;
  }
}

/* --- Newsletter --- */
.newsletter {
  padding: 120px 40px;
  background: var(--sand-dark);
  text-align: center;
  position: relative;
  z-index: 2;
}

.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  margin-bottom: 16px;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  line-height: 1.8;
  margin-bottom: 36px;
}

.newsletter-form {
  margin: 0 auto;
}

.newsletter-input-wrap {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.newsletter-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--cream);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--terracotta-light);
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-success {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--sage);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.newsletter-success.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .newsletter {
    padding: 100px 24px;
  }

  .newsletter-input-wrap {
    flex-direction: column;
  }
}

/* --- Parallax Banner --- */
.parallax-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--charcoal);
  opacity: 0;
}

.banner-logo svg {
  filter: drop-shadow(0 0 0px rgba(255,255,255,0));
  transition: filter 0.3s ease;
}

.parallax-banner .banner-fade-top,
.parallax-banner .banner-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  z-index: 1;
  pointer-events: none;
}

.parallax-banner .banner-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--sand), transparent);
}

.parallax-banner .banner-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--sand), transparent);
}

/* --- Sticky CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(245, 240, 235, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  position: relative;
}

.sticky-cta-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--charcoal-soft);
}

.sticky-cta-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--muted);
  margin: 0 16px;
  vertical-align: middle;
  opacity: 0.4;
}

/* --- Flame video in header --- */
.logo-flame {
  position: relative;
  width: 24px;
  height: 50px;
  margin-right: 2px;
  pointer-events: none;
  overflow: visible;
  flex-shrink: 0;
  visibility: hidden;
}

.logo-flame.visible {
  visibility: visible;
}

.logo-flame .flame-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.4) contrast(1.2);
  opacity: 0;
  -webkit-mask-image: radial-gradient(
    ellipse 50% 55% at 50% 50%,
    black 0%,
    black 60%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 55% at 50% 50%,
    black 0%,
    black 60%,
    transparent 100%
  );
}

/* --- Footer --- */
.site-footer {
  background: var(--sand-dark);
  padding: 80px 40px 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.logo-footer {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--charcoal-soft);
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav-btn:hover {
  color: var(--charcoal);
}

.footer-nav-btn {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--charcoal-soft);
  transition: color 0.3s ease;
  text-align: left;
  padding: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.footer-email {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--charcoal-soft);
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--charcoal);
}

.footer-social {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-social:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* --- Journal Modal --- */
.journal-modal-overlay {
  align-items: flex-start;
  overflow-y: auto;
}

.journal-modal-content {
  background: var(--cream);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  margin: auto;
  box-shadow: 0 25px 80px rgba(26, 26, 26, 0.2), 0 0 0 1px rgba(26, 26, 26, 0.05);
}

.journal-modal-overlay.open .journal-modal-content {
  transform: translateY(0) scale(1);
}

.journal-modal-hero {
  width: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.journal-modal-body {
  padding: 40px 48px 48px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.journal-modal-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 28px;
  line-height: 1.25;
}

.journal-modal-text p {
  font-size: 1rem;
  color: var(--charcoal-soft);
  line-height: 1.9;
  margin-bottom: 20px;
}

.journal-modal-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .journal-modal-content {
    border-radius: var(--radius-lg);
  }

  .journal-modal-hero {
    height: 200px;
  }

  .journal-modal-body {
    padding: 28px 24px 32px;
  }
}

/* --- Cart Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.3);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  background: var(--cream);
  z-index: 2101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(26, 26, 26, 0.08);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  font-size: 1.3rem;
  font-weight: 300;
}

.cart-drawer-close {
  font-size: 1.6rem;
  color: var(--charcoal-soft);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.cart-drawer-close:hover {
  background: rgba(26, 26, 26, 0.06);
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-drawer-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  transition: all 0.2s ease;
}

.cart-item-qty button:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.cart-item-qty span {
  font-size: 0.85rem;
  min-width: 16px;
  text-align: center;
}

.cart-drawer-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
}

.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.cart-drawer-checkout {
  width: 100%;
  text-align: center;
}

/* --- Cookie Consent --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.hiding {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  line-height: 1.6;
  flex: 1;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-decline {
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--charcoal-soft);
  background: transparent;
  transition: all 0.3s ease;
}

.cookie-decline:hover {
  border-color: var(--charcoal-soft);
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
    gap: 16px;
  }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .parallax-gap {
    height: 60vh;
  }

  .hero {
    padding: 140px 40px 100px;
    min-height: auto;
  }

  .story-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .craft-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-contact {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 16px 24px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-mobile {
    padding: 0 24px 24px;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .hero-subline {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .section-header {
    padding: 0 24px;
    margin-bottom: 40px;
  }

  .product-card {
    flex: 0 0 280px;
  }

  .product-card:first-child {
    margin-left: 24px;
  }

  .story {
    padding: 100px 24px;
  }

  .craft {
    padding: 100px 24px;
  }


  .sticky-cta-inner {
    padding: 14px 24px;
  }

  .sticky-cta-text {
    font-size: 0.85rem;
  }

  .site-footer {
    padding: 60px 24px 32px;
  }

  .collection {
    padding: 100px 0 120px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.2rem;
  }

  .product-card {
    flex: 0 0 260px;
  }

  .craft {
    padding: 80px 20px;
  }

  .btn {
    padding: 14px 32px;
    font-size: 0.8rem;
  }
}
