/* Palette taken from the brand artwork: dusty mauve ground, plum line work */
:root {
  --bg: #faf6f7;
  --ink: #3b2232;
  --muted: #7d6672;
  --plum: #90416f;
  --mauve: #cab5ba;
  --rose: #efe2e5;
  --lilac: #e6dce8;
  --petal: #f4eaec;
  --dusk: #ddcbd0;
  --line: rgba(59, 34, 50, 0.1);
  --radius: 18px;
  --display: "Cormorant Garamond", Georgia, serif;
  --caps: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }

.announcement {
  background: var(--plum);
  color: var(--bg);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 40px;
  background: rgba(250, 246, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--caps);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav { display: flex; gap: 28px; font-size: 0.9rem; }
.nav-right { justify-content: flex-end; align-items: center; }
.nav a:hover { color: var(--plum); }

.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--plum);
  color: var(--bg);
  border: 1.5px solid var(--plum);
  border-radius: 999px;
  padding: 14px 30px;
  font: 500 0.95rem var(--sans);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--bg); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 12px;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}
h1 em, h2 em { color: var(--plum); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--rose), var(--bg));
  margin-bottom: 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 40px 64px;
  max-width: 1240px;
  margin: 0 auto;
}
.hero h1 { font-size: clamp(3rem, 6.5vw, 5.4rem); margin-bottom: 20px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 420px; margin-bottom: 32px; }
.hero-logo { width: 100%; max-width: 380px; justify-self: center; }

/* Products */
.products { max-width: 1240px; margin: 0 auto 100px; padding: 0 40px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.section-head h2 { font-size: 2.6rem; }
.section-head a { font-size: 0.9rem; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 24px;
}
.more .product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product { display: block; }
.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  border-radius: var(--radius);
  background: var(--rose);
  margin-bottom: 14px;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product:hover .product-image img { transform: scale(1.04); }
.product:hover h3 { color: var(--plum); }
.product-summary { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bg);
  color: var(--plum);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
}
.product h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.product .price { font-weight: 700; margin-top: 6px; }

/* Product page */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 100px;
  padding: 40px 40px 0;
}
.pdp-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--rose);
}
.pdp-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pdp-info {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding-top: 12px;
}
.back-link { font-size: 0.9rem; color: var(--plum); }
.pdp-info h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.pdp-price { font-size: 1.3rem; font-weight: 700; }
.pdp-desc { color: var(--muted); font-size: 1.05rem; max-width: 46ch; }
.pdp-details {
  list-style: none;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.pdp-details li::before { content: "✦"; color: var(--plum); margin-right: 10px; font-size: 0.8rem; }
.btn-buy { text-align: center; font-size: 1rem; padding: 16px 30px; }
.btn-buy[aria-disabled="true"] { background: var(--dusk); border-color: var(--dusk); color: var(--muted); cursor: default; transform: none; }
.pdp-note { font-size: 0.85rem; color: var(--muted); text-align: center; }
.pdp-handmade {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--plum);
  background: var(--petal);
  border-radius: var(--radius);
  padding: 16px 20px;
}

/* Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--mauve);
  max-width: 1240px;
  margin: 0 auto 100px;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
}
.story-art {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}
.story-text { padding: 60px; align-self: center; }
.story-text .eyebrow { color: var(--ink); }
.story-text h2 { font-size: 2.8rem; margin-bottom: 18px; }
.story-text p:not(.eyebrow) { color: var(--ink); margin-bottom: 28px; max-width: 46ch; }

/* Newsletter */
.newsletter {
  text-align: center;
  padding: 80px 24px;
  background: var(--rose);
}
.newsletter h2 { font-size: 2.8rem; margin-bottom: 10px; }
.newsletter p { color: var(--muted); }
.newsletter form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 28px auto 0;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--plum);
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}
.form-msg { margin-top: 14px; min-height: 1.5em; }

/* Footer */
.site-footer { padding: 60px 40px 30px; max-width: 1240px; margin: 0 auto; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-brand img { width: 110px; }
.footer-cols p { color: var(--muted); margin-top: 12px; }
.footer-cols h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--plum);
  margin-bottom: 12px;
}
.footer-cols a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }
.footer-cols a:hover { color: var(--plum); }
.copyright { font-size: 0.8rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Mobile */
@media (max-width: 860px) {
  .site-header { padding: 14px 16px; }
  .nav-left {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-left.open { display: flex; }
  .nav-right a:last-child { display: none; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    width: 28px;
  }
  .menu-toggle span { height: 1.5px; background: var(--ink); }
  .wordmark { font-size: 1.3rem; }

  .hero-inner { grid-template-columns: 1fr; padding: 36px 16px 48px; text-align: center; gap: 28px; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-logo { order: -1; max-width: 220px; }

  .products { padding: 0 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .product h3 { font-size: 1.2rem; }
  .pdp { grid-template-columns: 1fr; gap: 24px; padding: 16px 16px 0; margin-bottom: 72px; }
  .pdp-info { position: static; padding-top: 0; }
  .more { margin-bottom: 72px; }
  .story { grid-template-columns: 1fr; margin: 0 16px 80px; }
  .story-art { max-height: 320px; }
  .story-text { padding: 36px 24px; }
  .newsletter form { flex-direction: column; }
  .site-footer { padding: 50px 16px 30px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
