@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #0e1822;
  --paper: #f8fafb;
  --silver: #e9eef2;
  --rule: #c5d0d9;
  --mineral: #386257;
  --signal: #6b9fd2;
  --muted: #53616d;
  --serif: "Literata", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --shell: 1180px;
  --edge: clamp(1.25rem, 4vw, 3.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

::selection {
  color: var(--paper);
  background: var(--mineral);
}

.shell {
  width: min(calc(100% - (var(--edge) * 2)), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid rgb(248 250 251 / 18%);
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.site-name > span {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  color: var(--paper);
  border: 1px solid var(--mineral);
  font-size: .72rem;
  font-weight: 750;
}

.site-name strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a,
.print-control {
  color: #d7e0e6;
  background: none;
  border: 0;
  font-size: .88rem;
  text-decoration: none;
  text-underline-offset: .35rem;
  cursor: pointer;
}

.site-nav a:hover,
.print-control:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--mineral);
}

.print-control {
  display: none;
  padding: 0;
}

.js .print-control {
  display: inline;
}

.profile-hero {
  color: var(--paper);
  background: var(--ink);
}

.profile-hero-grid {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(380px, .9fr) minmax(440px, 1.1fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: end;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.profile-identity {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.profile-photo {
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(.78) contrast(1.03);
  box-shadow: -7px 7px 0 var(--mineral);
}

.profile-kicker,
.section-label {
  margin: 0;
  color: var(--mineral);
  font-size: .85rem;
  font-weight: 720;
}

.profile-kicker {
  color: #8cc0b1;
}

.profile-identity h1 {
  margin: .2rem 0 .65rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.profile-location {
  margin: 0 0 .55rem;
  color: #aebbc5;
  font-size: .8rem;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.15rem;
}

.profile-links a {
  color: #d0dae1;
  font-size: .84rem;
  text-decoration-color: var(--signal);
  text-underline-offset: .3rem;
}

.profile-thesis {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 3px solid var(--mineral);
}

.profile-thesis p {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.14;
  letter-spacing: -.03em;
}

.profile-thesis span {
  display: block;
  max-width: 600px;
  margin-top: 1.5rem;
  color: #b9c5cd;
  font-size: 1.02rem;
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(180px, .28fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: start;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.record-index {
  position: sticky;
  top: 2.5rem;
}

.index-block {
  padding-block: 1.25rem;
  border-top: 1px solid var(--rule);
}

.index-block:first-child {
  border-top-color: var(--ink);
}

.index-block p,
.index-block strong,
.index-block span {
  display: block;
}

.index-block p {
  margin: 0 0 .45rem;
  color: var(--mineral);
  font-size: .76rem;
  font-weight: 720;
}

.index-block strong {
  line-height: 1.35;
  font-size: .92rem;
}

.index-block span {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.record-nav {
  display: grid;
  gap: .42rem;
  margin-top: 2rem;
}

.record-nav a {
  width: fit-content;
  color: var(--muted);
  font-size: .78rem;
  text-decoration-color: var(--rule);
  text-underline-offset: .25rem;
}

.record-nav a:hover {
  color: var(--ink);
  text-decoration-color: var(--mineral);
}

.record-body {
  min-width: 0;
}

.record-section {
  padding-bottom: clamp(5rem, 9vw, 8rem);
  scroll-margin-top: 2rem;
}

.record-section + .record-section {
  padding-top: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid var(--rule);
}

.introduction {
  padding-top: .1rem;
}

.record-section h2,
.contact-record h2,
.error-layout h1 {
  margin: .45rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.introduction h2 {
  max-width: 780px;
}

.prose-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
}

.prose-columns p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.compact-heading {
  margin-bottom: 2.5rem;
}

.chronology {
  position: relative;
}

.chronology::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 145px;
  width: 1px;
  background: var(--rule);
}

.role {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 3.5rem;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.role:last-child {
  padding-bottom: 0;
}

.role::before {
  content: "";
  position: absolute;
  top: .65rem;
  left: 140px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--mineral);
  border-radius: 50%;
}

.role-time {
  padding-top: .1rem;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.45;
}

.role-time time,
.role-time span {
  display: block;
}

.role-time time {
  color: var(--ink);
  font-weight: 720;
}

.role-copy header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.role-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.role-copy header p {
  margin: .35rem 0 0;
  color: var(--mineral);
  font-weight: 720;
}

.role-copy ul {
  max-width: 730px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.role-copy li {
  position: relative;
  margin-top: .7rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.role-copy li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--mineral);
  transform: rotate(45deg);
}

.selected-work {
  position: relative;
  isolation: isolate;
}

.selected-work::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: clamp(3rem, 6vw, 5rem);
  right: 0;
  bottom: clamp(3rem, 6vw, 5rem);
  left: clamp(-4rem, -5vw, -2rem);
  background: var(--silver);
}

.evidence-record {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, .5fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}

.evidence-record dl,
.capability-ledger {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.evidence-record dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 2rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--rule);
}

.evidence-record dt,
.capability-ledger dt {
  color: var(--mineral);
  font-size: .83rem;
  font-weight: 750;
}

.evidence-record dd,
.capability-ledger dd {
  margin: 0;
  color: var(--muted);
}

.evidence-links {
  display: grid;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}

.evidence-links a,
.primary-link,
.contact-link {
  width: fit-content;
  font-weight: 720;
  text-decoration-color: var(--mineral);
  text-underline-offset: .32rem;
}

.evidence-links a:not(.primary-link) {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

.primary-link,
.contact-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: .7rem 1rem;
  color: var(--paper);
  background: var(--mineral);
  text-decoration: none;
}

.primary-link:hover,
.contact-link:hover {
  background: var(--ink);
}

.capability-ledger > div {
  display: grid;
  grid-template-columns: minmax(155px, .35fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid var(--rule);
}

.education-list {
  border-top: 1px solid var(--ink);
}

.education-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 145px;
  gap: 2rem;
  padding-block: 1.45rem;
  border-bottom: 1px solid var(--rule);
}

.education-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

.education-list p {
  margin: .3rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.education-list article > p {
  margin: 0;
  text-align: right;
}

.credential-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--rule);
  list-style: none;
}

.credential-list li {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--paper);
}

.credential-list span {
  color: var(--mineral);
  font-size: .8rem;
  font-weight: 720;
}

.credential-list strong {
  max-width: 330px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
}

.contact-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, .6fr);
  gap: clamp(3rem, 8vw, 7rem);
  margin-bottom: clamp(5rem, 9vw, 8rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--paper);
  background: var(--ink);
  border-left: 6px solid var(--mineral);
}

.contact-record .section-label {
  color: #8cc0b1;
}

.contact-record h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.contact-record > div:last-child {
  align-self: end;
}

.contact-record > div:last-child p {
  margin: 0 0 1.5rem;
  color: #c6d0d7;
}

.contact-link {
  color: var(--ink);
  background: var(--paper);
}

.contact-link:hover {
  color: var(--paper);
  background: var(--mineral);
}

.site-footer {
  padding-block: 3.5rem;
  color: #c6d0d7;
  background: var(--ink);
  border-top: 1px solid rgb(248 250 251 / 16%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  font-size: .82rem;
}

.footer-inner p span {
  display: block;
  color: #83929e;
}

.footer-inner nav {
  display: flex;
  gap: 1.5rem;
}

.footer-inner a {
  color: #dbe3e8;
  font-size: .82rem;
  text-underline-offset: .3rem;
}

.copyright {
  text-align: right;
}

.error-page {
  min-height: 70vh;
  padding-block: clamp(6rem, 12vw, 10rem);
  background: var(--silver);
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(150px, .3fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 8rem);
}

.error-code {
  margin: 0;
  color: var(--mineral);
  font-family: var(--serif);
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: .8;
}

.error-layout h1 {
  max-width: 760px;
}

.error-layout h1 + p {
  max-width: 600px;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .profile-thesis {
    max-width: 760px;
  }

  .record-layout {
    grid-template-columns: 1fr;
  }

  .record-index {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .record-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --edge: 1.2rem;
  }

  html {
    scroll-padding-top: 1rem;
  }

  .header-inner {
    min-height: 4.5rem;
  }

  .site-name > span {
    width: 1.9rem;
    height: 1.9rem;
  }

  .site-name strong {
    display: none;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }

  .profile-hero-grid {
    min-height: auto;
    padding-block: 4.5rem;
  }

  .profile-identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1.15rem;
  }

  .profile-photo {
    width: 64px;
    height: 64px;
    box-shadow: -5px 5px 0 var(--mineral);
  }

  .profile-identity h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .profile-kicker {
    font-size: .78rem;
  }

  .profile-thesis {
    padding-left: 1.25rem;
  }

  .profile-thesis p {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .record-layout {
    gap: 4rem;
    padding-block: 4.5rem;
  }

  .record-index {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .record-section,
  .record-section + .record-section {
    padding-block: 4.5rem;
  }

  .introduction {
    padding-top: 0;
  }

  .prose-columns,
  .evidence-record,
  .contact-record {
    grid-template-columns: 1fr;
  }

  .chronology::before {
    left: 5px;
  }

  .role {
    grid-template-columns: 1fr;
    gap: .8rem;
    padding-left: 1.8rem;
  }

  .role::before {
    left: 0;
  }

  .role-time time,
  .role-time span {
    display: inline;
  }

  .role-time time::after {
    content: "–";
    margin-inline: .35rem;
  }

  .selected-work::before {
    inset-inline: calc(var(--edge) * -1);
  }

  .evidence-record dl > div,
  .capability-ledger > div {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .education-list article {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .education-list article > p {
    text-align: left;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }

  .contact-record {
    padding: 1.75rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .copyright {
    text-align: left;
  }

  .error-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .site-nav a {
    display: none;
  }

  .site-nav .print-control {
    display: none;
  }

  .profile-identity {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .profile-photo {
    width: 60px;
    height: 60px;
  }

  .profile-links {
    gap: .35rem .8rem;
  }

  .profile-links a {
    font-size: .8rem;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page {
    size: letter;
    margin: .55in .65in;
  }

  :root {
    --ink: #000;
    --paper: #fff;
    --silver: #fff;
    --rule: #aaa;
    --mineral: #23483f;
    --muted: #333;
  }

  html,
  body {
    background: #fff;
    font-size: 9.5pt;
  }

  .site-header,
  .site-footer,
  .record-index,
  .contact-record,
  .skip-link {
    display: none !important;
  }

  .profile-hero {
    color: #000;
    background: #fff;
    border-bottom: 2px solid #000;
  }

  .profile-hero-grid {
    min-height: 0;
    grid-template-columns: .8fr 1.2fr;
    gap: .35in;
    padding: 0 0 .3in;
  }

  .profile-photo {
    width: 64px;
    height: 64px;
    box-shadow: none;
  }

  .profile-identity {
    grid-template-columns: 64px 1fr;
  }

  .profile-kicker,
  .profile-links a,
  .profile-thesis span {
    color: #333;
  }

  .profile-identity h1 {
    font-size: 27pt;
  }

  .profile-thesis {
    padding-left: .2in;
    border-left-width: 2px;
  }

  .profile-thesis p {
    font-size: 17pt;
  }

  .profile-thesis span {
    margin-top: .08in;
    font-size: 9pt;
  }

  .record-layout {
    display: block;
    width: 100%;
    padding: .25in 0 0;
  }

  .record-section,
  .record-section + .record-section {
    padding-block: .2in;
  }

  .record-section h2 {
    font-size: 19pt;
  }

  .section-heading {
    margin-bottom: .18in;
  }

  .prose-columns {
    margin-top: .15in;
    gap: .25in;
  }

  .prose-columns p {
    font-size: 9pt;
  }

  .role {
    grid-template-columns: .9in 1fr;
    gap: .3in;
    padding-bottom: .22in;
    break-inside: avoid;
  }

  .chronology::before,
  .role::before {
    display: none;
  }

  .role-copy h3 {
    font-size: 13pt;
  }

  .role-copy header {
    padding-bottom: .05in;
  }

  .role-copy ul {
    margin-top: .06in;
  }

  .role-copy li {
    margin-top: .02in;
    color: #222;
  }

  .selected-work::before {
    display: none;
  }

  .evidence-record {
    grid-template-columns: 1fr;
    gap: .15in;
  }

  .evidence-record dl > div,
  .capability-ledger > div {
    padding-block: .06in;
  }

  .evidence-links {
    grid-template-columns: repeat(3, auto);
    gap: .2in;
  }

  .primary-link {
    min-height: 0;
    padding: 0;
    color: #000;
    background: none;
    text-decoration: underline;
  }

  .education-list article {
    padding-block: .07in;
    break-inside: avoid;
  }

  .credential-list li {
    min-height: 0;
    padding: .12in;
    break-inside: avoid;
  }

  .credential-list strong {
    margin-top: .1in;
    font-size: 11pt;
  }

  a {
    text-decoration-color: currentColor;
  }
}
