:root {
  --color-text: #222;
  --color-secondary: #5f5f5f;
  --color-rule: #deded9;
  --color-link: #8b8b83;
  --color-bg: #fff;
  --font-serif: georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration-color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease, color 150ms ease;
}

a:hover { text-decoration-color: currentcolor; }

a:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 5px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  width: auto;
  height: auto;
  padding: 8px 16px;
  clip-path: none;
  background: var(--color-text);
  color: var(--color-bg);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 36px 0 64px;
}

.site-name {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-secondary);
  font-size: 15px;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: currentcolor;
  text-underline-offset: 7px;
}

main { padding-bottom: 96px; }

main:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 5px;
}

h1, h2 {
  margin: 0 0 24px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: 38px; }
h2 { font-size: 25px; }
p { margin: 0 0 22px; }
p:last-child { margin-bottom: 0; }
.book-title { font-style: italic; }

.profile-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.profile-heading h1 { margin: 0; font-size: 44px; }

.profile-photo {
  display: block;
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
}

.intro { margin-bottom: 48px; color: var(--color-secondary); }

.framework {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-rule);
  scroll-margin-top: 24px;
}

.framework:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.framework p { margin-bottom: 16px; }
.framework p:last-of-type { margin-bottom: 0; }

.framework .eyebrow {
  margin-bottom: 10px;
  color: var(--color-secondary);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.read-more, .book-link {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 0;
  font-size: 16px;
}

.book-link { margin-top: 12px; }
.book-page h1 { font-style: italic; margin-bottom: 32px; }
.book-page h2 { margin-top: 44px; margin-bottom: 16px; }
.idea-steps, .book-steps { padding-left: 24px; margin: 0 0 22px; }
.idea-steps li, .book-steps li { padding-left: 4px; margin-bottom: 12px; }
.idea-steps li:last-child, .book-steps li:last-child { margin-bottom: 0; }

.article-list { margin: 0; padding: 0; list-style: none; }
.article-list li { padding: 26px 0; border-bottom: 1px solid var(--color-rule); }
.article-list li:first-child { padding-top: 0; }
.article-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.article-meta { display: block; margin-top: 8px; color: var(--color-secondary); font-size: 15px; }
.article-venue { font-style: italic; }
.more-writing { margin-top: 44px; font-size: 17px; }
.more-writing + .more-writing { margin-top: 16px; }
.references { margin-top: 44px; font-size: 17px; }
.references h2 { font-size: 24px; }
.references ul { padding-left: 20px; }
.references li { padding-left: 4px; margin-bottom: 16px; }
.references li:last-child { margin-bottom: 0; }
.contact a { overflow-wrap: anywhere; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--color-rule);
  color: var(--color-secondary);
  font-size: 14px;
}

.site-footer p { margin: 0; }
.site-footer small { font-size: inherit; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { display: inline-block; min-width: 24px; min-height: 32px; padding: 3px 0; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header { display: block; padding: 20px 0 44px; }
  .site-header nav { margin-top: 8px; }
  .site-header ul { gap: 4px 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  main { padding-bottom: 64px; }
  .profile-heading { gap: 20px; margin-bottom: 28px; }
  .profile-heading h1 { font-size: clamp(30px, 8.5vw, 38px); }
  .profile-photo { width: 88px; height: 88px; }
  .intro { margin-bottom: 40px; }
  .framework { margin-bottom: 40px; padding-bottom: 40px; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 14px; }
}

@media (max-width: 350px) {
  .container { padding: 0 20px; }
  .site-header ul { gap: 4px 15px; }
  .profile-heading { gap: 16px; }
  .profile-photo { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  body { font-size: 12pt; line-height: 1.5; }
  .container { display: block; max-width: none; min-height: 0; padding: 0; }
  .site-header, .site-footer, .skip-link { display: none; }
  main { padding-bottom: 0; }
  a { text-decoration: none; }
}
