/* Quiet editorial design: a personal disclosure, not a product landing page. */
:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --ink: #222b25;
  --muted: #526156;
  --line: #c8c9b9;
  --accent: #9a4630;
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.65; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #d8b19e; color: var(--ink); }

.site-shell { max-width: 1120px; min-height: 100vh; margin: auto; padding: 0 clamp(1.25rem, 5vw, 4.5rem); display: flex; flex-direction: column; }
.masthead { min-height: 100px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; text-decoration: none; letter-spacing: -.08em; }
.wordmark-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .55em; }

.page-grid { display: grid; grid-template-columns: minmax(125px, 1fr) minmax(0, 650px); column-gap: clamp(2rem, 6vw, 7rem); padding: clamp(4rem, 9vw, 8rem) 0 7rem; }
.margin-note { display: flex; flex-direction: column; gap: .6rem; padding-top: .6rem; color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .17em; }
.eyebrow { margin: 0 0 1.4rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(3.6rem, 8vw, 6.7rem); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
h1 em { color: var(--accent); font-weight: 400; }
.lede { max-width: 33rem; margin: 2rem 0 0; font-family: var(--display); font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.35; }
.rule { width: 100%; height: 1px; margin: 3.5rem 0 2.75rem; background: var(--line); }
section + section { margin-top: 2.4rem; }
h2 { margin: 0 0 .55rem; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
p { margin: 0 0 1.1rem; }
section p:last-child { margin-bottom: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; margin-top: 2.5rem; font-weight: 700; }
.link-row a span { color: var(--accent); }
footer { margin-top: auto; border-top: 1px solid var(--line); padding: 1.4rem 0 2.5rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .78rem; }

@media (max-width: 680px) {
  .masthead { min-height: 80px; }
  .page-grid { grid-template-columns: 1fr; padding: 3rem 0 4.5rem; }
  .margin-note { flex-direction: row; gap: 1rem; margin-bottom: 2.75rem; }
  .rule { margin: 2.75rem 0 2.25rem; }
  footer { flex-direction: column; }
}
@media (max-width: 390px) {
  nav { gap: .8rem; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
