:root {
  color-scheme: dark;
  --sand: #f3e1bd;
  --sand-bright: #fff2d4;
  --amber: #e0a85a;
  --void: #08070a;
  --bg-warm: #14100c;
}
* { box-sizing: border-box; }
html { background: var(--void); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--sand);
  background: radial-gradient(ellipse at 50% 100%, #2b190e, var(--bg-warm) 46%, var(--void));
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-underline-offset: .3em; }
a:hover { color: var(--sand-bright); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; border-radius: 2px; }
.page-header, main, footer { max-width: 960px; margin-inline: auto; padding-inline: 32px; }
.page-header { padding-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { color: var(--sand-bright); font-size: 13px; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; }
nav a[aria-current] { color: var(--sand-bright); text-decoration-thickness: 2px; }
main { padding-top: clamp(56px, 10vw, 112px); padding-bottom: 56px; }
.eyebrow { color: var(--amber); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
h1, h2 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--sand-bright); font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(42px, 8vw, 76px); margin: 20px 0 32px; max-width: 16ch; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 20px; }
p { max-width: 72ch; margin: 0 0 20px; overflow-wrap: anywhere; }
.intro { font-size: 16px; line-height: 1.8; }
section { border-top: 1px solid #57432a; margin-top: 40px; padding-top: 32px; }
.page-link { margin-bottom: 12px; }
footer { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-bottom: 40px; font-size: 12px; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 8px 16px; background: var(--void); z-index: 2; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 600px) {
  .page-header, main, footer { padding-inline: 22px; }
  .page-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { gap: 8px 16px; }
  body { font-size: 13px; }
  .intro { font-size: 15px; }
}
