:root {
  --paper: #fbfbf8;
  --surface: #ffffff;
  --ink: #141611;
  --muted: #6f746c;
  --line: #dedfd8;
  --green: #123d27;
  --green-soft: #dfe8d7;
  --sage: #9aa88d;
  --clay: #a16652;
  --shadow: 0 18px 60px rgba(20, 22, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 16px;
  background: rgba(251, 251, 248, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark {
  font-size: 34px;
  line-height: 1;
  color: var(--green);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
  color: #20231e;
}

.nav-links a:hover,
.text-link:hover,
.culture-list a:hover {
  color: var(--green);
}

.language {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 72px;
  min-height: 640px;
  padding: 44px 0 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  color: var(--ink);
}

.hero h1,
.section-heading h2,
.panel h2,
.offbeat-intro h2,
.culture-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1;
}

.hero h1 {
  max-width: 760px;
  font-size: 70px;
  color: var(--green);
}

.hero h1 span {
  display: block;
  color: #080a07;
}

.hero h1 .latin-name {
  color: var(--green);
  white-space: nowrap;
}

.hero-cn {
  margin: 28px 0 20px;
  font-size: 26px;
  color: #20231e;
}

.hero-text {
  max-width: 570px;
  margin: 0 0 10px;
  color: var(--muted);
}

.en {
  font-size: 14px;
  color: #555b53;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.ghost {
  background: #fff;
  color: var(--green);
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-visual figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(18, 61, 39, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: var(--green);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 18px 0 42px;
}

.panel,
.practice-card,
.work-card,
.story-card,
.contact-card,
.milestones,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.panel {
  min-height: 260px;
  padding: 28px;
}

.about-card {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.about-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.25;
}

.about-card p,
.culture-copy p,
.contact-section p {
  color: var(--muted);
}

.about-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  border-radius: 8px;
  object-fit: cover;
}

.signature {
  display: inline-block;
  margin-top: 18px;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 23px;
  color: var(--green);
}

.education-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.education-item {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.education-item:first-of-type {
  border-top: 0;
}

.education-item h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.education-item p {
  margin: 0;
  color: var(--muted);
}

.education-item span {
  flex: 0 0 auto;
  color: var(--muted);
}

.practice,
.works-section,
.video-section,
.offbeat-section,
.story-section,
.culture-section,
.contact-section {
  padding: 44px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.offbeat-intro h2,
.culture-copy h2,
.contact-section h2 {
  font-size: 34px;
}

.text-link,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.practice-card {
  min-height: 210px;
  padding: 28px;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.practice-card h3,
.work-card h3,
.video-card h3,
.episode-card h3,
.story-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.practice-card h3 {
  font-size: 18px;
}

.practice-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.work-card {
  overflow: hidden;
}

.work-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1c1f19;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transition: transform 220ms ease;
}

.work-image::after,
.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.work-card:hover .work-image img,
.video-card:hover .video-cover img,
.episode-card:hover img {
  transform: scale(1.04);
}

.work-image h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}

.work-body {
  display: grid;
  gap: 8px;
  padding: 18px;
  min-height: 150px;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.video-card,
.episode-card {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.video-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #121411;
}

.video-cover img,
.episode-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
}

.video-info,
.episode-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 4px 0;
}

.video-info h3,
.episode-info h3 {
  font-size: 18px;
}

.video-info span,
.episode-info span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.offbeat-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.offbeat-intro {
  position: sticky;
  top: 96px;
  align-self: start;
  padding-right: 20px;
}

.offbeat-intro p {
  color: var(--muted);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.episode-card {
  min-width: 0;
}

.episode-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #151711;
}

.episode-info p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.story-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 22px;
  padding: 18px;
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-radius: 8px;
  object-fit: cover;
}

.story-card h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.story-card p {
  color: var(--muted);
}

.video-inline {
  margin-top: 8px;
}

.culture-section {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 34px;
  align-items: center;
}

.culture-visual {
  overflow: hidden;
  border-radius: 8px;
}

.culture-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.culture-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.culture-list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: #2c3029;
}

.milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 44px;
  overflow: hidden;
}

.milestones div {
  padding: 28px;
  border-left: 1px solid var(--line);
}

.milestones div:first-child {
  border-left: 0;
}

.milestones span {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  color: var(--green);
}

.milestones p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 22px;
  align-items: stretch;
  padding-bottom: 28px;
}

.contact-card {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 28px;
}

.contact-card a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: var(--green);
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 7, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px;
  overflow: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.modal-heading {
  padding-right: 48px;
}

.modal-heading h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

#modalVideo,
#modalStream {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  border: 0;
  border-radius: 8px;
  background: #000;
}

.video-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .language {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 36px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .split-section,
  .story-grid,
  .culture-section,
  .contact-section,
  .offbeat-section {
    grid-template-columns: 1fr;
  }

  .offbeat-intro {
    position: static;
    padding-right: 0;
  }

  .practice-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-top: 16px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero h1 .latin-name {
    white-space: normal;
  }

  .hero-cn {
    font-size: 22px;
  }

  .hero-actions,
  .section-heading.row {
    align-items: stretch;
    flex-direction: column;
  }

  .about-card,
  .practice-grid,
  .work-grid,
  .episode-grid,
  .story-card,
  .milestones {
    grid-template-columns: 1fr;
  }

  .episode-info {
    flex-direction: column;
    gap: 4px;
  }

  .episode-info span {
    white-space: normal;
  }

  .panel,
  .practice-card,
  .story-card,
  .contact-card {
    padding: 20px;
  }

  .section-heading h2,
  .offbeat-intro h2,
  .culture-copy h2,
  .contact-section h2 {
    font-size: 28px;
  }

  .milestones div,
  .milestones div:first-child {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .milestones div:first-child {
    border-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .site-footer a {
    justify-self: start;
  }
}
