:root {
  --wine-900: #1f0710;
  --wine-800: #2c0b17;
  --wine-700: #3d1121;
  --wine-600: #52182d;
  --wine-500: #6e2440;
  --rose: #c77a92;
  --gold: #c9a46a;
  --gold-light: #e6cc9a;
  --cream: #f6f1ea;
  --cream-2: #ede4d8;
  --ink: #2a1a1f;
  --muted: #7b6a6f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: min(1240px, 100% - 64px); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

.btn-gold {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 40px;
  background: linear-gradient(135deg, #f0dcb4, var(--gold) 55%, #a9824a);
  color: var(--wine-800);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(201, 164, 106, .25), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .3s, box-shadow .3s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201, 164, 106, .4); }

.link-gold {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--wine-600); border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}

/* ===== Header ===== */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--wine-700);
  color: #f2e6dc;
}
.utility {
  display: flex; justify-content: flex-end; gap: 28px;
  font-size: 11px; letter-spacing: .08em; padding-top: 12px; opacity: .75;
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0 18px;
}
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .02em; }
.logo-tag { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; margin-top: 6px; opacity: .7; }

.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; letter-spacing: .04em; }
.main-nav > a, .dropdown-toggle { position: relative; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.main-nav > a:hover, .dropdown-toggle:hover { opacity: 1; }
.main-nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold-light); transform: scaleX(0); transition: transform .3s;
}
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a.active { opacity: 1; }
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.dropdown-menu {
  position: absolute; top: 120%; left: -16px; min-width: 200px;
  background: var(--wine-800); border: 1px solid rgba(230, 204, 154, .2);
  padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .25s; box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.dropdown-menu a { display: block; padding: 9px 18px; font-size: 13px; }
.dropdown-menu a:hover { color: var(--gold-light); }
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.search-btn { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.icon-btn { display: flex; }
.cart { position: relative; }
.cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--gold); color: var(--wine-800); font-size: 10px; font-weight: 500;
  display: grid; place-items: center; padding: 0 4px; transition: transform .3s;
}
.cart-count.bump { transform: scale(1.4); }
.menu-toggle { display: none; width: 26px; height: 18px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { height: 1px; background: currentColor; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 15% 40%, rgba(110, 36, 64, .55), transparent 70%),
    linear-gradient(180deg, var(--wine-700) 0%, var(--wine-800) 100%);
  color: #f6ece4;
  overflow: hidden;
}
.hero-cream {
  position: absolute; right: 0; bottom: 0; width: 31%; height: 42%;
  background: var(--cream);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr .85fr;
  align-items: end;
  gap: 0;
  min-height: 640px;
  padding-top: 30px;
}
.hero-copy { align-self: center; padding: 0 40px 70px 56px; position: relative; z-index: 3; }
.hero-copy h1 {
  font-size: clamp(34px, 3.4vw, 50px);
  white-space: nowrap;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero-text { font-size: 14px; line-height: 1.75; opacity: .82; max-width: 380px; margin-bottom: 34px; }
.hero-copy > * { animation: fadeUp 1s both; }
.hero-copy > *:nth-child(2) { animation-delay: .1s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .3s; }

.hero-stage {
  position: relative;
  height: 590px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, #2a1016 0%, #0f0508 70%),
    #0b0406;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  z-index: 2;
}
#sparkles { position: absolute; inset: -80px -120px; width: calc(100% + 240px); height: calc(100% + 160px); z-index: 5; pointer-events: none; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
  display: flex; justify-content: center; align-items: flex-end;
}
.slide.active { opacity: 1; }

/* Photo slide: the image covers the stage; the label text is laid over the blank gold label */
.slide { overflow: hidden; }
.photo {
  position: absolute; top: 0; left: 50%; height: 100%; min-width: 100%;
  aspect-ratio: 928 / 1232;
  transform: translateX(-50%) scale(1.06);
  transition: transform 6s ease-out;
}
.slide.active .photo { transform: translateX(-50%) scale(1); }
.photo img, .photo video, .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame { position: relative; overflow: hidden; }
/* In the bloom video the flower grows over the label, so the printed text fades away with it */
.slide.active .photo-label.fade-out { animation: labelFade .7s ease .25s forwards; }
@keyframes labelFade { to { opacity: 0; } }
/* The photos have blank labels; this prints the brand on them. --l/--t/--w/--h are the label box
   as a percentage of the image, and the text is sized from the label's own width (cqi). */
.photo-label {
  position: absolute;
  left: var(--l, 35%); top: var(--t, 37.2%); width: var(--w, 28.6%); height: var(--h, 22%);
  container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #2e0a15; mix-blend-mode: multiply; text-align: center; line-height: 1;
  pointer-events: none;
}
.pl-name { font-family: var(--serif); font-weight: 600; font-size: 22cqi; letter-spacing: .08em; }
.pl-sub { font-size: 7cqi; letter-spacing: .5em; margin: 4.2cqi 0 0 .5em; }
.pl-line { width: 30%; height: 1px; background: currentColor; margin: 5.6cqi 0 4.2cqi; opacity: .7; }
.pl-edp { font-size: 4.4cqi; letter-spacing: .3em; margin-left: .3em; white-space: nowrap; }
/* for dark labels (the crystal bottle) */
.photo-label.light { color: var(--gold-light); mix-blend-mode: normal; opacity: .9; }

.dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 6; }
.dots button { width: 7px; height: 3px; background: rgba(255,255,255,.4); border-radius: 2px; transition: .4s; }
.dots button.active { width: 22px; background: var(--gold-light); }

.hero-card {
  align-self: center;
  aspect-ratio: 928 / 1232; margin: 0 0 0 28px;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  transform: translateY(-20px);
}

.badge {
  position: absolute; right: -10px; top: 0; width: 110px; z-index: 4;
  fill: var(--gold-light); animation: spin 18s linear infinite;
}
.badge text { font-size: 10.5px; letter-spacing: 3.2px; font-family: var(--sans); font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }

.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 40px; height: 40px; display: grid; place-items: center;
  color: rgba(255,255,255,.7); transition: color .2s;
}
.arrow:hover { color: var(--gold-light); }
.arrow.prev { left: 0; }
.arrow.next { right: -14px; color: var(--muted); }

/* ===== Story ===== */
.story {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 56px; align-items: start;
  padding: 80px 0 100px;
}
.story-portrait { margin-top: -10px; }
.portrait-art { aspect-ratio: 4/5; background: var(--cream-2); }
.story-copy { text-align: center; padding-top: 10px; }
.story-copy h2 { font-size: clamp(34px, 3.2vw, 46px); color: var(--wine-700); margin-bottom: 22px; }
.story-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 28px; }
.side-card { aspect-ratio: 5/4; background: var(--cream-2); }
.side-caption { font-family: var(--serif); font-size: 18px; color: var(--wine-700); margin-top: 16px; }

/* ===== Products ===== */
.products { background: #fff; padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 3.2vw, 46px); color: var(--wine-700); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product { text-align: center; }
.product-img {
  position: relative; aspect-ratio: 928 / 1232;
  background: var(--cream); margin-bottom: 20px; overflow: hidden;
}
/* image and its label move together on hover */
.product-photo { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product:hover .product-photo { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 14px; left: 14px; font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; background: var(--wine-700); color: var(--gold-light); padding: 5px 10px;
}
.add-btn {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  padding: 12px; background: var(--wine-700); color: #fff;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  transform: translateY(70px); transition: transform .4s, background .2s;
}
.add-btn:hover { background: var(--wine-500); }
.product:hover .add-btn, .add-btn:focus-visible { transform: none; }
.product h3 { font-size: 22px; color: var(--wine-700); margin-bottom: 4px; }
.product .notes-line { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.product .price { font-size: 14px; font-weight: 400; letter-spacing: .05em; }

/* ===== Notes ===== */
.notes {
  background: linear-gradient(180deg, var(--wine-800), var(--wine-900));
  color: #f6ece4; padding: 110px 0; overflow: hidden;
}
.notes-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.notes-art { position: relative; aspect-ratio: 1; }
/* cut-out flower: opens up when scrolled into view, then turns very slowly */
.notes-flower {
  width: 100%; height: 100%; display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.45));
  opacity: 0; transform: scale(.55) rotate(-35deg);
  transition: opacity 1.4s ease, transform 2s cubic-bezier(.2,.8,.2,1);
}
.notes-flower.in-view { opacity: 1; transform: none; animation: slowTurn 60s linear 2s infinite; }
@keyframes slowTurn { to { transform: rotate(360deg); } }
.notes-copy h2 { font-size: clamp(36px, 3.4vw, 50px); margin-bottom: 34px; }
.note-list { list-style: none; margin-bottom: 40px; }
.note-list li {
  display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid rgba(230, 204, 154, .18);
}
.note-list span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
.note-list strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }

/* ===== Collections ===== */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 100px 0; }
.collection {
  position: relative; aspect-ratio: 960 / 1200; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 30px 36px; text-align: center;
}
.collection::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, var(--scrim)); }
.collection-text { position: relative; z-index: 1; }
.collection h3 { font-size: 32px; }
.collection .eyebrow { margin-bottom: 8px; }
.zoom-photo { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.zoom-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collection:hover .zoom-photo { transform: scale(1.05); }
.c1 { --scrim: rgba(20, 5, 10, .85); color: #f6ece4; }
.c2 { --scrim: rgba(250, 236, 232, .9); color: var(--wine-700); }
.c3 { --scrim: rgba(0, 0, 0, .85); color: #f6ece4; }

/* ===== Newsletter ===== */
.newsletter { background: var(--wine-700); color: #f6ece4; padding: 90px 0; text-align: center; }
.newsletter h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 32px; }
.news-form { display: flex; gap: 12px; justify-content: center; max-width: 520px; margin: 0 auto; }
.news-form input {
  flex: 1; padding: 14px 22px; border-radius: 40px; border: 1px solid rgba(230, 204, 154, .35);
  background: transparent; color: #fff; font: inherit; font-size: 14px; outline: none;
}
.news-form input:focus { border-color: var(--gold-light); }
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.form-msg { margin-top: 16px; font-size: 14px; color: var(--gold-light); min-height: 20px; }

/* ===== Footer ===== */
.footer { background: var(--wine-900); color: rgba(246, 236, 228, .75); padding: 70px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .logo-name { color: #f6ece4; display: block; margin-bottom: 10px; }
.footer h4 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; margin-bottom: 16px; }
.footer a { display: block; margin-bottom: 10px; transition: color .2s; }
.footer a:hover { color: var(--gold-light); }
.copyright { font-size: 12px; opacity: .6; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; }

/* ===== Floating ===== */
.chat-btn {
  position: fixed; right: 26px; bottom: 26px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: var(--wine-800);
  background: radial-gradient(circle at 35% 30%, #f0dcb4, var(--gold) 60%, #a9824a);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .3s;
}
.chat-btn:hover { transform: scale(1.08); }
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 60;
  transform: translate(-50%, 120px); background: var(--wine-800); color: #fff;
  padding: 14px 26px; font-size: 14px; border: 1px solid rgba(230,204,154,.3);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.toast.show { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .search-btn span { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-card { display: none; }
  .hero-cream { display: none; }
  .badge { right: 10px; }
  .arrow.next { right: 0; color: rgba(255,255,255,.7); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr 1fr; }
  .story-side { display: none; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 32px); }
  .utility { display: none; }
  .nav-row { padding: 16px 0; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 20px 24px 28px; background: var(--wine-800);
    clip-path: inset(0 0 100% 0); transition: clip-path .4s;
  }
  .main-nav.open { clip-path: inset(0); }
  .dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
  .dropdown.open .dropdown-menu { display: block; }
  .logo-name { font-size: 24px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-copy { padding: 0 8px 40px; text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-stage { height: 460px; }
  .badge { width: 84px; top: auto; bottom: 380px; }
  .arrow { top: auto; bottom: 200px; }
  .story { grid-template-columns: 1fr; padding: 60px 0; gap: 40px; }
  .story-portrait { max-width: 360px; margin: 0 auto; width: 100%; }
  .notes-inner { grid-template-columns: 1fr; gap: 30px; }
  .notes-art { max-width: 380px; margin: 0 auto; width: 100%; }
  .collections { grid-template-columns: 1fr; padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product h3 { font-size: 18px; }
  .add-btn { transform: none; left: 8px; right: 8px; bottom: 8px; font-size: 9px; padding: 9px 4px; }
  .search-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
