@font-face {
  font-family: "Notes Serif";
  src: url("fonts/robotoserif-009868ca.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Notes Grotesk";
  src: url("fonts/robotoflex-5a4f901c.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf9f4;
  --ink: #272821;
  --muted: #585b54;
  --link: #354f67;
  --rule: #cecec4;
  --serif: "Notes Serif", Charter, Georgia, serif;
  --sans: "Notes Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { max-width: 952px; margin: auto; padding: 0 22px; font: 18px/1.52 var(--serif); }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; color: #162e42; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
/* Fragment navigation focuses the reading surface. Keep the ring on controls. */
main[tabindex="-1"]:focus, .project-view[tabindex="-1"]:focus { outline: none; }
a:focus:not(:focus-visible) { outline: none; }
.annotation { -webkit-tap-highlight-color: transparent; }
h1,p,figure { margin: 0; }
.skip { position: fixed; top: -90px; padding: 8px; background: var(--paper); z-index: 1; }
.skip:focus { top: 0; }
.mast,.contact { display: flex; align-items: center; justify-content: space-between; }
.mast { border-bottom: 1px solid var(--ink); padding: 18px 0 11px; }
.mast-title { color: var(--ink); font: 500 15px/1.5 var(--sans); text-decoration: none; }
.mark { display: inline-block; margin-right: 8px; vertical-align: -1px; font: 26px/1 var(--serif); }
.email,.contact,.references { font: 400 14px/1.55 var(--sans); }
.mast a,.contact a { display: inline-block; padding: 5px 0; }
.email,.contact a { text-decoration-color: #adb7bc; }
.reading,.case { padding: 32px 0; }
h1 { max-width: 24ch; font: 500 35px/1.07 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.essay { margin-top: 19px; position: relative; }
.annotation { text-decoration-color: #91a0a9; }
.margin-note { display: none; }
.arrow { display:inline-block; height:.78em; width:.78em; vertical-align:-.015em; }
a { touch-action:manipulation; }
a:active { color:#132b41; text-decoration-color:currentColor; }
.project-view,.skip-case { display:none; }
.project-view:target { display:block; scroll-margin-top:85px; }
body:has(.project-view:target) .home-view, body:has(.project-view:target) .skip-home {display:none}
body:has(#payix:target) .skip-payix,body:has(#offered:target) .skip-offered,body:has(#voice:target) .skip-voice {display:inline-block}
.contact { padding: 13px 0 25px; border-top: 1px solid var(--rule); flex-wrap: wrap; gap: 4px 20px; }
.contact div { white-space: nowrap; }
.contact div a+a { margin-left: 16px; }
.case article { max-width: 56ch; }
.case p { margin-top: 17px; }
.references { margin-top: 25px; display: grid; justify-items: start; gap: 12px; }
@media (min-width: 760px) {
  body { padding: 0 48px; }
  .mast { padding: 43px 0 15px; }
  .reading,.case { padding: 52px 0 36px; }
  h1 { font-size: 49px; max-width: 25ch; }
  .reading h1,.essay { width: 65%; }
  .essay,.case p { font-size: 21px; line-height: 1.51; }
  .essay { margin-top: 24px; }
  .annotation { color: inherit; text-decoration: none; }
  .annotation:hover,.annotation:focus-visible { text-decoration: underline; text-decoration-color: #98a5ab; }
  .margin-note { display: inline-block; position: absolute; left: 100%; margin-top: .72em; margin-left: 27px; white-space: nowrap; font: 500 13px/1.4 var(--sans); color: var(--link); text-decoration: underline; text-decoration-color: #b1babe; text-underline-offset: .24em; }

  .leader { display: inline-block; vertical-align: middle; width: 23px; margin: 0 9px 2px 0; border-top: 1px solid #adb4ae; }
  .annotation:hover .margin-note,.annotation:focus-visible .margin-note { text-decoration-color: currentColor; }
  
  .contact { padding-top: 16px; }
  .case { padding-bottom: 52px; }
}
