/* ═══════════════════════════════════════════════
   JUKYEOM — Ninth Fire Bamboo Salt
   Design system + animations
   ═══════════════════════════════════════════════ */

:root {
  --ink: #0b120e;
  --ink-2: #101a14;
  --ink-3: #16241c;
  --line: rgba(237, 228, 211, 0.1);
  --sand: #ede4d3;
  --sand-dim: rgba(237, 228, 211, 0.62);
  --sand-faint: rgba(237, 228, 211, 0.38);
  --leaf: #9ccb7b;
  --leaf-deep: #4e7a3a;
  --lavender: #c4a9e8;
  --amber: #e8b368;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--sand);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--leaf-deep); color: var(--sand); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ═══════════ OPENING — X-bamboo intro ═══════════ */
.opening {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(ellipse 85% 65% at 50% 28%, #131f18, var(--ink) 72%);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
  overflow: hidden;
}
.opening.is-done { clip-path: inset(0 0 100% 0); }
.opening__scene { position: absolute; inset: 0; perspective: 1100px; }

/* the two stalks slide in from opposite corners to form the X … */
.opening__stalks {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 76%;
  animation: bvFrontBow 1.5s var(--ease-io) 1s forwards;
}
/* … then the whole X comes at the viewer and bows forward, slightly slanted */
@keyframes bvFrontBow {
  0%   { transform: translateZ(0) rotateX(0) rotateZ(0); }
  45%  { transform: translateZ(240px) rotateX(-8deg) rotateZ(0); }
  100% { transform: translateZ(150px) rotateX(-55deg) rotateZ(-7deg) translateY(4%); }
}
.opening__stalk {
  position: absolute; left: 50%; top: 50%;
  width: clamp(64px, 11vw, 104px); height: min(72vh, 560px);
}
.opening__stalk svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.55)); }
.opening__stalk--a { animation: bvInA 0.95s var(--ease) both, bvDim 0.7s ease 3.25s forwards; }
.opening__stalk--b { animation: bvInB 0.95s var(--ease) 0.08s both, bvDim 0.7s ease 3.25s forwards; }
@keyframes bvInA {
  from { transform: translate(-50%, -50%) translate(-60vw, -60vh) rotate(32deg); opacity: 0; }
  to   { transform: translate(-50%, -50%) rotate(32deg); opacity: 1; }
}
@keyframes bvInB {
  from { transform: translate(-50%, -50%) translate(60vw, -60vh) rotate(-32deg); opacity: 0; }
  to   { transform: translate(-50%, -50%) rotate(-32deg); opacity: 1; }
}
@keyframes bvDim { to { opacity: 0.38; } }

/* purple salt pouring from the bowed X into the jar */
.opening__grains { position: absolute; inset: 0; pointer-events: none; }
.opening__grains span {
  position: absolute; left: var(--x); top: var(--y);
  width: 5px; height: 5px; border-radius: 1.5px;
  background: linear-gradient(135deg, #f0e6fb, var(--lavender));
  box-shadow: 0 0 8px rgba(196, 169, 232, 0.7);
  opacity: 0;
  animation: bvGrain var(--d) cubic-bezier(0.45, 0.05, 0.6, 1) var(--dl) 2;
}
@keyframes bvGrain {
  0%   { opacity: 0; transform: translate(0, 0) rotate(45deg) scale(1); }
  10%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--fy)) rotate(230deg) scale(0.55); }
}

.opening__jar {
  position: absolute; left: 50%; bottom: 13vh;
  transform: translateX(-50%);
  width: clamp(78px, 9vw, 100px);
  animation: bvJarIn 0.8s var(--ease) 1.85s both;
}
@keyframes bvJarIn {
  from { opacity: 0; transform: translateX(-50%) translateY(28px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.opening__fill { animation: bvFill 1.5s var(--ease-io) 2.5s forwards; }
@keyframes bvFill { to { transform: translateY(-58px); } }
.opening__jar-glow {
  position: absolute; inset: -35%;
  background: radial-gradient(circle, rgba(196, 169, 232, 0.3), transparent 62%);
  opacity: 0; animation: bvGlow 1.4s ease 2.9s forwards;
  pointer-events: none;
}
@keyframes bvGlow { to { opacity: 1; } }

.opening__brand { position: absolute; left: 0; right: 0; top: 16vh; text-align: center; pointer-events: none; }
.opening__name {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: 0.2em; text-indent: 0.2em;
}
.opening__name span {
  display: inline-block; opacity: 0; transform: translateY(30px);
  background: linear-gradient(100deg, var(--sand) 35%, var(--lavender));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: bvLetter 0.65s var(--ease) var(--ld) forwards;
}
@keyframes bvLetter { to { opacity: 1; transform: none; } }
.opening__tag {
  margin-top: 0.8rem;
  font-size: 0.72rem; letter-spacing: 0.5em; text-indent: 0.5em; text-transform: uppercase;
  color: var(--sand-faint);
  opacity: 0; animation: bvFade 0.8s ease 3.95s forwards;
}
@keyframes bvFade { to { opacity: 1; } }
.opening__skip {
  position: absolute; right: 1.6rem; bottom: 1.4rem; z-index: 2;
  color: var(--sand-faint); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 0.55rem 1.2rem;
  transition: color 0.3s, border-color 0.3s;
}
.opening__skip:hover { color: var(--sand); border-color: var(--sand-dim); }

/* ═══════════ CURSOR — one crisp crystal, zero lag ═══════════ */
.cursor-dot { display: none; }
@media (pointer: fine) {
  body.has-cursor, body.has-cursor * { cursor: none !important; }
  body.has-cursor input, body.has-cursor textarea { cursor: text !important; }
  .cursor-dot {
    display: block; position: fixed; left: 0; top: 0; z-index: 10001;
    width: 10px; height: 10px;
    background: linear-gradient(135deg, #e9ddf8, var(--lavender));
    box-shadow: 0 0 12px rgba(196, 169, 232, 0.55);
    pointer-events: none;
    transform: translate(-100px, -100px);
    transition: width 0.15s ease, height 0.15s ease, background 0.15s ease,
      box-shadow 0.15s ease, opacity 0.2s ease;
  }
  .cursor-dot.is-hover {
    width: 17px; height: 17px;
    background: linear-gradient(135deg, #dcefcd, var(--leaf));
    box-shadow: 0 0 16px rgba(156, 203, 123, 0.65);
  }
  .cursor-dot.is-hidden { opacity: 0; }
}

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--leaf-deep), var(--leaf), var(--lavender));
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: transform 0.5s var(--ease), background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(11, 18, 14, 0.72);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 0.6rem; }
.bx-mark { width: 24px; height: 24px; transition: transform 0.5s var(--ease); }
.bx-mark--lg { width: 34px; height: 34px; }
.nav__logo:hover .bx-mark { transform: rotate(180deg); }
.nav__logo-text { letter-spacing: 0.32em; font-size: 0.85rem; font-weight: 500; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sand-dim); position: relative; padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--leaf);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover { color: var(--sand); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__cart { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.nav__cart svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.nav__cart:hover svg { transform: translateY(-2px); }
.nav__cart-count {
  position: absolute; top: 1px; right: -2px;
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--leaf-deep); color: var(--sand);
  font-size: 0.65rem; font-weight: 600;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.nav__cart-count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); background: var(--leaf); } }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 7px; align-items: center; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--sand); transition: 0.35s var(--ease); }
.nav__burger.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(11, 18, 14, 0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2rem; color: var(--sand-dim);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu a:hover { color: var(--leaf); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2.1rem; border-radius: 100px;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, color 0.4s;
}
.btn__text { position: relative; z-index: 2; }
.btn--primary { background: var(--sand); color: var(--ink); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, var(--leaf), var(--leaf-deep));
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn--primary:hover { color: var(--sand); box-shadow: 0 12px 34px -12px rgba(156, 203, 123, 0.55); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line); color: var(--sand-dim); }
.btn--ghost:hover { border-color: var(--leaf); color: var(--sand); }
.btn:active { transform: scale(0.96); }

/* ═══════════ SECTION BASICS ═══════════ */
section { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 5vw, 4rem); }
.section-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--leaf); margin-bottom: 1.2rem;
}
.section-eyebrow::before { content: "— "; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.08; margin-bottom: 2rem;
}
.section-title em { font-style: italic; color: var(--lavender); }

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
.reveal {
  opacity: 0; transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: inline-block; transform: translateY(115%);
  transition: transform 1.1s var(--ease);
}
.is-loaded .reveal-line > span { transform: none; }
.hero__title .reveal-line:nth-child(1) > span { transition-delay: 0.15s; }
.hero__title .reveal-line:nth-child(2) > span { transition-delay: 0.27s; }
.hero__sub > span { transition-delay: 0.42s; }
.hero__cta > span { transition-delay: 0.56s; }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  position: relative; text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 118%, rgba(78, 122, 58, 0.22), transparent),
    radial-gradient(ellipse 45% 35% at 82% -8%, rgba(196, 169, 232, 0.1), transparent),
    var(--ink);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bamboo {
  position: absolute; bottom: 0; width: clamp(120px, 16vw, 220px); height: 92%;
  opacity: 0.5; pointer-events: none;
  will-change: transform;
}
.hero__bamboo--left { left: -1.5%; }
.hero__bamboo--right { right: -1.5%; }
.hero__bamboo svg { height: 100%; width: 100%; }
.sway { transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite alternate; }
.sway--slow { animation-duration: 10s; animation-delay: -3s; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }
.leaf { transform-origin: 0% 50%; animation: leafFlutter 5s ease-in-out infinite alternate; }
.leaf--2 { animation-delay: -1.7s; }
.leaf--3 { animation-delay: -3.1s; }
@keyframes leafFlutter { from { transform: rotate(-2deg); } to { transform: rotate(3deg); } }

.hero__content { position: relative; z-index: 2; padding: 0 1.2rem; }
.hero__eyebrow {
  font-size: 0.78rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--sand-faint); margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 1.02; letter-spacing: -0.01em;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--amber) 10%, var(--lavender) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin: 1.8rem auto 0; max-width: 560px;
  color: var(--sand-dim); font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}
.hero__cta { margin-top: 2.6rem; }
.hero__cta > span { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--sand-faint);
}
.hero__scroll-line { width: 1px; height: 52px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--leaf);
  animation: scrollDrop 1.8s var(--ease-io) infinite;
}
@keyframes scrollDrop { to { top: 110%; } }
.hero__scroll-text { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; }

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.1rem 0; overflow: hidden; background: var(--ink-2);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 30s linear infinite;
  font-size: 0.82rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sand-faint); white-space: nowrap;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ STORY ═══════════ */
.story {
  display: grid; grid-template-columns: minmax(300px, 1fr) 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%);
}
.story__sticky { position: sticky; top: 16vh; align-self: start; }
.story__dial { margin-top: 2.5rem; display: flex; align-items: center; gap: 2rem; }
.story__dial-number {
  font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5.6rem);
  line-height: 1; color: var(--amber);
  transition: color 0.6s;
}
.story__dial-number small { font-size: 0.35em; color: var(--sand-faint); }
.story__dial-temp {
  font-size: 0.85rem; letter-spacing: 0.2em; color: var(--sand-dim);
  padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 100px;
}
.story__dial-ring { position: relative; width: 84px; height: 84px; }
.story__dial-ring svg { width: 100%; height: 100%; }
#fireRing { transition: stroke-dashoffset 0.8s var(--ease); }
.story__dial-flame {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.4rem; animation: flicker 0.9s ease-in-out infinite alternate;
}
@keyframes flicker {
  from { transform: scale(0.92) rotate(-3deg); filter: brightness(0.9); }
  to { transform: scale(1.06) rotate(2deg); filter: brightness(1.15); }
}
.story__steps { display: flex; flex-direction: column; gap: clamp(3rem, 7vh, 5rem); padding: 4vh 0 20vh; }
.step {
  border-left: 1px solid var(--line);
  padding: 0.4rem 0 0.4rem clamp(1.4rem, 3vw, 2.4rem);
  position: relative;
  opacity: 0.28; filter: saturate(0.4);
  transform: translateX(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s;
}
.step.is-active { opacity: 1; transform: none; filter: none; }
.step::before {
  content: ""; position: absolute; left: -5px; top: 0.9rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 1.5px solid var(--sand-faint);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.step.is-active::before {
  background: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 16px rgba(232, 179, 104, 0.7);
}
.step__no {
  font-family: var(--serif); font-style: italic;
  color: var(--sand-faint); font-size: 0.95rem; letter-spacing: 0.1em;
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0.3rem 0 0.6rem; }
.step p { color: var(--sand-dim); max-width: 46ch; font-size: 0.95rem; }
.step__tag {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(232, 179, 104, 0.3);
  padding: 0.3rem 0.8rem; border-radius: 100px;
}

/* ═══════════ PRODUCTS ═══════════ */
.products__head { max-width: 1200px; margin: 0 auto; }
.products__filters { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 1.6rem 0 3rem; }
.chip {
  padding: 0.55rem 1.3rem; border-radius: 100px;
  border: 1px solid var(--line); color: var(--sand-dim);
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: 0.35s var(--ease);
}
.chip:hover { border-color: var(--leaf); color: var(--sand); }
.chip.is-active { background: var(--leaf-deep); border-color: var(--leaf-deep); color: var(--sand); }

.products__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.6rem;
}
.card {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2));
  padding: 1.5rem; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s, opacity 0.5s var(--ease);
  animation: cardIn 0.7s var(--ease) backwards;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(34px) scale(0.97); } }
.card:hover {
  border-color: rgba(156, 203, 123, 0.35);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}
.card.is-leaving { opacity: 0; transform: scale(0.94); }
.card__badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 3;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.32rem 0.75rem; border-radius: 100px;
  background: rgba(196, 169, 232, 0.14); color: var(--lavender);
  border: 1px solid rgba(196, 169, 232, 0.3);
}
.card__badge--fire { background: rgba(232, 179, 104, 0.12); color: var(--amber); border-color: rgba(232, 179, 104, 0.3); }
.card__art {
  height: 200px; display: grid; place-items: center;
  margin: 0.4rem 0 1.1rem;
  transition: transform 0.6s var(--ease);
}
.card:hover .card__art { transform: translateY(-7px) scale(1.04) rotate(-1.5deg); }
.card__art svg { height: 100%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45)); }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.card__sub { color: var(--sand-faint); font-size: 0.82rem; margin-top: 0.25rem; }
.card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; }
.card__price { font-size: 1.05rem; font-weight: 500; color: var(--leaf); }
.card__price s { color: var(--sand-faint); font-weight: 300; font-size: 0.85rem; margin-right: 0.5rem; }
.card__add {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 1.2rem; line-height: 1; color: var(--sand-dim);
  transition: 0.35s var(--ease);
}
.card__add:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); color: var(--sand); transform: rotate(90deg); }

/* skeletons while "backend" loads */
.skeleton {
  border-radius: 18px; border: 1px solid var(--line);
  height: 380px; position: relative; overflow: hidden;
  background: var(--ink-2);
}
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(237, 228, 211, 0.06) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
  transform: translateX(-100%);
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* fly-to-cart particle */
.fly {
  position: fixed; z-index: 1002; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--lavender));
  pointer-events: none;
  box-shadow: 0 0 16px rgba(196, 169, 232, 0.8);
}

/* ═══════════ BENEFITS ═══════════ */
.benefits { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits__inner { max-width: 1200px; margin: 0 auto; }
.benefits__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem; margin-top: 2.5rem;
}
.benefit {
  border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.7rem;
  background: linear-gradient(170deg, rgba(22, 36, 28, 0.6), transparent);
  transition: border-color 0.4s, transform 0.5s var(--ease), opacity 0.9s var(--ease);
}
.benefit:hover { border-color: rgba(196, 169, 232, 0.3); transform: translateY(-6px); }
.benefit__num {
  font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--lavender); line-height: 1;
}
.benefit h3 { font-weight: 500; font-size: 1rem; letter-spacing: 0.06em; margin: 0.9rem 0 0.5rem; }
.benefit p { color: var(--sand-dim); font-size: 0.9rem; }

/* ═══════════ VOICES ═══════════ */
.voices { text-align: center; }
.voices .section-eyebrow { text-align: center; }
.voices__slider { display: flex; align-items: center; gap: 1rem; max-width: 860px; margin: 2rem auto 0; }
.voices__viewport { overflow: hidden; flex: 1; }
.voices__track { display: flex; transition: transform 0.7s var(--ease); }
.voice { flex: 0 0 100%; padding: 1rem clamp(0.5rem, 3vw, 2rem); }
.voice__stars { color: var(--amber); letter-spacing: 0.3em; font-size: 0.85rem; }
.voice blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.45;
  margin: 1.2rem 0; color: var(--sand);
}
.voice figcaption { color: var(--sand-faint); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; }
.voices__arrow {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--line); color: var(--sand-dim);
  transition: 0.35s var(--ease); font-size: 1rem;
}
.voices__arrow:hover { border-color: var(--leaf); color: var(--sand); transform: scale(1.08); }
.voices__dots { display: flex; gap: 0.55rem; justify-content: center; margin-top: 1.6rem; }
.voices__dots button {
  width: 7px; height: 7px; border-radius: 50%; padding: 0;
  background: var(--sand-faint); transition: 0.4s var(--ease);
}
.voices__dots button.is-active { background: var(--leaf); transform: scale(1.5); }

/* ═══════════ FAQ ═══════════ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__list { margin-top: 1.5rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: 1.4rem 0.2rem; text-align: left;
  font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 500;
  color: var(--sand); transition: color 0.3s;
}
.faq__q:hover { color: var(--leaf); }
.faq__icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 1rem; transition: 0.45s var(--ease);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); border-color: var(--lavender); color: var(--lavender); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s var(--ease);
}
.faq__a p { padding: 0 0.2rem 1.5rem; color: var(--sand-dim); max-width: 62ch; }

/* ═══════════ NEWSLETTER ═══════════ */
.news { display: grid; place-items: center; }
.news__card {
  width: min(860px, 100%); text-align: center;
  border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 60% 90% at 50% -20%, rgba(196, 169, 232, 0.12), transparent),
    linear-gradient(170deg, var(--ink-3), var(--ink-2));
}
.news__card h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.news__card p { color: var(--sand-dim); margin: 0.8rem auto 1.8rem; max-width: 46ch; }
.news__form { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.news__form input {
  background: var(--ink); border: 1px solid var(--line); border-radius: 100px;
  color: var(--sand); font-family: inherit; font-size: 0.95rem;
  padding: 0.95rem 1.5rem; min-width: min(320px, 100%);
  outline: none; transition: border-color 0.3s;
}
.news__form input:focus { border-color: var(--leaf); }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--line); padding: 3.5rem clamp(1.2rem, 5vw, 4rem) 2rem; background: var(--ink-2); }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; max-width: 1200px; margin: 0 auto;
}
.footer__brand p { color: var(--sand-faint); font-size: 0.88rem; margin-top: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h4 {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sand-faint); font-weight: 500; margin-bottom: 0.4rem;
}
.footer__col a { color: var(--sand-dim); font-size: 0.9rem; transition: color 0.3s, transform 0.3s; }
.footer__col a:hover { color: var(--leaf); transform: translateX(4px); }
.footer__bottom {
  max-width: 1200px; margin: 3rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--sand-faint); font-size: 0.8rem;
}
.footer__fire em { color: var(--amber); font-style: normal; }

/* ═══════════ CART DRAWER ═══════════ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(5, 8, 6, 0.65);
  opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101;
  width: min(420px, 92vw);
  background: var(--ink-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.55s var(--ease);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}
.cart.is-open { transform: none; }
.cart__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--line);
}
.cart__head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.cart__close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: 0.3s; }
.cart__close:hover { border-color: var(--lavender); color: var(--lavender); transform: rotate(90deg); }
.cart__items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.cart__empty { text-align: center; color: var(--sand-faint); margin-top: 3rem; }
.cart__empty .bx-mark { width: 40px; height: 40px; display: block; margin: 0 auto 0.8rem; }
.cart-item {
  display: grid; grid-template-columns: 62px 1fr auto; gap: 1rem; align-items: center;
  border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem;
  animation: cardIn 0.45s var(--ease) backwards;
}
.cart-item__art { height: 62px; display: grid; place-items: center; }
.cart-item__art svg { height: 100%; }
.cart-item h4 { font-size: 0.92rem; font-weight: 500; line-height: 1.25; }
.cart-item__price { color: var(--leaf); font-size: 0.85rem; margin-top: 0.2rem; }
.cart-item__qty { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.45rem; }
.cart-item__qty button {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  font-size: 0.8rem; line-height: 1; display: grid; place-items: center; transition: 0.25s;
}
.cart-item__qty button:hover { border-color: var(--leaf); color: var(--leaf); }
.cart-item__qty span { font-size: 0.85rem; min-width: 16px; text-align: center; }
.cart-item__remove { color: var(--sand-faint); font-size: 1rem; transition: color 0.3s; align-self: start; }
.cart-item__remove:hover { color: #e88a8a; }
.cart__foot { border-top: 1px solid var(--line); padding: 1.4rem 1.6rem; }
.cart__total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1.05rem; }
.cart__total strong { color: var(--leaf); }
.cart__checkout { width: 100%; justify-content: center; }

/* ═══════════ TOASTS ═══════════ */
.toasts {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  z-index: 1200; display: flex; flex-direction: column; gap: 0.6rem; align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--ink-3); border: 1px solid rgba(156, 203, 123, 0.35);
  color: var(--sand); border-radius: 100px;
  padding: 0.8rem 1.6rem; font-size: 0.88rem;
  display: flex; gap: 0.6rem; align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.5s var(--ease), toastOut 0.4s var(--ease) 2.6s forwards;
}
.toast em { font-style: normal; color: var(--leaf); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px) scale(0.94); } }

/* ═══════════ BACK TO TOP ═══════════ */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(16, 26, 20, 0.8);
  backdrop-filter: blur(8px); color: var(--sand-dim);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: 0.45s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: var(--leaf); color: var(--leaf); transform: translateY(-3px); }

/* ═══════════ RESPONSIVE ═══════════ */
.hide-mobile { display: inline; }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .story { grid-template-columns: 1fr; }
  .story__sticky { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
  .hero__bamboo { opacity: 0.28; }
}
@media (max-width: 540px) {
  .voices__arrow { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
