:root {
  --paper: #f5f0e6;
  --paper-deep: #ebe3d5;
  --ink: #24342d;
  --muted: #6d786f;
  --green: #315f4c;
  --green-soft: #aec3b5;
  --gold: #c68b4a;
  --line: rgba(36, 52, 45, 0.16);
  --white: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif;
  line-height: 1.75;
}

a { color: inherit; }

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50% 50% 46% 54%;
}

nav { display: flex; gap: 32px; }

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible { color: var(--green); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

h1,
h2,
h3 { margin-top: 0; line-height: 1.25; }

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.6rem, 5.1vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 500;
}

.hero-intro {
  max-width: 580px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #cfddd2;
  border-radius: 48% 48% 12px 12px;
  box-shadow: 0 28px 70px rgba(49, 95, 76, 0.15);
}

.sun {
  position: absolute;
  top: 15%;
  right: 19%;
  width: 25%;
  aspect-ratio: 1;
  background: #e6b674;
  border-radius: 50%;
}

.mountain {
  position: absolute;
  bottom: 18%;
  width: 86%;
  height: 50%;
  clip-path: polygon(0 100%, 28% 38%, 43% 58%, 67% 7%, 100% 100%);
}

.mountain-back { left: -18%; background: #73917d; }
.mountain-front { right: -14%; bottom: 9%; background: #315f4c; }

.water-line {
  position: absolute;
  left: 13%;
  height: 2px;
  background: rgba(255, 253, 248, 0.65);
}

.water-line-one { bottom: 17%; width: 51%; }
.water-line-two { bottom: 12%; left: 31%; width: 43%; }

.section { padding: 96px 0; border-top: 1px solid var(--line); }

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

.section-heading > p {
  max-width: 360px;
  margin: 0 0 5px;
  color: var(--muted);
}

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

.post-card {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(36, 52, 45, 0.1);
  border-radius: 4px;
}

.post-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post-visual::before,
.post-visual::after {
  content: "";
  position: absolute;
}

.visual-morning { background: linear-gradient(145deg, #dbcba9 0 42%, #9aae97 42% 100%); }
.visual-morning::before { inset: 42% 19% 0; background: #51695c; clip-path: polygon(38% 0, 100% 100%, 0 100%); }
.visual-morning::after { width: 23%; aspect-ratio: 1; right: 17%; top: 16%; background: #f1d89d; border-radius: 50%; }

.visual-sea { background: linear-gradient(#9db5b1 0 53%, #587a73 53% 73%, #d3a263 73% 77%, #315f4c 77%); }
.visual-sea::before { width: 22%; aspect-ratio: 1; top: 21%; left: 39%; background: #edc783; border-radius: 50%; }
.visual-sea::after { left: 16%; right: 16%; bottom: 17%; height: 2px; background: rgba(255,255,255,.58); box-shadow: 45px -22px 0 rgba(255,255,255,.4); }

.visual-hill { background: #c8d6c7; }
.visual-hill::before { inset: 18% -16% -22%; background: #5d806b; border-radius: 50% 50% 0 0; transform: rotate(-9deg); }
.visual-hill::after { width: 17%; height: 90%; left: 45%; bottom: -40%; background: #d5b47b; border-radius: 50% 50% 0 0; transform: rotate(11deg); }

.post-visual span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 20px;
  color: rgba(255,255,255,.86);
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
}

.post-body { padding: 28px 28px 32px; }

.post-meta {
  display: flex;
  gap: 12px;
  margin: 0 0 15px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

.post-meta span::before { content: "·"; margin-right: 12px; }

.post-body h3 { min-height: 3.1em; margin-bottom: 16px; font-size: 1.32rem; font-weight: 600; }
.post-body h3 a { text-decoration: none; }
.post-body > p:not(.post-meta) { min-height: 7.1em; margin-bottom: 22px; color: var(--muted); font-size: 0.93rem; }
.post-body .text-link { font-size: 0.87rem; }

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 9vw, 150px);
}

.about-copy { color: var(--muted); font-size: 1.06rem; }
.about-copy p:first-child { margin-top: 0; }

.site-footer {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.site-footer strong { letter-spacing: 0.1em; }
.site-footer p { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.footer-meta { text-align: right; }
.footer-meta a { color: var(--muted); font-size: 0.85rem; text-underline-offset: 4px; }

.article-page main { width: min(760px, calc(100% - 48px)); }
.article-hero { padding: 95px 0 55px; text-align: center; }
.article-hero h1 { margin: 14px auto 22px; font-size: clamp(2.25rem, 5vw, 4.25rem); }
.article-hero .post-meta { justify-content: center; }
.article-art { aspect-ratio: 16 / 8; margin-bottom: 64px; border-radius: 4px; }
.article-content { padding-bottom: 100px; color: #405148; font-size: 1.08rem; }
.article-content p { margin: 0 0 1.55em; }
.article-content .lead { color: var(--ink); font-size: 1.3rem; }
.back-home { margin-top: 50px; }

.not-found { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin-bottom: 10px; }
.not-found p { color: var(--muted); }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { width: min(100%, 560px); justify-self: center; aspect-ratio: 5 / 4; border-radius: 44% 44% 8px 8px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { display: grid; grid-template-columns: minmax(220px, 0.75fr) 1fr; }
  .post-visual { aspect-ratio: auto; min-height: 100%; }
  .post-body h3, .post-body > p:not(.post-meta) { min-height: 0; }
}

@media (max-width: 620px) {
  .site-header, .site-footer, main { width: min(100% - 30px, 1180px); }
  .site-header { padding: 16px 0; align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; max-width: 190px; }
  .hero { padding: 62px 0 72px; }
  h1 { font-size: 2.55rem; }
  .section { padding: 72px 0; }
  .section-heading, .site-footer { align-items: flex-start; flex-direction: column; }
  .post-card { display: block; }
  .post-visual { aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; }
  .site-footer { padding: 42px 0; min-height: 0; }
  .footer-meta { text-align: left; }
  .article-hero { padding-top: 72px; }
}

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