@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&display=swap');

:root {
  --red: #7b130d;
  --deep-red: #4a0907;
  --red-2: #951e14;
  --gold: #d4aa58;
  --pale-gold: #f3d58c;
  --paper: #f3eadb;
  --paper-2: #e8d8bf;
  --ink: #2f241d;
  --soft: #746356;
  --charcoal: #111716;
  --line: rgba(128, 82, 38, 0.28);
  --container: 1180px;
  --serif: 'Noto Serif SC', 'STSong', 'Songti SC', serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  text-rendering: optimizeLegibility;
}
body:before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
button {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--deep-red);
}
.skip-link:focus {
  top: 12px;
}

.site-header {
  height: 74px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f6deb0;
  border-bottom: 1px solid rgba(226, 181, 91, 0.6);
  background: linear-gradient(180deg, rgba(63, 5, 4, 0.88), rgba(77, 9, 7, 0.65));
  backdrop-filter: blur(7px);
  transition: 0.25s;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(65, 7, 5, 0.96);
  box-shadow: 0 5px 20px rgba(20, 0, 0, 0.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.22));
}
.brand strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.14em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: #d7bc85;
  font-size: 9px;
  letter-spacing: 0.22em;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  letter-spacing: 0.14em;
}
.primary-nav a {
  padding: 10px 0;
  position: relative;
}
.primary-nav a:after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 3px;
  height: 1px;
  background: var(--gold);
  transition: 0.25s;
}
.primary-nav a:hover:after {
  left: 0;
  right: 0;
}
.primary-nav i {
  width: 1px;
  height: 16px;
  background: rgba(232, 195, 125, 0.55);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px auto;
  background: var(--pale-gold);
}

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  color: #f8e6c0;
  background:
    linear-gradient(90deg, rgba(54, 3, 2, 0.84) 0%, rgba(76, 8, 5, 0.68) 39%, rgba(67, 7, 4, 0.48) 67%, rgba(40, 2, 1, 0.74) 100%),
    linear-gradient(180deg, rgba(88, 10, 6, 0.28), rgba(43, 3, 2, 0.62)),
    url('assets/sanping-temple-mountains-v1.png') center center / cover no-repeat;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 66% 36%, rgba(214, 91, 43, 0.18), transparent 27%),
    linear-gradient(180deg, rgba(35, 0, 0, 0.08) 55%, rgba(20, 0, 0, 0.48) 100%);
}
.hero-grid {
  min-height: 760px;
  padding-top: 114px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 0.82fr 0.28fr;
  gap: 44px;
  align-items: center;
}
.hero-copy {
  padding-bottom: 60px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: #e3c57e;
  font-size: 13px;
  letter-spacing: 0.28em;
}
.eyebrow:before,
.eyebrow:after {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: #f2ce7c;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1.22;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-shadow: 0 4px 16px rgba(20, 0, 0, 0.35);
}
.hero-subtitle {
  margin-top: 18px;
  font-size: 21px;
  letter-spacing: 0.16em;
}
.heritage-label {
  width: max-content;
  max-width: 100%;
  margin: 23px 0 31px;
  padding: 9px 16px;
  border: 1px solid rgba(239, 200, 122, 0.75);
  color: #e8c67c;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.gold-button {
  min-height: 48px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #54110c;
  background: linear-gradient(180deg, #fae4ad, #d9aa4f);
  border: 1px solid #f6d987;
  box-shadow:
    inset 0 0 0 2px rgba(97, 32, 16, 0.15),
    0 8px 24px rgba(15, 0, 0, 0.23);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.gold-button span {
  font-size: 25px;
  font-weight: 400;
  transition: 0.2s;
}
.gold-button:hover span {
  transform: translateX(4px);
}
.hero-product {
  position: relative;
  align-self: end;
  text-align: center;
}
.hero-product .aureole {
  position: absolute;
  left: 50%;
  top: 14%;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(237, 189, 91, 0.38);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow:
    0 0 60px rgba(239, 180, 62, 0.13),
    inset 0 0 40px rgba(239, 180, 62, 0.08);
}
.hero-product img {
  height: 650px;
  width: auto;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(25, 0, 0, 0.5));
}
.hero-product figcaption {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 7px 16px;
  color: #f5d891;
  background: rgba(71, 7, 5, 0.82);
  border: 1px solid rgba(229, 180, 83, 0.55);
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.hero-inscription {
  align-self: center;
  padding-bottom: 55px;
  text-align: center;
}
.hero-inscription h2 {
  margin: 0 auto;
  color: #f0cd7e;
  font-size: 31px;
  line-height: 1.35;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}
.hero-inscription span {
  display: block;
  width: 1px;
  height: 54px;
  margin: 15px auto;
  background: var(--gold);
}
.hero-inscription p {
  height: 240px;
  margin: 0 auto;
  color: #dbc99f;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
  text-align: left;
}
.hero-inscription b {
  width: 34px;
  height: 34px;
  margin: 16px auto 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
}

.paper-section {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 15% 30%, rgba(157, 105, 53, 0.08), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(157, 105, 53, 0.07), transparent 24%);
}
.archive {
  padding: 58px 0 52px;
}
.archive-grid {
  display: grid;
  grid-template-columns: 130px 1fr 1.15fr;
  gap: 46px;
  align-items: center;
}
.vertical-heading {
  height: 330px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vertical-heading > p {
  color: var(--red);
  font-size: 12px;
}
.vertical-heading h2 {
  margin-top: 10px;
  color: var(--deep-red);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.vertical-heading i {
  width: 34px;
  height: 2px;
  margin: 17px 0;
  background: var(--red);
}
.vertical-heading span {
  height: 160px;
  color: var(--soft);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}
.archive-main img {
  width: 100%;
  aspect-ratio: 1.35/1;
  object-fit: cover;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 12px rgba(77, 46, 21, 0.18));
}
.archive-main figcaption {
  margin-top: 12px;
  text-align: center;
  color: #8d6c50;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.detail-list {
  display: grid;
  gap: 12px;
}
.detail-list article {
  min-height: 76px;
  display: grid;
  grid-template-columns: 175px 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 15px;
  align-content: center;
}
.detail-crop {
  grid-row: 1/3;
  width: 175px;
  height: 76px;
  overflow: hidden;
  background: #d9b081;
}
.detail-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.detail-crop.usb img {
  object-position: center 97%;
  transform: scale(2.7);
}
.detail-crop.buttons img {
  object-position: 76% 15%;
  transform: scale(1.25);
}
.detail-crop.speaker img {
  object-position: 30% 64%;
  transform: scale(1.3);
}
.detail-crop.wood img {
  object-position: 75% 58%;
  transform: scale(1.35);
}
.detail-list b {
  grid-column: 2;
  grid-row: 1/3;
  align-self: start;
  color: var(--deep-red);
  font-size: 17px;
}
.detail-list h3 {
  font-size: 15px;
  letter-spacing: 0.05em;
}
.detail-list p {
  margin-top: 4px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.65;
}

.feature-ribbon {
  padding: 28px 0;
  color: #ead7ad;
  background: #111716;
  border-top: 1px solid #302f28;
  border-bottom: 1px solid #302f28;
}
.feature-ribbon .container {
  display: grid;
  grid-template-columns: 130px 1fr;
}
.ribbon-title {
  padding-right: 24px;
  border-right: 1px solid #997849;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ribbon-title small {
  color: var(--gold);
}
.ribbon-title h2 {
  color: #efce80;
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: 0.14em;
}
.feature-overview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.feature-overview article {
  padding: 0 25px;
  position: relative;
}
.feature-overview article + article {
  border-left: 1px solid rgba(212, 170, 88, 0.38);
}
.feature-overview span {
  color: #9a8357;
  font-size: 10px;
}
.feature-overview h3 {
  display: inline;
  margin-left: 8px;
  color: #e6c575;
  font-size: 18px;
}
.feature-overview p {
  margin-top: 8px;
  color: #b9b19f;
  font-size: 11px;
  line-height: 1.75;
}

.function-ledger {
  padding: 88px 0 72px;
}
.feature-heading {
  margin-bottom: 58px;
  text-align: center;
}
.feature-heading > p {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.26em;
}
.feature-heading > div {
  margin: 18px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #a17b40;
}
.feature-heading > div i {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.feature-heading > div i:last-child {
  transform: scaleX(-1);
}
.feature-heading > div span {
  font-size: 11px;
  letter-spacing: 0.3em;
}
.feature-heading h2 {
  color: var(--deep-red);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.45;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.feature-heading h2 em {
  font-style: normal;
}
.ledger {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ledger-row {
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 42px;
}
.ledger-row + .ledger-row {
  border-top: 1px solid var(--line);
}
.ledger-name {
  padding-right: 32px;
  border-right: 1px solid rgba(151, 99, 40, 0.26);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 7px;
}
.ledger-name b {
  grid-row: 1/3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 1px solid var(--gold);
  font-size: 13px;
}
.ledger-name h3 {
  color: var(--deep-red);
  font-size: 28px;
  letter-spacing: 0.12em;
}
.ledger-name small {
  color: #9a7a5b;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.ledger-row > div:last-child > p {
  font-size: 15px;
  line-height: 2;
}
.ledger-row aside {
  margin-top: 15px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 90px 1fr;
  background: rgba(221, 195, 151, 0.28);
  border-left: 2px solid var(--gold);
}
.ledger-row aside strong {
  color: var(--red);
  font-size: 12px;
}
.ledger-row aside span {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}

.video-guide {
  padding: 78px 0 82px;
  border-top: 1px solid rgba(128, 82, 38, 0.2);
}
.video-guide-heading {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: end;
}
.video-guide-heading > div > p {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.video-guide-heading h2 {
  margin-top: 12px;
  color: var(--deep-red);
  font-size: 43px;
  line-height: 1.38;
}
.video-guide-heading > div > span {
  width: 46px;
  height: 2px;
  margin-top: 18px;
  display: block;
  background: var(--red);
}
.video-guide-heading > p {
  max-width: 650px;
  padding: 5px 0 5px 38px;
  color: var(--soft);
  border-left: 1px solid var(--line);
  font-size: 14px;
  line-height: 2;
}
.video-guide-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.video-card {
  min-width: 0;
  background: rgba(255, 250, 240, 0.46);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(71, 39, 17, 0.08);
}
.video-frame {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(131, 28, 19, 0.52), transparent 42%),
    #1a0c0a;
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}
.video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  display: none;
  place-items: center;
  cursor: pointer;
  border: 0;
  background:
    linear-gradient(135deg, rgba(35, 5, 4, 0.9), rgba(78, 10, 7, 0.72)),
    url('assets/sanping-temple-mountains-v1.png') center 58% / cover no-repeat;
}
.video-frame.has-fixed-cover .video-cover {
  display: grid;
}
.video-cover span {
  width: 76px;
  height: 76px;
  position: relative;
  border: 1px solid rgba(239, 204, 132, 0.46);
  border-radius: 50%;
  background: rgba(72, 13, 10, 0.7);
  box-shadow: 0 0 36px rgba(231, 181, 80, 0.12);
}
.video-cover span:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-38%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #f5e4bd;
}
.video-cover:focus-visible {
  outline: 2px solid #efd18b;
  outline-offset: -4px;
}
.video-frame > span {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #f0d28b;
  background: rgba(70, 8, 5, 0.84);
  border: 1px solid rgba(229, 180, 83, 0.58);
  font-size: 15px;
}
.video-card-copy {
  padding: 26px 28px 29px;
}
.video-card-copy > p:first-child {
  color: #a17b42;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.video-card-copy h3 {
  margin: 8px 0 13px;
  color: var(--deep-red);
  font-size: 24px;
  letter-spacing: 0.07em;
}
.video-card-copy > p:last-child {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.9;
}

.guide {
  padding: 58px 0 68px;
  border-top: 1px solid var(--line);
}
.guide-grid {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 48px;
}
.guide-heading p {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.guide-heading h2 {
  margin: 14px 0;
  color: var(--deep-red);
  font-size: 34px;
  line-height: 1.45;
}
.guide-heading span {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.7;
}
.guide-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  list-style: none;
}
.guide-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 164px auto auto;
  column-gap: 10px;
}
.step-image {
  grid-column: 1/3;
  overflow: hidden;
  background: #cf9f73;
}
.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.step-image.power img {
  object-position: center 98%;
  transform: scale(2.45);
}
.step-image.choose img {
  object-position: 77% 15%;
  transform: scale(1.2);
}
.step-image.listen img {
  object-position: 30% 64%;
  transform: scale(1.35);
}
.guide-steps b {
  margin-top: 14px;
  color: var(--red);
  font-size: 21px;
}
.guide-steps h3 {
  margin-top: 15px;
  color: var(--deep-red);
  font-size: 18px;
}
.guide-steps p {
  grid-column: 2;
  margin-top: 7px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.7;
}
.respect-note {
  margin-top: 38px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 25px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.42);
}
.respect-note b {
  color: var(--red);
  font-size: 14px;
}
.respect-note p {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.8;
}

.story {
  min-height: 670px;
  padding: 64px 0 70px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  color: #f2e0ba;
  background: #18201f url('assets/sanping-temple-mountains-v1.png') center 54% / cover no-repeat;
}
.story-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 17, 17, 0.96), rgba(13, 20, 20, 0.78) 55%, rgba(9, 15, 15, 0.37)),
    linear-gradient(180deg, rgba(7, 11, 11, 0.35), transparent 50%, rgba(7, 11, 11, 0.35));
}
.story-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 45px;
}
.story-title {
  padding-right: 30px;
  border-right: 1px solid rgba(219, 177, 90, 0.55);
}
.story-title p {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.story-title h2 {
  margin-top: 13px;
  color: #f0d38c;
  font-size: 32px;
  line-height: 1.55;
}
.life-line {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}
.life-line li {
  padding: 20px 24px 0;
  position: relative;
  border-top: 1px solid rgba(218, 174, 86, 0.58);
}
.life-line li:before {
  content: '';
  position: absolute;
  top: -5px;
  left: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212, 170, 88, 0.12);
}
.life-line b {
  display: block;
  color: #e7c777;
  font-size: 16px;
}
.life-line span {
  display: block;
  margin-top: 12px;
  color: #c2b9a4;
  font-size: 12px;
  line-height: 1.85;
}
.story-deeds {
  margin-top: 48px;
  padding-top: 36px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(218, 174, 86, 0.3);
}
.story-deed {
  min-width: 0;
  padding: 30px 32px 30px 26px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  background: linear-gradient(135deg, rgba(18, 27, 26, 0.9), rgba(38, 35, 27, 0.65));
  border: 1px solid rgba(218, 174, 86, 0.28);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}
.story-deed-mark {
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid rgba(218, 174, 86, 0.3);
}
.story-deed-mark span {
  color: #aa9671;
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  writing-mode: vertical-rl;
}
.story-deed-mark b {
  color: rgba(231, 199, 119, 0.46);
  font-size: 25px;
  font-weight: 500;
}
.story-deed > div:last-child > p:first-child {
  color: #a99162;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.story-deed h3 {
  margin: 9px 0 16px;
  color: #edd08a;
  font-size: 23px;
  letter-spacing: 0.07em;
}
.story-deed > div:last-child > p:last-child {
  color: #c8bea9;
  font-size: 12px;
  line-height: 1.95;
}

.culture {
  padding: 82px 0 88px;
  overflow: hidden;
}
.culture-heading,
.culture-truth-heading {
  text-align: center;
}
.culture-heading > p:first-child,
.culture-truth-heading > p:first-child {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.3em;
}
.culture-heading h2,
.culture-truth-heading h2 {
  margin: 14px 0 13px;
  color: var(--deep-red);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}
.culture-heading h2 em,
.culture-truth-heading h2 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 400;
}
.culture-heading > span,
.culture-truth-heading > span {
  display: block;
  width: 56px;
  height: 2px;
  margin: 0 auto 16px;
  background: var(--red);
}
.culture-heading > p:last-child,
.culture-truth-heading > p:last-child {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.08em;
}
.culture-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.culture-core-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 278px;
  overflow: hidden;
  border: 1px solid rgba(151, 107, 48, 0.34);
  background: rgba(255, 251, 240, 0.5);
  box-shadow: 0 12px 32px rgba(65, 38, 16, 0.08);
}
.culture-core-card figure {
  position: relative;
  min-height: 278px;
  overflow: hidden;
  background: #cdb997;
}
.culture-core-card figure:after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(250, 227, 176, 0.26);
  pointer-events: none;
}
.culture-core-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: 0.5s;
}
.culture-core-card:first-child img {
  object-position: center 24%;
}
.culture-core-card:last-child img {
  object-position: 70% center;
}
.culture-core-card:hover img {
  transform: scale(1.025);
}
.culture-core-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 5px 9px;
  color: #f6e7c5;
  background: rgba(48, 28, 18, 0.66);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.culture-core-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px;
}
.culture-core-card > div > p:first-child {
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.2em;
}
.culture-core-card h3 {
  margin: 12px 0 17px;
  color: var(--deep-red);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.culture-core-card > div > p:last-child {
  color: var(--soft);
  font-size: 13px;
  line-height: 2;
}
.culture-truth {
  margin-top: 76px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}
.culture-truth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.culture-truth-card {
  position: relative;
  min-height: 230px;
  padding: 38px 34px 34px;
  border: 1px solid rgba(151, 107, 48, 0.34);
  background: rgba(255, 251, 240, 0.56);
  box-shadow: 0 10px 26px rgba(65, 38, 16, 0.06);
}
.culture-truth-card:before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(151, 107, 48, 0.18);
  pointer-events: none;
}
.culture-truth-card > p:first-child {
  position: relative;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.culture-truth-card h3 {
  position: relative;
  margin: 18px 0 16px;
  color: var(--deep-red);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.culture-truth-card > p:last-child {
  position: relative;
  color: var(--soft);
  font-size: 13px;
  line-height: 2;
}

.rituals {
  padding: 82px 0 76px;
  overflow: hidden;
}
.rituals-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  column-gap: 58px;
  align-items: end;
}
.rituals-heading > p:first-child {
  grid-column: 1;
  color: var(--red);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.rituals-heading h2 {
  grid-column: 1;
  margin-top: 12px;
  color: var(--deep-red);
  font-size: 43px;
  line-height: 1.38;
}
.rituals-heading > span {
  grid-column: 1;
  width: 46px;
  height: 2px;
  margin-top: 18px;
  background: var(--red);
}
.rituals-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / 4;
  max-width: 690px;
  padding: 4px 0 5px 38px;
  border-left: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
  line-height: 2;
}
.ritual-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.45fr 0.72fr;
  gap: 42px;
  align-items: stretch;
}
.ritual-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ritual-steps li {
  min-width: 0;
  padding: 34px 28px 32px;
  position: relative;
}
.ritual-steps li + li {
  border-left: 1px solid var(--line);
}
.ritual-steps b {
  display: block;
  margin-bottom: 28px;
  color: rgba(123, 19, 13, 0.38);
  font-size: 32px;
  font-weight: 500;
}
.ritual-steps small,
.borrowing-custom > p:first-child {
  color: #a17b42;
  font-size: 10px;
  letter-spacing: 0.2em;
}
.ritual-steps h3 {
  margin: 8px 0 17px;
  color: var(--deep-red);
  font-size: 22px;
  letter-spacing: 0.08em;
}
.ritual-steps p {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.95;
}
.borrowing-custom {
  padding: 36px 38px 34px;
  position: relative;
  overflow: hidden;
  color: #ead6aa;
  background:
    linear-gradient(145deg, rgba(77, 8, 6, 0.98), rgba(104, 16, 10, 0.91)),
    url('assets/sanping-temple-mountains-v1.png') 72% center / cover no-repeat;
  box-shadow: 0 18px 34px rgba(65, 16, 9, 0.13);
}
.borrowing-custom:after {
  content: '';
  position: absolute;
  inset: 11px;
  pointer-events: none;
  border: 1px solid rgba(218, 174, 86, 0.28);
}
.borrowing-custom h3 {
  margin: 10px 0 24px;
  color: #f0d28b;
  font-size: 29px;
  letter-spacing: 0.08em;
}
.borrowing-custom > p:not(:first-child) {
  position: relative;
  z-index: 1;
  color: #d9c6a1;
  font-size: 12px;
  line-height: 1.95;
}
.borrowing-custom > p + p {
  margin-top: 14px;
}
.custom-seal {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #d6a94f;
  border: 1px solid rgba(214, 169, 79, 0.7);
  font-size: 18px;
}
.borrowing-custom aside {
  margin-top: 20px;
  padding-top: 16px;
  position: relative;
  z-index: 1;
  color: #bda982;
  border-top: 1px solid rgba(218, 174, 86, 0.3);
  font-size: 10px;
  line-height: 1.75;
}
.ritual-calendar {
  margin-top: 30px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto 1fr 1px 1fr 1px 1fr;
  gap: 28px;
  align-items: center;
  color: var(--soft);
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.42);
}
.ritual-calendar > p {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.ritual-calendar > div {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: baseline;
}
.ritual-calendar b {
  color: var(--deep-red);
  font-size: 14px;
}
.ritual-calendar span {
  font-size: 11px;
}
.ritual-calendar i {
  width: 1px;
  height: 28px;
  background: var(--line);
}

.closing {
  padding: 52px 0 62px;
  color: #f6dfad;
  text-align: center;
  background:
    linear-gradient(rgba(84, 10, 7, 0.82), rgba(74, 7, 5, 0.9)),
    url('assets/sanping-temple-mountains-v1.png') center 61% / cover no-repeat;
}
.closing p {
  color: #d5b26b;
  font-size: 12px;
  letter-spacing: 0.25em;
}
.closing h2 {
  margin: 12px 0 25px;
  font-size: 34px;
  letter-spacing: 0.09em;
}
.closing h2 em {
  font-style: normal;
}
.site-footer {
  padding: 28px 0;
  color: #ad9c7f;
  background: #111716;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
}
.footer-grid strong {
  color: #e3c47a;
  font-size: 18px;
  letter-spacing: 0.13em;
}
.footer-grid p {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.7;
}
.footer-grid > a {
  color: #d7b96f;
  font-size: 12px;
  font-weight: bold;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal[data-delay='1'] {
  transition-delay: 0.12s;
}
.reveal[data-delay='2'] {
  transition-delay: 0.24s;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
  }
  .hero-inscription {
    display: none;
  }
  .hero h1 {
    font-size: 62px;
  }
  .archive-grid {
    grid-template-columns: 100px 1fr;
  }
  .detail-list {
    grid-column: 2;
  }
  .feature-ribbon .container {
    grid-template-columns: 1fr;
  }
  .ribbon-title {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(212, 170, 88, 0.4);
  }
  .feature-overview {
    margin-top: 22px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 0;
  }
  .feature-overview article:nth-child(4) {
    border-left: 0;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-heading {
    max-width: 570px;
  }
  .video-guide-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .video-guide-heading > p {
    padding-left: 24px;
  }
  .story-content {
    grid-template-columns: 1fr;
  }
  .story-title {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(219, 177, 90, 0.55);
  }
  .story-title h2 br {
    display: none;
  }
  .story-deeds {
    grid-template-columns: 1fr;
  }
  .culture-core-card {
    grid-template-columns: 0.72fr 1.28fr;
  }
  .culture-truth-grid {
    grid-template-columns: 1fr;
  }
  .culture-truth-card {
    min-height: auto;
  }
  .rituals-heading {
    grid-template-columns: 1fr;
  }
  .rituals-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
    margin-top: 26px;
  }
  .ritual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 64px;
  }
  .container {
    width: calc(100% - 30px);
  }
  .site-header {
    height: 64px;
    padding: 0 15px;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand small {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    position: absolute;
    top: 63px;
    left: 0;
    width: 100%;
    padding: 9px 18px 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: #f2d89e;
    background: rgba(67, 7, 5, 0.98);
    border-bottom: 1px solid var(--gold);
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    padding: 13px 6px;
    border-bottom: 1px solid rgba(212, 170, 88, 0.18);
  }
  .primary-nav i {
    display: none;
  }
  .hero,
  .hero-grid {
    min-height: 770px;
  }
  .hero-grid {
    padding-top: 100px;
    display: block;
  }
  .hero-copy {
    text-align: center;
    padding: 0;
  }
  .eyebrow {
    justify-content: center;
    font-size: 11px;
  }
  .hero h1 {
    font-size: 51px;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .heritage-label {
    margin: 18px auto 22px;
    font-size: 11px;
  }
  .hero-product {
    height: 390px;
    margin-top: 6px;
    margin-bottom: 10px;
  }
  .hero-product img {
    height: 420px;
  }
  .hero-product .aureole {
    width: 230px;
    height: 230px;
  }
  .hero-product figcaption {
    bottom: 2px;
  }
  .archive {
    padding: 46px 0;
  }
  .archive-grid {
    display: block;
  }
  .vertical-heading {
    height: auto;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }
  .vertical-heading > p {
    grid-row: 1/3;
  }
  .vertical-heading h2 {
    margin: 0;
    font-size: 30px;
    writing-mode: horizontal-tb;
  }
  .vertical-heading i {
    display: none;
  }
  .vertical-heading span {
    height: auto;
    margin-top: 8px;
    font-size: 11px;
    writing-mode: horizontal-tb;
  }
  .archive-main {
    margin-top: 28px;
  }
  .detail-list {
    margin-top: 28px;
  }
  .detail-list article {
    grid-template-columns: 124px 30px 1fr;
  }
  .detail-crop {
    width: 124px;
  }
  .feature-ribbon {
    padding: 28px 0;
  }
  .feature-overview {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .feature-overview article {
    padding: 18px 14px;
  }
  .feature-overview article:nth-child(odd) {
    border-left: 0;
  }
  .feature-overview article:nth-child(4) {
    border-left: 1px solid rgba(212, 170, 88, 0.38);
  }
  .feature-overview article:nth-child(n + 3) {
    border-top: 1px solid rgba(212, 170, 88, 0.25);
  }
  .feature-overview article:last-child {
    grid-column: 1/3;
  }
  .function-ledger {
    padding: 58px 0 46px;
  }
  .feature-heading {
    margin-bottom: 38px;
  }
  .feature-heading > div i {
    width: 42px;
  }
  .feature-heading h2 {
    font-size: 32px;
    letter-spacing: 0.05em;
  }
  .feature-heading h2 span {
    display: block;
    white-space: nowrap;
  }
  .feature-heading h2 em {
    display: none;
  }
  .ledger-row {
    padding: 26px 12px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ledger-name {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .ledger-name h3 {
    font-size: 25px;
  }
  .ledger-row > div:last-child > p {
    font-size: 14px;
  }
  .ledger-row aside {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .guide {
    padding: 46px 0;
  }
  .guide-heading h2 {
    font-size: 31px;
  }
  .guide-steps {
    grid-template-columns: 1fr;
  }
  .guide-steps li {
    grid-template-rows: 180px auto auto;
  }
  .respect-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .video-guide {
    padding: 54px 0 58px;
  }
  .video-guide-heading h2 {
    font-size: 34px;
  }
  .video-guide-grid {
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .video-card-copy {
    padding: 23px 22px 25px;
  }
  .story {
    padding: 46px 0;
  }
  .life-line {
    grid-template-columns: 1fr;
  }
  .life-line li {
    padding: 18px 15px 18px 26px;
    border-top: 0;
    border-left: 1px solid rgba(218, 174, 86, 0.58);
  }
  .life-line li:before {
    top: 24px;
    left: -5px;
  }
  .story-deeds {
    margin-top: 30px;
    padding-top: 28px;
    gap: 18px;
  }
  .story-deed {
    padding: 25px 21px 25px 18px;
    grid-template-columns: 43px 1fr;
    gap: 16px;
  }
  .story-deed-mark {
    padding-right: 12px;
  }
  .story-deed h3 {
    font-size: 20px;
    line-height: 1.55;
  }
  .culture {
    padding: 54px 0 58px;
  }
  .culture-heading h2,
  .culture-truth-heading h2 {
    font-size: 31px;
    letter-spacing: 0.04em;
  }
  .culture-heading > p:last-child,
  .culture-truth-heading > p:last-child {
    font-size: 13px;
  }
  .culture-core-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }
  .culture-core-card {
    grid-template-columns: 1fr;
  }
  .culture-core-card figure {
    min-height: 220px;
    max-height: 220px;
  }
  .culture-core-card > div {
    padding: 29px 27px 31px;
  }
  .culture-core-card h3 {
    font-size: 24px;
  }
  .culture-truth {
    margin-top: 52px;
    padding-top: 50px;
  }
  .culture-truth-grid {
    margin-top: 32px;
  }
  .culture-truth-card {
    padding: 32px 27px 30px;
  }
  .rituals {
    padding: 54px 0 50px;
  }
  .rituals-heading h2 {
    font-size: 34px;
  }
  .rituals-heading > p:last-child {
    padding-left: 20px;
  }
  .ritual-grid {
    margin-top: 34px;
    gap: 26px;
  }
  .ritual-steps {
    grid-template-columns: 1fr;
  }
  .ritual-steps li {
    padding: 26px 18px 25px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px;
  }
  .ritual-steps li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .ritual-steps b {
    margin: 0;
    font-size: 25px;
  }
  .ritual-steps h3 {
    margin-top: 6px;
  }
  .borrowing-custom {
    padding: 32px 27px 30px;
  }
  .ritual-calendar {
    padding: 22px 20px;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .ritual-calendar > p {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    text-align: center;
  }
  .ritual-calendar > div {
    justify-content: space-between;
  }
  .ritual-calendar i {
    width: 100%;
    height: 1px;
  }
  .closing h2 {
    font-size: 27px;
    line-height: 1.5;
  }
  .closing h2 span {
    display: block;
  }
  .closing h2 em {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.detail-crop.usb {
  position: relative;
}
.detail-crop.usb img {
  position: absolute;
  width: 380px;
  height: auto;
  max-width: none;
  left: -157px;
  top: -416px;
  mix-blend-mode: normal;
  transform: none;
}
.step-image.power {
  position: relative;
}
.step-image.power img {
  position: absolute;
  width: 700px;
  height: auto;
  max-width: none;
  left: -280px;
  top: -750px;
  mix-blend-mode: normal;
  transform: none;
}
