@font-face {
  font-family: "Syleland Serif";
  src: url("/syleland-serif.woff2?v=20260826i") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  --paper: #f3f0e7;
  --ink: #12231f;
  --green: #0f5a43;
  --lime: #d9f58a;
  --muted: #68756e;
  --line: rgba(18, 35, 31, .22);
  --accent: #d9f58a;
  --ui: Inter, "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --editorial: "Syleland Serif", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, NSimSun, serif;
  --script: Baskerville, Georgia, "Times New Roman", serif;
  --text-xs: 12px;
  --text-sm: clamp(13px, 3.4vw, 14px);
  --text-md: clamp(16px, 4.2vw, 17px);
  --text-lg: clamp(18px, 4.8vw, 20px);
  --text-xl: clamp(25px, 7vw, 28px);
  --display-md: clamp(40px, 11.8vw, 46px);
  --display-lg: clamp(46px, 13.3vw, 52px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  font-family: var(--ui);
}

* { box-sizing: border-box; }
html { background: var(--paper); scrollbar-gutter: stable; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper); }
a { color: inherit; }
.page-shell { width: min(1440px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.masthead { min-height: 96px; display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; border-top: 4px double var(--ink); border-bottom: 4px double var(--ink); }
.mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ink); text-decoration: none; font-family: var(--editorial); font-size: 25px; line-height: 1; }
.wordmark { justify-self: center; text-decoration: none; font-family: var(--editorial); font-size: clamp(18px, 1.5vw, 20px); font-weight: 500; letter-spacing: .32em; text-indent: .32em; }
.status { width: 72px; justify-self: end; color: var(--muted); font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-align: right; }
.welcome-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 58%); align-items: stretch; }
.intro { display: grid; grid-template-rows: 18px auto 44px; align-content: start; min-height: 580px; padding: clamp(180px, 26vh, 280px) 6vw 72px 1vw; border-right: 1px solid var(--line); }
.hero-meta { min-height: 18px; margin: 0; color: var(--green); font-size: var(--text-sm); font-weight: 600; line-height: 1.2; letter-spacing: .18em; }
.hero-tail { min-height: 44px; margin-top: 20px; }
.section-label { margin: 0; color: var(--green); font-family: var(--editorial); font-size: var(--text-sm); font-weight: 600; line-height: 1.2; letter-spacing: .08em; }
h1 { margin: 24px 0 0; font-family: var(--editorial); font-size: clamp(60px, 5vw, 76px); font-weight: 500; line-height: .96; letter-spacing: -.035em; }
h1 em { color: var(--green); font-family: var(--editorial); font-weight: 400; font-style: italic; }
.access-index { display: flex; flex-direction: column; justify-content: flex-start; padding: 72px 3vw 72px 7vw; }
.section-label { padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.access-row { min-height: 112px; display: grid; grid-template-columns: 64px 1fr 24px; gap: 20px; align-items: center; padding: 0 24px 0 16px; background: var(--lime); border-bottom: 1px solid var(--ink); text-decoration: none; }
.number { font-family: var(--editorial); font-size: 19px; font-variant-numeric: tabular-nums; }
.access-row strong { font-family: var(--editorial); font-size: clamp(28px, 2.3vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.action { font-size: var(--text-lg); font-weight: 400; letter-spacing: 0; }
.access-row:hover, .access-row:focus-visible { background: #c8ed5d; }
.access-row:focus-visible, .mark:focus-visible, .wordmark:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
footer { min-height: 64px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink); color: var(--muted); font-size: var(--text-xs); font-weight: 600; letter-spacing: .22em; }

@media (max-width: 800px) {
  .page-shell { width: calc(100% - clamp(40px, 14vw, 60px)); min-height: 100svh; }
  .masthead { min-height: 78px; grid-template-columns: 64px 1fr 64px; }
  .mark { width: clamp(38px, 10.8vw, 42px); height: clamp(38px, 10.8vw, 42px); font-size: var(--text-lg); }
  .wordmark { font-size: clamp(18px, 5vw, 20px); letter-spacing: .3em; text-indent: .3em; }
  .status { width: 64px; font-size: var(--text-xs); }
  .welcome-grid { flex: none; grid-template-columns: 1fr; }
  .intro { height: 274px; min-height: 0; padding: 48px 0 40px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-meta { min-height: 17px; font-size: var(--text-sm); }
  .hero-tail { min-height: 44px; margin-top: 16px; }
  .section-label { font-size: var(--text-sm); }
  h1 { margin-top: 24px; font-size: var(--display-lg); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
  h1 em { font-size: var(--display-md); line-height: 1; letter-spacing: -.03em; }
  .access-index { padding: 40px 0 48px; }
  .section-label { padding-bottom: 22px; }
  .access-row { min-height: clamp(104px, 28vw, 112px); grid-template-columns: 52px 1fr 20px; gap: 12px; padding: 0 20px; transition: background-color 140ms ease; }
  .number { font-size: var(--text-lg); font-weight: 400; }
  .access-row strong { font-size: var(--text-xl); line-height: 1.15; }
  .action { font-size: var(--text-lg); font-weight: 400; letter-spacing: 0; }
  .access-row:active { background: #c8ed5d; }
  .access-row:active .action { transform: translateX(2px); }
  .action { transition: transform 140ms ease; }
  footer { min-height: 64px; margin-top: auto; }
}

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