:root {
  --paper: #f7f4ef;
  --surface: #fffdf8;
  --ink: #2f2f2f;
  --ink-soft: #45413b;
  --muted: #6f6b63;
  --quiet: #d8d0c3;
  --green: #526452;
  --green-deep: #303c32;
  --ochre: #b88b63;
  --ochre-dark: #8f6441;
  --soft-green: #e7ebe4;
  --shadow: 0 20px 70px rgba(47, 47, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.letter-copy p,
blockquote {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 4.5vw, 64px);
  color: var(--ink);
  background: rgba(247, 244, 239, 0.82);
  border-bottom: 1px solid rgba(216, 208, 195, 0.72);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 10px 30px rgba(47, 47, 47, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 58px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  color: #4c4a45;
  font-size: 14px;
}

.desktop-nav a,
.text-link,
.site-footer a {
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--ochre);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--quiet);
  border-radius: 6px;
}

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

.mobile-nav {
  position: fixed;
  z-index: 25;
  top: 76px;
  right: 16px;
  left: 16px;
  display: none;
  padding: 12px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid var(--quiet);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 12px 10px;
  border-bottom: 1px solid #eee8dc;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 100vh;
  padding: 150px clamp(22px, 7vw, 96px) 72px;
  overflow: hidden;
}

.hero-slider,
.hero-slide,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-slider {
  overflow: hidden;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.35s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide,
.program-card img,
.principle img,
.about-bg,
.letter-photo img {
  transform: none !important;
}

.hero-scrim {
  background: linear-gradient(0deg, rgba(28, 31, 28, 0.52), rgba(28, 31, 28, 0.04) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: var(--surface);
  text-align: center;
}

.section-label {
  margin-bottom: 22px;
  color: var(--ochre);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 46px;
  padding: 12px 22px;
  color: var(--surface);
  background: rgba(47, 47, 47, 0.22);
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-button:hover {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.88);
  transform: translateY(-1px);
}

.section,
.section-narrow {
  padding: 110px clamp(22px, 7vw, 96px);
}

.section-narrow {
  max-width: 1080px;
  margin: 0 auto;
}

.manifesto h2 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.25;
}

.manifesto p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.founder-section,
.about-section,
.letter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
  padding: 118px clamp(22px, 7vw, 96px);
}

.founder-photo img,
.letter-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.letter-photo img {
  object-position: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.founder-copy,
.about-copy,
.letter-copy {
  max-width: 720px;
}

.founder-copy h2,
.about-copy h2,
.letter-copy h2,
.section-heading h2,
.journal-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.15;
}

.founder-subtitle {
  margin-bottom: 32px;
  color: var(--green);
  font-size: 18px;
}

.founder-copy p,
.about-copy p,
.letter-copy p,
.journal-intro p {
  color: var(--muted);
  font-size: 16px;
}

blockquote {
  margin: 34px 0 0;
  padding: 28px 0 0;
  color: var(--green-deep);
  border-top: 1px solid var(--quiet);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.35;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--quiet);
  border-bottom: 1px solid var(--quiet);
}

.tag-cloud span {
  padding: 10px 14px;
  color: var(--green-deep);
  background: rgba(82, 100, 82, 0.08);
  border: 1px solid rgba(82, 100, 82, 0.16);
  border-radius: 6px;
  font-size: 14px;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: #f1ece3;
  border-top: 1px solid var(--quiet);
  border-bottom: 1px solid var(--quiet);
}

.number-item {
  min-height: 260px;
  padding: 48px 34px 40px;
  background: transparent;
  border-right: 1px solid var(--quiet);
}

.number-item:last-child {
  border-right: 0;
}

.number-item strong {
  display: block;
  margin-bottom: 22px;
  color: var(--green-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 400;
  line-height: 1;
}

.number-item span {
  display: block;
  max-width: 180px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 54px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: transparent;
  border: 0;
}

.principle {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: 32px 28px 30px;
  background: var(--surface);
  border: 1px solid var(--quiet);
  box-shadow: 0 18px 48px rgba(47, 47, 47, 0.06);
  overflow: hidden;
}

.principle::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.04) 0%, rgba(255, 253, 248, 0.4) 58%, rgba(255, 253, 248, 0.82) 100%);
}

.principle img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52%;
  object-fit: cover;
  opacity: 0.57;
  filter: saturate(0.86) contrast(1.04) brightness(1.02);
}

.principle span {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 66px;
  color: var(--ochre-dark);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
}

.principle-index {
  position: absolute;
  top: 31px;
  right: 28px;
  color: rgba(82, 100, 82, 0.28);
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  z-index: 2;
}

.principle h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  font-size: 34px;
}

.principle p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 15px;
}

.about-section {
  position: relative;
  display: grid;
  min-height: 78vh;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: end;
  overflow: hidden;
  color: var(--surface);
  background: var(--green-deep);
}

.about-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.about-section::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(270deg, rgba(27, 32, 27, 0.78), rgba(27, 32, 27, 0.18) 62%, rgba(27, 32, 27, 0.06));
}

.about-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-left: auto;
}

.about-copy .section-label {
  color: #d7b18d;
}

.about-copy p {
  color: rgba(255, 253, 248, 0.86);
}

.about-copy strong {
  color: var(--surface);
}

.programs-section {
  background: var(--surface);
}

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

.program-card {
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: hidden;
  background: var(--green-deep);
  color: var(--surface);
}

.program-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 610px;
}

.program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.program-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(24, 28, 24, 0.78), rgba(24, 28, 24, 0.06) 58%);
}

.program-card div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 28px;
}

.program-card:hover img {
  opacity: 0.9;
  transform: scale(1.04);
}

.program-card p {
  margin-bottom: 8px;
  color: #e5c7aa;
  font-size: 14px;
  font-weight: 700;
}

.program-card h3 {
  max-width: 680px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
}

.program-card h4 {
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.84);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.program-card span {
  display: inline-block;
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  color: rgba(255, 253, 248, 0.86);
  font-size: 14px;
}

.places-section {
  background: #efe8dc;
}

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

.place-card {
  display: grid;
  gap: 14px;
}

.place-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.place-card span {
  color: var(--ochre-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.place-card h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 30px);
}

.places-more {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--quiet);
}

.places-more p {
  margin: 0;
  color: var(--ochre-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.places-more h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.8vw, 38px);
}

.places-more span {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.stories-section {
  background: var(--paper);
}

.stories-section .section-heading {
  max-width: none;
}

.stories-section .section-heading h2 {
  white-space: nowrap;
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: transparent;
  border-top: 0;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 300px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--quiet);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.story-row span {
  color: var(--ochre);
  font-family: Georgia, serif;
  font-size: 22px;
}

.story-row h3 {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.25;
}

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

.journal-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  padding: 118px clamp(22px, 7vw, 96px);
  color: var(--surface);
  background: #2b332c;
}

.journal-list {
  display: grid;
  align-content: start;
  gap: 0;
}

.journal-list a {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
}

.journal-list a:hover {
  color: #e4c4a8;
}

.journal-intro p {
  color: rgba(255, 253, 248, 0.72);
}

.letter-section {
  align-items: center;
  background: linear-gradient(90deg, #f2ece1 0%, var(--surface) 100%);
}

.letter-copy {
  padding: clamp(30px, 5vw, 70px);
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--quiet);
  box-shadow: var(--shadow);
}

.letter-copy p {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.55;
}

.letter-copy footer {
  margin-top: 34px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(22px, 7vw, 96px);
  color: rgba(255, 253, 248, 0.68);
  background: #252722;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--surface);
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
  font-size: 26px;
  font-weight: 500;
}

.article-page {
  background: var(--paper);
}

.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 7vw, 96px);
  border-bottom: 1px solid var(--quiet);
}

.article-header a {
  display: inline-flex;
  align-items: center;
}

.article-header img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.article-header span,
.article-meta {
  color: var(--ochre-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.article-meta {
  display: none;
}

.story-row,
.program-card,
.place-card,
.principle {
  box-shadow: none;
}

.story-row:hover,
.program-card:hover img {
  transform: none;
}

.article-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 90px 22px 120px;
}

.article-main h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.16;
}

.article-main p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 2;
}

.article-main blockquote {
  margin-top: 52px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .founder-section,
  .about-section,
  .letter-section,
  .journal-section {
    grid-template-columns: 1fr;
  }

  .numbers,
  .principle-grid,
  .story-list,
  .places-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .program-card.large {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand img {
    height: 44px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    min-height: 94vh;
    padding: 120px 22px 54px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-button {
    width: min(100%, 260px);
  }

  .section,
  .section-narrow,
  .founder-section,
  .about-section,
  .letter-section,
  .journal-section {
    padding: 76px 22px;
  }

  .numbers,
  .principle-grid,
  .program-grid,
  .story-list,
  .places-grid {
    grid-template-columns: 1fr;
  }

  .number-item {
    border-right: 0;
    border-bottom: 1px solid var(--quiet);
  }

  .number-item {
    min-height: 170px;
  }

  .principle {
    min-height: 250px;
  }

  .principle span {
    margin-bottom: 30px;
  }

  .program-card.large {
    grid-column: auto;
  }

  .program-card,
  .program-card.large {
    min-height: 390px;
  }

  .stories-section .section-heading h2 {
    white-space: normal;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
