/* ============================================================
   Meditation Dummy — design tokens
   Palette: warm stone + deep sage + a touch of ochre.
   Deliberately avoiding the lavender/purple "spa" cliché and
   lotus-flower iconography — this is meant to feel grounded,
   plain-spoken, and unintimidating rather than mystical.
   Motif: a simple concentric "ripple" mark stands in for the
   usual lotus/om iconography — breath and stillness, not spa.
   ============================================================ */

:root {
  --bg: #edeae1;
  --surface: #f8f6f0;
  --surface-alt: #e3ded0;
  --ink: #262a25;
  --ink-soft: #5b5f57;
  --ink-faint: #8a8d81;
  --accent: #46604f;       /* deep sage — primary */
  --accent-soft: #6d8574;  /* lighter sage, for hover/secondary */
  --gold: #b3812f;         /* muted ochre — used sparingly */
  --line: #d9d3c2;
  --line-soft: #e6e1d3;

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

  --max: 780px;
  --max-wide: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
a:hover { color: var(--gold); }

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

/* ---------- Ripple mark ---------- */
.ripple {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
}
.ripple circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

/* ---------- Header ---------- */
.site-header {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 28px 24px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.brand .ripple { color: var(--accent); width: 1.1em; height: 1.1em; }
.brand:hover { color: var(--ink); }

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 3px;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #f8f6f0;
}
.btn-primary:hover { background: #3a5142; color: #fff; }
.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--ink-soft); color: var(--ink); }

/* concentric ripple illustration used on the hero */
.hero-mark {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mark svg { width: 100%; height: auto; max-width: 300px; }
.hero-mark circle {
  fill: none;
  stroke: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 40px 24px;
}
.section-narrow {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0;
}
.section-head .count {
  font-size: 14px;
  color: var(--ink-faint);
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.three-up h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
}
.three-up p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* ---------- Directory listings ---------- */
.listing-group { margin-bottom: 44px; }
.listing-group h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 6px;
}
.listing-group .group-note {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 60ch;
}

.listing {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
}
.listing:last-child { border-bottom: 1px solid var(--line); }

.listing-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  margin: 0;
}
.listing-name a { color: var(--ink); text-decoration: none; }
.listing-name a:hover { color: var(--accent); }

.listing-meta {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--ink-faint);
}
.listing-meta span:not(:last-child)::after {
  content: "·";
  margin: 0 8px;
  color: var(--line);
}

.listing-desc {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 4px 0 0;
  max-width: 62ch;
}

.listing-link {
  align-self: start;
  justify-self: end;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px 12px;
}
.listing-link:hover { border-color: var(--accent); }

/* ---------- Guide / steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 6px;
}
.step p { margin: 0; color: var(--ink-soft); }

.pull {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 32px 0;
  max-width: 56ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .section-narrow {
  text-align: left;
  padding-top: 44px;
  padding-bottom: 44px;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
}
.cta-band p { color: var(--ink-soft); margin: 0 0 20px; max-width: 52ch; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 36px 24px 60px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-faint);
}
.site-footer a { color: var(--ink-faint); }
.site-footer a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-mark { order: -1; max-width: 180px; margin: 0 auto; }
  .hero-mark svg { max-width: 160px; }
  .three-up { grid-template-columns: 1fr; gap: 28px; }
  .listing { grid-template-columns: 1fr; }
  .listing-link { justify-self: start; }
  .site-nav { gap: 16px; font-size: 14px; }
}

/* ---------- Accessibility ---------- */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
