/* book.salemwise.com: the salemwise.com look (mockup B v2). Fonts are self-hosted (CSP font-src 'self'). */
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/pt-serif-5.0.12-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/pt-serif-5.0.12-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/archivo-5.0.8-latin-wght-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: hsl(42 36% 95%);
  --surface: hsl(42 40% 98.5%);
  --ink: hsl(30 12.5% 19%);
  --muted: hsl(30 8% 42%);
  --tan: hsl(31 23% 65%);
  --beige: hsl(33 32% 89%);
  --brown: hsl(32.5 16% 29%);
  --line: hsl(33 22% 85%);
  --line-soft: hsl(33 25% 90%);
  --focus: hsl(31 35% 45%);
  --on-dark: hsl(42 36% 97%);
  --err: hsl(6 55% 40%); /* warm red, 6.6:1 on the card */
  --serif: "PT Serif", Charter, Georgia, serif;
  --sans: Archivo, -apple-system, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: var(--brown); text-underline-offset: 3px; text-decoration-color: var(--tan); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Top bar and frame */
.topbar { max-width: 1000px; margin: 0 auto; padding: 22px 20px 0; }
.brand { display: inline-block; line-height: 0; }
.brand img { display: block; height: 32px; width: auto; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 28px 20px 48px; }
.foot { text-align: center; padding: 0 20px 32px; font-size: 0.8rem; color: var(--muted); }

/* Two-panel card */
.sched {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px hsl(30 20% 20% / 0.03), 0 12px 32px -18px hsl(30 25% 25% / 0.12);
  overflow: hidden;
}

/* Host panel */
.host { padding: 28px 24px 24px; border-bottom: 1px solid var(--line-soft); }
.mono {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--beige);
  color: var(--brown);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.host-name { margin-top: 14px; font-weight: 600; }
.host-org { color: var(--muted); font-size: 0.9rem; }
.host h1 { margin-top: 18px; font-size: 1.85rem; }
.lede { margin-top: 8px; color: var(--muted); max-width: 32ch; }
.meta { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.meta li { display: flex; align-items: center; gap: 10px; }
.meta svg, .pick svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--brown); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.host-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.85rem;
}
