/* 06 layout. Only color variables and color-scheme differ between themes. */
:root {
  --serif: "Spectral", "Noto Serif SC", "Songti SC", serif;
  --sans: "Schibsted Grotesk", "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "Fragment Mono", "Noto Sans SC", monospace;
  --background: #f1efe8;
  --sheet: #fffdf7;
  --ink: #282923;
  --body-ink: #565951;
  --muted: #74776f;
  --line: #d8d3c6;
  --accent: #805440;
  --shadow: #493c2010;
  --selection: #e8d9c8;
  --selection-ink: #282923;
  --backdrop: #15191880;
  font-synthesis: none;
  color-scheme: light;
}
/* Colors from 08; no layout, typography, sizing, or visibility overrides. */
:root[data-theme="dark"] {
  --background: #202925;
  --sheet: #202925;
  --ink: #eef0e8;
  --body-ink: #bdc7bd;
  --muted: #a5b0a7;
  --line: #414c44;
  --accent: #b3cebb;
  --shadow: #00000030;
  --selection: #414c44;
  --selection-ink: #eef0e8;
  --backdrop: #101713b3;
  color-scheme: dark;
}
* { box-sizing: border-box; }

body { margin: 0; background: var(--background); color: var(--ink); font: 18px/1.8 var(--serif); }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--selection); color: var(--selection-ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h1 { font-family: var(--serif); font-size: 38px; line-height: 1.3; letter-spacing: -.045em; }
h2 { font-size: 22px; line-height: 1.4; }
h3 { font-size: 20px; line-height: 1.5; }
.page { max-width: 860px; background: var(--sheet); border: 1px solid var(--line); margin: 48px auto; padding: 0 65px; box-shadow: 0 6px 30px var(--shadow); }
.site-head { display: flex; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.brand { font-size: 25px; font-family: var(--serif); font-weight: 500; letter-spacing: -1px; margin-right: auto; }
.brand-dot { color: var(--accent); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-height: 36px; min-width: 68px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 2px; background: var(--sheet); color: var(--accent); font: 12px/1.6 var(--sans); }
.theme-toggle:hover { border-color: var(--accent); }
.paper-top { display: flex; justify-content: space-between; margin-top: 45px; }
.intro { padding: 36px 0 56px; }
.intro .eyebrow { display: none; }
.eyebrow, .meta { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted); font-weight: 400; letter-spacing: .025em; }
.eyebrow { margin-bottom: 23px; }
.english { font-size: 29px; font-style: italic; line-height: 1.35; letter-spacing: -.025em; margin: 23px 0; color: var(--accent); }
.english br { display: none; }
.bio { color: var(--body-ink); font-size: 17px; line-height: 1.95; }
.site-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 72px; padding: 26px 0 34px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .page { margin: 18px 14px; padding: 0 24px; }
  .site-head { gap: 14px; flex-wrap: wrap; }
  .paper-top { margin-top: 30px; font-size: 10px; }
  h1 { font-size: 29px; }
  .english { font-size: 24px; }
  .english br { display: block; }
  .wide-only { display: none; }
  .site-foot { margin-top: 50px; gap: 14px; }
}
@media (max-width: 380px) {
  .site-head { gap: 10px; }
  .theme-toggle { min-width: 58px; gap: 5px; padding-inline: 5px; }
}


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