:root {
  --about-ink: #34231c;
  --about-muted: #6c594d;
  --about-brown: #452b21;
  --about-gold: #ad742b;
  --about-gold-soft: #d6ad70;
  --about-paper: #fbf6ed;
  --about-cream: #f1e4ce;
  --about-line: rgba(116, 77, 42, .22);
}

html { scroll-behavior: smooth; }
body.about-v319 {
  margin: 0;
  color: var(--about-ink);
  background:
    repeating-linear-gradient(0deg, rgba(112, 74, 39, .016) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #faf4e9 0%, #f2e5d0 100%);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.about-v319 main { min-height: 100vh; overflow: hidden; }
.about-v319 *, .about-v319 *::before, .about-v319 *::after { box-sizing: border-box; }
.about-v319 h1, .about-v319 h2, .about-v319 p, .about-v319 figure { margin-top: 0; }
.about-v319 h1, .about-v319 h2 { letter-spacing: .025em; }
.about-v319 section[id] { scroll-margin-top: 96px; }

.about-hero {
  min-height: clamp(540px, 47vw, 690px);
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(249, 242, 230, .84) 0%, rgba(249, 242, 230, .48) 35%, rgba(249, 242, 230, .03) 66%),
    url("/assets/about-hero-guanyin-v315.png");
  background-position: center, center 62%;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--about-line);
}
.about-hero-copy {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 62px;
}
.about-kicker, .about-eyebrow {
  margin-bottom: 10px;
  color: #986124;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2em;
}
.about-hero h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.1;
  font-weight: 800;
}
.about-lead {
  margin-bottom: 28px;
  color: #5e493e;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.7;
}
.about-down {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid #9a6425;
  color: #7e511e;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.about-section, .about-compassion, .about-dharma, .about-digital-gate, .about-teachers, .about-closing {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.about-purpose {
  margin-top: 56px;
  padding: 58px 42px;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 1.25fr);
  gap: 48px;
  border-top: 3px solid #b9833a;
  border-radius: 0 0 22px 22px;
  background: rgba(255, 251, 244, .78);
  box-shadow: 0 18px 50px rgba(70, 43, 26, .06);
}
.about-section-heading { align-self: start; }
.about-purpose h2, .about-dharma h2, .about-teachers h2, .about-closing h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 2.5vw, 36px);
  line-height: 1.34;
}
.about-purpose-body > p {
  margin-bottom: 15px;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.8;
}
.about-pillars {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
}
.about-pillars p {
  margin: 0;
  padding: 17px 18px;
  display: grid;
  gap: 5px;
  border-right: 1px solid var(--about-line);
}
.about-pillars p:last-child { border-right: 0; }
.about-pillars b { color: #945e1d; font-size: 18px; }
.about-pillars span { color: #7a695d; font-size: 13px; line-height: 1.5; }

.about-compassion {
  margin-top: 30px;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 44px;
  border: 1px solid rgba(184, 130, 59, .28);
  border-radius: 20px;
  background: rgba(255, 251, 244, .68);
}
.about-compassion-title { display: flex; align-items: center; gap: 20px; }
.about-compassion-title > span {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ecddc5;
  color: #9a6728;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 38px;
}
.about-compassion h2 { margin-bottom: 0; font-size: 30px; }
.about-compassion-quote {
  margin-bottom: 0;
  padding-left: 34px;
  border-left: 1px solid #c99a55;
  color: #5c4a40;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 19px;
  line-height: 1.75;
}

.about-dharma {
  margin-top: 30px;
  padding: 42px;
  border-radius: 22px;
  background: #432b21;
  color: #fff8eb;
  box-shadow: 0 20px 55px rgba(54, 31, 21, .13);
}
.about-dharma .about-eyebrow { color: #d4a35d; }
.about-dharma h2 { color: #fff8eb; }
.about-dharma-heading {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  column-gap: 58px;
  align-items: end;
}
.about-dharma-heading .about-eyebrow { grid-column: 1; }
.about-dharma-heading h2 { grid-column: 1; }
.about-dharma-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin-bottom: 0;
  color: rgba(255, 248, 235, .82);
  font-size: 16px;
  line-height: 1.75;
}
.about-change-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242, 199, 127, .28);
  border-bottom: 1px solid rgba(242, 199, 127, .28);
}
.about-change-list article {
  padding: 21px 24px;
  border-right: 1px solid rgba(242, 199, 127, .22);
}
.about-change-list article:last-child { border-right: 0; }
.about-change-list span { color: #f0c37c; font-size: 18px; font-weight: 800; letter-spacing: .12em; }
.about-change-list p {
  margin: 8px 0 0;
  color: rgba(255, 248, 235, .8);
  font-size: 14px;
  line-height: 1.7;
}
.about-v319 .about-conclusion {
  margin: 38px 0 0;
  color: #fff8eb;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.about-digital-gate {
  margin-top: 30px;
  padding: 46px;
  border-radius: 22px;
  background: #432b21;
  color: #fff8eb;
  box-shadow: 0 20px 55px rgba(54, 31, 21, .14);
}
.about-digital-gate .about-eyebrow { color: #e1b56f; }
.about-digital-gate-heading {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
  column-gap: 62px;
  align-items: end;
}
.about-digital-gate-heading .about-eyebrow { grid-column: 1; }
.about-digital-gate-heading h2 {
  grid-column: 1;
  margin: 0;
  color: #fff8eb;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.2;
}
.about-digital-subtitle {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  padding-left: 34px;
  border-left: 1px solid rgba(242, 199, 127, .34);
  color: #f1c77f;
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 800;
  line-height: 1.45;
}
.about-digital-intro {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(242, 199, 127, .28);
  border-bottom: 1px solid rgba(242, 199, 127, .28);
}
.about-digital-intro p {
  margin: 0;
  padding: 24px 28px;
  color: rgba(255, 248, 235, .84);
  font-size: 15px;
  line-height: 1.8;
}
.about-digital-intro p:first-child { padding-left: 0; border-right: 1px solid rgba(242, 199, 127, .22); }
.about-digital-intro p:last-child { padding-right: 0; }
.about-digital-intro strong, .about-digital-body strong { color: #f3c982; }
.about-life-needs {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.about-life-needs p {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(242, 199, 127, .28);
  border-radius: 999px;
  color: #f0c47d;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.about-digital-bridge {
  max-width: 900px;
  margin: 26px auto 0;
  color: rgba(255, 248, 235, .82);
  font-size: 15px;
  line-height: 1.85;
  text-align: center;
}
.about-media-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(242, 199, 127, .28);
  border-radius: 16px;
  overflow: hidden;
}
.about-media-grid article {
  min-height: 144px;
  padding: 22px;
  border-right: 1px solid rgba(242, 199, 127, .22);
  background: rgba(255, 248, 235, .035);
}
.about-media-grid article:last-child { border-right: 0; }
.about-media-grid span {
  color: #f0c47d;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .12em;
}
.about-media-grid p {
  margin: 10px 0 0;
  color: rgba(255, 248, 235, .8);
  font-size: 14px;
  line-height: 1.7;
}
.about-digital-body {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 42px;
}
.about-digital-body p {
  margin: 0;
  color: rgba(255, 248, 235, .82);
  font-size: 15px;
  line-height: 1.8;
}
.about-digital-conclusion {
  margin: 36px 0 0 !important;
  padding-top: 26px;
  border-top: 1px solid rgba(242, 199, 127, .3);
  color: #fff8eb;
  font-size: 18px;
  line-height: 1.7;
  text-align: center;
}

/* v327: remove the section shortcut strip and enlarge article copy. */
.about-digital-gate {
  padding: 42px;
  border: 1px solid rgba(184, 130, 59, .28);
  background: rgba(255, 251, 244, .86);
  color: var(--about-ink);
  box-shadow: 0 18px 48px rgba(70, 43, 26, .07);
}
.about-article-column { max-width: none; margin-inline: 0; }
.about-digital-gate .about-eyebrow { color: #a36a27; }
.about-digital-gate-heading { display: block; }
.about-digital-gate-heading h2 {
  margin: 0 0 6px;
  color: var(--about-ink);
  font-size: clamp(32px, 3vw, 42px);
}
.about-digital-subtitle {
  margin: 0;
  padding: 0;
  border: 0;
  color: #9a6425;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
}
.about-digital-article { margin-top: 20px; }
.about-digital-article p {
  margin: 0 0 10px;
  color: #5f5047;
  font-size: 17px;
  line-height: 1.78;
}
.about-digital-article strong { color: #7d511d; }
.about-digital-article h3 {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--about-line);
  color: var(--about-ink);
  font-size: 24px;
  line-height: 1.4;
}
.about-media-grid {
  max-width: none;
  margin: 14px 0 0;
  border-color: var(--about-line);
  background: #f8eedf;
}
.about-media-grid article {
  min-height: 108px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-color: var(--about-line);
  background: rgba(255, 252, 247, .58);
}
.about-media-grid svg {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  fill: none;
  stroke: #a66d29;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-media-grid span { color: #684638; font-size: 20px; letter-spacing: .04em; }
.about-media-grid p { color: #66564c; font-size: 15px; line-height: 1.65; }
.about-digital-article-after { margin-top: 20px; }
.about-digital-conclusion {
  width: auto;
  max-width: none;
  margin: 24px calc(2cm - 42px) 0 !important;
  padding: 20px 26px;
  border-top: 0;
  border-left: 0;
  border-top: 4px solid #bd853a;
  background: #f3e4ce;
  color: #5d3b1f;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.about-teachers {
  margin-top: 30px;
  padding: 36px 42px;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 44px;
  border: 1px solid rgba(184, 130, 59, .27);
  border-radius: 22px;
  background: rgba(255, 251, 244, .78);
}
.about-teachers-copy > p:not(.about-eyebrow) {
  margin-bottom: 12px;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.75;
}
.about-teachers h2 { margin-bottom: 16px; }
.about-teachers-image {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fffaf1;
  box-shadow: 0 12px 34px rgba(73, 45, 27, .08);
}
.about-teachers-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
.about-button {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 11px 18px;
  border: 1px solid #b68138;
  border-radius: 999px;
  color: #714716;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.about-button:hover, .about-button:focus-visible {
  background: #a97027;
  color: white;
  transform: translateY(-2px);
  outline: none;
}

.about-closing {
  margin-top: 30px;
  margin-bottom: 46px;
  padding: 30px 24px;
  border-top: 1px solid var(--about-line);
  border-bottom: 1px solid var(--about-line);
  text-align: center;
}
.about-closing > p {
  margin-bottom: 8px;
  color: #9b6525;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .22em;
}
.about-closing h2 {
  color: #211a16;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
}

@media (max-width: 900px) {
  .about-hero {
    min-height: 500px;
    background-position: center, center 60%;
    background-size: 100% 100%, cover;
  }
  .about-purpose, .about-dharma-heading, .about-teachers { grid-template-columns: 1fr; }
  .about-purpose { gap: 26px; }
  .about-compassion { grid-template-columns: 1fr; gap: 22px; }
  .about-compassion-quote { padding-left: 28px; }
  .about-dharma-heading > p:last-child { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .about-digital-gate-heading { grid-template-columns: 1fr; }
  .about-digital-subtitle { margin-top: 0; padding: 0; border: 0; }
  .about-media-grid { grid-template-columns: repeat(2, 1fr); }
  .about-media-grid article:nth-child(2) { border-right: 0; }
  .about-media-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(242, 199, 127, .22); }
  .about-teachers { gap: 28px; }
}

@media (max-width: 640px) {
  .about-hero-copy, .about-section, .about-compassion, .about-dharma, .about-digital-gate, .about-teachers, .about-closing {
    width: min(100% - 30px, 1160px);
  }
  .about-hero {
    min-height: 510px;
    align-items: start;
    background-image:
      linear-gradient(180deg, rgba(249, 242, 230, .98) 0%, rgba(249, 242, 230, .94) 43%, rgba(249, 242, 230, .18) 70%, rgba(249, 242, 230, 0) 100%),
      url("/assets/about-hero-guanyin-v315.png");
    background-position: center, center bottom;
    background-size: 100% 100%, 100% auto;
  }
  .about-hero-copy { padding-top: 44px; }
  .about-hero h1 { max-width: 100%; font-size: 38px; }
  .about-lead { max-width: 220px; font-size: 17px; }
  .about-purpose { margin-top: 34px; padding: 28px 22px; }
  .about-purpose h2, .about-dharma h2, .about-teachers h2 { font-size: 28px; }
  .about-pillars { grid-template-columns: 1fr; }
  .about-pillars p { border-right: 0; border-bottom: 1px solid var(--about-line); }
  .about-pillars p:last-child { border-bottom: 0; }
  .about-compassion { padding: 24px 22px; }
  .about-compassion-title > span { width: 58px; height: 58px; flex-basis: 58px; font-size: 31px; }
  .about-compassion-quote { padding-left: 18px; font-size: 17px; }
  .about-dharma { padding: 30px 22px; }
  .about-change-list { grid-template-columns: 1fr; }
  .about-change-list article { padding: 17px 4px; border-right: 0; border-bottom: 1px solid rgba(242, 199, 127, .22); }
  .about-change-list article:last-child { border-bottom: 0; }
  .about-conclusion { text-align: left; }
  .about-digital-gate { padding: 30px 22px; }
  .about-digital-gate-heading h2 { font-size: 30px; }
  .about-digital-subtitle { font-size: 21px; }
  .about-digital-intro { grid-template-columns: 1fr; }
  .about-digital-intro p { padding: 18px 0; }
  .about-digital-intro p:first-child { border-right: 0; border-bottom: 1px solid rgba(242, 199, 127, .22); }
  .about-life-needs { grid-template-columns: repeat(2, 1fr); }
  .about-digital-bridge { text-align: left; }
  .about-media-grid { grid-template-columns: 1fr; }
  .about-media-grid article { min-height: 72px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid rgba(242, 199, 127, .22); }
  .about-media-grid article:last-child { border-bottom: 0; }
  .about-digital-body { grid-template-columns: 1fr; gap: 18px; }
  .about-digital-conclusion { margin: 24px 0 0 !important; text-align: center; }
  .about-teachers { padding: 28px 22px; }
  .about-teachers-image img { aspect-ratio: 2.3 / 1; }
  .about-closing { margin-bottom: 36px; padding: 26px 14px; }
}
