:root {
  --green: #15803d;
  --green-dark: #166534;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --bg: #f9fafb;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
  height: 4rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img { width: 2.5rem; height: 2.5rem; }
.nav-links { display: none; gap: 1.5rem; }
.nav-links a { color: var(--muted); font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green-dark); }
@media (min-width: 768px) { .nav-links { display: flex; } }
.wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.wrap.wide { max-width: 56rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1.5rem; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
p, li { color: #374151; }
ul { padding-left: 1.5rem; }
.prose > * + * { margin-top: 1rem; }
.portrait {
  display: block;
  width: 16rem;
  height: 16rem;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 2rem;
  border: 4px solid #dcfce7;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.signoff { text-align: right; font-weight: 600; color: var(--text); }
.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  padding: 2.5rem 1.25rem;
}
.site-footer .inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .site-footer .inner { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h2 { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--green-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--green-dark); }
.fine { font-size: 0.875rem; }
.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
}
.video {
  position: relative;
  padding-bottom: 54.4%;
  height: 0;
  margin: 1.5rem 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: #111;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.chapters {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}
.chapters li { margin: 0; }
.chapters a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.7rem 1rem;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.chapters li:last-child a { border-bottom: 0; }
.chapters a:hover { background: var(--bg); text-decoration: none; }
.chapters time {
  flex: 0 0 3rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
}
