/* ============================================================
   Femme Evoke — design system
   Palette drawn from the grapeseed world: parchment, deep grape,
   honey gold, vine sage. Display: Fraunces. Body: Outfit.
   ============================================================ */

:root {
  --parchment: #FAF6F0;
  --cream-deep: #F1E8DC;
  --ink: #2E1F2A;
  --ink-soft: #5A4A55;
  --grape: #5C2E46;
  --grape-light: #7E4560;
  --gold: #B98A52;
  --gold-soft: #D3B183;
  --sage: #7C8B6F;
  --blush: #E9CDBF;
  --white: #FFFDFA;
  --line: rgba(46, 31, 42, 0.14);
  --shadow: 0 24px 60px -24px rgba(46, 31, 42, 0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--grape); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--grape-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--blush); color: var(--grape); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }

/* ---------- typography ---------- */

.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.display em, h1 em, h2 em { font-style: italic; font-weight: 340; color: var(--grape); }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

/* ---------- layout ---------- */

.section { padding: 5.5rem 0; }
.section--alt { background: var(--cream-deep); }
.section--dark { background: var(--grape); color: var(--parchment); }
.section--dark h1 em, .section--dark h2 em, .section--dark .display em { color: var(--blush); }
.section--dark h2, .section--dark h3 { color: var(--parchment); }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark .muted, .section--dark .lede { color: rgba(250, 246, 240, 0.75); }
.section--dark a { color: var(--gold-soft); }

.section-head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }

.logo { display: inline-flex; align-items: baseline; gap: 0.3rem; text-decoration: none; }
.logo .logo-femme { font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--ink); }
.logo .logo-evoke { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { font-size: 0.92rem; letter-spacing: 0.04em; color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--grape); }
.nav-links a[aria-current="page"] { border-bottom: 1px solid var(--gold); }

.nav-cta { white-space: nowrap; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: var(--ink); }

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--parchment);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 0; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- buttons & badges ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary { background: var(--grape); color: var(--parchment); }
.btn--primary:hover { background: var(--grape-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(92, 46, 70, 0.55); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-soft); color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--grape); border-color: var(--grape); }
.btn--ghost:hover { background: var(--grape); color: var(--parchment); }

.badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grape);
  background: var(--blush);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}
.badge--gold { background: rgba(185, 138, 82, 0.16); color: var(--gold); }
.badge--sage { background: rgba(124, 139, 111, 0.16); color: var(--sage); }

/* ---------- signature: drop marks & dividers ---------- */

.drop-mark { list-style: none; padding: 0; }
.drop-mark li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; }
.drop-mark li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.divider-drop {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  margin: 2.5rem auto;
  color: var(--gold);
}
.divider-drop::before, .divider-drop::after {
  content: ""; width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- signature: formula strip ---------- */

.formula-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.formula-strip .formula-title {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.formula-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-bottom: 0.7rem; }
.formula-bar span { display: block; height: 100%; }
.formula-bar .f-base { background: var(--gold-soft); }
.formula-bar .f-jojoba { background: var(--sage); }
.formula-bar .f-vitе, .formula-bar .f-vite { background: var(--blush); }
.formula-bar .f-essence { background: var(--grape); }
.formula-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: 0.82rem; color: var(--ink-soft); }
.formula-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.4rem; }

/* ---------- cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { display: block; background: var(--cream-deep); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.6rem; }
.card-body h3 { margin: 0.6rem 0 0.5rem; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--grape); }
.card-price { font-family: var(--font-display); font-size: 1.35rem; color: var(--grape); }
.card-meta { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { padding: 1.1rem 0 0; font-size: 0.85rem; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.breadcrumbs li + li::before { content: "›"; margin: 0 0.5rem; color: var(--gold); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--grape); }
.breadcrumbs [aria-current="page"] { color: var(--grape); }

/* ---------- hero ---------- */

.hero { padding: 4.5rem 0 5rem; }
.hero .grid-split { align-items: center; }
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-media::before {
  content: "";
  position: absolute; inset: -2rem;
  background: radial-gradient(ellipse at center, rgba(233, 205, 191, 0.55), transparent 70%);
  z-index: 0;
}
.hero-media img { position: relative; z-index: 1; max-width: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- product page ---------- */

.product-hero { padding: 2.5rem 0 4rem; }
.product-hero .price-row { display: flex; align-items: baseline; gap: 1.6rem; margin: 1.4rem 0; }
.price { font-family: var(--font-display); font-size: 2rem; color: var(--grape); }
.price .size { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); margin-right: 0.35rem; }

.inci {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.4rem 1.6rem;
  font-size: 0.92rem; color: var(--ink-soft);
}
.inci strong { color: var(--ink); }

.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: step; text-align: center; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: 0 auto 1rem;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold);
}
.steps h3 { margin-bottom: 0.4rem; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

.note-box {
  background: rgba(185, 138, 82, 0.09);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem; color: var(--ink-soft);
  margin: 2rem 0;
}
.note-box strong { color: var(--ink); }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: 0.9rem;
  padding: 0 1.4rem;
}
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-weight: 400; font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); transition: transform 0.25s ease; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--ink-soft); }

/* ---------- prose (blog article body) ---------- */

.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin: 3rem 0 1.2rem; }
.prose h3 { margin: 2.2rem 0 0.9rem; }
.prose p { margin-bottom: 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 1.8rem 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem;
  color: var(--grape);
}
.prose table {
  width: 100%; border-collapse: collapse;
  margin: 1.8rem 0; font-size: 0.95rem;
  background: var(--white); border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--line);
}
.prose th {
  font-family: var(--font-body); font-weight: 500; text-align: left;
  background: var(--cream-deep); color: var(--ink);
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--line);
}
.prose td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.prose tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem;
  font-size: 0.88rem; color: var(--ink-soft);
  margin: 1.2rem 0 2rem;
}
.article-hero { border-radius: var(--radius); overflow: hidden; margin: 0 0 2.5rem; box-shadow: var(--shadow); }
.article-hero img { width: 100%; }

.sources { font-size: 0.9rem; }
.sources ol { margin-left: 1.4rem; }
.sources li { margin-bottom: 0.6rem; overflow-wrap: anywhere; }

.disclaimer-box {
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.6rem;
  font-size: 0.88rem; color: var(--ink-soft);
  margin: 2.5rem 0;
}

/* ---------- CTA panel ---------- */

.cta-panel {
  background: var(--grape); color: var(--parchment);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-panel h2, .cta-panel h3 { color: var(--parchment); margin-bottom: 0.4rem; }
.cta-panel p { color: rgba(250, 246, 240, 0.78); max-width: 46ch; }
.cta-panel p a { color: var(--blush); }
.cta-panel p a:hover { color: var(--parchment); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(250, 246, 240, 0.72); font-size: 0.92rem; margin-top: 5rem; }
.site-footer .footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.site-footer h4 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(250, 246, 240, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-brand .logo .logo-femme { color: var(--parchment); }
.footer-legal {
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  padding: 1.6rem 0 2.2rem;
  font-size: 0.78rem; color: rgba(250, 246, 240, 0.45);
}
.footer-legal p { max-width: 900px; margin: 0 auto 0.6rem; text-align: center; }
@media (max-width: 860px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .footer-main { grid-template-columns: 1fr; }
}

/* ---------- utilities ---------- */

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0; }
