:root {
  color-scheme: light;
  --paper: #f8f7f1;
  --ink: #202b23;
  --muted: #4f5b51;
  --rule: #c9cec0;
  --accent: #805400;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

* { box-sizing: border-box; }

body { margin: 0; }

.wrap {
  width: min(1100px, calc(100% - 64px));
  margin-inline: auto;
}

a {
  color: inherit;
  text-underline-offset: .24em;
}

a:hover { color: var(--accent); }

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

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  border-bottom: 1px solid var(--rule);
  font-size: .875rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-weight: 650;
  text-decoration: none;
}

.sun {
  width: .85em;
  height: .85em;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #e9ac49;
}

.intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 2rem;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 .6rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .16em;
}

h1, h2 {
  margin: 0;
  font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
}

h1 {
  font-size: clamp(3rem, 8.6vw, 7rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.065em;
}

.intro-text {
  margin: 0 0 .2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 1.5rem;
}

figure { margin: 0; }

.feature { grid-column: 1 / -1; }

img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e1e1d5;
}

.feature img {
  aspect-ratio: 2.15;
  object-position: center 52%;
}

figcaption { padding-top: 1rem; }

.feature figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: .25rem 1.5rem;
}

.place {
  margin: 0 0 .2rem;
  color: var(--accent);
  font-size: .875rem;
}

figcaption h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.3;
}

.note {
  margin: .5rem 0 0;
  color: var(--muted);
}

footer {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: 1.6rem 0 2.5rem;
  border-top: 1px solid var(--rule);
}

footer h2 { font-size: 1.125rem; }

footer p, footer ul {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .875rem;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  padding: 0;
  list-style: none;
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 56px; }
  .intro, .gallery, .feature figcaption { grid-template-columns: 1fr; }
  .intro-text { margin: 1rem 0 0; }
  .intro-text br { display: none; }
  .feature img { aspect-ratio: 4 / 3; }
  .gallery { row-gap: 2rem; }
  footer ul { flex-direction: column; }
}
