/* ============================================================
   Silent Wisdom Design System
   Soft & Luminous: pale gradients, rounded forms, airy whitespace
   ============================================================ */

:root {
  /* Palette: Blush & Sage, a warmer re-tint of the original soft gradient marks */
  --cream:        #FBF5F0;
  --cream-deep:   #F5E7DE;
  --mist:         #FBEDEB;
  --white:        #FFFFFF;

  --ink:          #453733;
  --ink-soft:     #8A776F;
  --ink-faint:    #B0A198;

  --lavender:     #E3AEAF;
  --lavender-deep:#C97D82;
  --peach:        #EFC98D;
  --peach-deep:   #D9A24E;
  --sage:         #9CAF88;
  --sage-deep:    #74915F;
  --sky:          #C9B7C4;
  --gold:         #D8B26A;

  --line:         rgba(69, 55, 51, 0.10);
  --shadow-soft:  0 20px 60px -25px rgba(160, 90, 90, 0.22);
  --shadow-card:  0 12px 32px -18px rgba(160, 90, 90, 0.20);

  --radius-lg:    32px;
  --radius-md:    20px;
  --radius-sm:    12px;
  --radius-pill:  999px;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 460; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  font-weight: 600;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--lavender-deep);
  display: inline-block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--mist); }

.center { text-align: center; }
.lede {
  font-size: 1.15rem;
  max-width: 640px;
}
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Blobs / luminous background ---------- */
.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob--lavender { background: var(--lavender); }
.blob--peach { background: var(--peach); }
.blob--sage { background: var(--sage); }
.blob--sky { background: var(--sky); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--lavender-deep), #A996F0);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(143, 127, 224, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(143, 127, 224, 0.65); }

.btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--lavender-deep);
  border: 1.5px solid var(--lavender-deep);
}
.btn-outline:hover { background: var(--lavender-deep); color: #fff; }

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--lavender-deep);
  font-size: 0.95rem;
}
.link-arrow svg { transition: transform 0.25s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
}
.brand-mark {
  position: relative;
  width: 40px; height: 40px;
  box-sizing: border-box;
  border-radius: 50%;
  overflow: hidden;
  background: #5E386B;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 12px -4px rgba(160, 90, 90, 0.4);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--lavender), var(--peach), var(--sage), var(--sky), var(--lavender));
  z-index: -1;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--lavender-deep); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-social { display: flex; gap: 8px; }
.nav-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--lavender-deep);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-social a:hover { background: var(--lavender-deep); color: #fff; }
@media (max-width: 480px) {
  .nav-social { display: none; }
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all 0.25s ease;
}
.nav-toggle span { margin: 5px 0; }

@media (max-width: 480px) {
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-cta { gap: 10px; }
  .nav-inner { padding: 14px 18px; }
}

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 24px 28px 32px;
    border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0;
    pointer-events: none; transition: all 0.25s ease; gap: 18px; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 32px;
}
.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: var(--lavender); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer h4 {
  color: #fff; font-family: var(--font-body); font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-quote {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  padding-top: 40px;
}
.footer-quote span {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
}
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px;
}
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 14px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Quote block ---------- */
.quote-block {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--ink);
  line-height: 1.5;
  max-width: 760px;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--peach);
  line-height: 0.5;
  display: block;
  margin-bottom: 12px;
}
.quote-attr {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--mist);
  color: var(--lavender-deep);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pill:hover { background: var(--lavender); color: #fff; }
.pill.active { background: var(--lavender-deep); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--lavender-deep); }

/* ---------- Utility ---------- */
.stack-lg > * + * { margin-top: 28px; }
.stack-md > * + * { margin-top: 18px; }
.text-center { text-align: center; }
.muted { color: var(--ink-faint); }
.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 48px 0;
}
.badge-soft {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-sage { background: rgba(163, 198, 168, 0.25); color: var(--sage-deep); }
.badge-peach { background: rgba(250, 174, 130, 0.25); color: var(--peach-deep); }
.badge-lavender { background: rgba(201, 195, 245, 0.35); color: var(--lavender-deep); }

.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Accordion (retreats archive) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.accordion-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.accordion-thumb:hover { transform: scale(1.08); }
.accordion-title { flex: 1; }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 46, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.accordion-trigger .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--lavender-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}
.accordion-item.open .plus { transform: rotate(45deg); background: var(--lavender-deep); color: #fff; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel-inner { padding: 0 4px 26px; }
.accordion-item.open .accordion-panel { max-height: 800px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive base */
@media (max-width: 900px) {
  .grid-2 { gap: 24px; }
  .section { padding: 64px 0; }
}
