/* =========================================================
   Ember & Wick: styles
   Mobile-first. Blush and cream, wine accents, warm, calm.
   ========================================================= */

/* Root tokens are the DARK context: header, hero, mobile menu, footer and the
   floating button sit on deep wine with cream text. Every content section
   switches to the light context further down. */
:root {
  --bg: #3E0C14;          /* deep wine */
  --bg-alt: #F1DEDC;      /* blush: #8B1E2D at ~12% over cream */
  --footer: #3E0C14;
  --cream: #F6EDE3;       /* text on wine */
  --text-soft: rgba(246, 237, 227, 0.92);
  --muted: #E3C9C4;
  --gold: #C9A876;        /* lines, borders, icons, button hover fills */
  --gold-text: #DCC197;   /* same gold, lifted a touch for small text on wine */
  --on-gold: #3E0C14;     /* text sitting on a gold fill */
  --label: #C9A876;       /* small section labels */
  --warm-tone: sepia(0.08) saturate(0.96) brightness(1.01);  /* one gentle grade for every photo */
  --gold-line: rgba(201, 168, 118, 0.45);
  --gold-faint: rgba(201, 168, 118, 0.26);
  --cream-line: rgba(246, 237, 227, 0.42);

  /* Light sections */
  --red: #8B1E2D;
  --blush: #F1DEDC;
  --light-bg: #F6EEE6;
  --ink: #3E0C14;         /* text on blush and cream */
  --ink-muted: #7A5A58;   /* muted text on cream */
  --blush-muted: #7A4A4E; /* muted text on blush */
  --gold-deep: #7A5C30;   /* gold that stays readable on light backgrounds */

  --font: "Jost", "Century Gothic", "Futura", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 0.9s;

  --gutter: 22px;
  --header-h: 72px;
  --section-pad: 76px;

  /* Section blends: each colour fades into a warm rose midpoint, then into the next.
     --blend is half of the total fade (one half sits in each neighbouring section). */
  --blend: 52px;
  --blend-mid: #F4E6E1;   /* halfway between blush and cream */
  --rose: #C98A86;        /* warm midpoint when fading into deep wine */
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 84px; --section-pad: 104px; --blend: 64px; }
  html { font-size: 112.5%; }   /* 18px body from tablet up */
}
@media (min-width: 1200px) {
  :root { --gutter: 56px; --section-pad: 128px; --blend: 80px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  font-size: 106.25%;   /* 17px body on phones */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 1px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fine paper grain over everything, so the flat colours feel rich */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; color: var(--cream); }

h1, h2, h3 {
  margin: 0;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

h2 {
  font-size: clamp(34px, 4vw + 18px, 48px);
  letter-spacing: 0.07em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cream);
  color: var(--bg);
  font-size: 0.8rem;
  transition: top 0.3s;
}
.skip-link:focus { top: 16px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 880px; }

.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--bg-alt); }

/* ---------- Section colours ----------
   Two light backgrounds alternate down the page:
   blush (#F1DEDC, a whisper of cherry red over cream) and cream (#F6EEE6).
   Both use deep wine text; buttons are solid cherry red. */
.section,
.gifts {
  --sec: var(--blush);
  --cream: var(--ink);
  --text-soft: rgba(62, 12, 20, 0.9);
  --muted: var(--blush-muted);
  --gold-text: var(--gold-deep);
  --label: var(--gold-deep);                 /* #C9A876 is too pale to read on light backgrounds */
  --on-gold: var(--ink);                     /* gold hover fills keep wine text */
  --gold-line: rgba(139, 30, 45, 0.38);      /* red borders: tiles, arrows, options, Till box */
  --gold-faint: rgba(139, 30, 45, 0.16);     /* red hairline dividers */
  --cream-line: var(--red);                  /* button borders */
  color: var(--ink);
}
/* The gifts banner falls on a cream step in the alternation */
.section--light,
.gifts {
  --sec: var(--light-bg);
  --muted: var(--ink-muted);
}
.site-footer { --sec: var(--footer); }

.section:not(.section--light) { background: var(--blush); }

/* Candlelight at the edges of cream sections: a faint red warmth from each
   side, gone by ~18% of the width (narrower and softer on phones) */
.section--light,
.gifts {
  background:
    radial-gradient(ellipse 7% 42% at 0% 50%, rgba(139, 30, 45, 0.09) 0%, rgba(139, 30, 45, 0) 100%),
    radial-gradient(ellipse 7% 42% at 100% 50%, rgba(139, 30, 45, 0.09) 0%, rgba(139, 30, 45, 0) 100%),
    var(--light-bg);
}
@media (min-width: 900px) {
  .section--light,
  .gifts {
    background:
      radial-gradient(ellipse 18% 48% at 0% 50%, rgba(139, 30, 45, 0.14) 0%, rgba(139, 30, 45, 0) 100%),
      radial-gradient(ellipse 18% 48% at 100% 50%, rgba(139, 30, 45, 0.14) 0%, rgba(139, 30, 45, 0) 100%),
      var(--light-bg);
  }
}

/* ---------- Seamless section blends ----------
   Every band knows its own colour (--sec). Its top fades in from a shared
   midpoint and its bottom fades out to it, so neighbours meet on the exact
   same colour with no seam. Blends sit inside the padding, under the content. */
.section,
.gifts,
.site-footer {
  position: relative;
  isolation: isolate;
}

.section::before,
.section::after,
.gifts::before,
.gifts::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--blend);
  pointer-events: none;
  z-index: 0;
}
/* Fading from transparent (not from the flat colour) lets the edge glow on
   cream sections dissolve into the blend instead of stopping on a line */
.section::before,
.gifts::before {
  top: 0;
  background: linear-gradient(180deg, var(--blend-mid) 0%, rgba(244, 230, 225, 0) 100%);
}
.section::after,
.gifts::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(244, 230, 225, 0) 0%, var(--blend-mid) 100%);
}
/* The gift photo runs edge to edge, so its blends sit over the image and
   fade to transparent: the photo shows through instead of a flat band */
.gifts::before,
.gifts::after { z-index: 2; }
.gifts::before {
  background: linear-gradient(180deg,
    var(--blend-mid) 0%,
    rgba(244, 230, 225, 0.62) 30%,
    rgba(244, 230, 225, 0.24) 65%,
    rgba(244, 230, 225, 0) 100%);
}
.gifts::after {
  background: linear-gradient(180deg,
    rgba(244, 230, 225, 0) 0%,
    rgba(244, 230, 225, 0.24) 35%,
    rgba(244, 230, 225, 0.62) 70%,
    var(--blend-mid) 100%);
}

/* Light page into the deep wine footer: a taller fade through warm rose,
   so the change from pale to dark never turns grey or muddy */
.site-footer::before {
  top: 0;
  height: calc(var(--blend) * 1.7);
  background: linear-gradient(180deg,
    var(--blend-mid) 0%,
    #E6C2BC 22%,
    var(--rose) 45%,
    #8E4148 72%,
    var(--footer) 100%);
}

.section > *,
.site-footer > * { position: relative; z-index: 1; }

/* ---------- Components on light sections ---------- */
.section ::selection,
.gifts ::selection { background: var(--ink); color: var(--light-bg); }
.section .split-media { background: #EFE3D9; }
.section .hairline { opacity: 0.9; }
.section .option:hover .option-box { border-color: var(--gold); }
.section .option input:checked + .option-box { border-color: var(--red); }
.section .faq-icon::before,
.section .faq-icon::after { background: var(--red); }
.section .faq-q:hover .faq-icon::before,
.section .faq-q:hover .faq-icon::after { background: var(--gold); }

/* Solid cherry buttons with cream text; gold slides in on hover */
.section .btn,
.gifts .btn {
  background: var(--red);
  border-color: var(--red);
  color: #F6EDE3;
}
.section .btn:hover,
.section .btn:focus-visible,
.gifts .btn:hover,
.gifts .btn:focus-visible {
  border-color: var(--gold);
  color: var(--ink);
}
.section .btn.is-copied { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
@media (min-width: 768px) { .section-head { margin-bottom: 80px; } }
.section-head .label { margin-bottom: 20px; }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .section-head--split { margin-bottom: 56px; } }

/* ---------- Type helpers ---------- */
.label,
.small-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--label);
  line-height: 1.6;
}
.label { font-weight: 500; }
.small-label { color: var(--muted); letter-spacing: 0.26em; margin-bottom: 14px; }

/* Short thin gold line under each main heading */
.hairline {
  display: block;
  width: 44px;
  height: 1px;
  margin: 30px auto 0;
  background: #C9A876;
  opacity: 0.85;
}
.hairline--left { margin: 26px 0 32px; }
.hairline--tight { margin: 22px 0 4px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 32px;
  border: 1px solid var(--cream-line);
  color: var(--cream);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  text-align: center;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
/* The gold fills in slowly from the left */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover,
.btn:focus-visible {
  border-color: var(--gold);
  color: var(--on-gold);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); }
.btn--light { border-color: rgba(246, 237, 227, 0.6); }
.btn--small { min-height: 48px; padding: 12px 20px; font-size: 14px; letter-spacing: 0.18em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.8s var(--ease), border-color 0.8s var(--ease);
}
/* No backdrop-filter here: it would trap the fixed mobile menu inside the header */
.site-header.is-solid {
  background: rgba(62, 12, 20, 0.96);
  border-bottom-color: var(--gold-faint);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  white-space: nowrap;
  color: var(--cream);
}
.logo span { color: var(--gold-text); }
@media (min-width: 768px) { .logo { font-size: 1.05rem; letter-spacing: 0.42em; } }

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  transition: color 0.6s var(--ease);
}
.icon-link:hover { color: var(--gold); }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.6s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu: full-screen veil */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 44px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s var(--ease), visibility 0s;
}
.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.nav-list a {
  display: inline-block;
  padding: 4px 0;
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.6s var(--ease);
}
.nav-list a:hover { color: var(--gold-text); }

@media (min-width: 1100px) {
  .menu-toggle,
  .nav-whatsapp-mobile { display: none; }

  .nav {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav-list { flex-direction: row; gap: 28px; }
  .nav-list a {
    position: relative;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.22em;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s var(--ease);
  }
  .nav-list a:hover::after { transform: scaleX(1); }
  .nav-list a:hover { color: var(--cream); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3E0C14;
}

.hero-slides,
.hero-overlay { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.6s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  will-change: transform;
  filter: var(--warm-tone);
}
/* Ken Burns: a slow, gentle push in. Each slide drifts from a different side. */
.hero-slide.is-zooming img {
  transform: scale(1.09);
  transition: transform 10s linear;
}
.hero-slide:nth-child(1) img { transform-origin: 50% 45%; object-position: 50% 50%; }
.hero-slide:nth-child(2) img { transform-origin: 70% 60%; object-position: 62% 50%; }
.hero-slide:nth-child(3) img { transform-origin: 40% 40%; object-position: 50% 50%; }

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(62, 12, 20, 0.45) 0%, rgba(62, 12, 20, 0.1) 28%, rgba(62, 12, 20, 0.22) 58%, rgba(62, 12, 20, 0.72) 100%),
    radial-gradient(ellipse at center, rgba(62, 12, 20, 0.3) 0%, rgba(62, 12, 20, 0.34) 45%, rgba(62, 12, 20, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 var(--gutter);
  text-align: center;
}
.hero-title {
  margin: 22px 0 22px;
  font-size: clamp(44px, 5.2vw + 24px, 72px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-text {
  max-width: 440px;
  margin: 0 auto 40px;
  color: rgba(246, 237, 227, 0.92);
  font-size: 1.02rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 18px rgba(62, 12, 20, 0.55);
}
@media (min-width: 768px) { .hero-text { font-size: 1.12rem; max-width: 520px; } }

.hero-anim {
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 1.8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Hero melts into the rose midpoint, which the cream section below picks up */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: calc(var(--blend) * 1.8);
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(201, 138, 134, 0) 0%,
    rgba(201, 138, 134, 0.35) 45%,
    rgba(201, 138, 134, 0.8) 78%,
    var(--blend-mid) 100%);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(var(--blend) * 1.8 + 14px);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 44px;
  height: 24px;
  display: flex;
  align-items: center;
}
.hero-dot span {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(246, 237, 227, 0.34);
  overflow: hidden;
}
.hero-dot span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.is-active span::after {
  animation: dotFill var(--hero-interval, 7s) linear forwards;
}
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .scent-tile.reveal {
  transition: background-color 0.4s var(--ease), background-size 0.4s var(--ease), opacity 1s var(--ease) var(--rd, 0s), transform 1s var(--ease) var(--rd, 0s);
}
/* Candle cards rise in one after another when the collection appears */
.js .carousel.reveal { opacity: 1; transform: none; }
.js .carousel.reveal .product-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.js .carousel.reveal.is-visible .product-card { opacity: 1; transform: none; }

/* ---------- Shop by scent ---------- */
.scent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 960px) { .scent-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

/* Gold corner accents: eight 1px gold strokes (two per corner) drawn as
   background layers over a faint gold border. Hover lengthens them 24px → 36px. */
.scent-tile {
  --corner: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 210px;
  padding: 34px 18px;
  border: 1px solid rgba(201, 168, 118, 0.25);
  background-color: transparent;
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-origin: border-box;
  background-position:
    left top, left top,
    right top, right top,
    left bottom, left bottom,
    right bottom, right bottom;
  background-size:
    24px 1px, 1px 24px,
    24px 1px, 1px 24px,
    24px 1px, 1px 24px,
    24px 1px, 1px 24px;
  text-align: center;
  transition: background-color 0.4s var(--ease), background-size 0.4s var(--ease), opacity 1s var(--ease), transform 1s var(--ease);
}
@media (min-width: 768px) { .scent-tile { min-height: 248px; padding: 44px 30px; gap: 12px; } }

.scent-tile:hover,
.scent-tile:focus-visible,
.scent-tile[aria-pressed="true"] {
  background-color: #EBD0CD;   /* a slightly deeper blush */
  background-size:
    36px 1px, 1px 36px,
    36px 1px, 1px 36px,
    36px 1px, 1px 36px,
    36px 1px, 1px 36px;
}

/* Selected scent: a short gold line under the description */
.scent-tile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.6s var(--ease);
}
.scent-tile[aria-pressed="true"]::after { transform: translateX(-50%) scaleX(1); }

.scent-num {
  color: var(--label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  padding-left: 0.3em;   /* balance trailing letter-spacing */
  line-height: 1;
}

.scent-name {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.5;
}
@media (min-width: 768px) { .scent-name { font-size: 0.95rem; } }
.scent-desc {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .scent-desc { font-size: 0.9rem; } }

/* ---------- Candle carousel ---------- */
.filter-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.filter-clear {
  color: var(--gold-text);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-line);
  padding: 6px 0 2px;
}
.filter-clear[hidden] { display: none; }

.carousel-controls { display: flex; gap: 10px; flex: none; }
.carousel-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-line);
  transition: border-color 0.8s var(--ease), color 0.8s var(--ease), opacity 0.6s;
}
.carousel-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.1; }
.carousel-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.carousel-btn:disabled { opacity: 0.3; cursor: default; }

.carousel { position: relative; }
.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -2px; }

/* Line the track up with the container on wide screens */
@media (min-width: 1280px) {
  .carousel-track {
    padding-left: calc((100vw - 1280px) / 2 + var(--gutter));
    padding-right: calc((100vw - 1280px) / 2 + var(--gutter));
    scroll-padding-left: calc((100vw - 1280px) / 2 + var(--gutter));
  }
}

.product-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
@media (min-width: 600px) { .product-card { flex-basis: calc((100% - 18px) / 2 - 40px); } }
@media (min-width: 768px) { .carousel-track { gap: 28px; } }
@media (min-width: 1024px) { .product-card { flex-basis: calc((min(100vw, 1280px) - 2 * var(--gutter) - 56px) / 3); } }

.product-card.is-hidden { display: none; }
.product-card.is-entering { animation: cardIn 1.2s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-alt);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--warm-tone);
  transition: transform 0.6s var(--ease), opacity 1.2s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  background: rgba(62, 12, 20, 0.78);
  color: #DCC197;   /* sits on its own dark chip */
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 0 0;
}
.product-name {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: none;
}
.product-notes {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  margin-top: auto;
}
.meta-size { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; }
.meta-price { font-size: 18px; letter-spacing: 0.06em; }
.product-card .btn { width: 100%; }

.carousel-progress {
  position: relative;
  height: 1px;
  margin-top: 44px;
  background: var(--gold-faint);
  overflow: hidden;
}
.carousel-progress span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background: var(--gold);
  opacity: 0.7;
  transition: transform 0.8s var(--ease), width 0.8s var(--ease);
}

.noscript-note { color: var(--muted); }

/* ---------- Split sections (diffuser, story, workshop) ---------- */
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse .split-media { order: 2; }
}
@media (min-width: 1200px) { .split { gap: 120px; } }

.split-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: var(--bg-alt);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--warm-tone);
  transition: transform 2.6s var(--ease);
}
.split-media:hover img { transform: scale(1.03); }

.split-text { max-width: 540px; }
/* Comfortable reading measure: about 60 characters a line */
.split-text > p,
.gifts-inner > p,
.faq-a p { max-width: 60ch; }
.split-text > p:not(.label):not(.signature) { color: var(--text-soft); }
.split-text h2 { margin-top: 18px; }
.split-text .btn { margin-top: 12px; }

.signature {
  margin-top: 28px;
  color: var(--gold-text);
  font-weight: 300;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* Diffuser scent options */
.scent-options {
  border: 0;
  margin: 32px 0 8px;
  padding: 0;
  min-width: 0;
}
.scent-options legend { padding: 0; }
.options { display: grid; gap: 10px; }

.option {
  position: relative;
  display: block;
  cursor: pointer;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 16px;
  padding: 14px 18px;
  border: 1px solid var(--gold-faint);
  transition: border-color 0.8s var(--ease), background-color 0.8s var(--ease);
}
.option:hover .option-box { border-color: var(--gold-line); }
.option input:checked + .option-box { border-color: var(--gold); }
.option input:focus-visible + .option-box { outline: 1px solid var(--gold); outline-offset: 3px; }
.option-name { font-size: 0.95rem; letter-spacing: 0.08em; }
.option-notes { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.05em; }

.split-text .product-meta { margin: 24px 0 20px; }

/* Workshop details */
.detail-list {
  margin: 8px 0 28px;
  border-top: 1px solid var(--gold-faint);
}
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gold-faint);
  font-size: 0.92rem;
  text-align: right;
}
.detail-list span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: left;
  padding-top: 3px;
}

/* ---------- Gifts banner ---------- */
.gifts {
  position: relative;
  display: grid;
  overflow: hidden;
}
.gifts-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 78vh;
  width: 100%;
}
.gifts-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: var(--warm-tone);
}
.gifts-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 238, 230, 0) 55%, rgba(246, 238, 230, 0.7) 82%, rgba(246, 238, 230, 1) 100%);
}
.gifts-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  margin-top: -56px;
  padding: 0 var(--gutter) var(--section-pad);
}
.gifts-inner { max-width: 520px; }
.gifts-inner p:not(.label) { color: var(--text-soft); }
.gifts-inner h2 { margin-top: 18px; }
.gifts-inner .btn { margin-top: 12px; }

@media (min-width: 900px) {
  .gifts {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
  .gifts-media {
    order: 2;
    aspect-ratio: auto;
    max-height: none;
    min-height: 720px;
  }
  .gifts-media::after {
    background: linear-gradient(90deg, rgba(246, 238, 230, 1) 0%, rgba(246, 238, 230, 0.25) 22%, rgba(246, 238, 230, 0) 50%);
  }
  .gifts-text {
    align-items: center;
    justify-content: flex-end;
    margin-top: 0;
    padding: var(--section-pad) 80px var(--section-pad) var(--gutter);
  }
}
@media (min-width: 1280px) {
  .gifts-text { padding-right: 120px; }
}

/* ---------- Candle care ---------- */
.care-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gold-faint);
}
@media (min-width: 640px) { .care-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .care-grid { grid-template-columns: repeat(4, 1fr); border-top: 0; } }

.care-item {
  padding: 34px 0;
  border-bottom: 1px solid var(--gold-faint);
}
@media (min-width: 640px) {
  .care-item { padding: 40px 28px 40px 0; }
  .care-item:nth-child(even) { padding: 40px 0 40px 28px; border-left: 1px solid var(--gold-faint); }
}
@media (min-width: 1024px) {
  .care-item,
  .care-item:nth-child(even) {
    padding: 8px 32px 8px;
    border-bottom: 0;
    border-left: 1px solid var(--gold-faint);
  }
  .care-item:first-child { border-left: 0; padding-left: 0; }
}

.care-num {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-text);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
}
.care-item h3 { margin-bottom: 12px; font-size: 0.95rem; }
.care-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- How to order ---------- */
.steps {
  display: grid;
  gap: 48px;
  margin-bottom: 72px;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 56px; margin-bottom: 96px; } }

.step { text-align: center; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--gold-text);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
.step h3 { margin-bottom: 12px; }
.step p { max-width: 320px; margin: 0 auto; color: var(--muted); font-size: 0.94rem; }

.till-box {
  display: grid;
  border: 1px solid var(--gold-line);
}
@media (min-width: 900px) { .till-box { grid-template-columns: 0.9fr 1.1fr; } }

.till-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 24px;
  text-align: center;
  border-bottom: 1px solid var(--gold-faint);
}
@media (min-width: 900px) { .till-main { border-bottom: 0; border-right: 1px solid var(--gold-faint); padding: 56px 40px; } }

.till-number {
  margin: 6px 0 28px;
  font-size: clamp(2.6rem, 12vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1.1;
  padding-left: 0.22em; /* balance trailing letter-spacing */
}
.till-copy { min-width: 210px; }
.till-copy.is-copied { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.till-steps { padding: 40px 24px; }
@media (min-width: 900px) { .till-steps { padding: 56px 52px; } }
.till-steps ol { counter-reset: mpesa; }
.till-steps li {
  position: relative;
  padding: 0 0 12px 36px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  counter-increment: mpesa;
}
.till-steps li::before {
  content: counter(mpesa, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold-text);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.delivery-note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--gold-faint); }
.faq-item { border-bottom: 1px solid var(--gold-faint); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; text-transform: none; font-weight: inherit; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.5;
  transition: color 0.7s var(--ease);
}
@media (min-width: 768px) { .faq-q { font-size: 1.12rem; padding: 30px 0; } }
.faq-q:hover { color: var(--gold-text); }

.faq-icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transition: transform 0.7s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.8s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 96px 0 calc(120px + env(safe-area-inset-bottom));
  background: var(--footer);
}
@media (min-width: 768px) { .site-footer { padding: 168px 0 56px; } }

.footer-grid {
  display: grid;
  gap: 48px;
  padding-bottom: 64px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }

.logo--footer { display: inline-block; font-size: 1.05rem; }
.footer-tagline {
  margin: 20px 0 6px;
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}
.footer-small { color: var(--muted); font-size: 0.86rem; }

.footer-links li,
.footer-contact li { margin-bottom: 6px; }
.footer-links a,
.footer-contact a {
  display: inline-block;
  padding: 3px 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 0.6s var(--ease);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-text); }

.footer-social { display: flex; gap: 8px; margin: 18px 0 0 -10px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--gold-faint);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p { margin: 0; }
.credit {
  align-self: flex-start;
  padding: 4px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--gold-faint);
  transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
}
@media (min-width: 768px) { .credit { align-self: auto; margin-right: 88px; } }
.credit:hover { color: var(--gold-text); border-color: var(--gold); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(62, 12, 20, 0.94);
  color: var(--gold);
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease), border-color 0.8s var(--ease), opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; width: 60px; height: 60px; } }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-slide { transition: opacity 0.01ms !important; }
  .hero-slide.is-zooming img { transform: none; }
  .js .reveal,
  .js .carousel.reveal .product-card { opacity: 1; transform: none; }
  .hero-anim { opacity: 1; transform: none; }
  .hero-dot.is-active span::after { transform: scaleX(1); }
}
