:root {
  --paper: #f4f0e7;
  --paper-2: #fbf9f4;
  --white: #fffefa;
  --ink: #17201d;
  --muted: #5f6763;
  --forest: #0d332c;
  --forest-2: #17483e;
  --wine: #6d2635;
  --brass: #7f5b22;
  --brass-light: #d4b77a;
  --mist: #dce8e8;
  --rose: #eadbd5;
  --line: rgba(23, 32, 29, .16);
  --shadow: 0 20px 55px rgba(23, 32, 29, .12);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}
img { max-width: 100%; height: auto; display: block; object-fit: contain; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #c58435;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin: 0 auto; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 244, .96);
  backdrop-filter: blur(14px);
}
.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 10px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; text-decoration: none; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  padding: 13px 19px;
  color: var(--white);
  background: var(--forest);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--forest-2); }
.button.light { color: var(--forest); border-color: var(--white); background: var(--white); }
.button.outline { color: var(--forest); background: transparent; }
.button.wine { border-color: var(--wine); background: var(--wine); }
.button.wine:hover { background: #7f3040; }
.button:disabled { cursor: wait; opacity: .65; }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: #2c2521;
  background-image: url("/assets/shuyi/shuyi-portrait.jpg");
  background-position: 72% 30%;
  background-size: cover;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 51, 44, .67);
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; padding: 92px 0 100px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--brass-light);
  font-size: 13px;
  font-weight: 800;
}
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.13;
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { margin: 0 0 22px; font-size: 62px; }
h2 { margin: 0 0 18px; font-size: 40px; }
h3 { margin: 0 0 10px; font-size: 25px; }
.hero p { max-width: 680px; margin: 0; color: rgba(255, 254, 250, .82); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.3); }
.hero-proof span { font-size: 14px; font-weight: 700; }

.band { padding: 88px 0; }
.band.paper { background: var(--paper); }
.band.white { background: var(--paper-2); }
.band.mist { background: var(--mist); }
.band.rose { background: var(--rose); }
.band.forest { color: var(--white); background: var(--forest); }
.band.wine { color: var(--white); background: var(--wine); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.forest .section-head p, .wine .section-head p { color: rgba(255,255,255,.72); }

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.recognition-item { padding: 30px 28px; border-right: 1px solid var(--line); }
.recognition-item:last-child { border-right: 0; }
.recognition-item strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 23px; }
.recognition-item p { margin: 0; color: var(--muted); }

.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.35fr);
  gap: 64px;
  align-items: center;
}
.portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.story-copy p { color: var(--muted); }
.credentials { margin: 28px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.credentials li { padding: 13px 0; border-bottom: 1px solid var(--line); }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.entry-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.entry-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.entry-card.book img { object-position: center 22%; }
.entry-body { flex: 1; display: flex; flex-direction: column; padding: 26px; }
.entry-body p { color: var(--muted); }
.entry-body .button { margin-top: auto; }
.meta { margin: 0 0 10px; color: var(--brass); font-size: 12px; font-weight: 800; }

.quote {
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 35px;
  line-height: 1.45;
  text-align: center;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 60px;
  align-items: start;
}
.lead-form {
  padding: 30px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  background: rgba(255,255,255,.08);
}
.field { display: grid; gap: 7px; margin-bottom: 15px; }
.field span { font-size: 13px; font-weight: 750; }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(23, 32, 29, .25);
  border-radius: 5px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
}
.form-note { margin: 13px 0 0; color: rgba(255,255,255,.68); font-size: 13px; }
.status { display: none; margin-top: 16px; padding: 14px; border-radius: 5px; background: rgba(255,255,255,.12); }
.status.show { display: block; }
.status.error { color: #fff0ec; background: rgba(109,38,53,.52); }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ml-frame { display: none; width: 0; height: 0; border: 0; }
.contact-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
}
.contact-box strong { color: var(--white); }
.contact-box a { color: var(--white); font-weight: 700; }

.product-hero {
  padding: 92px 0 70px;
  color: var(--white);
  background: var(--forest);
}
.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  gap: 64px;
  align-items: center;
}
.product-hero h1 { font-size: 58px; }
.product-hero p { color: rgba(255,255,255,.74); font-size: 18px; }
.product-hero img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 22px 60px rgba(0,0,0,.26); }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 24px 0; }
.price { font-size: 36px; font-weight: 800; }
.price-note { color: rgba(255,255,255,.65); }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.feature:nth-child(even) { padding-left: 32px; }
.feature strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 22px; }
.feature p { margin: 0; color: var(--muted); }

.cards-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards-showcase figure { margin: 0; }
.cards-showcase img { width: 100%; height: auto; aspect-ratio: 1110 / 1927; object-fit: contain; box-shadow: var(--shadow); }
.cards-showcase figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

.audio-list { border-top: 1px solid var(--line); }
.audio-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.audio-row strong { font-family: var(--serif); font-size: 21px; }
.audio-row audio { width: 100%; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { counter-increment: step; padding-top: 20px; border-top: 3px solid var(--brass); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 10px; color: var(--brass); font-weight: 800; }
.step p { color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { min-height: 44px; display: flex; align-items: center; font-weight: 750; cursor: pointer; }
.faq p { max-width: 760px; color: var(--muted); }

.experience-hero { padding: 70px 0 54px; color: var(--white); background: var(--wine); }
.experience-hero h1 { font-size: 52px; }
.experience-intro { max-width: 760px; color: rgba(255,255,255,.75); }
.experience-card { display: grid; grid-template-columns: minmax(240px, .58fr) minmax(0, 1.2fr); gap: 54px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.experience-card img { width: 100%; height: auto; aspect-ratio: 1110 / 1927; object-fit: contain; box-shadow: var(--shadow); }
.experience-card p { color: var(--muted); }
.reflection { margin: 24px 0; padding: 20px; border-left: 3px solid var(--brass); background: var(--white); }
.reflection strong { color: var(--forest); }

.boundary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.boundary strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 21px; }
.boundary p { margin: 0; color: rgba(255,255,255,.68); }

.site-footer { padding: 36px 0; color: rgba(255,255,255,.66); background: #0a2822; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--white); }

@media (max-width: 900px) {
  h1, .product-hero h1 { font-size: 50px; }
  .story-layout, .product-hero-grid, .form-layout { gap: 40px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1fr); }
  .entry-card img { height: auto; aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 28px, 620px); }
  .nav-links a:not(.button) { display: none; }
  .nav-links { gap: 8px; }
  .nav-links .button { min-height: 44px; padding: 9px 12px; font-size: 13px; }
  .hero { min-height: 700px; background-position: 62% 30%; }
  .hero::before { background: rgba(13,51,44,.76); }
  .hero-copy { padding: 74px 0 82px; }
  h1, .product-hero h1 { font-size: 42px; }
  h2 { font-size: 33px; }
  .band { padding: 62px 0; }
  .recognition-grid, .story-layout, .form-layout, .product-hero-grid, .feature-list, .cards-showcase, .steps, .boundary { grid-template-columns: 1fr; }
  .recognition-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .recognition-item:last-child { border-bottom: 0; }
  .story-layout { gap: 32px; }
  .portrait { max-height: 620px; }
  .entry-card { display: flex; }
  .entry-card img { height: auto; aspect-ratio: 16 / 10; }
  .feature:nth-child(odd), .feature:nth-child(even) { padding: 24px 0; border-right: 0; }
  .cards-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cards-showcase figcaption { font-size: 11px; }
  .audio-row, .experience-card { grid-template-columns: 1fr; gap: 24px; }
  .experience-card img { max-width: 360px; margin: 0 auto; }
  .quote { font-size: 28px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 430px) {
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-links .button { max-width: 132px; }
  .hero-actions, .status-actions { display: grid; }
  .button { width: 100%; }
  .cards-showcase { grid-template-columns: 1fr; gap: 22px; }
  .cards-showcase img { max-width: 320px; margin: 0 auto; }
}
