@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/theme/fonts/dm-sans-latin.woff2") format("woff2");
}
:root {
  --paper: #f3f0eb;
  --page: #faf9f6;
  --soft: #ece9e3;
  --ink: #333737;
  --muted: #626766;
  --accent: #a4503a;
  --line: #dddcd5;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
}
::selection {
  color: var(--page);
  background: var(--accent);
}
.shell {
  width: min(100% - 64px, 1120px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--page);
  padding: 8px 14px;
}
.skip-link:focus {
  transform: none;
}
.site-header {
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0 12%,
    #d5b5a5 12% 35%,
    var(--line) 35% 100%
  );
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  min-height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font: 600 16px var(--sans);
}
.brand-mark {
  display: block;
  width: 68px;
  height: auto;
  flex: none;
}
.brand-name {
  letter-spacing: -0.025em;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.3vw, 30px);
  font-size: 14px;
}
.site-nav a {
  position: relative;
  white-space: nowrap;
  padding-block: 7px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
  transition: right 180ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}
.header-social {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}
.header-social a:hover {
  border-color: var(--accent);
  background: var(--paper);
  color: var(--accent);
}
.header-social svg {
  width: 18px;
  height: 18px;
}
.site-nav a:hover,
.quiet-link:hover,
.footer-links a:hover,
.prose a:hover {
  color: var(--accent);
}
.hero {
  min-height: 520px;
  padding-block: 86px 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  background: radial-gradient(
    ellipse 32% 44% at 90% 48%,
    #efe5db 0,
    transparent 100%
  );
}
.eyebrow {
  margin: 0 0 22px;
  font: 600 12px/1.5 var(--sans);
  letter-spacing: 0.05em;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.17;
}
.hero h1 {
  font-size: clamp(46px, 5.5vw, 68px);
  margin-bottom: 22px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.hero-copy > p.hero-intro {
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.45;
}
.hero-intro a,
.experience-section a:not(.quiet-link) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.hero-intro a:hover {
  color: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 7px;
  padding: 8px 18px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
  font-weight: 600;
}
.button:hover {
  background: var(--accent);
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.hero-photo {
  width: min(100%, 280px);
  justify-self: center;
}
.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.work-section,
.writing-section {
  border-top: 1px solid var(--line);
  padding-block: 78px 90px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h2,
.experience-section h2 {
  font-size: clamp(35px, 4vw, 49px);
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  margin: 0 0 3px;
  max-width: 510px;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.project {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}
.project:hover,
.project:focus-within {
  border-color: #c19b87;
  transform: translateY(-3px);
}
.project-image {
  display: block;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.project-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
}
.project-copy {
  padding: 21px 22px 26px;
}
.project-copy h3 {
  font-size: 27px;
  margin-bottom: 10px;
}
.project-copy p {
  min-height: 78px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.project-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  font-weight: 700;
}
.project-copy a:hover {
  color: var(--ink);
}
.experience-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
  padding-block: 68px 76px;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.experience-grid .eyebrow {
  margin-bottom: 12px;
}
.lumilens-link {
  display: inline-flex;
  margin-top: 22px;
  border-radius: 5px;
}
.lumilens-link img {
  width: 148px;
  height: auto;
  display: block;
}
.experience-grid p {
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 20px;
}
.writing-section {
  border-top: 0;
}
.writing-list {
  border-top: 1px solid var(--line);
  margin-bottom: 25px;
}
.writing-item,
.collection-item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
}
.writing-item:hover,
.collection-item:hover {
  color: var(--accent);
}
.writing-item time,
.collection-item time {
  color: var(--muted);
  font: 12px var(--mono);
}
.writing-item strong,
.collection-title {
  font: 600 19px/1.35 var(--sans);
}
.site-footer {
  background: var(--ink);
  color: var(--page);
  padding-block: 55px max(28px, calc(env(safe-area-inset-bottom) + 20px));
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
}
.footer-brand {
  font: 600 22px var(--sans);
}
.footer-inner p {
  color: #dbdedc;
  font-size: 13px;
  margin: 4px 0 0;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 28px;
  font-size: 14px;
}
.footer-links svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.footer-inner small {
  grid-column: 1/-1;
  border-top: 1px solid #7b807f;
  padding-top: 21px;
  color: #dbdedc;
}
.light-page {
  min-height: 62vh;
}
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) minmax(185px, 1fr);
  gap: clamp(30px, 7vw, 90px);
  padding-block: 65px 110px;
}
.article-main {
  min-width: 0;
}
.back-link {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 38px;
  font-size: 14px;
}
.article-main > h1,
.collection-page > h1 {
  font-size: clamp(43px, 5vw, 63px);
  overflow-wrap: anywhere;
  margin-bottom: 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}
.article-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.archive-notice {
  border-left: 3px solid var(--accent);
  background: var(--paper);
  padding: 14px 19px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 14px;
}
.archive-notice p {
  margin: 0;
}
.prose {
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.prose > p:first-child {
  font-size: 18px;
}
.prose p {
  margin-bottom: 1.25em;
}
.prose h2 {
  font-size: 31px;
  padding-top: 25px;
  margin: 38px 0 18px;
  border-top: 1px solid var(--line);
}
.prose h3 {
  font: 600 18px/1.4 var(--sans);
  margin: 30px 0 12px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 1.6em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose blockquote {
  margin: 22px 0;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}
.prose img {
  display: block;
  margin: 22px 0;
}
.prose pre,
.prose .literal-block {
  max-width: 100%;
  overflow: auto;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  font: 13px/1.6 var(--mono);
}
.prose code,
.prose .docutils.literal {
  font: 0.85em var(--mono);
}
.prose table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 7px 10px;
}
.article-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 14px;
  color: var(--accent);
}
.article-end a:hover {
  text-decoration: underline;
}
.page-aside {
  align-self: start;
  margin-top: 65px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.page-aside img {
  border-radius: 10px;
  width: min(100%, 190px);
  display: block;
  margin-bottom: 18px;
}
.page-aside a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.collection-page {
  padding-block: 75px 110px;
  max-width: 900px;
}
.collection-lead {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 42px;
}
.collection-list {
  border-top: 1px solid var(--line);
}
.collection-item {
  grid-template-columns: 145px minmax(0, 1fr) 20px;
}
.collection-foot {
  color: var(--muted);
  font-size: 13px;
  margin-top: 26px;
}
.collection-foot a {
  color: var(--accent);
  text-decoration: underline;
}
@media (max-width: 850px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand social" "nav nav";
    gap: 0 18px;
    padding-block: 17px 0;
  }
  .brand {
    grid-area: brand;
  }
  .site-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 30px;
    min-width: 0;
    border-top: 1px solid var(--line);
    margin-top: 16px;
    padding-block: 8px;
  }
  .header-social {
    grid-area: social;
    justify-self: end;
  }
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 200px;
  }
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
}
@media (max-width: 650px) {
  .shell {
    width: min(100% - 36px, 1120px);
  }
  .header-inner {
    gap: 0 10px;
    padding-top: 14px;
  }
  .brand {
    gap: 9px;
    font-size: 14px;
  }
  .brand-mark {
    width: 58px;
  }
  .header-social {
    gap: 4px;
  }
  .header-social a {
    width: 36px;
    height: 36px;
  }
  .site-nav {
    gap: clamp(14px, 5vw, 25px);
    font-size: 13px;
  }
  .site-nav a {
    min-height: 36px;
  }
  .footer-links {
    gap: 14px 16px;
  }
  .footer-links a {
    overflow-wrap: anywhere;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 42px 60px;
    min-height: 0;
    align-items: start;
  }
  .hero h1 {
    font-size: clamp(40px, 10vw, 58px);
  }
  .hero-photo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 130px;
  }
  .hero-copy {
    grid-column: 1;
    grid-row: 2;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .hero-copy > p.hero-intro {
    font-size: 21px;
  }
  .section-heading,
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .work-section,
  .writing-section {
    padding-block: 54px 64px;
  }
  .project-list {
    grid-template-columns: 1fr;
  }
  .project-copy p {
    min-height: 0;
  }
  .experience-section {
    padding-block: 52px 60px;
  }
  .writing-item,
  .collection-item {
    grid-template-columns: 1fr 20px;
    gap: 3px 12px;
  }
  .writing-item time,
  .collection-item time {
    grid-column: 1;
    font-size: 11px;
  }
  .writing-item strong,
  .collection-title {
    grid-column: 1;
    grid-row: 2;
  }
  .writing-item > span:last-child,
  .collection-item > span:last-child {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 45px 72px;
  }
  .page-aside {
    margin-top: 35px;
  }
  .collection-page {
    padding-block: 55px 75px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner small {
    grid-column: 1;
  }
}
@media (max-width: 300px) {
  .brand-name {
    display: none;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 4px 15px;
  }
  .footer-links {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .site-nav a::after,
  .header-social a,
  .project {
    transition: none;
  }
  .project:hover,
  .project:focus-within {
    transform: none;
  }
}
