@font-face {
  font-family: Cabral Display;
  src: url('assets/fonts/display.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Cabral Text;
  src: url('assets/fonts/body.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cabral Text;
  src: url('assets/fonts/heading.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f8f8f5;
  --sage: #e8e8d9;
  --ink: #293019;
  --body: #514c40;
  --muted: #6e6b60;
  --line: #cdcebc;
  --guava: #ad4839;
  --guava-hover: #913b2e;
  --focus: #435a2b;
  --space: clamp(24px, 3.55vw, 56px);
  --font-body: 'Cabral Text', sans-serif;
  --font-display: 'Cabral Display', sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: var(--muted) var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #d8dfbd;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-color: var(--guava);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
button {
  font: inherit;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 38px;
  line-height: 1.1;
}
.skip-link {
  position: fixed;
  z-index: 10;
  left: 16px;
  top: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.site-shell {
  display: grid;
  grid-template-columns: 30.75% minmax(0, 1fr);
  max-width: 1600px;
  min-height: 100vh;
  margin: auto;
}
.identity {
  background: var(--sage);
  position: relative;
  isolation: isolate;
  padding: 70px var(--space) 72px;
  overflow: hidden;
}
.wordmark {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(62px, 7.75vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.role {
  position: relative;
  z-index: 1;
  font-size: 23px;
  line-height: 1.25;
  margin-top: 21px;
}
.identity nav {
  position: relative;
  z-index: 1;
  margin-top: 62px;
}
.identity nav a {
  display: block;
  border-top: 1px solid var(--line);
  font-size: 30px;
  line-height: 1.1;
  padding: 15px 5px 12px;
  color: var(--ink);
  transition: color 180ms ease;
}
.identity nav a:last-child {
  border-bottom: 1px solid var(--line);
}
.identity nav a:hover,
.identity nav a[aria-current] {
  color: var(--guava);
}
.botanical {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 548px;
  width: 100%;
  height: calc(100% - 548px);
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
}
.domain {
  position: absolute;
  z-index: 1;
  bottom: 34px;
  left: var(--space);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--sage);
  padding: 3px 8px;
}
main {
  padding: 67px var(--space) 36px;
  min-width: 0;
}
main:focus,
footer:focus {
  outline: none;
}
.introduction h1 {
  font-size: clamp(50px, 6.86vw, 96px);
  line-height: 0.87;
  letter-spacing: -0.035em;
  margin-bottom: 29px;
}
.lead {
  font-size: 26px;
  line-height: 1.22;
  max-width: 52ch;
}
.method {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 19px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 48px;
  margin-top: 18px;
  padding: 8px 23px 6px;
  border-radius: 3px;
  background: var(--guava);
  color: white;
  font-size: 20px;
  line-height: 1.3;
  transition: background-color 180ms ease;
}
.button:hover {
  background: var(--guava-hover);
}
.button svg,
.text-link svg,
.reading-list .arrow {
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.button:hover svg,
.text-link:hover svg,
.reading-list a:hover .arrow {
  transform: translateX(4px);
}
.projects {
  margin-top: 43px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 20px;
  margin-top: 14px;
}
.project {
  display: block;
  min-width: 0;
}
.project img {
  width: 100%;
  height: 302px;
  object-fit: cover;
  border-radius: 2px;
}
.project h3 {
  font-size: 25px;
  line-height: 1.15;
  margin-top: 10px;
}
.project p {
  font-size: 18px;
  line-height: 1.3;
  margin-top: 4px;
}
.project-status {
  display: block;
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}
.project:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--guava);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.writing {
  margin-top: 38px;
}
.reading-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.reading-list li + li {
  border-top: 1px solid #dcdad0;
}
.reading-list a {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 51px;
  padding: 9px 0;
  font-size: 19px;
  line-height: 1.3;
}
.reading-list .document-icon {
  height: 28px;
  width: 25px;
}
.reading-list span {
  flex: 1;
  min-width: 0;
}
.reading-list small {
  display: block;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 3px;
}
.reading-list a:hover span {
  color: var(--guava);
}
.about {
  border-top: 1px solid #dcdad0;
  margin-top: 28px;
  padding-top: 21px;
}
.about p {
  font-size: 20px;
  line-height: 1.3;
  margin-top: 6px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--guava);
  text-decoration: underline;
  font-size: 19px;
  margin-top: 8px;
}
footer {
  border-top: 1px solid #dcdad0;
  margin-top: 20px;
  padding-top: 13px;
}
footer h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
footer p {
  color: var(--muted);
  font-size: 18px;
}
.contact-pending {
  font-size: 15px;
  margin-top: 7px;
  max-width: 55ch;
}
.reading-page .identity {
  min-height: 100vh;
}
.reading-page .botanical {
  top: 560px;
  max-height: 900px;
}
.reading-page .domain {
  bottom: 28px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--guava);
  font-size: 18px;
  margin-bottom: 35px;
}
.back-link svg {
  transform: rotate(180deg);
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.07;
  letter-spacing: -0.04em;
  max-width: 20ch;
}
.article-meta {
  font-size: 16px;
  color: var(--muted);
  margin-top: 18px;
}
.prose {
  max-width: 66ch;
  font-size: 21px;
  line-height: 1.55;
  margin-top: 34px;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre {
  margin: 0 0 22px;
}
.prose h2 {
  font-size: 31px;
  line-height: 1.15;
  margin: 38px 0 16px;
}
.prose h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 30px 0 14px;
}
.prose a {
  color: var(--guava);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.prose li {
  margin-bottom: 8px;
}
.prose blockquote {
  padding: 22px 25px;
  background: var(--sage);
  font-size: 22px;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose pre {
  padding: 22px;
  background: #eceee3;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.7;
}
.prose :not(pre) > code {
  font-size: 0.8em;
  background: #eceee3;
  padding: 2px 5px;
  overflow-wrap: anywhere;
}
.prose figure {
  margin: 26px 0;
}
.prose figure img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.prose figcaption {
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}
.copy-prompt {
  border: 1px solid var(--guava);
  background: transparent;
  color: var(--guava);
  padding: 8px 15px;
  margin-top: -10px;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 16px;
}
.copy-status {
  font-size: 16px;
  min-height: 1.5em;
  color: var(--muted);
}
.article-next {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 44px;
}
@media (min-width: 1300px) {
  .project img {
    height: auto;
    aspect-ratio: 1.16;
  }
  .lead {
    font-size: 28px;
  }
  .projects {
    margin-top: 52px;
  }
  .writing {
    margin-top: 48px;
  }
  .identity nav {
    margin-top: 70px;
  }
}
@media (max-width: 1000px) and (min-width: 761px) {
  .wordmark {
    font-size: 7.45vw;
  }
  .identity {
    padding-left: 25px;
    padding-right: 25px;
  }
  .role {
    font-size: 20px;
  }
  .identity nav a {
    font-size: 27px;
  }
  .lead {
    font-size: 23px;
  }
  .method {
    font-size: 20px;
  }
  .wide-break {
    display: none;
  }
  .project img {
    height: 240px;
  }
  .project h3 {
    font-size: 22px;
  }
  .project p {
    font-size: 17px;
  }
  h2 {
    font-size: 32px;
  }
  .reading-list a {
    font-size: 18px;
    gap: 14px;
  }
}
@media (max-width: 760px) {
  :root {
    --space: 24px;
    scroll-padding-top: 18px;
  }
  body {
    font-size: 19px;
  }
  .site-shell {
    display: block;
  }
  .identity {
    padding: 33px 24px 23px;
    min-height: 295px;
  }
  .wordmark {
    font-size: 60px;
    line-height: 0.88;
    max-width: 240px;
  }
  .role {
    font-size: 18px;
    max-width: 220px;
    margin-top: 15px;
  }
  .identity nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-top: 29px;
    max-width: 420px;
  }
  .identity nav a {
    font-size: 22px;
    padding: 10px 0 8px;
  }
  .identity nav a:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .botanical {
    top: -12px;
    left: auto;
    right: -40px;
    width: 165px;
    height: 205px;
    object-fit: cover;
    object-position: top;
  }
  .domain {
    display: none;
  }
  main {
    padding: 37px 24px 28px;
  }
  .introduction h1 {
    font-size: 48px;
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
  }
  .desktop-break,
  .wide-break {
    display: none;
  }
  .lead {
    font-size: 23px;
    line-height: 1.28;
  }
  .method {
    font-size: 19px;
    line-height: 1.4;
    margin-top: 16px;
  }
  .button {
    font-size: 18px;
    min-height: 48px;
    gap: 14px;
    padding: 10px 16px 8px;
    margin-top: 20px;
  }
  h2 {
    font-size: 32px;
    line-height: 1.13;
  }
  .projects {
    margin-top: 39px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 17px;
  }
  .project img {
    height: auto;
    aspect-ratio: 1.17;
  }
  .project h3 {
    font-size: 26px;
    margin-top: 12px;
  }
  .project p {
    font-size: 19px;
  }
  .project-status {
    font-size: 16px;
    margin-top: 5px;
  }
  .writing {
    margin-top: 38px;
  }
  .reading-list a {
    gap: 13px;
    font-size: 19px;
    padding: 14px 0;
    min-height: 62px;
  }
  .reading-list .document-icon {
    width: 22px;
  }
  .reading-list .arrow {
    width: 20px;
  }
  .about {
    margin-top: 28px;
    padding-top: 23px;
  }
  .about p {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 10px;
  }
  footer {
    margin-top: 24px;
    padding-top: 18px;
  }
  .reading-page .identity {
    min-height: 0;
  }
  .reading-page .botanical {
    top: -12px;
    height: 205px;
  }
  .back-link {
    margin-bottom: 24px;
  }
  .article-header h1 {
    font-size: 40px;
    line-height: 1.08;
  }
  .prose {
    font-size: 20px;
    margin-top: 27px;
  }
  .prose h2 {
    font-size: 29px;
  }
  .prose pre {
    padding: 17px;
    font-size: 14px;
  }
  .prose blockquote {
    padding: 18px;
    font-size: 20px;
  }
}
@media (max-width: 350px) {
  .introduction h1 {
    font-size: 42px;
  }
  .wordmark {
    font-size: 54px;
  }
  .botanical {
    right: -60px;
  }
  .button {
    font-size: 17px;
    gap: 8px;
  }
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
