/* ===========================================
   Ru-Yi Meditation Center — Design System
   Aligned with Ru-Yi Academy: Playfair Display +
   terracotta + sage + dark navy + cream sections.
   =========================================== */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============ Layout primitives ============ */

.section { padding: 110px 56px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-narrow { max-width: 880px; margin: 0 auto; }

.section-cream { background: #f5f6f8; }
.section-white { background: #ffffff; }
.section-dark {
  background: #14181f;
  color: #d8dadf;
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: #c0c4c8; }
.section-dark a { color: #b8431c; }
.section-dark a:hover { color: #fff; }

/* ============ Typography ============ */

.eyebrow {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8c2f12;
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: #d66a48; }

h1, h2, h3, .display {
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  line-height: 1.1;
}

h2 { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 22px; }
h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; line-height: 1.2; }
h4 { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #1a1a1a; margin-bottom: 14px; }

p { color: #2a2725; margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(18px, 1.4vw, 21px);
  color: #4a4a4a;
  max-width: 640px;
  line-height: 1.55;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }

::selection { background: rgba(184, 67, 28, 0.25); color: #14181f; }

.gold-rule { width: 72px; height: 3px; background: #b8431c; margin: 0 0 30px; }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: #14181f; color: #fff; border-color: #14181f; }
.btn-primary:hover { background: #8c2f12; border-color: #8c2f12; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(140, 47, 18, 0.3); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost { background: transparent; color: #14181f; border-color: #14181f; }
.btn-ghost:hover { background: #14181f; color: #fff; }

.btn-gold { background: #b8431c; color: #fff; border-color: #b8431c; }
.btn-gold:hover { background: #8c2f12; color: #fff; border-color: #8c2f12; }

/* ============ HEADER (sticky top nav) ============ */

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #e7e7ea;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  height: 44px;
  width: 44px;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.brand-name em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: #559986;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav { display: flex; gap: 32px; }
.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #4a4d53;
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: #8c2f12; }
.site-nav a.active { color: #1a1a1a; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: #b8431c;
}

@media (max-width: 720px) {
  .header-inner { padding: 0 22px; min-height: 64px; gap: 16px; }
  .brand-name { display: none; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 14px; }
}

/* ============ HERO ============ */

.hero {
  background: linear-gradient(120deg, #f5f6f8 0%, #fafbfc 55%, #fff 100%);
  padding: 90px 56px 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #dee2e6;
}
.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184, 67, 28, 0.18) 0%, rgba(184, 67, 28, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 460px;
}
.parent-mark {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #8c2f12;
  margin-bottom: 32px;
  font-weight: 600;
}
.parent-mark::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #b8431c;
  vertical-align: middle;
  margin-right: 14px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(54px, 7.2vw, 92px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #8c2f12;
}
.hero .vision {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  font-style: italic;
  color: #2a2725;
  max-width: 560px;
  margin-bottom: 42px;
  font-weight: 400;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dee2e6;
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 13.5px;
  color: #3a3d43;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.hero-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ba368;
  box-shadow: 0 0 0 3px rgba(107, 163, 104, 0.22);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-stage {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.hero-logo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(85, 153, 134, 0.12) 0%, rgba(85, 153, 134, 0) 65%);
  pointer-events: none;
}
.hero-logo {
  position: relative;
  width: 78%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 8px 22px rgba(85, 153, 134, 0.18));
}

/* Scenic image strip — between hero and content */
.scenic-strip {
  width: 100%;
  height: clamp(280px, 36vw, 480px);
  overflow: hidden;
  position: relative;
}
.scenic-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scenic-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(245,246,248,0.6) 100%);
  pointer-events: none;
}

/* Editorial columns layout — author-website-demo inspired */
.col-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}
@media (max-width: 800px) { .col-feature-grid { grid-template-columns: 1fr; gap: 40px; } }

.col-feature {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 40px;
  border-bottom: 1px solid #dee2e6;
  transition: all 0.2s ease;
}
.col-feature:hover { transform: translateY(-2px); }

.col-feature-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8c2f12;
  margin-bottom: 14px;
}
.col-feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2vw + 0.5rem, 32px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: #1a1a1a;
}
.col-feature:hover h3 { color: #8c2f12; }
.col-feature-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.col-feature-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: #6b6b6b;
  font-variant-numeric: tabular-nums;
}
.col-feature-read {
  font-weight: 700;
  color: #8c2f12;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11.5px;
}
.col-feature-meta-sep { opacity: 0.5; }

.footer-logo {
  width: 80px;
  height: 80px;
  display: block;
  margin-bottom: 14px;
  opacity: 0.92;
}

/* ============ SECTION HEADS ============ */

.section-head { margin-bottom: 56px; max-width: 720px; }

/* ============ Entry cards (Begin here) — 3-col on desktop ============ */

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.entry-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1.5px solid #dee2e6;
  border-radius: 10px;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.entry-card.live { border-color: #b8431c; }
.entry-card.live::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #b8431c 0%, #8c2f12 100%);
}
.entry-card.live:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 24, 31, 0.10), 0 4px 12px rgba(140, 47, 18, 0.12);
  border-color: #8c2f12;
}
.entry-card.placeholder {
  background: rgba(250, 246, 236, 0.5);
  cursor: default;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6ba368;
  margin-bottom: 24px;
  font-weight: 700;
}
.card-tag .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ba368;
  box-shadow: 0 0 0 3px rgba(107, 163, 104, 0.22);
}
.entry-card.placeholder .card-tag { color: #a8aab0; }
.entry-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.15;
}
.entry-card.placeholder h3 { color: #6b6b6b; }
.card-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #6b6b6b;
  font-size: 17px;
  margin-bottom: 18px;
  line-height: 1.4;
}
.card-desc {
  color: #4a4a4a;
  margin-bottom: 28px;
  font-size: 15.5px;
  line-height: 1.6;
  flex: 1;
}
.card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8c2f12;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.entry-card.live:hover .card-action { gap: 14px; }

/* ============ SECTION: Vision quote ============ */

.vision-section {
  padding: 140px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vision-section::before,
.vision-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
}
.vision-section::before {
  background: radial-gradient(circle, rgba(184, 67, 28, 0.10) 0%, rgba(184, 67, 28, 0) 70%);
  top: -200px;
  left: -100px;
}
.vision-section::after {
  background: radial-gradient(circle, rgba(214, 106, 72, 0.08) 0%, rgba(214, 106, 72, 0) 70%);
  bottom: -200px;
  right: -100px;
}
.big-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.25;
  font-style: italic;
  font-weight: 400;
  color: #fff;
  max-width: 920px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}
.big-quote .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 1.4em;
  color: #b8431c;
  line-height: 0;
  vertical-align: -0.2em;
}
.quote-attribution {
  font-size: 13.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8431c;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ============ SECTION: Values (4-col on desktop) ============ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.value-tile {
  padding: 32px 28px;
  border-radius: 8px;
  background: #fff;
  border-top: 3px solid #b8431c;
  transition: all 0.2s ease;
}
.value-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 24, 31, 0.08);
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #8c2f12;
  margin-bottom: 14px;
  font-weight: 700;
}
.value-tile h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.2;
}
.value-tile h3 .pali {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: #8c2f12;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.value-tile p { font-size: 15px; color: #4a4a4a; line-height: 1.6; }

/* ============ Recent columns block (3-col grid) ============ */

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.recent-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid #e7e7ea;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  min-height: 240px;
}
.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 24, 31, 0.06);
  border-color: #b8431c;
}
.recent-card .card-meta {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c2f12;
  margin-bottom: 16px;
  font-weight: 600;
}
.recent-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #1a1a1a;
  flex: 1;
}
.recent-card .card-date {
  font-size: 13.5px;
  color: #6b6b6b;
  margin-top: auto;
}

/* ============ Contact card ============ */

.contact-card {
  background: linear-gradient(135deg, #f5f6f8 0%, #fafbfc 100%);
  border: 1.5px solid #dee2e6;
  border-radius: 12px;
  padding: 64px 56px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(20, 24, 31, 0.06);
}
.contact-card h2 { margin-bottom: 16px; }
.contact-card p {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 17px;
  color: #4a4a4a;
}

/* ============ Page header (inner pages) ============ */

.page-header {
  background: linear-gradient(120deg, #f5f6f8 0%, #fafbfc 55%, #fff 100%);
  padding: 90px 56px 70px;
  border-bottom: 1px solid #dee2e6;
}
.page-header-inner {
  max-width: 880px;
  margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  margin-bottom: 24px;
}
.page-header h1 em { font-style: italic; color: #8c2f12; font-weight: 400; }
.page-header .lede { max-width: 720px; }

/* ============ Columns index ============ */

.columns-page {
  padding: 80px 56px;
}
.columns-inner { max-width: 1280px; margin: 0 auto; }

.author-section { margin-bottom: 80px; }
.author-section:last-child { margin-bottom: 0; }

.author-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 2px solid #b8431c;
}
.author-section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 0;
}
.author-section-count {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c2f12;
  font-weight: 600;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.column-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: #fff;
  border: 1px solid #e7e7ea;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  min-height: 220px;
}
.column-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 24, 31, 0.06);
  border-color: #b8431c;
}
.column-card .col-date {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c2f12;
  margin-bottom: 14px;
  font-weight: 600;
}
.column-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0;
  color: #1a1a1a;
  flex: 1;
}

/* ============ Article (single column or discourse) ============ */

.article-wrap {
  padding: 70px 56px 110px;
  background: #fff;
}
.article-inner {
  max-width: 720px;
  margin: 0 auto;
}

.breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: #6b6b6b;
  margin-bottom: 32px;
}
.breadcrumb a { color: #6b6b6b; text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: #8c2f12; border-bottom-color: #8c2f12; }
.breadcrumb .sep { margin: 0 10px; opacity: 0.5; }

.article-header { margin-bottom: 48px; }
.sutta-id {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8c2f12;
  font-weight: 700;
  margin-bottom: 18px;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #1a1a1a;
}
.pali-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 21px;
  color: #6b6b6b;
  margin-bottom: 0;
}
.article-meta {
  font-size: 15px;
  color: #6b6b6b;
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
}
.article-author { color: #1a1a1a; font-weight: 600; }

.article-body {
  font-size: 18px;
  line-height: 1.75;
  color: #1a1a1a;
}
.article-body h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-top: 56px;
  margin-bottom: 18px;
  color: #1a1a1a;
}
.article-body h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  margin-top: 40px;
  margin-bottom: 14px;
}
.article-body p { margin-bottom: 1.2em; color: #2a2725; }
.article-body blockquote {
  border-left: 3px solid #b8431c;
  margin: 32px 0;
  padding: 8px 0 8px 28px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: #4a4a4a;
}
.article-body hr { border: none; border-top: 1px solid #dee2e6; margin: 40px 0; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 0.5em; }
.article-body a { color: #8c2f12; text-decoration: underline; text-underline-offset: 4px; }
.article-body a:hover { color: #14181f; }

.article-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #dee2e6;
}
.back-link {
  color: #6b6b6b;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
}
.back-link:hover { color: #8c2f12; border-bottom-color: #8c2f12; }

/* ============ About page ============ */

.about-section { padding: 80px 56px; }
.about-section.cream { background: #f5f6f8; }

.about-inner { max-width: 1280px; margin: 0 auto; }

.founder-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.founder-card {
  padding: 48px 40px;
  background: #fff;
  border: 1.5px solid #dee2e6;
  border-radius: 10px;
  border-top: 3px solid #b8431c;
}
.founder-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 6px;
}
.founder-card .person-zh {
  font-family: 'PingFang TC', 'Apple LiGothic Medium', 'Microsoft JhengHei', serif;
  color: #8c2f12;
  font-size: 22px;
  margin-bottom: 18px;
}
.founder-card .person-role {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b6b;
  font-weight: 700;
  margin-bottom: 20px;
}
.founder-card p { color: #4a4a4a; font-size: 16px; line-height: 1.6; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.team-card {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #e7e7ea;
  border-radius: 8px;
  border-top: 2px solid #b8431c;
}
.team-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.team-card .person-zh {
  font-family: 'PingFang TC', 'Apple LiGothic Medium', 'Microsoft JhengHei', serif;
  color: #8c2f12;
  font-size: 15px;
  margin-bottom: 12px;
}
.team-card .person-role {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b6b;
  font-weight: 700;
  margin-bottom: 12px;
}
.team-card p { color: #4a4a4a; font-size: 14.5px; line-height: 1.55; }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.visit-item h4 { color: #8c2f12; }
.visit-item p { color: #4a4a4a; font-size: 15.5px; line-height: 1.55; }
.visit-item p a { color: #8c2f12; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Discourses index ============ */

.discourses-page { padding: 80px 56px; background: #fff; }
.discourses-inner { max-width: 880px; margin: 0 auto; }

.callout {
  margin: 36px 0;
  padding: 24px 28px;
  background: rgba(184, 67, 28, 0.08);
  border-left: 3px solid #b8431c;
  border-radius: 0 6px 6px 0;
}
.callout p { color: #5a3a30; font-size: 15.5px; margin-bottom: 0; }
.callout p + p { margin-top: 8px; }
.callout strong { color: #8c2f12; }
.callout a { color: #8c2f12; text-decoration: underline; }

.discourse-list { list-style: none; padding: 0; margin: 48px 0 0; }
.discourse-row {
  padding: 22px 0;
  border-top: 1px solid #dee2e6;
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  gap: 24px;
  align-items: baseline;
}
.discourse-row:last-child { border-bottom: 1px solid #dee2e6; }
.discourse-id {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8c2f12;
}
.discourse-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
}
.discourse-title a { color: #1a1a1a; text-decoration: none; border-bottom: 1px solid transparent; }
.discourse-title a:hover { color: #8c2f12; border-bottom-color: #8c2f12; }
.discourse-pali {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #6b6b6b;
  font-size: 16px;
}

/* ============ FOOTER (dark) ============ */

.site-footer {
  background: #14181f;
  color: #c0c4c8;
  padding: 72px 56px 40px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b8431c;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col .footer-mark {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 500;
}
.footer-col p {
  color: #8a8d93;
  font-size: 14px;
  margin-bottom: 4px;
}
.footer-col a {
  color: #c0c4c8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.footer-col a:hover { color: #fff; border-bottom-color: #b8431c; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #2a2e36;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #6b6e74;
}
.footer-bottom p { margin: 0; color: #6b6e74; }

/* ============ Responsive ============ */

@media (max-width: 1024px) {
  .section { padding: 80px 32px; }
  .hero { padding: 56px 32px 72px; }
  .vision-section { padding: 100px 32px; }
  .site-footer { padding: 56px 32px 32px; }
  .article-wrap { padding: 60px 32px 88px; }
  .page-header { padding: 70px 32px 56px; }
  .columns-page { padding: 64px 32px; }
  .about-section { padding: 64px 32px; }
  .discourses-page { padding: 64px 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 380px; margin: 0; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .recent-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .founder-pair { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 56px 22px; }
  .hero { padding: 48px 22px 64px; }
  .vision-section { padding: 72px 22px; }
  .site-footer { padding: 48px 22px 28px; }
  .article-wrap { padding: 48px 22px 72px; }
  .page-header { padding: 56px 22px 44px; }
  .columns-page { padding: 48px 22px; }
  .about-section { padding: 48px 22px; }
  .discourses-page { padding: 48px 22px; }
  .section-head { margin-bottom: 36px; }
  .entry-grid { grid-template-columns: 1fr; gap: 18px; }
  .entry-card { min-height: auto; padding: 28px 26px; }
  .recent-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 18px; }
  .column-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { padding: 44px 28px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  .founder-card { padding: 36px 28px; }
  .discourse-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ Practice pages: refuges, precepts, ceremony steps ============ */

.refuges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.refuge-card {
  padding: 44px 36px 40px;
  background: #fff;
  border: 1.5px solid #dee2e6;
  border-radius: 10px;
  border-top: 3px solid #b8431c;
  display: flex;
  flex-direction: column;
}
.refuge-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8c2f12;
  font-weight: 700;
  margin-bottom: 18px;
}
.refuge-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: #1a1a1a;
}
.refuge-pali {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: #8c2f12;
  margin-bottom: 18px;
}
.refuge-translation {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  color: #4a4a4a;
  line-height: 1.4;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7e7ea;
}
.refuge-card p {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.65;
}

.precepts-list {
  margin-top: 40px;
  border-top: 1px solid #dee2e6;
}
.precept-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid #dee2e6;
  align-items: start;
}
.precept-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 500;
  color: #b8431c;
  line-height: 1;
}
.precept-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 500;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.precept-pali {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #8c2f12;
  font-size: 15.5px;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.precept-body p {
  color: #4a4a4a;
  font-size: 16.5px;
  line-height: 1.65;
}

.steps-list {
  margin-top: 40px;
}
.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #dee2e6;
  align-items: start;
}
.step-row:first-child { border-top: 1px solid #dee2e6; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 500;
  color: #8c2f12;
  line-height: 1;
}
.step-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.step-body p {
  color: #4a4a4a;
  font-size: 16.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.step-body p:last-child { margin-bottom: 0; }

.formula {
  margin: 18px 0 0;
  padding: 22px 28px;
  background: rgba(184, 67, 28, 0.06);
  border-left: 3px solid #b8431c;
  border-radius: 0 6px 6px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: #2a2725;
}
.formula p { margin-bottom: 4px; color: #2a2725; font-family: inherit; font-size: inherit; font-style: inherit; }
.formula p:last-child { margin-bottom: 0; }
.formula .formula-note { font-style: normal; font-size: 14.5px; color: #6b6b6b; margin-top: 10px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
  margin-top: 40px;
}
.faq-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #1a1a1a;
  font-style: italic;
}
.faq-item p {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .refuges-grid { grid-template-columns: 1fr; gap: 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .precept-row, .step-row { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; }
  .precept-num { font-size: 32px; }
  .step-num { font-size: 24px; }
  .refuge-card { padding: 32px 26px 28px; }
  .refuge-card h3 { font-size: 30px; }
  .formula { padding: 18px 22px; font-size: 17px; }
}
