:root {
  --blush-50: #fdf6f7;
  --blush-100: #f9e9ec;
  --blush-200: #f3d4da;
  --blush-300: #e8b4bf;
  --rose: #c98a98;
  --rosewood: #9b5c6b;
  --ink: #4a3438;
  --ink-soft: #7a6064;
  --ivory: #fffaf6;
  --peach: #f4ded0;
  --gold: #c2a26b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(155, 92, 107, .35);
}

* { 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(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--rosewood); }

.eyebrow {
  font-size: .75rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--rosewood); margin-bottom: .8rem;
}

/* Buttons */
.btn {
  display: inline-block; padding: .9rem 2rem; border-radius: 999px;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  transition: all .3s ease;
}
.btn--solid { background: var(--rosewood); color: #fff; }
.btn--solid:hover { background: var(--ink); transform: translateY(-2px); }
.btn--ghost { border: 1px solid currentColor; color: var(--ink); background: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; }
.btn--block { width: 100%; }

/* Announcement + nav */
.announce {
  background: var(--peach); text-align: center; font-size: .78rem;
  letter-spacing: .1em; padding: .5rem 1rem; color: var(--rosewood);
}
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 246, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blush-100);
}
.nav__links { display: flex; gap: 2rem; font-size: .85rem; letter-spacing: .08em; }
.nav__links a, .nav__actions a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--rosewood); transition: width .3s;
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; font-size: .85rem; }
.logo { display: flex; align-items: center; gap: .5rem; justify-self: center; }
.logo img { height: 62px; width: auto; transition: transform .4s ease; }
.logo:hover img { transform: scale(1.05) rotate(-1deg); }
.logo__mark { color: var(--rose); font-size: 1.4rem; }
.logo__text { font-family: var(--serif); font-size: 1.9rem; font-style: italic; letter-spacing: .02em; color: var(--rosewood); }
.cart-btn { position: relative; display: grid; place-items: center; }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px;
  border-radius: 999px; background: var(--rose); color: #fff; font-size: .65rem;
  display: grid; place-items: center; padding: 0 4px;
}
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 24px; }
.nav__burger span { height: 1px; background: var(--ink); }

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: grid; align-items: center;
  padding: 4rem clamp(1rem, 6vw, 6rem); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 60%;
  transform: scale(1.05); animation: drift 20s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,250,246,.92) 0%, rgba(255,250,246,.7) 40%, rgba(255,250,246,0) 75%);
}
.hero__content { position: relative; max-width: 560px; animation: rise 1.2s ease both; }
.hero__logo {
  width: clamp(240px, 32vw, 420px); margin: 0 0 1.4rem -0.6rem;
  filter: drop-shadow(0 6px 18px rgba(255,250,246,.9)) drop-shadow(0 10px 30px rgba(155,92,107,.25));
  animation: bloomIn 1.6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes bloomIn { from { opacity: 0; transform: scale(.92) translateY(10px); filter: blur(6px); } }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 2rem; max-width: 460px; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
@keyframes drift { to { transform: scale(1.12) translateX(-2%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Falling petals */
.petals { position: absolute; inset: 0; pointer-events: none; }
.petal {
  position: absolute; top: -20px; width: 12px; height: 10px;
  background: var(--blush-300); border-radius: 80% 0 80% 0; opacity: .8;
  animation: fall linear infinite;
}
@keyframes fall {
  to { transform: translateY(105vh) translateX(80px) rotate(540deg); opacity: 0; }
}

/* Values */
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--blush-50); border-block: 1px solid var(--blush-100);
  font-size: .85rem; letter-spacing: .04em; text-align: center;
}
.values div { padding: 1.4rem 1rem; }
.values div + div { border-left: 1px solid var(--blush-100); }
.values span { color: var(--rose); margin-right: .5rem; }

/* Sections */
section { scroll-margin-top: 80px; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.collections, .shop { padding: 6rem clamp(1rem, 5vw, 5rem); }
.collections__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.collection-card {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.collection-card:hover img { transform: scale(1.06); }
.collection-card__label {
  position: absolute; inset: auto 1rem 1rem 1rem; padding: 1.2rem 1.4rem;
  background: rgba(255,250,246,.88); backdrop-filter: blur(8px); border-radius: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.collection-card__label h3 { font-size: 1.6rem; }
.collection-card__label span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rosewood); }

/* Shop */
.shop { background: linear-gradient(180deg, var(--ivory), var(--blush-50)); }
.filters { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 3rem; }
.chip {
  padding: .55rem 1.4rem; border-radius: 999px; border: 1px solid var(--blush-300);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; transition: all .25s;
}
.chip:hover { background: var(--blush-100); }
.chip.is-active { background: var(--rosewood); border-color: var(--rosewood); color: #fff; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem 1.5rem; }
.products__empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--rosewood); }
.product { animation: rise .6s ease both; }
.product__media {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.product__art { height: 86%; display: flex; justify-content: center; }
.has-photo { overflow: hidden; }
.has-photo .product__art { height: 100%; width: 100%; }
.has-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .has-photo img { transform: scale(1.04); }
.drawer__thumb.has-photo { overflow: hidden; }
.product__media svg { height: 100%; width: auto; transition: transform .6s ease; filter: drop-shadow(0 12px 14px rgba(74,52,56,.18)); }
.product:hover .product__media svg { transform: translateY(-6px) scale(1.03); }
.product__tag {
  position: absolute; top: 1rem; left: 1rem; background: #fff; color: var(--rosewood);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px;
}
.product__wish {
  position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); display: grid; place-items: center; color: var(--rosewood);
  font-size: 1.1rem; transition: transform .2s;
}
.product__wish:hover { transform: scale(1.1); }
.product__wish.is-on { background: var(--rosewood); color: #fff; }
.product__add {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .8rem;
  background: var(--ink); color: #fff; border-radius: 999px; font-size: .75rem;
  letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(10px);
  transition: all .3s ease;
}
.product:hover .product__add, .product__add:focus { opacity: 1; transform: none; }
.product__info { padding: 1rem .3rem 0; display: flex; justify-content: space-between; gap: 1rem; }
.product__info h3 { font-size: 1.35rem; }
.product__info p { font-size: .8rem; color: var(--ink-soft); }
.product__price { font-family: var(--serif); font-size: 1.3rem; color: var(--rosewood); white-space: nowrap; }
.swatches { display: flex; gap: .35rem; padding: .5rem .3rem 0; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); }

/* Story */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding: 6rem clamp(1rem, 6vw, 7rem);
}
.story__img { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__seal { width: 150px; margin-bottom: 1rem; opacity: .9; }
.story h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 1.5rem; }
.story p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 1.2rem; }
.story .btn { margin-top: 1rem; }

/* Quote */
.quote {
  position: relative; background-size: cover; background-position: center; background-attachment: fixed;
  padding: 8rem 1.5rem; text-align: center;
}
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(253, 246, 247, .82); }
.quote__inner { position: relative; max-width: 720px; margin: auto; }
.quote__ar { font-family: "Amiri", var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--rosewood); margin-bottom: 1rem; }
.quote__en { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .8rem; }
.quote span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }

/* Newsletter */
.newsletter { text-align: center; padding: 6rem 1.5rem; background: var(--peach); }
.newsletter__logo { width: 130px; margin: 0 auto 1.2rem; }
.newsletter h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .6rem; }
.newsletter p { color: var(--ink-soft); }
.newsletter__form { display: flex; gap: .6rem; max-width: 480px; margin: 2rem auto 0; }
.newsletter__form input {
  flex: 1; min-width: 0; padding: .9rem 1.4rem; border-radius: 999px; border: 1px solid var(--blush-300);
  background: #fff; font: inherit; color: var(--ink); outline: none;
}
.newsletter__form input:focus { border-color: var(--rosewood); }
.newsletter__msg { margin-top: 1rem; color: var(--rosewood) !important; }

/* Footer */
.footer {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  padding: 4rem clamp(1rem, 5vw, 5rem) 2rem; background: var(--ink); color: var(--blush-100);
}
.footer__logo { width: 200px; margin-bottom: .8rem; }
.footer p { font-size: .9rem; opacity: .75; }
.footer h4 { font-weight: 400; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; color: var(--blush-300); }
.footer a { display: block; font-size: .9rem; opacity: .8; margin-bottom: .4rem; }
.footer a:hover { opacity: 1; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; font-size: .8rem !important; }

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); z-index: 100;
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s ease; box-shadow: -20px 0 40px rgba(0,0,0,.08);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--blush-100); }
.drawer__head h3 { font-size: 1.8rem; }
.drawer__close { font-size: 2rem; line-height: 1; }
.drawer__items { list-style: none; flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer__items li { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--blush-100); }
.drawer__thumb { width: 64px; height: 80px; border-radius: 10px; display: grid; place-items: center; }
.drawer__thumb svg { height: 85%; width: auto; }
.drawer__items h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.drawer__items small { color: var(--ink-soft); }
.qty { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; font-size: .85rem; }
.qty button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--blush-300); }
.drawer__empty { text-align: center; color: var(--ink-soft); padding: 3rem 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.drawer__foot { padding: 1.5rem; border-top: 1px solid var(--blush-100); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.drawer__total strong { font-family: var(--serif); font-size: 1.4rem; color: var(--rosewood); }
.drawer__secure { text-align: center; font-size: .75rem; color: var(--ink-soft); margin-top: .7rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.overlay { position: fixed; inset: 0; background: rgba(74,52,56,.35); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 20px); z-index: 120;
  background: var(--ink); color: #fff; padding: .8rem 1.6rem; border-radius: 999px; font-size: .85rem;
  opacity: 0; transition: all .3s; pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .values div:nth-child(3) { border-left: 0; }
  .values div:nth-child(n+3) { border-top: 1px solid var(--blush-100); }
  .collections__grid { grid-template-columns: 1fr; max-width: 460px; margin: auto; }
  .story { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--blush-100);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav__links.is-open { max-height: 300px; }
  .nav__links a { padding: 1rem 1.5rem; border-top: 1px solid var(--blush-100); }
  .nav__link-hide { display: none; }
  .logo img { height: 46px; }
  .hero__logo { width: 220px; }
  .hero { min-height: 80vh; align-items: end; }
  .hero__veil { background: linear-gradient(0deg, rgba(255,250,246,.95) 30%, rgba(255,250,246,.3) 80%); }
  .product__add { opacity: 1; transform: none; }
  .newsletter__form { flex-direction: column; }
  .quote { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
