:root {
  color-scheme: light;
  --ink: #202225;
  --muted: #656b73;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ded8cb;
  --leaf: #2f6c55;
  --sea: #227487;
  --clay: #b45e3c;
  --gold: #d99b42;
  --shadow: 0 18px 55px rgba(35, 39, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    system-ui,
    sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 5vw;
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(222, 216, 203, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  background: #ece7dc;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.76), rgba(17, 24, 22, 0.24) 54%, rgba(17, 24, 22, 0.08)),
    linear-gradient(0deg, rgba(17, 24, 22, 0.62), rgba(17, 24, 22, 0) 42%);
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  width: min(720px, 90vw);
  padding: 0 0 86px 5vw;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2 {
  margin: 0;
  line-height: 1.16;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    serif;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 7vw, 72px);
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  font-weight: 800;
}

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

.button.ghost {
  color: #fff;
}

.section {
  width: min(1180px, 90vw);
  margin: 0 auto;
  padding: 72px 0;
}

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

.section-heading h2,
.about h2 {
  font-size: clamp(28px, 4vw, 44px);
}

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

.note-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(35, 39, 42, 0.08);
}

.note-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.note-body {
  padding: 20px;
}

.meta {
  color: var(--sea);
  font-size: 13px;
  font-weight: 800;
}

.note-body h3,
.timeline h3 {
  margin: 8px 0 10px;
  line-height: 1.35;
}

.note-body p,
.timeline p,
.about p {
  margin: 0;
  color: var(--muted);
}

.gallery-section {
  width: 100%;
  max-width: none;
  padding-inline: 5vw;
  background: #eef1ea;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #d9ded3;
}

.gallery figure.wide {
  grid-column: span 2;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.route-section {
  border-bottom: 1px solid var(--line);
}

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

.timeline article {
  padding: 24px;
  border-left: 4px solid var(--clay);
  background: #fff;
  box-shadow: 0 10px 28px rgba(35, 39, 42, 0.07);
}

.timeline span {
  color: var(--clay);
  font-weight: 900;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: start;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  padding: 28px 5vw 40px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--sea);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 12px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-copy {
    padding-right: 5vw;
  }

  .note-grid,
  .timeline,
  .about {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .hero {
    min-height: 680px;
  }

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

  .hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .section {
    padding: 52px 0;
  }

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

  .gallery figure.wide {
    grid-column: auto;
  }
}
