:root {
  color-scheme: light dark;
  --paper: #f7f2e9;
  --ink: #201d19;
  --muted: #655f57;
  --line: color-mix(in srgb, currentColor 17%, transparent);
  --accent: #865a3b;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.62; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible { outline: .2rem solid currentColor; outline-offset: .2rem; border-radius: .15rem; }
.skip-link { position: fixed; inset: .75rem auto auto .75rem; z-index: 2; padding: .65rem .85rem; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.shell { width: min(100% - 2rem, 48rem); margin-inline: auto; }
.site-header { display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.5rem; align-items: center; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.brand { color: inherit; font-family: ui-serif, Georgia, serif; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.page-nav { justify-content: end; }
.language-nav { grid-column: 1 / -1; font-size: .9rem; }
nav a { color: inherit; }
nav a[aria-current="page"] { font-weight: 700; text-decoration-thickness: .15em; }
main { padding-block: clamp(2.75rem, 7vw, 5rem); }
.eyebrow { margin: 0 0 .55rem; color: var(--muted); font-size: .85rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
h1 { max-width: 18ch; margin: 0; font-family: ui-serif, Georgia, serif; font-size: clamp(2.35rem, 8vw, 4.65rem); line-height: 1.03; letter-spacing: -.025em; }
.lead { max-width: 42rem; margin: 1.25rem 0 2rem; color: var(--muted); font-size: clamp(1.08rem, 3vw, 1.3rem); }
.draft-notice { padding: 1rem 1.1rem; border: 1px solid var(--accent); border-radius: .9rem; background: color-mix(in srgb, var(--accent) 8%, transparent); }
section { padding-top: 1.6rem; }
h2 { margin: 0 0 .55rem; font-family: ui-serif, Georgia, serif; font-size: clamp(1.25rem, 4vw, 1.55rem); line-height: 1.2; }
p { overflow-wrap: anywhere; }
section p { margin: .65rem 0; }
footer { padding: 1rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (prefers-color-scheme: dark) {
  :root { --paper: #181613; --ink: #f4eee5; --muted: #c1b9ae; --accent: #deb08c; }
}
@media (max-width: 31rem) {
  .site-header { grid-template-columns: 1fr; }
  .page-nav { justify-content: start; }
  .language-nav { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
