:root {
  color-scheme: light;
  --paper: #f9f5eb;
  --ink: #142e55;
  --muted: #405474;
  --red: #9b3b30;
  --rule: #b4bdc8;
  --serif: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.7 var(--sans); }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
figure, h1, h2, p { margin: 0; }

.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  inset: .75rem auto auto .75rem;
  z-index: 2;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.page-header, .page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.page-header { border-bottom: 1px solid var(--rule); min-height: 5.3rem; }
.wordmark { display: inline-flex; align-items: baseline; gap: .35em; font: 600 1.55rem/1 Georgia, serif; text-decoration: none; white-space: nowrap; }
.wordmark span { font-size: .65em; font-weight: 400; }
.page-header nav { display: flex; column-gap: clamp(1rem, 4vw, 2.75rem); align-items: center; }
.page-header nav a { font-size: .9375rem; line-height: 1.4; text-decoration: none; }
.page-header nav a:hover, .page-footer a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: clamp(2rem, 6vw, 5.75rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7.75rem);
}

.hero-copy { padding-block: 1rem; }
.positioning { font: italic 1.125rem/1.3 Georgia, serif; color: var(--muted); }
.positioning::before { content: ""; display: block; width: 2rem; height: 1px; margin-bottom: .95rem; background: var(--red); }

h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; }
h1 { margin-top: 1.35rem; font-size: clamp(2.75rem, 5.7vw, 5.45rem); line-height: 1.16; }
h1 em { display: block; color: var(--red); font-style: normal; }
.intro { margin-top: 1.5rem; max-width: 21em; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.1875rem); }

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: 1.7rem;
  padding: .6rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .9375rem;
  text-decoration: none;
}

.primary-link:hover { background: #254c7a; }
.hero-art { overflow: hidden; background: #efe7d5; outline: 1px solid #d3c8b4; outline-offset: .35rem; }
.hero-art img { display: block; width: 100%; height: auto; }

.about { background: var(--ink); color: var(--paper); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.about h2 { font-size: clamp(2rem, 3.45vw, 3.25rem); line-height: 1.27; }
.about-copy { max-width: 32rem; }
.about-copy p + p { margin-top: .9rem; }
.about-copy p { color: #e1e6ee; }
.follow-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .6rem; }
.follow-link:hover { text-decoration-thickness: 2px; }
.page-footer { min-height: 5.1rem; font-size: .875rem; color: var(--muted); }
.page-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }

@media (max-width: 46rem) {
  .shell { width: calc(100% - 2.5rem); }
  .page-header { min-height: 4.4rem; }
  .hero, .about-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 2.75rem 3.7rem; }
  .hero-copy { padding-block: 0; }
  .hero-art { margin: .35rem; }
  .about-inner { padding-block: 3.1rem; }
}

@media (max-width: 22rem) {
  .page-header nav { gap: .65rem; }
  .page-header nav a { font-size: .875rem; }
}

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