:root {
  --paper: #f5f3ed;
  --paper-deep: #ece9df;
  --ink: #263a32;
  --muted: #6d756e;
  --green: #2d473d;
  --green-light: #dce4d8;
  --orange: #d8784d;
  --line: rgba(38, 58, 50, 0.14);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(38, 58, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50% 50% 50% 12%;
  font-size: 20px;
  line-height: 1;
}

.brand-dot {
  color: var(--orange);
}

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

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .active::after {
  transform: scaleX(1);
}

.hero {
  min-height: 650px;
  padding-block: 88px 100px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 84px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: var(--orange);
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-weight: 700;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.35;
  letter-spacing: -1px;
}

.highlight {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 4px;
  left: -4px;
  height: 12px;
  background: #e5c9a9;
  opacity: 0.65;
  transform: rotate(-1deg);
}

.hero-description {
  max-width: 490px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #1f352d;
  transform: translateY(-2px);
}

.text-link {
  padding-block: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.text-link span {
  margin-left: 12px;
}

.hero-footnote {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8a8f87;
  font-size: 12px;
  letter-spacing: 1px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #78977c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(120, 151, 124, 0.13);
}

.hero-visual {
  position: relative;
  padding: 0 20px 22px 0;
}

.landscape-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(38, 58, 50, 0.08);
  border-radius: 4px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.card-topline {
  padding: 0 2px 15px;
  display: flex;
  justify-content: space-between;
  color: #7e847b;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.landscape {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #e7dfcc;
}

.sun {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 86px;
  height: 86px;
  background: #d78053;
  border-radius: 50%;
  transform: translateX(-50%);
}

.cloud {
  position: absolute;
  height: 1px;
  background: rgba(255, 253, 248, 0.8);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  height: 1px;
  background: inherit;
}

.cloud-one {
  top: 68px;
  left: 40px;
  width: 70px;
}

.cloud-one::before {
  top: 9px;
  left: 18px;
  width: 90px;
}

.cloud-two {
  top: 120px;
  right: 38px;
  width: 55px;
}

.cloud-two::after {
  top: 8px;
  right: 22px;
  width: 70px;
}

.mountain {
  position: absolute;
  right: -12%;
  bottom: -35%;
  left: -12%;
  height: 95%;
  transform: rotate(11deg);
}

.mountain-back {
  bottom: -24%;
  left: 25%;
  background: #899887;
  transform: rotate(43deg);
}

.mountain-front {
  right: 15%;
  bottom: -52%;
  left: -28%;
  height: 115%;
  background: #526f5e;
  transform: rotate(33deg);
}

.hill {
  position: absolute;
  right: -30%;
  bottom: -50%;
  width: 120%;
  height: 95%;
  background: #2e4d40;
  border-radius: 50% 0 0 0;
  transform: rotate(-8deg);
}

.card-caption {
  padding: 20px 3px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-caption p {
  margin-bottom: 0;
}

.caption-title {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}

.caption-subtitle {
  margin-top: 3px;
  color: #8a8f87;
  font-size: 10px;
}

.caption-icon {
  color: var(--orange);
  font-size: 30px;
}

.floating-note {
  position: absolute;
  right: -22px;
  bottom: -8px;
  width: 156px;
  padding: 20px 22px;
  background: #e9c4a5;
  box-shadow: 0 12px 30px rgba(38, 58, 50, 0.12);
  transform: rotate(-4deg);
}

.floating-note > span:first-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.floating-note p {
  margin: 9px 0 16px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

.note-date {
  color: rgba(38, 58, 50, 0.65);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.about-section {
  padding-block: 82px;
  background: var(--green);
  color: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}

.section-kicker {
  margin-bottom: 14px;
}

.about-section .section-kicker,
.life-section .section-kicker {
  color: #d7a17e;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.5;
}

.about-content {
  padding-top: 12px;
}

.about-content p {
  margin-bottom: 16px;
  color: rgba(245, 243, 237, 0.72);
  font-size: 14px;
  line-height: 2;
}

.tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags span {
  padding: 4px 15px;
  border: 1px solid rgba(245, 243, 237, 0.22);
  border-radius: 30px;
  color: rgba(245, 243, 237, 0.82);
  font-size: 11px;
}

.notes-section {
  padding-block: 96px 110px;
}

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

.section-heading > p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

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

.note-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.note-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(38, 58, 50, 0.08);
}

.note-card-featured {
  background: #e5e9df;
}

.note-meta {
  margin-bottom: 42px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.5px;
}

.note-meta > span {
  color: var(--orange);
  font-weight: 700;
}

.note-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 21px;
  line-height: 1.55;
}

.note-card > p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.note-number {
  position: absolute;
  right: 14px;
  bottom: -25px;
  color: rgba(38, 58, 50, 0.045);
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: 1;
}

.life-section {
  padding-block: 76px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.life-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 100px;
}

.life-copy > p:last-child {
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.joy-list {
  display: grid;
  gap: 0;
}

.joy-item {
  padding-block: 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.joy-item:first-child {
  padding-top: 0;
}

.joy-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.joy-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--orange);
  border: 1px solid rgba(216, 120, 77, 0.4);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 12px;
}

.joy-item h3 {
  margin-bottom: 2px;
  font-size: 14px;
}

.joy-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding-top: 42px;
  color: rgba(245, 243, 237, 0.7);
  background: #20332c;
}

.footer-main {
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  color: var(--paper);
  font-size: 21px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  color: var(--green);
  background: var(--paper);
  font-size: 16px;
}

.footer-main > p {
  margin-bottom: 0;
  font-size: 12px;
}

.back-to-top {
  margin-left: auto;
  font-size: 12px;
}

.back-to-top span {
  margin-left: 8px;
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(245, 243, 237, 0.12);
  font-size: 11px;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(245, 243, 237, 0.8);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

@media (max-width: 900px) {
  .hero {
    gap: 44px;
  }

  .hero-visual {
    padding-right: 10px;
  }

  .landscape {
    height: 260px;
  }

  .floating-note {
    right: -8px;
    width: 138px;
    padding: 16px 18px;
  }

  .about-grid,
  .life-inner {
    gap: 56px;
  }

  .note-card {
    padding: 26px 22px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 36px, 560px);
  }

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

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-nav {
    gap: 20px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding-block: 60px 80px;
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-footnote {
    justify-content: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .landscape {
    height: 300px;
  }

  .about-grid,
  .life-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-section {
    padding-block: 64px;
  }

  .about-content {
    padding-top: 0;
  }

  .notes-section {
    padding-block: 68px 76px;
  }

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

  .note-card {
    min-height: 270px;
  }

  .note-meta {
    margin-bottom: 28px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading > p {
    margin-bottom: 0;
  }

  .life-section {
    padding-block: 64px;
  }

  .footer-main {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .footer-main > p {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .landscape {
    height: 250px;
  }

  .floating-note {
    right: -4px;
  }

  .footer-bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
