:root {
  --night: #0e0d0c;
  --ink: #1a1816;
  --taupe: #5b544c;
  --stone: #8a8178;
  --sand: #cdbb9e;
  --cream: #ece4d6;
  --paper: #f5f0e7;
  --line: rgba(236, 228, 214, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Mrs Saint Delafield", cursive;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.script { font-family: var(--script); font-weight: 400; line-height: 1; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
em { font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.8rem;
  font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s, transform .2s;
}
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--cream); color: var(--night); }
.btn--light:hover { background: var(--sand); }
.btn--ghost { border-color: var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--dark { background: var(--night); color: var(--cream); }
.btn--dark:hover { background: var(--taupe); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1rem; }

/* Announcement + Nav */
.announce {
  text-align: center; font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 0.6rem var(--gutter); background: var(--sand); color: var(--night);
}
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1rem var(--gutter);
  background: rgba(14, 13, 12, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__links { display: flex; gap: 2rem; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; }
.nav__links a { opacity: .75; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__logo .script { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--cream); }
.nav__cart {
  justify-self: end; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6rem;
}
.nav__count {
  min-width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--night); font-size: .7rem; letter-spacing: 0;
  transition: transform .3s;
}
.nav__count.bump { transform: scale(1.35); }
.nav__burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 7px; }
.nav__burger span { display: block; height: 1px; background: var(--cream); transition: transform .3s; }

/* Hero */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 110px);
  padding: clamp(3rem, 6vw, 6rem) var(--gutter) 6rem;
  overflow: hidden;
}
.hero__stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, var(--cream) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, var(--cream) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 42% 12%, var(--sand) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 82%, var(--cream) 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 42%, var(--cream) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 18% 50%, var(--sand) 50%, transparent 51%),
    radial-gradient(1px 1px at 47% 88%, var(--cream) 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 36%, var(--cream) 50%, transparent 51%);
}
.hero__text { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); margin-bottom: 1.6rem; }
.hero h1 em { color: var(--sand); }
.hero__lead { max-width: 30rem; color: rgba(236, 228, 214, .75); font-size: 1.05rem; margin-bottom: 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.hero__media::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  top: -12%; right: -14%; z-index: -1;
  background: radial-gradient(circle, rgba(205,187,158,.22), transparent 65%);
}
.moonphases {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; gap: .9rem;
}
.mp { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--sand); position: relative; overflow: hidden; }
.mp--full { background: var(--sand); }
.mp--half::after { content: ""; position: absolute; inset: 0; left: 50%; background: var(--sand); }
.mp--half.mp--r::after { left: 0; right: 50%; }
.mp--wax::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset -4px 0 0 var(--sand); }
.mp--wax.mp--r::after { box-shadow: inset 4px 0 0 var(--sand); }

/* Shop */
.shop { background: var(--taupe); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.section-head .eyebrow { width: 100%; margin-bottom: -0.5rem; color: var(--cream); opacity: .7; }
.filters { display: flex; gap: .5rem; }
.filter {
  padding: .55rem 1.1rem; border: 1px solid rgba(245,240,231,.3);
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; transition: all .25s;
}
.filter:hover { border-color: var(--paper); }
.filter.is-active { background: var(--paper); color: var(--night); border-color: var(--paper); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.card { cursor: pointer; text-align: center; }
.card.is-hidden { display: none; }
.card__media { position: relative; overflow: hidden; background: #4f4942; aspect-ratio: 4 / 5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: .9rem; left: .9rem; padding: .3rem .7rem;
  background: var(--night); color: var(--cream); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
}
.card__quick {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: var(--paper); color: var(--night); padding: .8rem;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: all .35s;
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__no { margin-top: 1.2rem; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; opacity: .7; }
.card__name { font-family: var(--serif); font-size: 1.5rem; margin: .2rem 0; }
.card__variant { font-size: .85rem; opacity: .75; }
.card__price { margin-top: .4rem; letter-spacing: .08em; }

/* Story */
.story { position: relative; padding: clamp(5rem, 10vw, 9rem) var(--gutter); overflow: hidden; }
.story__moon {
  position: absolute; width: clamp(240px, 32vw, 460px); aspect-ratio: 1; border-radius: 50%;
  right: -8%; top: 8%;
  box-shadow: inset -38px 0 0 0 rgba(205,187,158,.13);
}
.story__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.story__quote { font-size: clamp(1.9rem, 4.2vw, 3.4rem); max-width: 22ch; margin-bottom: 3.5rem; color: var(--paper); }
.story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.story__cols p { margin-bottom: 1.3rem; color: rgba(236,228,214,.8); }
.story__cols strong { font-weight: 500; letter-spacing: .12em; color: var(--paper); }
.story .word { font-family: var(--serif); font-style: italic; font-size: 1.25em; color: var(--sand); }
.story__close {
  margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; text-align: center;
}
.story__close em { color: var(--sand); }

/* Values */
.values {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.value { padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); text-align: center; }
.value + .value { border-left: 1px solid var(--line); }
.value__icon { font-size: 1.6rem; color: var(--sand); }
.value h3 { font-size: 1.5rem; margin: .8rem 0 .6rem; }
.value p { color: rgba(236,228,214,.7); max-width: 28ch; margin: 0 auto; font-size: .95rem; }

/* Newsletter */
.newsletter { background: var(--cream); color: var(--night); text-align: center; padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); }
.newsletter__sig { display: block; font-size: clamp(3rem, 7vw, 4.6rem); color: var(--taupe); margin-bottom: .5rem; }
.newsletter p { color: var(--taupe); margin: .8rem 0 2rem; }
.newsletter__form { display: flex; max-width: 480px; margin: 0 auto; border: 1px solid var(--night); }
.newsletter__form input {
  flex: 1; min-width: 0; padding: .95rem 1.1rem; border: 0; background: transparent;
  font: inherit; color: var(--night); outline: none;
}
.newsletter__ok { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

/* Footer */
.footer { padding: 4rem var(--gutter) 2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.footer__brand .script { font-size: 3rem; }
.footer__brand p { color: var(--stone); font-size: .9rem; margin-top: .4rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer h4 { font-family: var(--sans); font-weight: 400; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.footer__cols a { display: block; font-size: .9rem; color: rgba(236,228,214,.7); margin-bottom: .5rem; }
.footer__cols a:hover { color: var(--cream); }
.footer__copy { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--stone); letter-spacing: .08em; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); animation: fade .3s; }
.modal__panel {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 2 * var(--gutter)); overflow: auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--paper); color: var(--night); animation: rise .4s cubic-bezier(.2,.7,.2,1);
}
.modal__x { position: absolute; top: .6rem; right: .6rem; z-index: 2; }
.modal__media { background: var(--taupe); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: clamp(1.5rem, 4vw, 3rem); }
.modal__info .eyebrow { color: var(--taupe); }
.modal__info h3 { font-size: 2.2rem; }
.modal__variant { color: var(--stone); margin: .3rem 0 1rem; }
.modal__price { font-size: 1.2rem; letter-spacing: .06em; margin-bottom: 1.2rem; }
.modal__desc { color: #4a443e; margin-bottom: 1.6rem; }
.label { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: .6rem; }
.sizes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.size {
  min-width: 52px; padding: .65rem .8rem; border: 1px solid rgba(14,13,12,.25);
  font-size: .8rem; letter-spacing: .1em; transition: all .2s;
}
.size:hover { border-color: var(--night); }
.size.is-active { background: var(--night); color: var(--paper); border-color: var(--night); }
.size[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.cart__btn { margin-top: 1rem; }
.modal__details { list-style: none; margin-top: 1.6rem; font-size: .85rem; color: #4a443e; }
.modal__details li { padding: .55rem 0; border-top: 1px solid rgba(14,13,12,.1); }

/* Cart */
.cart { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .35s; }
.cart__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--paper); color: var(--night);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cart.is-open { pointer-events: auto; }
.cart.is-open .cart__backdrop { opacity: 1; }
.cart.is-open .cart__panel { transform: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(14,13,12,.1); }
.cart__head h3 { font-size: 1.6rem; }
.cart__items { flex: 1; overflow: auto; padding: 1rem 1.5rem; }
.cart__empty { text-align: center; padding: 3rem 0; color: var(--stone); }
.cart__empty .script { font-size: 3rem; color: var(--taupe); display: block; margin-bottom: 1rem; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(14,13,12,.08); }
.line img { width: 76px; height: 95px; object-fit: cover; background: var(--taupe); }
.line__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.2; }
.line__meta { font-size: .8rem; color: var(--stone); }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(14,13,12,.2); margin-top: .5rem; }
.qty button { width: 28px; height: 28px; }
.qty span { min-width: 22px; text-align: center; font-size: .85rem; }
.line__right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.line__remove { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); text-decoration: underline; }
.cart__foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid rgba(14,13,12,.1); }
.cart__row { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .92rem; }
.cart__row--muted { color: var(--stone); }
.cart__row--total { font-weight: 500; font-size: 1.05rem; margin: .8rem 0 1.2rem; }
.cart__note { margin-top: .8rem; font-size: .75rem; color: var(--stone); text-align: center; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cream); color: var(--night); padding: .85rem 1.4rem;
  font-size: .8rem; letter-spacing: .08em; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: all .35s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { order: -1; max-width: 520px; }
  .story__cols { grid-template-columns: 1fr; gap: 0; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .footer { grid-template-columns: 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media img { max-height: 46vh; }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__logo { justify-self: center; }
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--night); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .4s;
  }
  .nav__links a { padding: 1rem var(--gutter); border-top: 1px solid var(--line); }
  .nav.menu-open .nav__links { max-height: 320px; }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__cart { font-size: 0; gap: 0; }
  .nav__count { font-size: .7rem; }
  .card__quick { opacity: 1; transform: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .newsletter__form { flex-direction: column; border: 0; gap: .6rem; }
  .newsletter__form input { border: 1px solid var(--night); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WEESHZx040 Legal & Info additions */
.footer__tax { font-size: .78rem !important; color: var(--stone); margin-top: .8rem !important; max-width: 34ch; line-height: 1.45; }
.modal__tax { font-size: .75rem; color: var(--stone); margin-top: -.8rem; margin-bottom: 1.2rem; }
.modal__panel--single { grid-template-columns: 1fr; width: min(680px, 100%); }
.modal__legal p { margin-bottom: .9rem; line-height: 1.6; }
.modal__legal h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin: 1.2rem 0 .4rem; color: var(--night); }
