/* Style B: "Editorial warmth". Fonts are self-hosted, so no visitor data goes to Google. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/newsreader-latin-standard-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/newsreader-latin-standard-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #fbf7f2;
  --paper-2: #f3ebe0;
  --line: #e0d4c4;
  --ink: #2a211c;
  --ink-2: #4a3d34;
  --muted: #6b5a4e;
  --accent: #a2452a;
  --accent-dark: #7a311c;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.brand em { color: var(--muted); }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-weight: 600; font-size: 1rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { text-decoration: underline; }
.nav .nav-book { color: var(--accent); text-decoration: underline; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; padding: 15px 28px; border-radius: 4px; font-size: 1.0625rem; }
.btn:hover { background: #000; color: var(--paper); }
.btn-link { color: var(--ink); font-weight: 700; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.band { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper-2); }
.dark a { color: var(--paper-2); }
.lede { font-size: 1.3rem; color: var(--ink-2); max-width: 640px; }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 2.25rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.6rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }

/* Home hero */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px; padding: 80px 0 72px; }
.hero-text { flex: 3 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 span { font-style: italic; color: var(--accent); }
.hero-photo { flex: 2 1 300px; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.page-head { padding: 72px 0 24px; }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4rem); }

.quote { text-align: center; max-width: 860px; margin: 0 auto; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.35; }

.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.item { border-top: 2px solid var(--ink); padding-top: 20px; }
.item .num { font-family: var(--serif); font-size: 1.25rem; color: var(--accent); }
.item h3 { font-size: 1.6rem; font-weight: 500; margin: 8px 0 12px; }
.item p { color: var(--ink-2); }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 360px; min-width: 0; }

.fee-list { font-size: 1.1875rem; margin: 0; padding: 0; list-style: none; }
.fee-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }

.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.photo-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.callout { border-left: 0; background: var(--paper-2); padding: 24px 28px; margin: 32px 0; }

.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li { border-top: 1px solid var(--line); padding: 24px 0; }
.article-list a { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper-2); margin-top: 0; }
.site-footer a { color: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-grid h2 { font-size: 1.6rem; margin-bottom: 8px; }
.footer-base { border-top: 1px solid var(--ink-2); padding-top: 24px; padding-bottom: 32px; font-size: 0.9375rem; color: #d9ccbb; }
.footer-base p { margin-bottom: 8px; }

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; gap: 40px; }
  .brand { font-size: 1.25rem; }
}

/* Utilities (no inline styles, so the Content Security Policy can block them) */
.h-lg { font-size: 2.75rem; }
.h-sm { font-size: 1.75rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }
.mb-lg { margin-bottom: 48px; }
