:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #5a5a5a;
  --rule: #e2e2e2;
  --accent: #000000;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Averia Sans Libre", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: "Averia Sans Libre", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: 2rem; text-align: center; }
h2 { font-size: 1.65rem; margin-top: 0; }
h3 { font-size: 1.2rem; margin-top: 1.5em; margin-bottom: 0.5em; }

p { margin: 0 0 1em; }

a { color: var(--accent); }

ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: 0.6em; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .logo {
  width: 56px;
  height: auto;
  display: block;
}

.site-header nav a {
  margin-left: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover { text-decoration: underline; }

.nav-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.hero {
  text-align: center;
  padding-top: 1rem;
}

.hero .logo-mark {
  width: 90px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.headshot {
  width: 380px;
  height: 380px;
  max-width: 90vw;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin: 1.5rem 0;
  filter: grayscale(100%);
}

.lede {
  font-size: 1.25rem;
  max-width: 480px;
  margin: 0 auto 0.75em;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.75em 1.6em;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
}

.btn:hover { background: #fff; color: var(--ink); }

.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

.investment {
  font-size: 1.05rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-cta {
  margin-top: 1.5rem;
}

.investment-list {
  margin-top: 0.25em;
}

.life-list li {
  margin-bottom: 0.35em;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

.text-link {
  text-decoration: none;
  font-weight: 700;
}
.text-link:hover { text-decoration: underline; }

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fit-grid ul { padding-left: 1.1em; }
.fit-grid li { font-size: 0.95rem; }

.achievements-list {
  padding-left: 0;
  list-style: none;
}

.achievements-list li {
  padding-left: 1.4rem;
  border-left: 2px solid var(--rule);
  margin-bottom: 1.25rem;
}

.achievements-list details { }

.achievements-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.achievements-list summary::-webkit-details-marker {
  display: none;
}

.achievements-list .role-text {
  flex: 1 1 auto;
}

.achievements-list summary::after {
  content: "+";
  font-weight: 400;
  color: var(--muted);
  flex: 0 0 auto;
  width: 1em;
  text-align: right;
}

.achievements-list details[open] summary::after {
  content: "\2212";
}

.achievements-list .years {
  color: var(--muted);
  font-weight: 400;
  flex: 0 0 auto;
  width: 6em;
  text-align: right;
}

.achievements-list details p {
  margin: 0.6rem 0 0;
}

.testimonial {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 0 0 1.75rem;
}

.testimonial p {
  color: var(--muted);
  margin: 0;
}

.testimonial strong {
  color: var(--ink);
  font-weight: 700;
}

.testimonial:last-child { margin-bottom: 0; }

.closing-mark {
  width: 380px;
  max-width: 90vw;
  height: auto;
  display: inline-block;
}

.page-header {
  text-align: center;
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.page-header .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.page-header .back-link:hover { text-decoration: underline; }

.page-header .byline {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.5rem;
}

.blog-list {
  list-style: none;
  padding-left: 0;
}

.blog-list li {
  padding-left: 1.4rem;
  border-left: 2px solid var(--rule);
  margin-bottom: 1.25rem;
}

.blog-list a {
  font-weight: 700;
  text-decoration: none;
}

.blog-list a:hover { text-decoration: underline; }

.blog-list .date {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 0.2em;
}

.blog-post figure {
  margin: 1.75rem 0;
}

.blog-post figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.blog-post figure.closing-figure img {
  width: 50%;
  margin: 0 auto;
}

.blog-post .caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -1.25rem;
}

.blog-post blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--muted);
}

.blog-post blockquote p { margin: 0; }

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a { color: var(--muted); }

.copyright {
  margin-top: 0.5em;
  font-size: 0.85rem;
}

@media (max-width: 560px) {
  .site-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .site-header nav a:first-child { margin-left: 0; }
  h1 { font-size: 1.65rem; }
  .fit-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
