:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --surface: #fbfaf7;
  --ink: #24302b;
  --muted: #66716b;
  --line: #d4d9d3;
  --green: #4f6f60;
  --red: #ae5b43;
  --white: #ffffff;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px max(32px, calc((100% - var(--page-width)) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  height: 66svh;
  max-height: 650px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #4b514d;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  z-index: -1;
  background: rgba(20, 27, 24, 0.52);
}

.hero-content {
  padding-block: 72px;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.note-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.18;
}

.hero-lead {
  margin: 20px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.section-band {
  padding-block: 104px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--red);
}

h2 {
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 40px;
  line-height: 1.25;
}

.about {
  background: var(--surface);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.45fr);
  gap: 96px;
}

.about-copy {
  max-width: 680px;
}

.about-copy > p {
  margin: 0;
  color: var(--muted);
}

.about-copy .about-intro {
  margin-bottom: 20px;
  color: var(--ink);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 28px;
  line-height: 1.5;
}

.site-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-details div {
  min-width: 0;
}

.site-details dt,
.site-details dd {
  margin: 0;
}

.site-details dt {
  color: var(--muted);
  font-size: 13px;
}

.site-details dd {
  margin-top: 5px;
  font-weight: 700;
}

.notes {
  background: var(--paper);
}

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

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
}

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

.note-card {
  position: relative;
  min-height: 310px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.note-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: currentColor;
}

.note-card-green {
  color: var(--green);
}

.note-card-red {
  color: var(--red);
}

.note-card-ink {
  color: var(--ink);
}

.note-number {
  display: block;
  color: currentColor;
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
  opacity: 0.3;
}

.note-label {
  margin-top: 48px;
  color: currentColor;
}

.note-card h3 {
  margin: 12px 0 14px;
  color: var(--ink);
  font-family: "SimSun", "Songti SC", serif;
  font-size: 24px;
  line-height: 1.35;
}

.note-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.closing {
  padding-block: 76px;
  background: var(--green);
  color: var(--white);
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing p {
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 34px;
  font-weight: 700;
}

.closing span {
  width: 112px;
  height: 2px;
  flex: 0 0 112px;
  background: rgba(255, 255, 255, 0.64);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

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

.footer-inner p {
  margin: 0;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--white);
}

a:focus-visible {
  outline: 3px solid #d99a82;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .page-width {
    width: min(calc(100% - 40px), var(--page-width));
  }

  .site-header {
    padding-inline: 20px;
  }

  h1 {
    font-size: 48px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .note-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 64px;
    gap: 16px;
  }

  .site-brand {
    gap: 8px;
    font-size: 13px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 13px;
  }

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

  .hero {
    min-height: 390px;
    height: 58svh;
    max-height: 520px;
  }

  .hero-content {
    padding-block: 48px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 17px;
  }

  .section-band {
    padding-block: 72px;
  }

  h2 {
    font-size: 34px;
  }

  .about-copy .about-intro {
    font-size: 24px;
  }

  .site-details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .note-card {
    padding: 28px;
  }

  .note-label {
    margin-top: 36px;
  }

  .closing {
    padding-block: 60px;
  }

  .closing p {
    font-size: 28px;
  }

  .closing span {
    width: 56px;
    flex-basis: 56px;
  }

  .footer-inner {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 10px;
  }

  .site-nav {
    gap: 10px;
  }
}

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