:root {
  color-scheme: light;
  --background: #f8f8f6;
  --ink: #191a18;
  --muted: #545751;
  --rule: #d1d2cc;
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--background); color: var(--ink); line-height: 1.7; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
p, h1, h2 { margin: 0; }

.frame { width: min(1120px, calc(100% - 2 * clamp(1.25rem, 5.4vw, 5rem))); margin-inline: auto; }
.skip-link { position: absolute; top: 0.5rem; left: 1rem; padding: 0.5rem 0.75rem; background: white; transform: translateY(-150%); }
.skip-link:focus { z-index: 2; transform: none; }

.site-header { min-height: 76px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { font-family: Georgia, serif; font-size: 1.2rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: clamp(0.7rem, 3vw, 2.25rem); }
nav a, .site-footer a { text-decoration: none; font-size: 0.94rem; }
nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.hero { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); align-items: end; gap: clamp(1.6rem, 5.8vw, 5rem); padding-block: clamp(3.6rem, 9vw, 7.8rem); }
.hero h1 { font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif; font-size: clamp(3.4rem, 10.5vw, 9.15rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.075em; margin-left: -0.055em; }
.hero-note { border-left: 1px solid var(--rule); padding: 0.25rem 0 0.25rem clamp(1rem, 2.5vw, 1.9rem); }
.intro { font-size: 1rem; color: var(--muted); max-width: 16rem; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0.55rem 1.15rem; border: 1px solid var(--ink); font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: background 150ms, color 150ms; }
.button:hover { background: var(--ink); color: var(--background); }

.feature { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.65rem; border-block: 1px solid var(--ink); padding-block: clamp(1.6rem, 4.2vw, 3rem); }
.eyebrow { color: var(--muted); font-size: 0.9rem; }
.feature h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.25; margin-block: 0.35rem 0.75rem; font-weight: 650; }
.feature-description { font-size: 1rem; max-width: 34rem; color: var(--muted); }
.feature-action { display: grid; gap: 0.4rem; justify-items: center; }
.feature-action p { color: var(--muted); font-size: 0.875rem; }

.interests { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 7vw, 6rem); padding-block: clamp(2.4rem, 5.5vw, 4.5rem); }
.interests section + section { border-left: 1px solid var(--rule); padding-left: clamp(1rem, 4.5vw, 3.25rem); }
.interests h2 { font-weight: 650; font-size: 1.25rem; margin-bottom: 0.35rem; }
.interests p { color: var(--muted); max-width: 28rem; }
.site-footer { min-height: 74px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.94rem; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero h1 { font-size: clamp(3rem, 13vw, 5.5rem); }
  .feature { grid-template-columns: 1fr; }
  .feature-action { justify-items: start; }
}
@media (max-width: 460px) {
  .site-header { min-height: 64px; gap: 0.6rem; }
  .wordmark { font-size: 1.1rem; }
  .interests { grid-template-columns: 1fr; }
  .interests section + section { border-left: 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
