:root {
  --paper: #0d1726;
  --ink: #edf4fd;
  --muted: #a8bbce;
  --line: #2d4158;
  --blue: #6ab2ef;
  --night: #142b45;
  --ice: #b8daf7;
}
.illustration-sheet,
.illustration-system {
  transition:
    translate 400ms cubic-bezier(0.2, 0.65, 0.3, 1),
    filter 400ms ease;
}
.solid-link {
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}
.solid-link:hover {
  box-shadow: 0 5px 22px #2474c733;
}
.masthead nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
}
.project-visual {
  margin: 28px 0 0;
  padding: 20px;
  border-radius: 12px;
  background: #142b45;
}
.project-visual svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: "DM Sans", sans-serif;
}
.project-visual figcaption {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  padding: 8px 10px 12px;
}
.work-page .prose .project-visual {
  grid-column: 1;
  grid-row: 2 / 9;
}
.about-page .introduction {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  column-gap: 90px;
  align-items: center;
}
.about-page .introduction > .context {
  grid-column: 1;
}
.about-page .introduction > h1 {
  grid-column: 1;
  grid-row: 2;
}
.about-page .introduction > .lead {
  grid-column: 1;
}
.experience-path {
  grid-column: 2;
  grid-row: 1 / 4;
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  border-left: 1px solid #3c6284;
}
.experience-path li {
  position: relative;
  padding: 0 0 34px;
}
.experience-path li:last-child {
  padding-bottom: 0;
}
.experience-path li::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6ab2ef;
  box-shadow: 0 0 0 5px #0d1726;
}
.experience-path li:nth-child(2)::before {
  background: #4cc7b2;
}
.experience-path li:nth-child(3)::before {
  background: #e5b565;
}
.experience-path li:nth-child(4)::before {
  background: #b394e9;
}
.experience-path > li > span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}
.experience-path strong {
  display: block;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 6px;
}
.contact-intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 76px;
  align-items: center;
}
.contact-copy h1 {
  font-size: clamp(3rem, 5.6vw, 5.2rem);
}
.contact-note {
  padding: 32px;
  background: #142b45;
  border-radius: 14px;
  min-width: 0;
}
.envelope-mark {
  display: block;
  margin: 0 0 24px;
}
.contact-note .email {
  font-size: clamp(1rem, 1.65vw, 1.25rem);
}
.contact-note p:last-child {
  margin-bottom: 0;
}
.contact-page .current {
  padding: 44px 0;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .field-composition:hover .illustration-sheet,
  .field-composition:focus-within .illustration-sheet {
    translate: -2px -5px;
    filter: drop-shadow(0 8px 9px #0002);
  }
  .field-composition:hover .illustration-system,
  .field-composition:focus-within .illustration-system {
    translate: 2px 4px;
  }
}
@media (max-width: 850px) {
  .about-page .introduction,
  .contact-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .about-page .introduction > *,
  .experience-path {
    grid-column: 1;
    grid-row: auto;
  }
  .experience-path {
    margin: 12px 0 16px 6px;
  }
  .contact-note {
    max-width: 540px;
  }
  .contact-note .email {
    font-size: 1.15rem;
  }
}
@media (max-width: 700px) {
  .work-page .prose .project-visual {
    margin: 24px 0;
  }
  .contact-note {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .illustration-sheet,
  .illustration-system,
  .solid-link {
    transition: none;
  }
}
html {
  color-scheme: dark;
}
body {
  font-size: 18px;
}
h1,
h2,
h3 {
  font-family: "DM Sans", sans-serif;
}
h3 {
  font-weight: 600;
  letter-spacing: -0.035em;
}
.masthead {
  padding: 30px 0;
}
.masthead nav {
  font-size: 16px;
}
.masthead nav a {
  color: var(--muted);
}
.masthead nav a:hover {
  color: var(--ink);
}
.context {
  font-size: 1rem;
}
.lead {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}
.home-intro {
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 74px 0 86px;
}
.home-intro h1 {
  font-size: clamp(3.7rem, 7vw, 6.3rem);
  letter-spacing: -0.06em;
  line-height: 1.02;
}
.home-intro .lead {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.4;
}
.solid-link {
  background: #2474c7;
  border-radius: 7px;
}
.solid-link:hover {
  background: #216cba;
}
.field-composition {
  position: relative;
  min-width: 0;
  text-align: center;
  padding: 10px 0 30px;
}
.field-composition::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse, #1f50764a, transparent 68%);
}
.field-composition svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: "DM Sans", sans-serif;
}
.field-composition > a {
  font-size: 1rem;
}
.product-feature {
  color: var(--ink);
  padding: 52px;
  border-radius: 14px;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}
.product-feature h2 {
  font-size: clamp(3.7rem, 6vw, 5.5rem);
}
.product-feature .product-caption {
  font-size: 1.2rem;
  line-height: 1.55;
}
.product-feature .large {
  font-size: 1.85rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.product-feature p {
  color: #c6d3e2;
}
.product-feature .large {
  color: var(--ink);
}
.reading-list {
  gap: 44px;
}
.reading-list article {
  border-width: 1px;
  border-color: var(--line);
  padding-top: 28px;
}
.reading-list article:first-child {
  border-color: var(--line);
}
.reading-list h3 {
  font-size: 1.65rem;
  line-height: 1.2;
}
.reading-list article:nth-child(2) h3 a {
  color: #78d8c7;
}
.reading-list article:nth-child(3) h3 a {
  color: #e5c181;
}
.reading-list p {
  font-size: 1.05rem;
}
.section-heading h2 {
  font-size: 2.4rem;
}
.past {
  max-width: none;
}
.career-strip span {
  font-size: 1rem;
}
.project-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.project-preview-grid h2 {
  font-size: 2.8rem;
  max-width: 17ch;
}
.rate-comparison {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.rate-comparison figcaption {
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.rate-row {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.rate-bar {
  background: #3b6084;
  border-radius: 0 5px 5px 0;
  height: 48px;
  display: flex;
  align-items: center;
  padding-left: 16px;
}
.rate-bar.after {
  width: 70%;
  background: #2474c7;
}
.rate-bar strong {
  color: white;
  font-size: 1.2rem;
}
.rate-comparison p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 24px 0 0;
}
.project-directory,
.project-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  padding: 28px 0 0;
}
.project-directory {
  margin-top: 20px;
}
.work-page .prose {
  max-width: none;
  padding: 64px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 70px;
  align-items: start;
  scroll-margin-top: 24px;
}
.work-page .prose > * {
  grid-column: 2;
}
.work-page .prose h2 {
  grid-column: 1;
  grid-row: 1;
  font-size: 2.6rem;
  max-width: 18ch;
}
.work-page .prose .rate-comparison {
  grid-column: 1;
  grid-row: 2 / 9;
  margin: 28px 0 0;
}
.work-page .prose .context {
  grid-column: 2;
  grid-row: 1;
}
.work-page .prose h2:not(:first-child) {
  margin-top: 0;
}
.margin-statement {
  font-family: "DM Sans", sans-serif;
}
.reading-detail {
  background: #142b45;
  border-radius: 10px;
}
.endnote,
.endnote span {
  font-size: 1rem;
}
a:focus-visible,
summary:focus-visible {
  outline-color: #e5b565;
}
@media (max-width: 950px) {
  .home-intro {
    gap: 22px;
  }
  .home-intro h1 {
    font-size: 4.2rem;
  }
  .product-feature,
  .project-preview-grid {
    gap: 32px;
  }
  .product-feature {
    padding: 32px;
  }
  .work-page .prose {
    gap: 0 32px;
  }
  .rate-comparison {
    padding: 24px;
  }
}
@media (max-width: 700px) {
  .home-intro,
  .product-feature,
  .project-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-intro {
    padding: 44px 0;
  }
  .home-intro h1 {
    font-size: clamp(3.4rem, 13vw, 5.4rem);
  }
  .field-composition {
    max-width: 480px;
    width: 100%;
    margin: auto;
    padding-bottom: 12px;
  }
  .product-feature {
    padding: 28px 24px;
  }
  .product-feature .large {
    font-size: 1.6rem;
  }
  .project-preview-grid h2 {
    font-size: 2.3rem;
  }
  .work-page .prose {
    display: block;
    padding: 44px 0;
  }
  .work-page .prose .rate-comparison {
    margin: 24px 0;
  }
  .work-page .prose h2 {
    font-size: 2.2rem;
  }
  .masthead nav {
    gap: 22px;
  }
  .section-heading h2 {
    font-size: 2rem;
  }
}
