:root {
  --bg: #080d1c;
  --surface: #10182a;
  --line: #26334a;
  --text: #f4f7fc;
  --muted: #a4afc2;
  --accent: #8bb7ff;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }

body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 75% 0%, #182a4b 0, transparent 32rem), var(--bg); }

a { color: inherit; }

.site-header, main, footer { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }

.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 650; text-decoration: none; letter-spacing: .01em; }

.mark { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #5673a0; border-radius: 50%; color: var(--accent); font-family: Georgia, serif; font-size: .9rem; transform: rotate(90deg); }

nav { display: flex; gap: 1.5rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.intro { padding: clamp(5rem, 13vw, 10rem) 0 clamp(4rem, 9vw, 7rem); max-width: 54rem; }
.intro.compact { padding-bottom: 3rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; }
h1 { margin: 1rem 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 400; line-height: .95; letter-spacing: -.04em; }
.compact h1, .not-found h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.lede { max-width: 44rem; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }

.notes { padding-bottom: 7rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 1rem; font-weight: 650; }
.section-heading span { color: var(--muted); font-size: .8rem; }
article { display: grid; grid-template-columns: 10rem 1fr; gap: 2rem; padding: 2.25rem 0; border-bottom: 1px solid var(--line); }
article .date { color: var(--muted); font-size: .85rem; }
article h3 { margin: 0 0 .6rem; font-family: Georgia, serif; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 400; }
article p { margin: 0; color: var(--muted); line-height: 1.65; }

.prose { max-width: 45rem; padding: 1rem 0 8rem; color: var(--muted); font-size: 1.1rem; line-height: 1.8; }
.not-found { padding-top: 16vh; max-width: 58rem; }
.return-link { display: inline-block; margin-top: 1.5rem; color: var(--accent); text-underline-offset: .3rem; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@media (max-width: 42rem) {
  .site-header { min-height: 4.5rem; }
  .brand span:last-child { display: none; }
  article { grid-template-columns: 1fr; gap: .5rem; }
  footer { flex-direction: column; gap: .25rem; }
}

@media (prefers-reduced-motion: no-preference) {
  nav a, .return-link { transition: color 160ms ease; }
}
