/* ═══════════════════════════════════════════════════════════════
   Fatima Curates · Shared design system
   Imported by every page. Maps to Shopify base.css later.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --plum:      #382545;
  --plum-deep: #291c34;
  --lilac:        #d6b8ee;
  --lilac-light:  #f3e8fb;
  --nav-height:  93px;
  --bone:        #f6f0fa;
  --bone-soft:   #ece1f3;
  --ink:         #302039;
  --ink-soft:    #57465f;
  --mute:        #716078;
  --accent:      #76508f;
  --line:        rgba(56,37,69,0.12);
  --line-strong: rgba(56,37,69,0.24);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --mono:  'DM Sans', system-ui, sans-serif;

  --pad-x: clamp(20px, 5vw, 80px);
  --max:   1640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bone); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

/* ─────────────────────────────────────────────────────────
   Type
   ───────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.7); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
h1.display { font-size: clamp(56px, 9vw, 120px); }
h2.display { font-size: clamp(40px, 6vw, 72px); }
h3.display { font-size: clamp(24px, 3vw, 30px); }
h4.display { font-size: clamp(20px, 2.4vw, 24px); }

.body-copy { font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }

/* ─────────────────────────────────────────────────────────
   Photo placeholders
   ───────────────────────────────────────────────────────── */
.photo {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #2a2622;
  isolation: isolate;
}
.photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(0,0,0,0.4), transparent 60%);
  z-index: 1;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}
.photo .label {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

/* Real-photo support — img becomes the photo, gradient stays as fallback bg */
.photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.photo.has-img::before {
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.06), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(0,0,0,0.28), transparent 60%);
  z-index: 2;
}
.photo.has-img::after {
  background-image: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.22) 100%);
  background-size: auto;
  z-index: 2;
  mix-blend-mode: normal;
}
.photo.has-img .label { display: none; }

.photo.mood-dark    { background: linear-gradient(135deg, #1c1814 0%, #2e2620 50%, #14110e 100%); }
.photo.mood-warm    { background: linear-gradient(160deg, #b89773 0%, #8a6a48 60%, #4f3a26 100%); }
.photo.mood-cream   { background: linear-gradient(180deg, #ece4d4 0%, #d6c9b0 100%); }
.photo.mood-forest  { background: linear-gradient(170deg, #2e3a30 0%, #1a221c 100%); }
.photo.mood-stone   { background: linear-gradient(180deg, #837b6e 0%, #534c41 100%); }
.photo.mood-night   { background: linear-gradient(180deg, #14130f 0%, #08070a 100%); }
.photo.mood-blush   { background: linear-gradient(180deg, #c9a48e 0%, #7e5a48 100%); }
.photo.mood-olive   { background: linear-gradient(180deg, #8c8a6e 0%, #4f4d3a 100%); }

/* ─────────────────────────────────────────────────────────
   Announcement bar — marquee
   ───────────────────────────────────────────────────────── */
.announce {
  background: var(--ink);
  color: var(--bone);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}
.announce::before, .announce::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
  pointer-events: none;
}
.announce::before { left: 0;  background: linear-gradient(to right, var(--ink), transparent); }
.announce::after  { right: 0; background: linear-gradient(to left,  var(--ink), transparent); }
.announce-track {
  display: inline-flex; gap: 40px; padding: 11px 0;
  white-space: nowrap;
  animation: announce-scroll 38s linear infinite;
}
.announce-item { opacity: 0.85; }
.announce-item::after { content: "·"; margin-left: 40px; opacity: 0.5; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes announce-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; padding: 11px var(--pad-x); }
}

/* ─────────────────────────────────────────────────────────
   Navigation
   ───────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px var(--pad-x);
  gap: 32px;
}
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color .2s, background .2s;
}
.nav-burger:hover { border-color: var(--ink); }
.nav-burger span {
  display: block; width: 16px; height: 1px; background: var(--ink);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.is-current { color: var(--accent); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }

.logo {
  font-family: var(--serif);
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo a { color: inherit; }

.nav-icons { display: flex; gap: 24px; justify-content: flex-end; align-items: center; }
.nav-icons button, .nav-icons a { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-icons svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.2; }
.bag-count { font-family: var(--mono); font-size: 11px; color: var(--mute); }

/* ─────────────────────────────────────────────────────────
   Buttons / CTAs
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  border: 1px solid currentColor;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500;
  border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { background: currentColor; }
.btn:hover span:not(.arrow) { color: var(--bone); }
.btn.on-dark:hover span:not(.arrow) { color: var(--ink); }
.btn .arrow { width: 16px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }

.btn-solid {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--bone);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500;
  border-radius: 999px;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.btn-solid:hover { background: var(--accent); }
.btn-solid .arrow { width: 16px; height: 1px; background: currentColor; position: relative; }
.btn-solid .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }

.see-all {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  transition: color .25s, border-color .25s;
}
.see-all:hover { color: var(--accent); border-color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   Section base
   ───────────────────────────────────────────────────────── */
.section { padding: clamp(80px, 10vw, 160px) var(--pad-x); }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
  flex-wrap: wrap;
}
.section-head .left { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { color: var(--ink); }
.section-head .right { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   Product card
   ───────────────────────────────────────────────────────── */
.product { display: block; }
.product .image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bone-soft);
}
.product .image-wrap .photo {
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1);
}
.product:hover .image-wrap .photo { transform: scale(1.04); }
.product .quick {
  position: absolute; inset: auto 0 0 0;
  padding: 14px;
  z-index: 4;
  display: flex; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s;
}
.product:hover .quick { opacity: 1; transform: translateY(0); }
.product .quick button {
  background: var(--bone);
  color: var(--ink);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  padding: 11px 18px;
  border-radius: 999px;
}
.product .meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.product .name { font-family: var(--serif); font-weight: 300; font-size: 18px; letter-spacing: -0.01em; flex: 1; }
.product .cat { display: block; font-family: var(--sans); font-size: 11px; color: var(--mute); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; }
.product .price { font-family: var(--mono); font-size: 13px; color: var(--ink); letter-spacing: 0.04em; flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(60px, 7vw, 100px) var(--pad-x) 24px;
}
footer.site-footer .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(243,232,251,0.14);
}
footer.site-footer .brand-block .logo-stack { font-family: var(--serif); font-weight: 200; line-height: 1; }
footer.site-footer .brand-block .logo-stack .small { font-size: 11px; letter-spacing: 0.3em; opacity: 0.7; display: block; margin-bottom: 8px; }
footer.site-footer .brand-block .logo-stack .big { font-size: 56px; letter-spacing: 0.05em; }
footer.site-footer .brand-block p { margin-top: 24px; font-size: 13px; line-height: 1.7; max-width: 32ch; opacity: 0.7; }
footer.site-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; opacity: 0.6; }
footer.site-footer ul { list-style: none; }
footer.site-footer ul li { margin-bottom: 12px; }
footer.site-footer ul li a { font-size: 13px; opacity: 0.85; transition: opacity .2s, color .2s; }
footer.site-footer ul li a:hover { opacity: 1; color: var(--accent); }
footer.site-footer .bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  opacity: 0.55; flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────
   Page hero — generic title hero used across inner pages
   ───────────────────────────────────────────────────────── */
.page-hero {
  padding: clamp(60px, 8vw, 120px) var(--pad-x) clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1.display { max-width: 18ch; margin-bottom: 24px; }
.page-hero .lede { font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }
.page-hero .crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--mute); margin-bottom: 32px; text-transform: uppercase;
}
.page-hero .crumb a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────────
   Mobile drawer + backdrop
   ───────────────────────────────────────────────────────── */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(56,37,69,0.45);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  z-index: 90;
  transition: opacity .3s;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--bone);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
  padding: 28px 32px;
  overflow-y: auto;
  box-shadow: 1px 0 0 var(--line);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer .drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.drawer-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.25em;
  color: var(--mute); text-transform: uppercase;
}
.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--ink); transition: border-color .2s, color .2s;
}
.drawer-close:hover { border-color: var(--ink); color: var(--accent); }
.drawer-close svg { width: 14px; height: 14px; }

.drawer-nav {
  display: flex; flex-direction: column;
  margin-bottom: 32px;
}
.drawer-nav a {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 6vw, 36px); letter-spacing: -0.01em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .25s;
}
.drawer-nav a:hover, .drawer-nav a.is-current { color: var(--accent); padding-left: 8px; }

.drawer-section {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 28px;
}
.drawer-section .drawer-eyebrow { margin-bottom: 12px; }
.drawer-section a {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-soft); padding: 6px 0;
  transition: color .2s;
}
.drawer-section a:hover { color: var(--accent); }

.drawer-foot {
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────────────────────
   Scroll reveals
   ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────────────────────────────────────────
   Responsive base
   ───────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 18px var(--pad-x);
  }
  .nav-burger { display: inline-flex; }
  .nav-links { display: none; }
  .nav-icons { gap: 14px; }
  .nav-icons a span.bag-count { display: none; }
  .logo { font-size: 16px; letter-spacing: 0.25em; }
  footer.site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  footer.site-footer .top { grid-template-columns: 1fr; }
  .nav-icons { gap: 10px; }
  .nav-wish { display: none; }
}
