:root {
  --cream: #f3eee4;
  --cream-deep: #e7e0d2;
  --paper: #f7f3eb;
  --ink: #1a2836;
  --ink-soft: #3d4c5e;
  --muted: #5e6a76;
  --navy: #10283f;
  --navy-deep: #0c1e30;
  --gold: #c4a36a;
  --gold-deep: #a68545;
  --gold-ink: #2c2416;
  --line: rgba(26, 40, 54, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --header: 78px;
  --shadow: 0 18px 50px rgba(16, 40, 63, 0.08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  height: auto;
  overflow-x: clip;
  overflow-y: auto;
}
body {
  margin: 0;
  min-height: 100%;
  height: auto;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: #e6d3ae; color: var(--ink); }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8d7044;
  font-weight: 600;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.05rem, 3vw, 3.05rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.7rem; }
em { font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #d2b27a; }
.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 40, 54, 0.28);
}
.btn-line:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.brand span {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links > li { display: flex; align-items: center; }
.nav-links a {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 11px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  color: #243140;
}
.nav-links a:hover { color: #8d7044; }
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.icon-btn:hover { background: rgba(26, 40, 54, 0.06); }
.menu-toggle { display: none; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #f7f3eb;
  background: #1a2836;
}
.scene-bg {
  position: absolute;
  inset: -14% 0;
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  will-change: transform;
}
.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-photo { background-image: url("assets/hero-sunset.jpg"); background-position: center 30%; }
.hero-shade {
  background: linear-gradient(90deg, rgba(18, 32, 46, 0.48) 0%, rgba(18, 32, 46, 0.16) 48%, rgba(18, 32, 46, 0.05) 72%);
}
.hero-inner { position: relative; z-index: 1; width: min(1120px, calc(100% - 64px)); margin-inline: auto; padding: 46px 0 48px; }
.hero .eyebrow { color: rgba(247, 243, 235, 0.82); margin-bottom: 8px; }
.hero h1 {
  color: #f8f4ec;
  max-width: 15em;
  font-size: clamp(2.15rem, 3.1vw, 3.05rem);
  line-height: 1.08;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}
.hero .btn-row { margin-top: 18px; }
.hero-lead {
  max-width: 460px;
  margin: 12px 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(247, 243, 235, 0.92);
}
.hero-meta {
  margin: 10px 0 0;
  letter-spacing: 0.08em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.8);
}

/* Vision */
.vision {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
  background: var(--paper);
  min-height: 0;
}
.vision-photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.forest-photo { background-image: url("assets/forest-path.jpg"); background-position: center 40%; }
.vision-copy { padding: 56px 64px 52px 56px; }
.vision-copy p { color: var(--ink-soft); margin: 0 0 14px; max-width: 62ch; }
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 36px;
}
.pillar h3 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 12px 0 6px;
}
.pillar p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.icon-circle {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(26, 40, 54, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.icon-circle svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* Practice */
.practice {
  position: relative;
  overflow: hidden;
  color: #f6f1e6;
  background: #0c1828;
}
.moon-photo { background-image: url("assets/moon.jpg"); background-position: 42% 46%; }
.moon-shade {
  background: linear-gradient(90deg, rgba(7, 14, 26, 0.78) 0%, rgba(7, 14, 26, 0.55) 48%, rgba(7, 14, 26, 0.28) 100%);
}
.practice-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  padding: 52px 0;
}
.practice .eyebrow { color: rgba(246, 241, 230, 0.72); }
.practice h2 { color: #f7f3eb; }
.practice p { color: rgba(247, 243, 235, 0.88); }
.practice-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.practice-times span + span { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.35); }
.practice-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 36px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.35;
  color: #f7f3eb;
}
.practice-aside p { margin: 0; }
.practice-lines span { display: block; }

/* VIA */
.via {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--paper);
}
.via-copy { padding: 56px 48px 56px 8vw; }
.via-logo { width: 148px; height: auto; margin-bottom: 22px; border-radius: 4px; }
.via-copy > p { color: var(--ink-soft); max-width: 58ch; }
.steps { margin-top: 36px; display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 8px 16px; }
.step-num {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #8d7044;
  letter-spacing: 0.04em;
}
.step h3 { font-size: 1.55rem; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; grid-column: 2; }
.via-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 420px;
}
.heart-photo { background-image: url("assets/heart-stone.jpg"); background-position: center 45%; }

/* Programs */
.programs { padding: 64px 0 56px; background: var(--cream); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head p.lead, .lead {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.program-card, .info-card, .donation-card, .event-card, .retreat-card {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(26, 40, 54, 0.08);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.program-card { padding: 26px 24px 22px; }
.program-card h3 { font-size: 1.7rem; }
.program-card h4 {
  margin: 4px 0 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d7044;
}
.program-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #4d5b68;
  border: 1px solid rgba(26, 40, 54, 0.14);
  border-radius: 99px;
  padding: 3px 9px;
}

/* Retreats */
.retreats {
  position: relative;
  overflow: hidden;
  color: #f7f3eb;
  min-height: 420px;
  display: flex;
  align-items: center;
  text-align: center;
  background: #24301c;
}
.ginkgo-photo { background-image: url("assets/ginkgo.jpg"); background-position: center 40%; }
.ginkgo-shade {
  background: linear-gradient(180deg, rgba(20, 28, 16, 0.38), rgba(18, 24, 14, 0.5));
}
.retreats-inner { position: relative; z-index: 1; width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0; }
.retreats .eyebrow { color: rgba(247, 243, 235, 0.8); }
.retreats h2 { color: #f8f4ec; }
.retreats .lead { color: rgba(247, 243, 235, 0.9); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pills span {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.retreat-details { padding: 72px 0 28px; background: var(--cream); }
.retreat-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.95fr;
  gap: 16px;
}
.retreat-card { padding: 26px 24px; }
.retreat-card .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d7044;
  margin-bottom: 8px;
}
.retreat-card p { color: var(--ink-soft); margin: 10px 0 0; font-size: 15.5px; }
.retreat-card a { color: #8d7044; text-decoration: none; display: inline-block; margin-top: 14px; }
.retreat-card a:hover { text-decoration: underline; }
.split { display: grid; gap: 18px; }
.split + .split, .split div + div { padding-top: 16px; border-top: 1px solid var(--line); }
.retreat-card .split div:first-child { padding-top: 0; border-top: 0; }

/* Team */
.team { padding: 64px 0 56px; background: var(--paper); }
.team-intro { text-align: center; }
.featured, .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 26px;
  margin-top: 36px;
  width: 100%;
}
.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
}
.avatar, .initials {
  width: 165px;
  height: 165px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid #c9a84c;
  background: #fffaf0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  transform: scale(1.06);
  transform-origin: center center;
  display: block;
}
.initials {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  color: #c9a84c;
  background: #ffffff;
}
.person h3 { font-size: 1.7rem; }
.role {
  margin: 4px 0 8px;
  color: #8d7044;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.person .short { margin: 0 auto; max-width: 34ch; color: var(--muted); font-size: 15px; }
.bio {
  margin-top: auto;
  padding-top: 18px;
  width: 100%;
  text-align: center;
}
.bio summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  cursor: pointer;
  color: #8d7044;
  font-size: 13px;
  letter-spacing: 0.04em;
  list-style: none;
  border: 1px solid rgba(141, 112, 68, 0.45);
  border-radius: 99px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.45);
}
.bio summary:hover { background: rgba(196, 163, 106, 0.2); border-color: #8d7044; }
.bio summary::-webkit-details-marker { display: none; }
.bio summary::marker { content: ""; }
.bio[open] summary { background: #c4a36a; color: #2c2416; border-color: #c4a36a; }
.bio-body {
  margin-top: 14px;
  padding: 14px 14px 4px;
  text-align: left;
  color: var(--ink-soft);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}
.bio-body p { margin: 0 0 10px; }
.team-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

/* Quote */
.quote {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #f7f3eb;
  background: #14202c;
}
.river-photo { background-image: url("assets/winter-river.jpg"); background-position: center 55%; }
.river-shade {
  background: linear-gradient(180deg, rgba(12, 22, 34, 0.45), rgba(12, 22, 34, 0.55));
}
.quote blockquote { position: relative; z-index: 1; margin: 0; padding: 72px 24px; max-width: 760px; }
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.35;
  margin: 0;
}
.quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(247, 243, 235, 0.78);
}

/* Events */
.events { padding: 48px 0 56px; background: var(--cream); }
.events-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.events-head .lead { margin: 10px 0 0; text-align: left; }
.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.event-card { overflow: visible; background: #fbf8f2; display: flex; flex-direction: column; }
.event-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fffaf0;
}
.event-body { padding: 18px 20px 22px; }
.event-date {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d7044;
}
.event-card h3 { font-size: 1.7rem; margin-top: 4px; }
.event-card .meta { margin: 6px 0; color: var(--ink); font-size: 14.5px; }
.event-card p { margin: 0; color: var(--muted); font-size: 15px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.event-actions a, .event-actions button {
  color: #8d7044;
  text-decoration: none;
  font-size: 14.5px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.event-actions a:hover, .event-actions button:hover { text-decoration: underline; }
.block-title {
  margin: 42px 0 8px;
  font-family: var(--serif);
  font-size: 2rem;
}
.block-note { margin: 0 0 14px; color: var(--muted); }
.past-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.past-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  gap: 16px;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
  cursor: pointer;
  color: var(--ink);
}
.past-list button:hover { background: rgba(255, 255, 255, 0.45); }
.past-list time { color: #8d7044; font-size: 14px; letter-spacing: 0.04em; }
.past-hint { color: var(--muted); font-size: 13px; }

/* Research / media */
.research, .media, .gallery, .support, .contact { padding: 64px 0; }
.research { background: var(--paper); text-align: center; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px auto 8px;
  max-width: 880px;
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: #8d7044;
}
.stat span { color: var(--muted); font-size: 14px; }
.media { background: var(--cream); text-align: center; }
.video-card {
  width: min(560px, 100%);
  margin: 28px auto 0;
  padding: 28px 24px 32px;
  text-align: center;
}
.video-card a.play {
  margin-top: 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fbf8f2;
}
.video-card a.play span.mark { font-size: 28px; color: #8d7044; }

.valley {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr 1.1fr;
  height: 180px;
}
.valley img { width: 100%; height: 180px; object-fit: cover; }

.gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.gallery-grid img { width: 100%; height: 230px; object-fit: cover; border-radius: 4px; }
.gallery-grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: white;
  font-size: 13px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.support { background: var(--cream); text-align: center; }
.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}
.donation-card { padding: 24px 22px 22px; background: #fbf8f2; }
.donation-card h3 { font-size: 1.5rem; }
.donation-card p { color: var(--muted); font-size: 15px; }
.donation-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
}
.donation-card img { width: min(100%, 220px); margin: 14px auto 0; border-radius: 4px; }
.thanks { margin-top: 18px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.25rem; }

.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.contact-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}
.contact-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; margin-top: 14px; }
.contact-item strong { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8d7044; font-weight: 600; }
.contact-item a { color: var(--ink); }
.form-card { padding: 28px 26px; background: #fbf8f2; }
.form-card h3 { margin-bottom: 16px; }
label { display: block; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #6d6254; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(26, 40, 54, 0.16);
  border-radius: 3px;
  background: white;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(236, 232, 223, 0.82); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(0, 2fr);
  gap: 48px 40px;
  align-items: start;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 28px;
  align-items: start;
}
.footer-links ul {
  display: grid;
  align-content: start;
  gap: 0;
}
.footer-links li {
  margin: 0;
  min-height: 34px;
  display: flex;
  align-items: center;
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.footer-brand strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: #f3ead7; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e7d7b4;
  margin: 0 0 14px;
  min-height: 18px;
  line-height: 18px;
}
.site-footer h2 a { color: inherit; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: rgba(236, 232, 223, 0.82); text-decoration: none; }
.site-footer a:hover { color: white; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

/* Dialogs */
dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(920px, calc(100% - 32px));
}
dialog::backdrop { background: rgba(10, 16, 24, 0.72); }
.lightbox-card, .search-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 18px;
  position: relative;
}
.lightbox-card img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox-note {
  margin: 0 0 10px;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: #8d3b32;
}
dialog .close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  cursor: pointer;
}
.search-card { width: min(520px, 100%); padding: 22px; }
.search-card input { margin-bottom: 8px; }
.search-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 280px; overflow: auto; }
.search-results a { display: block; padding: 8px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-results a:hover { color: #8d7044; }

:focus-visible { outline: 2px solid #8d7044; outline-offset: 3px; }
section[id],
[id].retreat-card,
#executive-renewal,
#healthy-aging,
#past-events {
  scroll-margin-top: calc(var(--header) + 16px);
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; margin-left: auto; }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--cream);
    margin: 0;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .nav-links a { display: flex; height: auto; padding: 12px 0; font-size: 18px; }
  .vision, .via, .practice-inner, .contact-grid, .footer-grid, .retreat-grid, .event-grid, .donation-grid {
    grid-template-columns: 1fr;
  }
  .vision-copy, .via-copy { padding: 48px 24px; }
  .practice-aside { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); padding: 24px 0 0; }
  .program-grid, .featured, .team-grid, .stat-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .via-photo { min-height: 420px; }
  .retreats { min-height: 0; }
  .valley { grid-template-columns: 1fr 1fr; height: auto; }
  .valley img:last-child { display: none; }
  .footer-bottom, .events-head { flex-direction: column; align-items: flex-start; }
  .past-list button { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 680px) {
  .wrap, .wrap-wide, .hero-inner, .practice-inner { width: calc(100% - 32px); }
  .program-grid, .team-grid, .featured, .stat-grid, .gallery-grid, .donation-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; row-gap: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .hero { min-height: 0; align-items: center; }
  .hero-inner { padding: 32px 0 28px; }
  .hero h1 { max-width: 12em; font-size: 2.05rem; }
  .gallery-grid img { height: 220px; }
  .avatar, .initials { width: 150px; height: 150px; }
  .practice-inner { min-height: 0; padding: 56px 0; }
  .via-copy { padding: 40px 20px; }
  .practice-times span + span { border-left: 0; padding-left: 0; }
  .site-footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
