:root {
  --ink: #2B2440;
  --paper: #FBF7F0;
  --paper-dim: #F2ECDF;
  --gold: #C9973A;
  --gold-text: #9C7325; /* darker variant of --gold, meets 4.5:1 contrast on paper for text use */
  --rose: #B5595F;
  --sage: #55613F; /* darkened from #6E7C5F for text contrast */
  --focus-ring: #6E5BA6;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Eyebrow / labels — small caps with a star mark, our recurring device */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}
.eyebrow::before { content: "✦"; font-size: 11px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0 0 16px; }
h1 { font-size: 44px; line-height: 1.1; }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
p.lede { font-size: 18px; color: #55506A; max-width: 46ch; }

/* Header */
.site-header { border-bottom: 1px solid rgba(43,36,64,0.1); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.logo { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.main-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.main-nav a { opacity: 0.7; transition: opacity 200ms ease, color 200ms ease; }
.main-nav a:hover, .main-nav a.active { opacity: 1; color: var(--rose); }
.nav-cta { font-size: 13px; font-weight: 600; background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 100px; transition: background 200ms ease, transform 150ms ease; }
.nav-cta:hover { background: var(--rose); transform: translateY(-1px); }

/* Hero */
.hero { padding: 72px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.btn { font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 100px; border: 1px solid var(--ink); display: inline-block; cursor: pointer; transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 150ms ease; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-primary:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-1px); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

/* Constellation signature — dotted trail connecting the two paths */
.wish-trail { width: 100%; height: auto; }
.wish-trail circle { fill: var(--gold); }
.wish-trail line { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 6; opacity: 0.6; }

/* Two-path section */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0 64px; }
.path-card { background: var(--paper-dim); border-radius: 16px; padding: 32px; transition: transform 200ms ease, box-shadow 200ms ease; }
.path-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(43,36,64,0.08); }
.path-card.shop { background: #EFE3D9; }
.path-card.read { background: #E7E2ED; }
.path-card h3 { margin-bottom: 8px; }
.path-card p { color: #55506A; margin: 0 0 20px; font-size: 15px; }

/* Section headers */
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.section-head a { font-size: 14px; font-weight: 600; color: var(--rose); transition: opacity 200ms ease; }
.section-head a:hover { opacity: 0.7; }

/* Article cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { background: var(--paper-dim); border-radius: 14px; padding: 20px; display: block; transition: transform 200ms ease, box-shadow 200ms ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(43,36,64,0.1); }
.article-card .tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage); }
.article-card h3 { margin: 8px 0 6px; font-size: 18px; }
.article-card p.excerpt { font-size: 14px; color: #55506A; margin: 0; }
.article-card .date { font-size: 12px; color: #8A83A0; margin-top: 12px; }

/* Product cards */
.product-card { background: var(--paper-dim); border-radius: 14px; overflow: hidden; display: block; transition: transform 200ms ease, box-shadow 200ms ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(43,36,64,0.1); }
.product-thumb {
  height: 140px;
  background-color: #EFE3D9;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201,151,58,0.35) 0 3px, transparent 3px),
    radial-gradient(circle at 70% 65%, rgba(181,89,95,0.3) 0 4px, transparent 4px),
    radial-gradient(circle at 45% 80%, rgba(43,36,64,0.18) 0 2px, transparent 2px),
    linear-gradient(135deg, #EFE3D9, #E7E2ED);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.product-info { padding: 16px; }
.product-info .category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage); font-weight: 600; }
.product-info h3 { font-size: 16px; margin: 6px 0 4px; }
.product-info .price { font-family: var(--font-display); font-size: 18px; color: var(--rose); }

/* Newsletter */
.newsletter { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 48px; text-align: center; margin: 0 24px 64px; }
.newsletter h2 { color: var(--paper); }
.newsletter p { color: #C9C3DA; margin-bottom: 24px; }
.newsletter form { display: flex; justify-content: center; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter input[type="email"] { flex: 1; padding: 12px 16px; border-radius: 100px; border: none; font-family: var(--font-body); }
.newsletter button { border: none; }

/* Footer */
.site-footer { border-top: 1px solid rgba(43,36,64,0.1); padding-top: 48px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 32px; flex-wrap: wrap; }
.footer-tagline { color: #55506A; font-size: 14px; max-width: 24ch; }
.footer-cols { display: flex; gap: 48px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sage); margin: 0 0 4px; }
.footer-cols a { font-size: 14px; opacity: 0.8; transition: opacity 200ms ease; }
.footer-cols a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(43,36,64,0.1); padding: 18px 24px; font-size: 13px; color: #8A83A0; }

/* Article / product detail pages */
.detail-head { padding: 56px 0 32px; max-width: 68ch; }
.detail-body { max-width: 68ch; padding-bottom: 64px; font-size: 17px; color: #3D3752; }
.detail-body p { margin: 0 0 20px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0 64px; align-items: start; }
.product-detail .product-thumb { height: 320px; border-radius: 16px; }

/* Filter pills */
.filter-row { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.pill { font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 100px; background: var(--paper-dim); display: inline-block; cursor: pointer; transition: background 200ms ease, color 200ms ease; }
.pill:hover { background: #E7DFCF; }
.pill.active { background: var(--ink); color: var(--paper); }
.pill.active:hover { background: var(--ink); }

@media (max-width: 820px) {
  .hero-inner, .paths, .product-detail { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}
