:root {
  --ink: #17231f;
  --green: #163e35;
  --green-soft: #dce6df;
  --paper: #f6f1e7;
  --paper-deep: #ebe4d7;
  --gold: #d2a24c;
  --muted: #68736e;
  --line: rgba(23, 35, 31, .18);
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --body: "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 241, 231, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1400px, calc(100% - 64px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 650;
  letter-spacing: .03em;
  text-decoration: none;
}

.brand img { border-radius: 12px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  transition: opacity .2s ease;
}

.site-nav a:hover { opacity: .62; }

.site-nav a:focus-visible,
.primary-action:focus-visible,
.text-action:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.login-link {
  padding: 9px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

main { overflow: hidden; }

.hero {
  width: min(1400px, calc(100% - 64px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 128px);
  padding: 76px 0 88px;
}

.eyebrow {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 7.2vw, 110px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-intro {
  max-width: 620px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 42px;
}

.primary-action {
  min-height: 52px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .28s var(--ease), background .28s ease;
}

.primary-action:hover {
  background: #0e3029;
  transform: translateY(-2px);
}

.primary-action:active { transform: translateY(0); }

.text-action {
  font-size: 14px;
  text-underline-offset: 6px;
}

.text-action span { margin-left: 8px; }

.hero-visual { position: relative; }

.visual-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: clamp(24px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  background: var(--green);
  border-radius: 4px 4px 120px 4px;
  box-shadow: 28px 32px 0 var(--paper-deep);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 42px 42px;
}

.visual-index,
.visual-caption,
.visual-mark { position: relative; z-index: 1; }

.visual-index {
  align-self: flex-end;
  font-size: 13px;
  letter-spacing: .12em;
}

.visual-mark {
  font-family: Georgia, serif;
  font-size: clamp(150px, 23vw, 320px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.12em;
}

.visual-mark::after {
  content: "";
  position: absolute;
  right: 8%;
  top: -2%;
  width: clamp(20px, 3vw, 38px);
  aspect-ratio: 1;
  background: var(--gold);
  border-radius: 50%;
}

.visual-axis {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 1px;
  height: 32%;
  background: rgba(255,255,255,.36);
  transform: rotate(38deg);
  transform-origin: bottom;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.42);
  font-size: 13px;
  letter-spacing: .12em;
}

.manifesto,
.learning,
.method,
.entry {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.manifesto {
  min-height: 620px;
  padding: 130px 0;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  border-top: 1px solid var(--line);
}

.section-number,
.item-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.manifesto-content h2,
.section-heading h2,
.method h2,
.entry h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.manifesto-content h2 {
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.18;
}

.manifesto-content p {
  max-width: 700px;
  margin: 46px 0 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  text-wrap: pretty;
}

.learning { padding: 120px 0 150px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 64px;
}

.section-heading h2 { font-size: clamp(48px, 6vw, 86px); }

.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}

.learning-item {
  min-height: 360px;
  padding: 32px 34px 38px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: color .32s ease, background .32s ease, transform .32s var(--ease);
}

.learning-item:first-child { border-left: 1px solid var(--line); }

.learning-item:hover {
  color: var(--paper);
  background: var(--green);
  transform: translateY(-8px);
}

.learning-item h3 {
  margin: auto 0 18px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
}

.learning-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  text-wrap: pretty;
  transition: color .32s ease;
}

.learning-item:hover p { color: rgba(246,241,231,.74); }

.method { padding-bottom: 150px; }

.method-card {
  padding: clamp(42px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px 88px 4px 4px;
}

.method h2 {
  max-width: 620px;
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: 1.12;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.28);
}

.method-steps li {
  min-height: 112px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.28);
}

.method-steps span,
.method-steps small {
  color: rgba(246,241,231,.58);
  font-size: 12px;
}

.method-steps strong { font-size: 20px; font-weight: 600; }

.method-steps small { grid-column: 2; }

.entry {
  padding: 150px 0 170px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.entry img { margin-bottom: 34px; border-radius: 18px; }

.entry .eyebrow { margin-bottom: 18px; }

.entry h2 { font-size: clamp(50px, 6vw, 88px); }

.entry p:not(.eyebrow) {
  margin: 16px 0 34px;
  color: var(--muted);
}

.site-footer {
  min-height: 210px;
  padding: 42px max(32px, calc((100% - 1400px) / 2));
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: end;
  gap: 32px;
  color: var(--paper);
  background: var(--green);
}

.footer-brand { font-size: 20px; font-weight: 650; }

.site-footer p,
.site-footer small { margin: 0; color: rgba(246,241,231,.7); }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 82px;
  }

  .hero-visual { width: min(620px, 88%); margin: 20px auto 40px; }

  .manifesto { grid-template-columns: 1fr; min-height: auto; }

  .manifesto-content p { margin-left: 0; }

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

  .learning-item,
  .learning-item:first-child { min-height: 260px; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }

  .method-card { grid-template-columns: 1fr; }

  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }

  .header-inner,
  .hero,
  .manifesto,
  .learning,
  .method,
  .entry { width: min(100% - 36px, 1400px); }

  .header-inner { min-height: 70px; }

  .brand img { width: 36px; height: 36px; }

  .site-nav > a:not(.login-link) { display: none; }

  .login-link { min-height: 44px; display: inline-flex; align-items: center; }

  .hero { min-height: auto; padding: 62px 0 86px; gap: 48px; }

  .hero h1 { font-size: clamp(48px, 15vw, 68px); }

  .hero-intro { margin-top: 28px; }

  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }

  .primary-action { min-width: 168px; min-height: 50px; }

  .hero-visual { width: calc(100% - 20px); margin: 0 20px 20px 0; }

  .visual-frame { border-radius: 4px 4px 68px 4px; box-shadow: 18px 20px 0 var(--paper-deep); }

  .manifesto { padding: 92px 0; gap: 34px; }

  .manifesto-content h2 { font-size: 40px; }

  .manifesto-content p { margin-top: 30px; font-size: 18px; }

  .learning { padding: 88px 0 100px; }

  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }

  .section-heading h2 { font-size: 50px; }

  .learning-item { min-height: 240px; padding-inline: 22px; }

  .method { padding-bottom: 100px; }

  .method-card { padding: 40px 24px; gap: 48px; border-radius: 4px 52px 4px 4px; }

  .method h2 { font-size: 44px; }

  .entry { padding: 100px 0 120px; }

  .entry h2 { font-size: 50px; }

  .site-footer { min-height: 250px; padding: 38px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
