:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #171817;
  --muted: #626865;
  --line: #d9dedb;
  --teal: #0a6f6b;
  --rust: #a94724;
  --page-max: 76rem;
  --page-gutter: 1.5rem;
  --section-gap: 4.25rem;
  --work-min: 24rem;
  --measure: 38rem;
  --intro-rhythm: 1.65rem;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(115deg, rgba(169, 71, 36, 0.045), transparent 34rem),
    linear-gradient(180deg, #fbfbf9 0%, var(--bg) 100%);
  color: var(--ink);
  font-family:
    "Source Sans 3",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.48;
}

a {
  color: inherit;
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(var(--work-min), 0.82fr);
  grid-template-areas: "intro work";
  gap: var(--section-gap);
  width: min(var(--page-max), calc(100% - (var(--page-gutter) * 2)));
  min-height: 100svh;
  margin: 0 auto;
  padding: 5rem 0;
  align-content: center;
  align-items: start;
}

.intro {
  display: grid;
  grid-area: intro;
  grid-template-columns: 11rem minmax(0, 1fr);
  column-gap: 2.35rem;
  row-gap: var(--intro-rhythm);
  align-items: start;
  min-width: 0;
}

.work-section {
  grid-area: work;
  padding-top: 1.15rem;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portrait {
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(222, 215, 204, 0.9);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(38, 31, 22, 0.1);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-heading,
.intro-body {
  min-width: 0;
}

.intro-heading {
  padding-top: 0.9rem;
}

.intro-heading .eyebrow {
  margin-bottom: 14px;
}

.intro-body {
  grid-column: 2;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

.intro h1 {
  margin: 0;
  font-size: 3.85rem;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.lede {
  max-width: 32rem;
  margin: 0;
  color: #222522;
  font-size: 1rem;
  line-height: 1.52;
  font-weight: 500;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.125rem;
  margin-top: calc(var(--intro-rhythm) * 0.75);
}

.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  color: var(--muted);
  line-height: 1;
  text-decoration: none;
}

.links a:hover {
  color: var(--rust);
}

.links svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.links .brand-icon {
  fill: currentColor;
  stroke: none;
}

.links a:focus-visible,
.work-link:focus-visible,
.inline-source:focus-visible {
  outline: 2px solid rgba(10, 111, 107, 0.55);
  outline-offset: 3px;
}

.work-section h2 {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 0.75rem;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.work-section h2::after {
  height: 1px;
  flex: 0 1 10rem;
  background: var(--line);
  content: "";
  opacity: 0.55;
}

.work-list {
  display: grid;
  gap: 0;
}

.work-list article {
  display: grid;
  row-gap: 0.45rem;
  padding: 0 0 1.25rem;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.work-list article + article {
  padding-top: 1.25rem;
}

.work-list article:first-child {
  border-top: 0;
}

.work-list strong {
  display: block;
  margin-top: 0;
  font-size: 1rem;
}

.work-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.work-link:hover {
  text-decoration: underline;
  text-decoration-color: rgba(10, 111, 107, 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

code {
  font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 0.93em;
}

.inline-source {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 1.65em;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.source-icon {
  display: inline-grid;
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
}

.source-icon img {
  display: block;
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
}

.source-icon-text {
  border-radius: 0.2em;
  background: #b31b1b;
  color: #fff;
  font-size: 0.64em;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.25rem;
  margin: 0;
}

@media (max-width: 68rem) {
  .page {
    grid-template-areas:
      "intro"
      "work";
    grid-template-columns: 1fr;
    max-width: 45rem;
    min-height: auto;
    padding: 3rem 0 4rem;
  }
}

@media (max-width: 35rem) {
  .page {
    --page-gutter: 1rem;
    gap: 2.25rem;
  }

  .intro h1 {
    font-size: 2.9rem;
  }

  .intro {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
  }

  .intro-heading {
    padding-top: 0;
  }

  .intro-body {
    grid-column: 1;
    margin-top: 1.5rem;
  }

  .portrait {
    width: 7rem;
  }

  .lede {
    font-size: 1rem;
    font-weight: 500;
  }
}
