/* Brand direction A, the Countess. All of the site's look lives here, so another direction is one file. */
/* The fonts are served from this site (SIL Open Font License, see /fonts), so a visit calls no other site. */
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-opsz-normal.woff2) format('woff2'); }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-opsz-italic.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); }
:root {
  --aubergine: #2b1638;
  --gold: #e0b04a;
  --plum: #6b3e7a;
  --ivory: #f6f0e4;
  --paper: #fffdf8;
  --ink: #2b1638;
  --muted: #5a4763;
  --line: #d9cfbe;
  --display: Fraunces, Georgia, 'Times New Roman', serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--aubergine); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.masthead { background: var(--aubergine); color: var(--ivory); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ivory); }
.brand svg { width: 40px; height: 32px; flex: none; }
.masthead nav a { color: var(--ivory); font-size: 15px; font-weight: 500; }
.masthead nav a:hover { color: var(--gold); }

.hero { background: var(--aubergine); color: var(--ivory); padding: 56px 0 88px; }
.hero h1 { margin: 0 0 20px; max-width: 16ch; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 7vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.hero .tagline { margin: 0 0 24px; font-family: var(--display); font-style: italic; font-size: clamp(22px, 3vw, 28px); color: var(--gold); }
.hero p.lede { margin: 0; max-width: 56ch; font-size: 19px; color: #e6dcea; }
.note { display: inline-block; margin-top: 32px; padding: 10px 18px; border: 1.5px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: 15px; font-weight: 600; }

.section { padding: 64px 0; }
.section h2 { margin: 0 0 28px; font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -0.01em; }
.cards { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.cards h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 22px; }
.cards p { margin: 0; color: #4a3a52; font-size: 16px; }

.prose { max-width: 70ch; padding: 56px 0 72px; }
.prose h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.015em; }
.prose h2 { margin: 40px 0 10px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.2; }
.prose p, .prose li { color: #3a2a43; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .dated { color: var(--muted); font-size: 15px; margin: 0 0 28px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer a { color: var(--muted); }
