@font-face {
  font-family: "MD Serif";
  src: url("f/bc8af6bd55.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MD Serif";
  src: url("f/2a97c19737.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "MD Sans";
  src: url("f/de3c613172.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "MD Sans";
  src: url("f/c9edb02cbf.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  
  color-scheme: light dark;

  --serif: "MD Serif", Georgia, "Times New Roman", serif;
  --sans:  "MD Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ink:    #333333;   
  --muted:  #979797;   
  --rule:   #979797;   
  --bg:     #ffffff;

  --gutter:  24px;     
  --measure: 625px;    
  --wide:   1000px;    
  --title-col: 260px;  
  
  --entry-span: calc(var(--title-col) + var(--s-40) + var(--measure));

  
  --s-10: 10px; --s-20: 20px; --s-36: 36px;
  --s-40: 40px; --s-50: 50px; --s-100: 100px;

  
  --optical: 0.95;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:   #dfdfdf;
    --muted: #979797;   
    --rule:  #434343;   
    --bg:    #121212;
  }
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  text-rendering: optimizeLegibility;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  font-synthesis: none;
}

p, h1, h2, h3, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }

a { color: inherit; }

.page {
  max-width: calc(1360px + var(--gutter) * 2);
  margin: 0 auto;
  
  padding: var(--s-100) var(--gutter) var(--s-100);
}

.masthead { margin-bottom: var(--s-100); }

.name {
  font-family: var(--sans);
  font-weight: 300;
  font-size: calc(40px * var(--optical));   
  line-height: 44px;
  letter-spacing: -1.25px;
  text-transform: uppercase;
}

.bio {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.05px;
  max-width: none;          
  margin-top: var(--s-20);
}

.focus {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.05em;
  color: var(--ink);
  max-width: var(--wide);
  margin-top: var(--s-20);
}

.name,
.bio,
.focus {
  text-align: center;
}

.section { margin-bottom: var(--s-50); }

.section-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: calc(13px * var(--optical));   
  line-height: 16px;
  letter-spacing: -0.004em;
  text-transform: uppercase;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding: var(--s-10) 0 0 0;
  margin: 0 0 var(--s-20) 0;
}

.entries { display: block; }

.entry {
  padding: var(--s-10) 0;
}

.entry-title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.014em;
  text-transform: uppercase;
}

.entry-desc {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.003em;
  max-width: var(--measure);
}

.contact-link,
.inline-link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--muted);
}

.title-link {
  color: inherit;
  text-decoration: none;
}

.copy-email {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.copy-email.is-copied { color: var(--muted); }

.title-link:hover,
.title-link:focus-visible,
.copy-email:hover,
.copy-email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.inline-link,
.tag {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.014em;
}

.tag {
  color: var(--muted);
  text-decoration: none;
  
  margin-left: 0.25em;
}

.contact-link {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.014em;
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .page { padding-top: var(--s-100); }
  
  .name, .bio, .focus { text-align: left; }
  .entry {
    display: grid;
    grid-template-columns: var(--title-col) minmax(0, 1fr);
    column-gap: var(--s-40);
    align-items: baseline;
  }
  
  .section { margin-bottom: var(--s-100); max-width: var(--entry-span); }
  .name {
    font-size: calc(40px * var(--optical));   
    line-height: 44px;
    letter-spacing: -1.25px;
  }
  .bio { font-size: 30px; line-height: 34px; letter-spacing: -0.65px; }
}

@media (min-width: 1024px) {
  .entry-desc { font-size: 20px; line-height: 26px; letter-spacing: -0.002em; }
  .focus { font-size: 20px; line-height: 26px; letter-spacing: -1px; }
  .bio { font-size: 40px; line-height: 44px; letter-spacing: -1px; }
  .entry-title, .contact-link { font-size: 19px; line-height: 26px; letter-spacing: -0.013em; }
  .inline-link, .tag { font-size: 19px; letter-spacing: -0.013em; }
  .name {
    font-size: calc(52.5px * var(--optical)); 
    line-height: 56px;
    letter-spacing: -2px;
  }
}

@media (min-width: 1440px) {
  .name {
    font-size: calc(70px * var(--optical));  
    line-height: 72px;
    letter-spacing: -2px;
  }
  .bio { font-size: 56px; line-height: 60px; letter-spacing: -2.25px; }

  .section-label {
    font-size: calc(15px * var(--optical));  
    line-height: 18px;
    letter-spacing: -0.004em;
  }
}

.about .name {
  margin-bottom: var(--s-50);
}

.prose {
  max-width: var(--measure);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.003em;
}

.prose p {
  margin: 0 0 var(--s-20) 0;
}

.prose p:last-child { margin-bottom: 0; }

.about-back {
  margin-top: var(--s-50);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.014em;
}

@media (min-width: 1024px) {
  .prose { font-size: 20px; line-height: 26px; letter-spacing: -0.002em; }
  .about-back { font-size: 19px; line-height: 26px; letter-spacing: -0.013em; }
}
