/* ════════════════════════════════════════════
   SWIFTLOOP — noir luxury
   Italiana (display) · Cormorant Garamond (editorial) · Jost (labels)
   ════════════════════════════════════════════ */

:root {
  --ink: #0d0b09;
  --ink-soft: #16120e;
  --ink-card: #1b1611;
  --bone: #ece4d6;
  --bone-dim: #b3a894;
  --gold: #c9a24f;
  --gold-bright: #e6c87d;
  --amber: #b8703a;
  --line: rgba(236, 228, 214, 0.14);
  --line-soft: rgba(236, 228, 214, 0.07);

  --font-display: "Italiana", serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Jost", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (pointer: fine) {
  body { cursor: none; }
  a, button, input { cursor: none; }
}

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

img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
em { font-family: var(--font-serif); font-style: italic; }

/* ── Grain ───────────────────────────── */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none; z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ── Preloader ───────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader__inner { text-align: center; }
.preloader__word {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: 0.35em;
  margin-right: -0.35em; /* optical centering against tracking */
}
.preloader__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
}
.preloader__letter--accent { color: var(--gold); }
.preloader__bar {
  width: min(240px, 50vw);
  height: 1px;
  margin: 2.2rem auto 0;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar-fill {
  width: 100%; height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.4rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.45s var(--ease-out), color 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost {
  border-color: var(--line);
  color: var(--bone);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--ghost.btn--dark { border-color: rgba(13, 11, 9, 0.3); color: var(--ink); }
.btn--ghost.btn--dark:hover { border-color: var(--ink); }
.btn--full { width: 100%; }

/* ── Navigation ──────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  transition: background 0.5s ease, border-color 0.5s ease, height 0.5s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(13, 11, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
}
.nav__logo em { color: var(--gold); font-family: var(--font-display); font-style: normal; }
.nav__links {
  display: flex; gap: 2.6rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav__links a {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.3s ease;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 1.4rem; }
.nav__cart {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bone);
}
.nav__cart-count {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 0.66rem;
  color: var(--gold-bright);
  transition: transform 0.3s var(--ease-out);
}
.nav__cart-count.is-bumping { animation: bump 0.45s var(--ease-out); }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); background: var(--gold); color: var(--ink); }
  100% { transform: scale(1); }
}
.nav__burger {
  display: none;
  flex-direction: column; gap: 7px;
  width: 30px; padding: 4px 0;
}
.nav__burger span {
  height: 1px; width: 100%;
  background: var(--bone);
  transition: transform 0.4s var(--ease-out);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Mobile menu ─────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.12em;
}
.mobile-menu__foot {
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-dim);
}

/* ── Custom cursor ───────────────────── */
.cursor {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out), background 0.35s var(--ease-out),
              opacity 0.35s var(--ease-out);
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out),
              opacity 0.2s var(--ease-out);
  opacity: 0;
}
.cursor.is-visible, .cursor-dot.is-visible { opacity: 1; }
.cursor.is-hovering {
  width: 64px; height: 64px;
  background: rgba(201, 162, 79, 0.12);
  border-color: var(--gold-bright);
}
.cursor.is-hovering + .cursor-dot { opacity: 0; }
.cursor.is-pressing {
  width: 32px; height: 32px;
}

@media (pointer: coarse) {
  .cursor, .cursor-dot { display: none !important; }
}

/* ── Hero ────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 4rem) 6rem;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
}
.hero__img-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}
.hero__img {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
}
.hero__img-col:hover .hero__img {
  transform: scale(1.02);
  filter: brightness(0.95) contrast(1.08);
}
.hero__img-tag {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
  background: rgba(13, 11, 9, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 1.2rem;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
}
.hero__content {
  position: relative; z-index: 3;
  max-width: 640px;
  order: 1;
}
.hero__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}
.hero__line { display: block; overflow: hidden; }
.hero__line-inner { display: inline-block; will-change: transform; }
.hero__line--italic em {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  color: var(--gold-bright);
  font-size: 0.92em;
}
.hero__sub {
  max-width: 420px;
  font-size: 1rem;
  color: var(--bone-dim);
  margin-bottom: 2.6rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  position: absolute;
  left: clamp(1.25rem, 5vw, 4rem);
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: 2.2rem;
  z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.hero__meta-item--scroll { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}


/* ── Section heads ───────────────────── */
.section-head {
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto 4.5rem;
}
.section-head__index {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.section-head__index--light { color: var(--gold-bright); }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  max-width: 22ch;
}
.section-head__note {
  margin-top: 1.6rem;
  max-width: 440px;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* split-text lines */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; will-change: transform; }

/* ── Notes ───────────────────────────── */
.notes { padding: clamp(6rem, 12vw, 10rem) 0; }
.notes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  max-width: 1400px;
  margin: 0 auto;
}
.note-card {
  background: var(--ink);
  padding: clamp(2rem, 4vw, 3.4rem);
  position: relative;
  transition: background 0.6s ease;
}
.note-card:hover { background: var(--ink-soft); }
.note-card--raised { background: var(--ink-soft); }
.note-card--raised:hover { background: var(--ink-card); }
.note-card__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
}
.note-card__phase {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 1.2rem 0 1rem;
}
.note-card__phase em { color: var(--gold-bright); font-size: 0.92em; }
.note-card__desc {
  color: var(--bone-dim);
  font-size: 0.94rem;
  margin-bottom: 2rem;
  min-height: 3.2em;
}
.note-card__list { list-style: none; }
.note-card__list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex; align-items: center; gap: 0.7rem;
}
.note-card__list li::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width 0.4s var(--ease-out);
}
.note-card:hover .note-card__list li::before { width: 26px; }

/* ── Collection / Shop ───────────────── */
.collection { padding: clamp(6rem, 12vw, 10rem) 0; }
.collection__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  max-width: 1500px;
  margin: 0 auto;
}
.product {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--line-soft);
  padding: 1.4rem;
  display: flex; flex-direction: column;
  transition: border-color 0.5s ease, transform 0.5s var(--ease-out);
}
.product:hover { border-color: rgba(201, 162, 79, 0.45); }
.product:nth-child(even) { margin-top: 2.4rem; }
.product__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, var(--p-glow, rgba(201,162,79,0.22)), transparent 70%),
    linear-gradient(180deg, #14100c 0%, #0f0c09 100%);
}
.product__num {
  position: absolute; top: 0.9rem; left: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bone-dim);
}
.product__tag {
  position: absolute; top: 0.9rem; right: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(201, 162, 79, 0.4);
  padding: 0.3rem 0.55rem;
}
/* CSS bottle */
.bottle {
  position: relative;
  width: 34%;
  aspect-ratio: 1 / 2.1;
  transition: transform 0.7s var(--ease-out);
}
.product:hover .bottle { transform: translateY(-10px) rotate(-2deg); }
.bottle__cap {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 14%;
  background: linear-gradient(135deg, #e9cd86 0%, #9d7a33 55%, #cfa951 100%);
  border-radius: 2px 2px 0 0;
}
.bottle__neck {
  position: absolute; top: 13%; left: 50%;
  transform: translateX(-50%);
  width: 24%; height: 8%;
  background: linear-gradient(90deg, rgba(236,228,214,0.34), rgba(236,228,214,0.1) 60%, rgba(236,228,214,0.28));
}
.bottle__body {
  position: absolute; top: 20%; left: 0;
  width: 100%; height: 80%;
  border-radius: 6px 6px 10px 10px;
  background:
    linear-gradient(90deg, rgba(236,228,214,0.28) 0%, rgba(236,228,214,0.05) 28%, rgba(236,228,214,0.02) 65%, rgba(236,228,214,0.22) 100%),
    var(--p-liquid, linear-gradient(180deg, rgba(201,162,79,0.25), rgba(201,162,79,0.7)));
  box-shadow:
    inset 0 0 0 1px rgba(236, 228, 214, 0.18),
    0 24px 40px -18px var(--p-glow, rgba(201, 162, 79, 0.4));
}
.bottle__label {
  position: absolute; top: 46%; left: 50%;
  transform: translateX(-50%);
  width: 64%;
  padding: 0.45rem 0.2rem;
  background: rgba(13, 11, 9, 0.78);
  border: 1px solid rgba(236, 228, 214, 0.2);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(0.5rem, 0.8vw, 0.66rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
}
.bottle__shadow {
  position: absolute; bottom: -7%; left: 50%;
  transform: translateX(-50%);
  width: 110%; height: 5%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(3px);
}
.product__info { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}
.product__notes {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--bone-dim);
  margin-bottom: 0.9rem;
}
.product__row {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}
.product__price { font-size: 0.95rem; letter-spacing: 0.08em; }
.product__price small { color: var(--bone-dim); font-size: 0.72rem; letter-spacing: 0.14em; }
.product__add {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(201, 162, 79, 0.4);
  transition: background 0.35s ease, color 0.35s ease;
  white-space: nowrap;
}
.product__add:hover { background: var(--gold); color: var(--ink); }

/* ── Maison ──────────────────────────── */
.maison {
  position: relative;
  padding: clamp(7rem, 14vw, 12rem) clamp(1.25rem, 5vw, 4rem);
  overflow: hidden;
}
.maison__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 70% 20%, rgba(184, 112, 58, 0.13), transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 90%, rgba(201, 162, 79, 0.1), transparent 60%),
    var(--ink-soft);
}
.maison__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.maison__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.3;
  max-width: 24ch;
}
.maison__attr {
  margin-top: 2.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.maison__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 5rem;
}
.maison__stat {
  background: var(--ink);
  padding: clamp(1.6rem, 3vw, 2.8rem);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.maison__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--gold-bright);
}
.maison__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ── Footer ──────────────────────────── */
.footer { border-top: 1px solid var(--line-soft); }
.footer__cta {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
}
.footer__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  margin-bottom: 2.6rem;
}
.footer__form {
  display: flex; justify-content: center; gap: 0.8rem;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto 1.2rem;
}
.footer__input {
  flex: 1;
  min-width: 230px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 1rem 1.3rem;
  outline: none;
  transition: border-color 0.4s ease;
}
.footer__input::placeholder { color: var(--bone-dim); font-family: var(--font-serif); font-style: italic; }
.footer__input:focus { border-color: var(--gold); }
.footer__form-note {
  font-size: 0.8rem;
  color: var(--bone-dim);
  font-family: var(--font-serif);
  font-style: italic;
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.footer__brand { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.18em; color: var(--bone); }
.footer__brand em { color: var(--gold); font-style: normal; font-family: var(--font-display); }

/* ── Cart drawer ─────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(8, 6, 4, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(440px, 100vw);
  background: var(--bone);
  color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out);
}
.cart.is-open { transform: translateX(0); }
.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 1.8rem;
  border-bottom: 1px solid rgba(13, 11, 9, 0.12);
}
.cart__title { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; }
.cart__close { font-size: 1.8rem; line-height: 1; color: var(--ink); transition: transform 0.3s ease; }
.cart__close:hover { transform: rotate(90deg); }
.cart__items { flex: 1; overflow-y: auto; padding: 0.4rem 1.8rem; }
.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(13, 11, 9, 0.1);
}
.cart-item__swatch {
  width: 56px; height: 72px;
  border-radius: 3px 3px 6px 6px;
  background: var(--sw, linear-gradient(180deg, #c9a24f, #8a6a2a));
  box-shadow: inset 0 0 0 1px rgba(13, 11, 9, 0.15);
  position: relative;
}
.cart-item__swatch::before {
  content: "";
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 8px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(135deg, #d8b966, #97742e);
}
.cart-item__name { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.05em; }
.cart-item__price { font-size: 0.8rem; color: rgba(13, 11, 9, 0.6); }
.cart-item__qty {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem;
}
.cart-item__qty button {
  width: 24px; height: 24px;
  border: 1px solid rgba(13, 11, 9, 0.25);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.cart-item__qty button:hover { background: var(--ink); color: var(--bone); }
.cart__empty {
  position: absolute; inset: 0; top: 80px;
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__foot { display: none; }
.cart__foot {
  padding: 1.5rem 1.8rem 1.8rem;
  border-top: 1px solid rgba(13, 11, 9, 0.12);
}
.cart__total-row {
  display: flex; justify-content: space-between;
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.cart__total-row span:last-child { font-size: 1.05rem; letter-spacing: 0.06em; }
.cart__shipping {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.86rem;
  color: rgba(13, 11, 9, 0.55);
  margin-bottom: 1.2rem;
}

/* ── Toast ───────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: 2rem;
  transform: translate(-50%, calc(100% + 2.5rem));
  z-index: 180;
  background: var(--bone);
  color: var(--ink);
  padding: 0.9rem 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.55s var(--ease-out);
  white-space: nowrap;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ── Reveal defaults (pre-GSAP state) ── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js .hero__line-inner { transform: translateY(110%); }

/* ── Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .collection__grid { grid-template-columns: repeat(2, 1fr); }
  .product:nth-child(even) { margin-top: 0; }
}

@media (max-width: 820px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cart-label { display: none; }
  .notes__grid { grid-template-columns: 1fr; }
  .note-card__desc { min-height: 0; }
  .maison__stats { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; padding-bottom: 8rem; }
  .hero__img-col { order: 1; }
  .hero__content { order: 2; max-width: 100%; }
  .hero__img { max-width: 340px; }
  .hero__meta-item:first-child { display: none; }
}

@media (max-width: 560px) {
  .collection__grid { grid-template-columns: 1fr; }
  .cart-item__qty button { width: 36px; height: 36px; }
  .product__add { padding: 0.85rem 1.1rem; }
  .bottle { width: 30%; }
  .footer__form { flex-direction: column; }
  .footer__input { width: 100%; }
  .hero__cta .btn { width: 100%; }
}

/* ── Reduced motion ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain { animation: none; }
  .marquee__track { animation: none; }
}
