/* ============================================================
   PAUSE SABLÉ — Design system
   Palette sampled from the logo: sage #A0BCAD, ink #0B150D
   ============================================================ */

:root {
  --sage: #A0BCAD;
  --sage-deep: #7E9E8C;
  --sage-dark: #5E7A6A;
  --sage-light: #D3E0D8;
  --sage-mist: #EDF2EF;
  --cream: #F6F3EC;
  --ivory: #FBFAF6;
  --sand: #EAE4D6;
  --ink: #0B150D;
  --charcoal: #1E2622;
  --stone: #6F7773;
  --line: rgba(11, 21, 13, 0.1);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1280px;
  --pad: clamp(20px, 5vw, 72px);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

::selection { background: var(--sage); color: var(--ink); }

/* Typography */
h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 400;
}
h2 em { font-style: italic; font-weight: 300; color: var(--sage-dark); }
h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
}
.label::before {
  content: ''; display: inline-block; width: 26px; height: 1px; background: currentColor;
  margin-right: 12px; vertical-align: middle; position: relative; top: -1px;
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .15s;
}
.is-in .label::before, .is-in.label::before { transform: scaleX(1); }
.label--light { color: var(--sage); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform .6s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .6s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .15s; }
.btn--dark { background: var(--ink); color: var(--cream); box-shadow: 0 10px 30px -12px rgba(11,21,13,.5); }
.btn--dark:hover { background: var(--charcoal); box-shadow: 0 18px 40px -14px rgba(11,21,13,.55); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: rgba(11,21,13,.04); }
.btn--sage { background: var(--sage); color: var(--ink); }
.btn--sage:hover { background: var(--sage-deep); }
.btn--full { width: 100%; }

.round {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, transform .4s var(--ease);
}
.round svg { width: 18px; height: 18px; }
.round:hover { background: rgba(11,21,13,.05); }
.round:active { transform: scale(.94); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500;
  margin-top: 28px;
}
.link-arrow i {
  width: 34px; height: 1px; background: var(--ink);
  position: relative; transition: width .5s var(--ease);
}
.link-arrow i::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}
.link-arrow:hover i { width: 52px; }

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: transform 1s var(--ease-io), opacity .6s;
}
.loader__mark img {
  width: 120px; height: 120px;
  opacity: 0; transform: scale(.6);
  animation: markIn 1.1s var(--ease) .15s forwards;
}
.loader__word {
  font-family: var(--serif); font-size: 22px; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em;
  opacity: 0; transform: translateY(10px);
  animation: wordIn 1.6s var(--ease) .6s forwards;
}
.loader.is-done { transform: translateY(-100%); }
.loader.is-done .loader__mark img, .loader.is-done .loader__word { opacity: 0; transition: opacity .3s; }
@keyframes markIn { to { opacity: 1; transform: scale(1); } }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); letter-spacing: .18em; padding-left: .18em; } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s, box-shadow .5s, backdrop-filter .5s;
}
.nav::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(246,243,236,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0; transition: opacity .5s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner {
  position: relative;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-scrolled .nav__inner { height: 64px; }
.nav__inner { transition: height .5s var(--ease); }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 40px; height: 40px; border-radius: 50%; transition: transform .6s var(--ease); }
.nav__brand:hover .nav__logo { transform: rotate(-12deg); }
.nav__name { font-family: var(--serif); font-size: 21px; letter-spacing: .04em; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
  position: relative; padding: 4px 0;
  opacity: .8; transition: opacity .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a, .nav__actions > *, .nav__brand { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.nav__brand { animation-delay: 1.5s; }
.nav__links a:nth-child(1) { animation-delay: 1.6s; }
.nav__links a:nth-child(2) { animation-delay: 1.68s; }
.nav__links a:nth-child(3) { animation-delay: 1.76s; }
.nav__links a:nth-child(4) { animation-delay: 1.84s; }
.nav__links a:nth-child(5) { animation-delay: 1.92s; }
.nav__actions > * { animation-delay: 2s; }
.nav__links a:hover { opacity: 1 !important; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__shop {
  font-size: 13px; font-weight: 500; height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); display: inline-flex; align-items: center;
  transition: background .3s, transform .4s var(--ease);
}
.nav__shop:hover { background: var(--charcoal); transform: translateY(-1px); }
.nav__cart {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, transform .4s var(--ease);
}
.nav__cart:hover { background: rgba(11,21,13,.05); }
.nav__cart.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } }
.nav__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--sage); color: var(--ink);
  font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center;
  transform: scale(0); transition: transform .4s var(--ease);
}
.nav__count.is-on { transform: scale(1); }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav__burger span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.nav__burger.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--pad);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease);
  pointer-events: none;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.menu a {
  font-family: var(--serif); font-size: clamp(40px, 10vw, 64px); line-height: 1.1;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(1) { transition-delay: .15s; }
.menu.is-open a:nth-child(2) { transition-delay: .2s; }
.menu.is-open a:nth-child(3) { transition-delay: .25s; }
.menu.is-open a:nth-child(4) { transition-delay: .3s; }
.menu.is-open a:nth-child(5) { transition-delay: .35s; }
.menu.is-open a:nth-child(6) { transition-delay: .4s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 140px var(--pad) 120px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__halo {
  position: absolute; left: 50%; top: 50%;
  width: 120vmin; height: 120vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(160,188,173,.45) 0%, rgba(160,188,173,.18) 35%, rgba(246,243,236,0) 65%);
  filter: blur(10px);
}
.hero__disc {
  position: absolute; left: 50%; top: 50%;
  width: clamp(280px, 46vmin, 520px); height: clamp(280px, 46vmin, 520px);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: discIn 1.8s var(--ease) 1.2s forwards;
}
.hero__disc { --sy: 0px; --ss: 1; }
.hero__disc.is-in { }
.hero__disc img {
  width: 100%; height: 100%; border-radius: 50%;
  filter: drop-shadow(0 40px 80px rgba(94,122,106,.35));
  animation: float 9s ease-in-out infinite;
}
@keyframes discIn { from { opacity: 0; transform: translate(-50%, calc(-50% + var(--sy))) scale(.85); } to { opacity: .28; transform: translate(-50%, calc(-50% + var(--sy))) scale(var(--ss)); } }
.hero__content { will-change: transform, opacity; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(2deg); } }

.hero__content { position: relative; z-index: 2; max-width: 900px; }
.hero__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  font-size: 13px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--ink);
  margin: 0 0 40px;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.3s forwards;
}
.hero__eyebrow span { padding-left: .34em; }
.hero__eyebrow::before, .hero__eyebrow::after {
  content: ''; width: 56px; height: 1px; background: var(--ink); opacity: .55;
  transform: scaleX(0); animation: lineGrow 1.4s var(--ease) 1.6s forwards;
}
.hero__eyebrow::before { transform-origin: right; }
.hero__eyebrow::after { transform-origin: left; }
@keyframes lineGrow { to { transform: scaleX(1); } }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(76px, 15vw, 190px);
  line-height: .9;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.hero__title em { font-style: italic; font-weight: 300; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__inner {
  display: block;
  transform: translateY(110%);
  animation: lineIn 1.4s var(--ease) forwards;
}
.line:nth-child(1) .line__inner { animation-delay: 1.35s; }
.line:nth-child(2) .line__inner { animation-delay: 1.5s; }
@keyframes lineIn { to { transform: translateY(0); } }
.hero__sub {
  margin-top: 36px;
  font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; color: var(--stone);
  opacity: 0; animation: fadeUp 1s var(--ease) 1.9s forwards;
}
.hero__cta {
  display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s var(--ease) 2.1s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase; color: var(--stone);
  opacity: 0; animation: fadeUp 1s var(--ease) 2.6s forwards;
}
.hero__scroll i { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--ink);
  animation: scrollHint 2s var(--ease-io) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ============================================================
   Manifeste
   ============================================================ */
.manifesto {
  padding: clamp(100px, 16vw, 220px) var(--pad);
  max-width: 1100px; margin: 0 auto;
}
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-align: center;
}
.manifesto__text .w {
  display: inline-block;
  color: var(--ink);
  opacity: .14;
  transition: opacity .5s var(--ease);
  margin-right: .26em;
}
.manifesto__text .w.is-on { opacity: 1; }

/* ============================================================
   Histoire
   ============================================================ */
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  gap: clamp(40px, 8vw, 120px);
}
.story__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.story__visual { position: relative; width: 100%; aspect-ratio: 1; max-height: 80vh; }
.story__disc {
  position: absolute; inset: 8%;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-mist);
}
.story__disc { will-change: transform; }
.story__disc img {
  width: 76%; height: 76%; border-radius: 50%;
  box-shadow: 0 40px 90px -20px rgba(94,122,106,.5), inset 0 -10px 30px rgba(0,0,0,.05);
  animation: float 11s ease-in-out infinite;
}
.story__cookie {
  position: absolute; width: 22%; aspect-ratio: 1;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.14));
  --c: #E6D2A6;
}
.story__cookie svg { width: 100%; height: 100%; }
.story__cookie--1 { left: 0; top: 14%; animation: float 8s ease-in-out infinite; --c: #E9D6AC; }
.story__cookie--2 { right: 2%; top: 22%; width: 17%; animation: float 10s ease-in-out infinite 1s; --c: #C9B589; }
.story__cookie--3 { right: 12%; bottom: 6%; width: 26%; animation: float 12s ease-in-out infinite 2s; --c: #E1C79A; }
.story__flow { padding: 20vh 0 20vh; }
.story__block { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.story__block h2 { margin-bottom: 26px; }
.story__block p { font-size: 17px; line-height: 1.75; color: var(--stone); max-width: 460px; }

/* ============================================================
   Valeurs
   ============================================================ */
.values { padding: clamp(60px, 10vw, 140px) var(--pad); }
.values__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.value {
  padding: 40px 32px;
  background: var(--ivory);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(11,21,13,.15);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.value:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -30px rgba(11,21,13,.22); }
.value svg { width: 30px; height: 30px; color: var(--sage-dark); margin-bottom: 26px; }
.value svg * { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.8s var(--ease) .35s; }
.value.is-in svg * { stroke-dashoffset: 0; }
.value h3 { font-size: 24px; margin-bottom: 10px; }
.value p { font-size: 14.5px; color: var(--stone); line-height: 1.65; }

/* ============================================================
   Sections
   ============================================================ */
.section-head { max-width: var(--container); margin: 0 auto 64px; }
.section-head p { margin-top: 22px; font-size: 17px; color: var(--stone); max-width: 560px; line-height: 1.7; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ============================================================
   Collection
   ============================================================ */
.collection { padding: clamp(80px, 12vw, 160px) var(--pad); }
.products {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.product {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--ivory);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(11,21,13,.25);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
  transform-style: preserve-3d;
}
.product:hover { box-shadow: 0 1px 0 var(--line), 0 50px 90px -40px rgba(11,21,13,.35); }
.product--wide { grid-column: span 2; }
.product__tag {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
}
.product__tag--dark { background: var(--ink); color: var(--cream); }
.product__visual {
  --mx: 50%; --my: 40%;
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 4 / 3.4;
  display: flex; align-items: center; justify-content: center;
  padding: 12%;
  background: linear-gradient(160deg, var(--sage-mist), var(--sand));
  transition: background .6s;
}
.product--wide .product__visual { aspect-ratio: auto; height: 100%; padding: 8%; }
.product__visual::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,255,255,.55), transparent 60%);
  opacity: 0; transition: opacity .6s;
}
.product:hover .product__visual::before { opacity: 1; }
.product__visual svg { position: relative; }
.product__visual svg { width: 100%; height: auto; max-height: 100%; transition: transform 1s var(--ease); filter: drop-shadow(0 30px 40px rgba(11,21,13,.18)); }
.product:hover .product__visual svg { transform: translateY(-8px) scale(1.03); }
.product__meta { padding: 26px 28px 28px; flex: 0 0 auto; }
.product__meta h3 { font-size: 27px; }
.product__meta .desc { font-size: 14px; color: var(--stone); margin-top: 6px; }
.product__row { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 12px; }
.product__price { font-family: var(--serif); font-size: 28px; }
.product__price small { font-family: var(--sans); font-size: 12px; color: var(--stone); margin-left: 4px; }
.product__add {
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .3s, transform .4s var(--ease);
}
.product__add:hover { background: var(--sage-dark); transform: translateY(-1px); }
.product__add:active { transform: scale(.96); }
.product__add.is-added { background: var(--sage); color: var(--ink); }
.product--wide { display: grid; grid-template-columns: 1.15fr 1fr; }
.product--wide .product__meta { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.product--wide .product__meta h3 { font-size: 40px; }
.product--wide .product__meta .desc { font-size: 15.5px; margin-top: 14px; line-height: 1.7; }
.product__incl { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product__incl li { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: var(--sage-mist); color: var(--sage-dark); font-weight: 500; }

/* ============================================================
   Saveurs
   ============================================================ */
.flavors { padding: clamp(60px, 10vw, 140px) 0 clamp(80px, 12vw, 160px); background: var(--ivory); overflow: hidden; }
.flavors .section-head { padding: 0 var(--pad); }
.flavors__nav { display: flex; gap: 10px; }
.flavors__track {
  display: flex; gap: 20px;
  padding: 0 max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad)));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.flavors__track::-webkit-scrollbar { display: none; }
.flavor {
  flex: 0 0 clamp(240px, 24vw, 300px);
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .8s var(--ease), background .5s;
}
.flavor:hover { transform: translateY(-6px); background: #fff; }
.flavor__cookie { width: 120px; height: 120px; margin: 0 auto 26px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.14)); transition: transform 1s var(--ease); }
.flavor .flavor__cookie { opacity: 0; transform: rotate(-70deg) translateY(24px); transition: transform 1.4s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--d, 0) * 70ms + .2s); }
.flavor.is-in .flavor__cookie { opacity: 1; transform: none; }
.flavor.is-in:hover .flavor__cookie { transform: rotate(-10deg) scale(1.05); transition-delay: 0s; }
.flavors__bar { margin: 40px max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))) 0; height: 1px; background: var(--line); }
.flavors__bar i { display: block; height: 1px; width: 100%; background: var(--ink); transform: scaleX(.2); transform-origin: left; transition: transform .3s ease-out; }
.flavor__cookie svg { width: 100%; height: 100%; }
.flavor h3 { font-size: 24px; }
.flavor p { font-size: 13.5px; color: var(--stone); margin-top: 8px; line-height: 1.6; }
.flavor .num { font-size: 11px; letter-spacing: .2em; color: var(--sage-dark); font-weight: 600; display: block; margin-bottom: 8px; }

/* ============================================================
   Savoir-faire
   ============================================================ */
.craft { padding: clamp(80px, 12vw, 160px) var(--pad); }
.craft__steps {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  --p: 0;
}
.craft__steps::before {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(var(--p)); transform-origin: left;
}
.step { padding: 44px 32px 44px 0; border-right: 1px solid var(--line); padding-left: 32px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step__num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--sage); display: block; margin-bottom: 36px; font-weight: 300; }
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: var(--stone); line-height: 1.7; }

/* ============================================================
   Bandeau
   ============================================================ */
.banner { padding: 0 var(--pad) clamp(80px, 12vw, 160px); }
.banner__inner {
  max-width: var(--container); margin: 0 auto;
  background: var(--sage);
  border-radius: 36px;
  padding: clamp(60px, 9vw, 120px) var(--pad);
  text-align: center;
  position: relative; overflow: hidden;
}
.banner__inner::before {
  content: ''; position: absolute; inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.45), transparent 45%), radial-gradient(circle at 80% 90%, rgba(11,21,13,.14), transparent 45%);
  pointer-events: none;
}
.banner__inner > * { position: relative; }
.banner__mark { position: relative; width: 200px; height: 200px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.banner__logo { border-radius: 50%; box-shadow: 0 20px 40px -12px rgba(11,21,13,.35); position: relative; }
.banner__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.banner__ring text { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; fill: rgba(11,21,13,.55); }
@keyframes spin { to { transform: rotate(360deg); } }
.banner h2 { color: var(--ink); }
.banner p { margin: 20px auto 36px; max-width: 520px; color: rgba(11,21,13,.7); font-size: 16.5px; line-height: 1.7; }
.banner .btn--sage { background: var(--ink); color: var(--cream); }
.banner .btn--sage:hover { background: var(--charcoal); }

/* ============================================================
   Boutique
   ============================================================ */
.shop { background: var(--ink); color: var(--cream); padding: clamp(90px, 13vw, 180px) var(--pad); position: relative; overflow: hidden; }
.shop::before, .shop::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.shop::before { width: 60vw; height: 60vw; left: -20vw; top: -30vw; background: radial-gradient(circle, rgba(160,188,173,.28), transparent 60%); animation: aurora 22s ease-in-out infinite alternate; }
.shop::after { width: 50vw; height: 50vw; right: -20vw; bottom: -30vw; background: radial-gradient(circle, rgba(126,158,140,.22), transparent 60%); animation: aurora 28s ease-in-out infinite alternate-reverse; }
@keyframes aurora { from { transform: translate(0, 0) scale(1); } to { transform: translate(12vw, 8vw) scale(1.25); } }
.shop__grid { position: relative; }
.shop__grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: center;
}
.shop h2 { color: var(--cream); }
.shop h2 em { color: var(--sage); }
.shop__intro p { margin-top: 24px; font-size: 17px; line-height: 1.75; color: rgba(246,243,236,.65); max-width: 520px; }
.countdown { display: flex; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
.countdown div {
  min-width: 100px; padding: 22px 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-align: center;
}
.countdown b { display: block; font-family: var(--sans); font-size: 40px; line-height: 1; font-weight: 300; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.countdown span { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-top: 8px; }
.shop__info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
.info span { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; font-weight: 600; }
.info p { font-family: var(--sans); font-size: 18px; font-weight: 400; line-height: 1.5; letter-spacing: .01em; }
.info small { font-size: 13px; color: rgba(246,243,236,.5); font-weight: 400; }
.info a { border-bottom: 1px solid rgba(246,243,236,.25); transition: border-color .3s; }
.info a:hover { border-color: var(--sage); }

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: clamp(90px, 13vw, 180px) var(--pad); text-align: center; }
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact p { margin: 22px auto 40px; font-size: 17px; color: var(--stone); line-height: 1.7; max-width: 520px; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 64px var(--pad) 32px; }
.footer__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px;
}
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { border-radius: 50%; }
.footer__brand p { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.footer__brand span { font-family: var(--sans); font-size: 13px; color: var(--stone); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-dark); font-weight: 600; margin-bottom: 6px; }
.footer__cols a { font-size: 14px; color: var(--stone); transition: color .3s; }
.footer__cols a:hover { color: var(--ink); }
.footer__bottom {
  max-width: var(--container); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--stone);
}

/* ============================================================
   Cart
   ============================================================ */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,21,13,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .5s;
}
.cart-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(460px, 100vw);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .8s var(--ease);
  box-shadow: -30px 0 80px -30px rgba(11,21,13,.3);
}
.cart.is-open { transform: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-size: 28px; }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 28px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); animation: fadeUp .5s var(--ease); }
.cart-item__visual { width: 64px; height: 64px; border-radius: 14px; background: var(--sage-mist); display: flex; align-items: center; justify-content: center; padding: 10px; }
.cart-item__visual svg { width: 100%; height: auto; }
.cart-item__name { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.cart-item__sub { font-size: 12.5px; color: var(--stone); margin-top: 2px; }
.cart-item__price { font-family: var(--serif); font-size: 20px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 2px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; font-size: 16px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.qty button:hover { background: rgba(11,21,13,.06); }
.qty b { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.cart__empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 40px; }
.cart__empty img { border-radius: 50%; opacity: .6; }
.cart__empty p { color: var(--stone); }
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items, .cart.is-empty .cart__foot { display: none; }
.cart__foot { padding: 20px 28px 28px; border-top: 1px solid var(--line); background: var(--ivory); }
.cart__fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.cart__fields label { display: flex; flex-direction: column; gap: 6px; }
.cart__fields label > span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.cart__fields input {
  font: inherit; font-size: 14px; height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.cart__fields input:focus { border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(160,188,173,.3); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: rgba(11,21,13,.05); gap: 3px; }
.seg button { height: 36px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--stone); transition: background .3s, color .3s, box-shadow .3s; }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11,21,13,.08); }
#addrWrap.is-hidden { display: none; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart__total span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.cart__total b { font-family: var(--serif); font-size: 32px; font-weight: 400; }
.cart__hint { font-size: 12px; color: var(--stone); text-align: center; margin-top: 14px; line-height: 1.5; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(11,21,13,.5);
  transition: transform .5s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--sage-dark); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: 999px; font-size: 13.5px;
  box-shadow: 0 16px 40px -10px rgba(11,21,13,.5);
  transition: transform .5s var(--ease), opacity .4s;
  pointer-events: none; white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(36px); filter: blur(10px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__disc { opacity: .28; }
  .line__inner { transform: none; }
  .hero__eyebrow, .hero__sub, .hero__cta, .hero__scroll { opacity: 1; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .craft__steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav__links, .nav__shop { display: none; }
  .nav__burger { display: flex; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story__sticky { position: relative; height: auto; padding: 40px 0 0; }
  .story__visual { max-width: 420px; margin: 0 auto; }
  .story__flow { padding: 40px 0 20px; }
  .story__block { min-height: 0; padding: 40px 0; }
  .shop__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .product--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .product--wide .product__visual { aspect-ratio: 4 / 3; }
  .product--wide .product__meta { padding: 28px; }
  .product--wide .product__meta h3 { font-size: 30px; }
}

@media (max-width: 640px) {
  .products { grid-template-columns: 1fr; }
  .product--wide { grid-column: span 1; }
  .values__grid { grid-template-columns: 1fr; }
  .craft__steps { grid-template-columns: 1fr; }
  .step { padding-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .step:first-child { border-top: 0; }
  .shop__info { grid-template-columns: 1fr; gap: 28px; }
  .countdown div { min-width: 0; flex: 1; padding: 16px 8px; }
  .countdown b { font-size: 32px; }
  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(72px, 22vw, 120px); }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .nav__name { display: none; }
  .wa-float { left: 16px; bottom: 16px; }
  .hero__eyebrow { gap: 14px; font-size: 11px; letter-spacing: .28em; }
  .hero__eyebrow::before, .hero__eyebrow::after { width: 28px; }
  .hero__sub { font-size: 16px; }
  .cart { overflow-y: auto; }
  .cart__items { flex: none; overflow: visible; }
  .cart__head { position: sticky; top: 0; background: var(--cream); z-index: 2; }
  .cart__foot { border-top: 0; }
}


/* ============================================================
   Motion additions
   ============================================================ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* Scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: var(--sage-dark); transform: scaleX(0); transform-origin: left;
  pointer-events: none;
}

/* Masked word reveal for headings */
.split .sw { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .sw__i { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); will-change: transform; }
.split.is-in .sw__i { transform: translateY(0); }

/* Loader sweep line */
.loader::after {
  content: ''; position: absolute; left: 50%; bottom: 18vh; width: 120px; height: 1px; margin-left: -60px;
  background: linear-gradient(90deg, transparent, var(--ink), transparent);
  transform: scaleX(0); animation: sweep 1.6s var(--ease-io) .5s forwards;
}
@keyframes sweep { to { transform: scaleX(1); } }

/* Marquee */
.marquee { overflow: hidden; padding: 10px 0 clamp(60px, 8vw, 100px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(28px, 4vw, 52px); color: var(--ink); opacity: .55; white-space: nowrap; }
.marquee__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Box lid lift on hover */
.box__lid { transition: transform 1s var(--ease); transform-box: fill-box; transform-origin: center; }
.box__inside { transition: transform 1s var(--ease); }
.product:hover .box__lid { transform: translateY(-22px) rotate(-1.2deg); }
.product:hover .box__inside { transform: translateY(-4px); }
.product:hover .box__shadow { opacity: .12; }

/* Flavour track drag */
.flavors__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.flavors__track.is-drag .flavor { pointer-events: none; }

/* Cart items stagger */
.cart-item { animation-delay: calc(var(--d, 0) * 60ms); animation-fill-mode: both; }

/* Custom cursor */
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor input, html.has-cursor label { cursor: none; }
.cur { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .4s; }
.cur.is-on { opacity: 1; }
.cur--dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
.cur--ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(11,21,13,.5);
  transition: opacity .4s, width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .4s, border-color .4s;
}
.cur--ring.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(160,188,173,.28); border-color: transparent; }
.cur--ring.is-down { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.shop .cur--ring { border-color: rgba(246,243,236,.5); }

/* Magnetic elements need a soft return */
.btn, .nav__shop, .round, .nav__cart { transition-property: transform, background, color, box-shadow; transition-duration: .8s, .4s, .4s, .6s; transition-timing-function: var(--ease); }

/* Film grain */
.grain {
  position: fixed; inset: -50%; z-index: 8000; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
  mix-blend-mode: multiply;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .nav__links a, .nav__actions > *, .nav__brand { opacity: 1; animation: none; } }

/* Product hover: tag glides */
.product__tag { transition: transform .8s var(--ease); }
.product:hover .product__tag { transform: translateX(4px); }

/* Refinements */
.section-head p { letter-spacing: .005em; }
.product { border-radius: 24px; }
.product__meta h3 { letter-spacing: -.005em; }
.value { padding: 44px 34px; }
.step__num { font-family: var(--sans); font-weight: 200; font-size: 52px; letter-spacing: -.03em; }
