/* ═══════════════════════════════════════════════════════
   SACRED CIRCLES SUPPLY DIRECTORY — soft sanctuary editorial
   cream · blush · rose gold · fraunces serif
   ═══════════════════════════════════════════════════════ */

:root {
  /* divine feminine: rose quartz, orchid, pearl & antique gold */
  --cream: #fbf4f2;
  --cream-deep: #f5e8e4;
  --blush: #f4dadd;
  --blush-soft: #f9ebec;
  --rose: #c06b80;
  --rose-deep: #973f57;
  --rose-whisper: #ecc6cc;
  --orchid: #9c6b94;
  --orchid-soft: #f0e4ef;
  --terracotta: #b8764f;
  --gold: #8f6a35;
  --gold-soft: #c9a36a;
  --ink: #452e33;
  --ink-soft: #7d5f63;
  --card: #fffbfa;
  --shadow: 0 2px 24px rgba(151, 63, 87, 0.08);
  --shadow-lift: 0 10px 40px rgba(151, 63, 87, 0.16);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", "Helvetica Neue", sans-serif;
}

/* the browser surfaces carry the design too */
::selection { background: var(--rose-whisper); color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
input, textarea { caret-color: var(--rose-deep); }
html { scrollbar-color: var(--rose-whisper) var(--cream); }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  /* soft grain + blush atmosphere */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(192, 107, 128, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 36% at 8% 42%, rgba(156, 107, 148, 0.09), transparent 65%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(201, 163, 106, 0.10), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::after {
  /* grain overlay */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.72 0 0 0 0 0.43 0 0 0 0 0.47 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 999;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── header ─────────────────────────────── */
header {
  padding: 26px 0 6px;
  text-align: center;
}
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand .moons { letter-spacing: 0.35em; font-size: 0.8rem; color: var(--gold); }

/* ── hero ───────────────────────────────── */
.hero { text-align: center; padding: 72px 0 18px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 21ch;
  text-wrap: balance;
  margin: 0 auto;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
}
.hero p.sub {
  text-wrap: pretty;
  margin: 20px auto 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.moon-divider {
  display: flex; justify-content: center; gap: 14px;
  margin: 26px 0 8px; color: var(--rose-whisper); font-size: 0.75rem;
}

/* ── search ─────────────────────────────── */
.search-shell { max-width: 560px; margin: 26px auto 0; position: relative; }
.search-shell input {
  width: 100%;
  padding: 17px 54px 17px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--rose-whisper);
  background: var(--card);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  box-shadow: var(--shadow);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search-shell input:focus { border-color: var(--rose); box-shadow: var(--shadow-lift); }
.search-shell input::placeholder { color: #bca39e; }
.search-shell .go {
  position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--rose); color: #fff;
  font-size: 1.05rem; line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.search-shell .go:hover { background: var(--rose-deep); transform: translateY(-50%) scale(1.06); }

/* ── category tiles ─────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  padding: 56px 0 14px;
}
.tile {
  background: var(--card);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s, border-color 0.3s;
  animation: rise 0.6s backwards;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--rose-whisper); }
.tile .icon { display: block; margin-bottom: 12px; color: var(--rose); }
.tile .icon svg { width: 30px; height: 30px; }
.tile:hover .icon { color: var(--orchid); }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.25; }
.tile p { font-size: 0.82rem; color: var(--ink-soft); margin-top: 5px; }

/* ── section headings ───────────────────── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin: 64px 0 20px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--ink);
}
.section-head h2 .dot { color: var(--gold); }
.section-head a { color: var(--rose-deep); font-size: 0.9rem; text-decoration: none; }
.section-head a:hover { text-decoration: underline; }

/* ── shop cards ─────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding-bottom: 30px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(183, 110, 121, 0.13);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
  animation: rise 0.55s backwards;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card .photo {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 251, 250, 0.9);
  position: relative;
}
.ph-icon svg { width: 52px; height: 52px; filter: drop-shadow(0 2px 10px rgba(70, 25, 40, 0.3)); }
.entry .photo .ph-icon svg { width: 84px; height: 84px; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.card .tagline { font-size: 0.85rem; color: var(--ink-soft); margin: 5px 0 12px; flex: 1; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* chips & badges */
.chip {
  font-size: 0.68rem; letter-spacing: 0.04em;
  padding: 3.5px 10px; border-radius: 999px;
  background: var(--blush-soft); color: var(--rose-deep);
  border: 1px solid rgba(183, 110, 121, 0.18);
  white-space: nowrap;
}
.chip.price { background: var(--cream-deep); color: var(--gold); border-color: rgba(201,163,106,0.35); font-weight: 700; }
.chip.badge-w { background: #f7e0e7; color: #96314e; }
.chip.badge-i { background: #f3e5da; color: #8a5430; }
.chip.badge-im { background: var(--orchid-soft); color: #7c4a73; }
.chip.ships { background: transparent; border-style: dashed; color: var(--ink-soft); }

/* ── browse page ────────────────────────── */
.page-title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; font-size: 2.1rem; margin: 34px 0 4px; }
.page-sub { color: var(--ink-soft); margin-bottom: 20px; }
.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 16px 18px;
  background: rgba(255, 253, 250, 0.75);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: var(--radius);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
  align-items: center;
}
.filters select {
  font-family: var(--sans); font-size: 0.86rem; color: var(--ink);
  padding: 9px 13px; border-radius: 10px;
  border: 1px solid var(--rose-whisper); background: var(--card);
  cursor: pointer; outline: none;
}
.filters select:focus { border-color: var(--rose); }
.toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.86rem; color: var(--ink); cursor: pointer;
  padding: 9px 13px; border-radius: 10px;
  border: 1px solid var(--rose-whisper); background: var(--card);
  user-select: none;
  transition: background 0.2s, border-color 0.2s;
}
.toggle input { accent-color: var(--rose); cursor: pointer; }
.toggle.on { background: var(--blush-soft); border-color: var(--rose); }
.filters .clear {
  margin-left: auto; border: none; background: none;
  color: var(--rose-deep); font-size: 0.82rem; cursor: pointer;
  text-decoration: underline; font-family: var(--sans);
}
.count-line { font-size: 0.85rem; color: var(--ink-soft); margin: -12px 0 16px 4px; }

.empty {
  text-align: center; padding: 70px 20px; color: var(--ink-soft);
}
.empty .big { font-size: 2rem; margin-bottom: 10px; }

/* ── entry page ─────────────────────────── */
.back-link {
  display: inline-block; margin: 28px 0 18px;
  color: var(--rose-deep); text-decoration: none; font-size: 0.9rem;
}
.back-link:hover { text-decoration: underline; }
.entry {
  background: var(--card);
  border: 1px solid rgba(183, 110, 121, 0.14);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  margin-bottom: 40px;
  animation: rise 0.5s backwards;
}
.entry .photo {
  height: 240px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 251, 250, 0.9);
}
.entry .photo img { width: 100%; height: 100%; object-fit: cover; }
.entry .inner { padding: 30px 34px 36px; }
.entry h1 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; font-size: 2.2rem; line-height: 1.15; }
.entry .tagline { color: var(--ink-soft); font-size: 1.02rem; margin: 6px 0 14px; }
.love {
  margin: 22px 0;
  padding: 24px 28px 22px;
  background: linear-gradient(135deg, var(--blush-soft), var(--orchid-soft));
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.love::before {
  content: "❝";
  position: absolute; top: -14px; right: 10px;
  font-family: var(--serif);
  font-size: 7rem; line-height: 1;
  color: rgba(192, 107, 128, 0.14);
  pointer-events: none;
}
.love h4 {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  color: var(--rose-deep); font-size: 1.02rem; margin-bottom: 6px;
}
.love p { font-size: 0.97rem; max-width: 65ch; text-wrap: pretty; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 22px 0;
}
.fact {
  background: var(--cream-deep); border-radius: 12px; padding: 12px 15px;
}
.fact .label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.fact .value { font-size: 0.95rem; font-weight: 700; margin-top: 3px; }
.signature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.96rem; margin: 18px 0 26px; color: var(--ink);
}
.signature .star { color: var(--gold); }
.visit {
  display: inline-block;
  background: linear-gradient(120deg, var(--rose), var(--rose-deep));
  color: #fff; text-decoration: none;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 16px 42px; border-radius: 999px;
  box-shadow: 0 8px 26px rgba(150, 80, 94, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.visit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(150, 80, 94, 0.45); }

/* ── email capture ──────────────────────── */
.capture {
  margin: 30px 0 10px;
  padding: 38px 30px;
  text-align: center;
  background: linear-gradient(130deg, var(--blush), var(--blush-soft));
  border-radius: 24px;
  border: 1px solid rgba(183, 110, 121, 0.18);
}
.capture h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.capture p { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 18px; }
.capture form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.capture input {
  padding: 13px 20px; border-radius: 999px; min-width: 250px;
  border: 1.5px solid rgba(183, 110, 121, 0.3);
  font-family: var(--sans); font-size: 0.95rem; outline: none;
  background: var(--card);
}
.capture input:focus { border-color: var(--rose); }
.capture button {
  padding: 13px 28px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--rose-deep); color: #fff;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 700;
  transition: background 0.2s;
}
.capture button:hover { background: var(--rose); }
.capture .thanks { color: var(--rose-deep); font-weight: 700; margin-top: 10px; }

/* ── footer ─────────────────────────────── */
footer {
  text-align: center;
  padding: 36px 20px 46px;
  color: var(--ink-soft);
  font-size: 0.8rem;
}
footer .moons { letter-spacing: 0.4em; color: var(--rose-whisper); display: block; margin-bottom: 12px; }
footer .disclosure { max-width: 60ch; margin: 8px auto 0; }

/* ── animation ──────────────────────────── */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 640px) {
  .entry .inner { padding: 24px 20px 30px; }
  .filters .clear { margin-left: 0; }
  .section-head { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .tile, .card, .entry { animation: none; }
  * { transition: none !important; }
}


/* ── taste pass: haptic press states ────── */
.card:active, .tile:active { transform: translateY(-1px) scale(0.99); }
.visit:active { transform: scale(0.98); }
.capture button:active, .search-shell .go:active { transform: scale(0.96); }
.search-shell .go:active { transform: translateY(-50%) scale(0.96); }

/* ── taste pass: button-in-button CTA ───── */
.visit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 11px 11px 42px;
}
.v-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 251, 250, 0.18);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  transition: transform 0.45s cubic-bezier(.32,.72,0,1), background 0.3s;
}
.visit:hover .v-arrow { transform: translateX(3px); background: rgba(255, 251, 250, 0.28); }

/* ── taste pass: double-bezel entry shell ── */
.entry-shell {
  background: linear-gradient(170deg, rgba(255,251,250,0.9), rgba(245,232,228,0.8));
  border: 1px solid rgba(192, 107, 128, 0.16);
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--shadow-lift);
  margin-bottom: 40px;
}
.entry-shell .entry {
  border-radius: 23px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 1px 14px rgba(151, 63, 87, 0.06);
  border-color: rgba(192, 107, 128, 0.1);
  margin-bottom: 0;
}

/* ── taste pass: asymmetric featured bento ─ */
@media (min-width: 780px) {
  .grid.featured .card:first-child { grid-column: span 2; }
  .grid.featured .card:first-child .photo { height: 190px; }
}

/* ── photos sit over the gradient+icon fallback ── */
.photo { position: relative; overflow: hidden; }
.photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
