/* The thesis shares the site's palette and brand, with a quieter reading layout. */
.thesis-page { --reading-ink: #355246; }
.thesis-page .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.thesis-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.thesis-progress span { display: block; width: 100%; height: 100%; background: #769146; transform: scaleX(0); transform-origin: left; }
.thesis-hero { padding-block: 78px 72px; border-bottom: 1px solid var(--line); }
.thesis-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 302px; gap: clamp(48px, 7vw, 110px); align-items: center; }
.thesis-hero h1 { margin-top: 23px; font-size: clamp(54px, 5.6vw, 81px); line-height: 1.05; font-weight: 500; letter-spacing: -.06em; }
.thesis-hero h1 em { margin-top: 7px; font-size: .94em; line-height: 1.12; letter-spacing: -.05em; }
.thesis-deck { margin-top: 25px; max-width: 610px; font-size: 20px; font-weight: 550; line-height: 1.5; }
.thesis-definition { margin-top: 31px; max-width: 710px; font-size: 20px; line-height: 1.75; }
.thesis-welcome { margin-top: 20px; max-width: 620px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.thesis-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 30px; }
.thesis-hero-actions .text-link { font-size: 13px; }
.thesis-meta { margin-top: 32px; font-size: 11px; line-height: 2; color: var(--muted); }
.thesis-meta > span[aria-hidden] { padding-inline: 6px; }
.thesis-meta a { text-decoration: underline; text-underline-offset: 3px; }
.thesis-at-a-glance { position: relative; padding: 32px 29px 30px; border: 1px solid #d6dfca; border-radius: 6px; background: var(--sage); }
.thesis-at-a-glance > img { width: 115px; height: 124px; object-fit: cover; border-radius: 4px; margin-bottom: 28px; }
.thesis-at-a-glance > .eyebrow { color: var(--muted); }
.thesis-aside-heading { margin-top: 12px; font-size: 29px; line-height: 1.2; letter-spacing: -.04em; }
.thesis-aside-heading em { font-family: var(--serif); font-weight: 500; }
.thesis-at-a-glance dl { margin: 25px 0 0; }
.thesis-at-a-glance dl > div { padding-block: 16px; border-top: 1px solid #ccd6c1; }
.thesis-at-a-glance dl > div:last-child { padding-bottom: 0; }
.thesis-at-a-glance dt { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.thesis-at-a-glance dd { margin: 5px 0 0; font-size: 13px; line-height: 1.6; }

.thesis-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(46px, 7.5vw, 112px); justify-content: start; padding-block: 70px 100px; }
.thesis-sidebar { min-width: 0; }
.thesis-toc { position: sticky; top: 124px; max-height: calc(100dvh - 156px); overflow-y: auto; padding: 5px 7px 12px 0; scrollbar-width: thin; }
.thesis-toc > .eyebrow { color: var(--muted); margin-bottom: 20px; padding-left: 10px; }
.thesis-toc ol { list-style: none; padding: 0; margin: 0; }
.thesis-toc li { margin-top: 3px; }
.thesis-toc li > a { display: flex; align-items: baseline; gap: 12px; padding: 8px 10px; border-radius: 3px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.thesis-toc li > a > span { width: 17px; flex-shrink: 0; font-size: 10px; font-variant-numeric: tabular-nums; }
.thesis-toc li > a:hover, .thesis-toc li > a[aria-current="location"] { background: var(--sage); color: var(--ink); }
.thesis-toc li > a[aria-current="location"] { font-weight: 650; }
.thesis-toc-top { display: inline-block; margin: 28px 0 0 10px; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.thesis-article { min-width: 0; font-size: 18px; line-height: 1.85; }
.thesis-introduction { margin-bottom: 53px; padding-bottom: 45px; border-bottom: 1px solid var(--line); color: var(--reading-ink); }
.thesis-introduction p + p { margin-top: 21px; }
.thesis-introduction p:first-child { color: var(--ink); font-size: 25px; font-weight: 550; }
.thesis-approved-body + .thesis-reading { padding-top: 62px; margin-top: 62px; border-top: 1px solid var(--line); }
.thesis-checks { margin-block: 22px; padding-left: 25px; color: var(--reading-ink); }
.thesis-checks li { padding-left: 5px; margin-top: 10px; }
.thesis-checks li::marker { color: #769146; }
.thesis-citation { margin-left: 3px; font-size: 10px; white-space: nowrap; }
.thesis-table-wrap { margin-block: 28px 33px; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
.thesis-milestones { width: 100%; min-width: 565px; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.thesis-milestones th, .thesis-milestones td { padding: 19px 20px; text-align: left; vertical-align: top; }
.thesis-milestones thead { color: var(--paper); background: var(--ink); }
.thesis-milestones thead th { font-size: 12px; font-weight: 550; }
.thesis-milestones tbody th { width: 24%; font-weight: 550; background: var(--sage); }
.thesis-milestones tbody td { width: 38%; background: var(--white); color: var(--reading-ink); }
.thesis-milestones tbody tr + tr > * { border-top: 1px solid var(--line); }
.thesis-section + .thesis-section { padding-top: 62px; margin-top: 62px; border-top: 1px solid var(--line); }
.thesis-section > .eyebrow { margin-bottom: 20px; color: var(--muted); }
.thesis-article h2 { margin-bottom: 26px; font-size: clamp(34px, 3.3vw, 46px); font-weight: 500; line-height: 1.17; letter-spacing: -.045em; text-wrap: balance; }
.thesis-article h2 em { font-family: var(--serif); font-weight: 500; }
.thesis-article h3 { margin-block: 33px 10px; font-size: 22px; font-weight: 550; line-height: 1.35; letter-spacing: -.025em; }
.thesis-section > p:not(.eyebrow) { color: var(--reading-ink); }
.thesis-section > p + p { margin-top: 21px; }
.thesis-article a { text-decoration: underline; text-decoration-color: #92a088; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.thesis-article a:hover { text-decoration-color: var(--ink); }
.thesis-article .thesis-source { margin-top: 26px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.thesis-callout { margin-block: 31px; padding: 25px 29px 28px; background: var(--sage); border-radius: 4px; }
.thesis-callout > .eyebrow { color: var(--muted); margin-bottom: 12px; }
.thesis-callout > p:last-child { font-size: 25px; font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.thesis-principles { list-style: none; padding: 0; margin: 30px 0; counter-reset: principle; }
.thesis-principles > li { counter-increment: principle; position: relative; padding: 23px 0 23px 50px; border-top: 1px solid var(--line); }
.thesis-principles > li::before { content: counter(principle, decimal-leading-zero); position: absolute; top: 25px; left: 0; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.thesis-principles h3 { margin: 0 0 9px; font-size: 21px; }
.thesis-principles p { font-size: 16px; line-height: 1.8; color: var(--reading-ink); }
.thesis-story { margin-block: 32px; padding: 28px 31px 30px; background: #f2ede2; border-left: 3px solid #a47545; }
.thesis-story .eyebrow { color: #79522e; }
.thesis-story h3 { margin: 14px 0 17px; font-size: 26px; }
.thesis-story p:not(.eyebrow) { color: var(--reading-ink); font-size: 16px; line-height: 1.85; }
.thesis-story p + p { margin-top: 17px; }
.thesis-story-link { display: inline-block; margin-top: 19px; font-size: 12px; font-weight: 550; }
.thesis-story-quiet { border-left-color: #819274; background: var(--sage); }
.thesis-story-quiet .eyebrow { color: var(--muted); }
.thesis-path { list-style: none; padding: 0; margin: 32px 0; counter-reset: path; }
.thesis-path > li { position: relative; padding: 0 0 27px 55px; counter-increment: path; }
.thesis-path > li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 37px; bottom: 3px; width: 1px; background: var(--line); }
.thesis-path > li::before { content: counter(path); position: absolute; display: grid; place-items: center; left: 0; top: 0; width: 33px; height: 33px; border: 1px solid #b5c4a5; border-radius: 50%; font-size: 12px; }
.thesis-path h3 { margin: 0 0 9px; font-size: 21px; }
.thesis-path p { font-size: 16px; color: var(--reading-ink); }
.thesis-number-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 30px 33px; }
.thesis-number { padding: 27px 25px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.thesis-number > .eyebrow { font-size: 9px; letter-spacing: .09em; }
.thesis-number h3 { margin-block: 16px; font-size: 26px; }
.thesis-number p:not(.eyebrow) { font-size: 16px; line-height: 1.75; }
.thesis-number > span { display: block; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.8; }
.thesis-number:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.thesis-number:last-child > .eyebrow { color: var(--lime); }
.thesis-number:last-child > span { border-color: #4c6856; color: #d9e4cd; }
.thesis-start-options { margin-block: 30px; padding-inline: 29px; border: 1px solid #ced9bd; border-radius: 5px; background: #edf1e5; }
.thesis-start-options > section { padding-block: 28px; }
.thesis-start-options > section + section { border-top: 1px solid #d0dac2; }
.thesis-start-options .eyebrow { font-size: 10px; color: var(--muted); }
.thesis-start-options h3 { margin-block: 13px 12px; font-size: 24px; }
.thesis-start-options p:not(.eyebrow) { font-size: 16px; line-height: 1.8; color: var(--reading-ink); }
.thesis-start-options .thesis-prompt { margin-top: 17px; padding-left: 16px; border-left: 2px solid #a1b68a; font-size: 14px; }
.thesis-author { display: flex; align-items: center; gap: 24px; margin-block: 32px; }
.thesis-author img { width: 105px; height: 115px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.thesis-author .eyebrow { color: var(--ink); font-size: 12px; }
.thesis-author p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin-top: 4px; }
.thesis-author a { display: inline-block; margin-top: 12px; font-size: 12px; line-height: 1.8; }
.thesis-reading > h3 { margin-top: 36px; font-size: 19px; }
.thesis-reading-list { list-style: none; padding: 0; margin: 18px 0 30px; }
.thesis-reading-list > li { border-top: 1px solid var(--line); }
.thesis-reading-list > li:last-child { border-bottom: 1px solid var(--line); }
.thesis-reading-list a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; text-decoration: none; }
.thesis-reading-list a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.thesis-reading-list strong { font-size: 16px; font-weight: 550; line-height: 1.55; }
.thesis-reading-list a > span { font-size: 13px; line-height: 1.7; color: var(--muted); }
.thesis-reading-list a > .eyebrow { font-size: 9px; margin-bottom: 3px; }
.thesis-archive-link { font-size: 14px; }
.thesis-invitation { padding-block: 60px; background: var(--ink); color: var(--paper); }
.thesis-invitation-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; }
.thesis-invitation .eyebrow { color: var(--lime); font-size: 10px; }
.thesis-invitation h2 { margin-block: 21px; font-size: clamp(37px, 4vw, 55px); line-height: 1.14; font-weight: 450; letter-spacing: -.045em; }
.thesis-invitation h2 em { font-family: var(--serif); font-weight: 500; color: var(--lime); }
.thesis-invitation p:not(.eyebrow) { max-width: 450px; color: #d1ddc9; font-size: 14px; }
.thesis-invitation-actions { display: flex; flex-direction: column; gap: 24px; align-items: start; justify-self: end; }
.thesis-invitation-actions .button { max-width: 100%; gap: 18px; text-align: center; }
.thesis-invitation-actions .text-link { font-size: 13px; }
.thesis-footer { padding-block: 26px; }
.thesis-footer .footer-bottom { padding-block: 0; margin-top: 0; border-top: 0; }
.thesis-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.thesis-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .thesis-hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 42px; }
  .thesis-at-a-glance { padding-inline: 24px; }
  .thesis-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 42px; }
  .thesis-toc li > a { font-size: 11px; padding-inline: 6px; gap: 8px; }
}

@media (max-width: 920px) {
  .thesis-hero { padding-block: 57px; }
  .thesis-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .thesis-hero h1 { font-size: clamp(52px, 8vw, 74px); }
  .thesis-at-a-glance { display: none; }
  .thesis-layout { grid-template-columns: minmax(0, 1fr); gap: 47px; max-width: 850px; padding-top: 35px; }
  .thesis-toc { position: static; max-height: none; overflow: visible; padding: 0 0 30px; border-bottom: 1px solid var(--line); }
  .thesis-toc > .eyebrow { padding-left: 0; margin-bottom: 16px; }
  .thesis-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .thesis-toc li > a { font-size: 12px; padding: 8px 5px; }
  .thesis-toc-top { display: none; }
  .thesis-article h2 { font-size: 40px; }
  .thesis-invitation-inner { gap: 35px; }
}

@media (max-width: 760px) {
  .thesis-page .header-cta { display: none; }
  .thesis-page .menu-toggle { margin-left: auto; }
  .thesis-page .main-nav { flex-wrap: wrap; }
  .thesis-page .main-nav > a { padding-block: 7px; }
  html:not(.js) .thesis-page .site-header { position: static; }
  html:not(.js) .thesis-page .header-inner { height: auto; min-height: 76px; padding-block: 18px; flex-wrap: wrap; }
  html:not(.js) .thesis-page .main-nav { position: static; padding: 14px 0 0; width: 100%; margin-left: 0; border: 0; }
  .thesis-hero { padding-block: 43px 40px; }
  .thesis-hero h1 { font-size: clamp(44px, 8.9vw, 65px); }
  .thesis-definition { margin-top: 26px; font-size: 18px; line-height: 1.75; }
  .thesis-deck { margin-top: 22px; font-size: 18px; }
  .thesis-welcome { font-size: 14px; }
  .thesis-hero-actions { gap: 21px; }
  .thesis-meta { max-width: 360px; line-height: 2.1; }
  .thesis-layout { padding-block: 29px 64px; gap: 36px; }
  .thesis-article { font-size: 17px; line-height: 1.85; }
  .thesis-article h2 { font-size: clamp(32px, 6.6vw, 40px); margin-bottom: 23px; }
  .thesis-article h3 { font-size: 21px; }
  .thesis-section + .thesis-section { padding-top: 45px; margin-top: 45px; }
  .thesis-approved-body + .thesis-reading { padding-top: 45px; margin-top: 45px; }
  .thesis-introduction { margin-bottom: 40px; padding-bottom: 35px; }
  .thesis-callout { padding: 22px; }
  .thesis-callout > p:last-child { font-size: 23px; }
  .thesis-story { padding: 24px 22px; }
  .thesis-story h3 { font-size: 24px; }
  .thesis-number-grid { gap: 13px; }
  .thesis-number { padding: 24px 20px; }
  .thesis-number h3 { font-size: 24px; }
  .thesis-start-options { padding-inline: 23px; }
  .thesis-invitation-inner { grid-template-columns: 1fr; gap: 30px; }
  .thesis-invitation-actions { justify-self: start; }
  .thesis-footer .footer-bottom { align-items: start; gap: 15px; font-size: 10px; }
}

@media (max-width: 520px) {
  .thesis-toc ol { column-gap: 10px; }
  .thesis-toc li > a { align-items: baseline; font-size: 11px; gap: 6px; padding-block: 8px; }
  .thesis-toc li > a > span { width: 14px; font-size: 9px; }
  .thesis-number-grid { grid-template-columns: minmax(0, 1fr); }
  .thesis-principles > li { padding-left: 36px; }
  .thesis-path > li { padding-left: 45px; }
  .thesis-author { gap: 18px; align-items: start; }
  .thesis-author img { width: 78px; height: 86px; }
  .thesis-invitation-actions .button { font-size: 12px; padding-inline: 19px; }
  .thesis-footer nav { gap: 18px; }
}

@media print {
  @page { margin: 18mm; }
  html { scroll-behavior: auto; }
  .thesis-page { background: white; color: #111; font-size: 11pt; }
  .thesis-page .site-header, .thesis-sidebar, .thesis-hero-actions, .thesis-at-a-glance, .thesis-invitation, .thesis-footer, .skip-link { display: none; }
  .thesis-page .container { padding: 0; max-width: none; }
  .thesis-hero { padding: 0 0 24px; }
  .thesis-hero-grid, .thesis-layout { display: block; }
  .thesis-hero h1 { font-size: 34pt; }
  .thesis-definition { font-size: 12pt; }
  .thesis-welcome { font-size: 10pt; }
  .thesis-layout { padding-top: 28px; }
  .thesis-article { font-size: 11pt; line-height: 1.65; }
  .thesis-article h2 { font-size: 23pt; }
  .thesis-article h3 { font-size: 14pt; }
  .thesis-table-wrap { overflow: visible; }
  .thesis-milestones { min-width: 0; font-size: 9pt; }
  .thesis-milestones th, .thesis-milestones td { padding: 10px; }
  .thesis-milestones thead { color: #111; background: white; }
  .thesis-article h2, .thesis-article h3, .thesis-section > .eyebrow { break-after: avoid; }
  .thesis-article p { orphans: 3; widows: 3; }
  .thesis-section + .thesis-section { padding-top: 28px; margin-top: 28px; }
  .thesis-story, .thesis-callout, .thesis-number, .thesis-start-options { background: white; color: #111; border: 1px solid #aaa; }
  .thesis-number:last-child { color: #111; background: white; }
  .thesis-number:last-child > .eyebrow, .thesis-number:last-child > span { color: #333; border-color: #aaa; }
  .thesis-reading-list > li, .thesis-author { break-inside: avoid; }
  .thesis-reading-list a::after { content: attr(href); font-size: 8pt; color: #555; overflow-wrap: anywhere; }
}
