@font-face {
  font-family: "JetBrains Mono";
  src: url("jetbrains-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("newsreader.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("newsreader-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --paper: #f5f2ec;
  --ink: #1e1b17;
  --muted: #6b665e;
  --accent: #9c5a3c; /* Reserved for release/destructive actions in Closed List. */
  --line: #e6e1d8;
  --soft: #eee9e1;
  --control-radius: 3px;
  --press-duration: 120ms;
  --serif: Newsreader, "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --space-section: 80px;
  --space-entry: 32px;
  --type-section: clamp(2rem, 3vw, 2.5rem);
  --type-entry: clamp(1.5rem, 2.2vw, 1.75rem);
  --type-label: 0.8125rem;
  --weight-heading: 500;
  --line-major: #d9d4cb;
  --code-surface: var(--ink);
  --code-text: var(--paper);
  --code-rule: transparent;
  /* Dark appearance, from Closed List's Direction B palette. Declared once here;
     the two blocks near the end of this file switch them on, for the system
     setting and for an explicit choice stored by assets/theme.js. */
  --dark-paper: #121212;
  --dark-ink: #e6e4df;
  --dark-muted: #a8a59e;
  --dark-accent: #b86b48; /* accentText in dark; the terracotta fill stays #9c5a3c. */
  --dark-line: #2e2d2a;
  --dark-soft: #201f1e;
  --dark-line-major: #4a4845;
  /* Light inverts code blocks to ink; in dark that would flip to a bright slab,
     so the block becomes the same quiet inset that inline code already uses. */
  --dark-code-surface: var(--dark-soft);
  --dark-code-text: var(--dark-ink);
  --dark-code-rule: var(--dark-line);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  scrollbar-color: var(--line-major) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.1875rem/1.55 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--ink);
}
::selection {
  background: var(--line-major);
  color: var(--ink);
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--ink);
}
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
button {
  font: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
em {
  font-weight: 400;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
strong {
  font-weight: 500;
}
p + p {
  margin-top: 1.1rem;
}
.wrap {
  width: min(1144px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  z-index: 20;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 1.625rem;
  font-weight: 400;

  letter-spacing: -0.025em;
  white-space: nowrap;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-inline-start: auto;
}
.header-controls {
  display: flex;
  align-items: center;
  flex: none;
  gap: 10px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Fixed width so swapping "Dark" for "Light" cannot shift the header. */
  min-width: 72px;
  min-height: 44px;
  border: 1px solid var(--line-major);
  border-radius: var(--control-radius);
  background: none;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: opacity var(--press-duration) ease-out;
}
.nav a {
  padding-block: 0.4rem;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  font-weight: 500;
}
.nav .nav-contact {
  margin-left: 0.5rem;
  color: var(--ink);
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line-major);
  border-radius: var(--control-radius);
  background: none;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: opacity var(--press-duration) ease-out;
}
.section-label {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 72px;

  padding: 64px 0 48px;
}
.hero h1 {
  margin: 0 0 28px;
  font: clamp(3.6rem, 6.1vw, 5rem) / 1.03 var(--serif);
  letter-spacing: -0.02em;
}
.hero-copy {
  max-width: 540px;
  font-size: 1.3125rem;
  line-height: 1.5;

  color: var(--ink);
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: var(--control-radius);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.5;
  transition:
    background var(--press-duration) ease-out,
    border-color var(--press-duration) ease-out,
    opacity var(--press-duration) ease-out;
  font-weight: 400;
}
.button:hover {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--paper);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  text-decoration: underline;
  font-weight: 400;
  color: var(--ink);
  min-height: 44px;
}
.text-link span {
  text-decoration: none;
}
.portrait-frame {
  overflow: hidden;
  background: var(--soft);
  border-radius: var(--control-radius);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 25%;
}
.portrait-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.experience-strip {
  display: flex;
  align-items: baseline;
  gap: 52px;

  padding: 24px 0 36px;

  border-top: 0;
}
.experience-strip .section-label {
  flex: none;
}
.employers {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 400;
}
.section {
  padding: var(--space-section) 0;

  border-top: 1px solid var(--line-major);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;

  margin-bottom: var(--space-entry);
}
.section-heading h2,
.section-intro h2,
.about-strip > h2 {
  font: var(--weight-heading) var(--type-section)/1.12 var(--serif);

  letter-spacing: -0.02em;
}
.selected-projects {
  display: grid;

  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: start;

  gap: 48px;
}
.project-image {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 380px;
  overflow: hidden;
  text-decoration: none;
}
.project-image-app {
  background: var(--paper);

  gap: 32px;
  padding: 24px;
  border-block: 1px solid var(--line);
}
.project-image-app img {
  height: auto;

  width: min(152px, calc((100% - 32px) / 2));
  border-radius: 20px;
}
.project-image-tool {
  background: var(--paper);

  padding: 28px;
  height: auto;
  min-height: 284px;
  overflow: visible;
  border-block: 1px solid var(--line);
}
.tool-sheet {
  width: 100%;
  max-width: 300px;

  padding: 0;

  background: none;

  box-shadow: none;
}
.tool-sheet-label {
  font: 400 0.875rem/1.5 var(--serif);

  color: var(--ink);
}
.workflow-outline {
  list-style: none;
  counter-reset: workflow;
  padding: 12px 0 0;
  margin: 0;
}
.workflow-outline li {
  counter-increment: workflow;
  display: flex;
  align-items: baseline;
  gap: 22px;

  padding: 8px 0;

  font: 1.25rem/1.5 var(--serif);
  border-bottom: 1px solid var(--line);
}
.workflow-outline li::before {
  content: counter(workflow, decimal-leading-zero);

  font: 0.75rem/1.5 var(--serif);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.workflow-outline li:last-child {
  color: var(--ink);
}
.tool-sheet-footer {
  display: block;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}
.tool-sheet.skills-overview {
  padding: 0;
  max-width: 320px;
}
.skills-overview-list {
  margin: 0;
}
.skills-overview-list > div + div {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.skills-overview-list dt {
  margin-bottom: 8px;
  font: 500 1.375rem/1.2 var(--serif);
  color: var(--ink);
}
.skills-overview-list dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
}
.project-title {
  display: flex;

  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;

  gap: 8px;

  margin: 24px 0 8px;
}
.project-title h3 {
  font: var(--weight-heading) var(--type-entry)/1.2 var(--serif);

  letter-spacing: -0.025em;
}
.project-title h3 a {
  text-decoration: none;
}
.project-type {
  font-size: 0.8125rem;

  color: var(--ink);
  padding-top: 4px;
}
.project-teaser > p {
  font-size: 1.1875rem;

  color: var(--muted);
  max-width: 450px;
}
.project-index {
  margin-top: 40px;

  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.project-index p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 1.0625rem;
}
.project-index p + p {
  margin-top: 10px;
}
.project-index p > span {
  width: 100px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8125rem;
}
.expertise-section {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);

  gap: 64px;
  background: var(--paper);
  color: var(--ink);
  padding: 56px 0;
  border-top: 1px solid var(--line-major);
  margin-bottom: var(--space-section);
}
.section-intro p {
  color: var(--muted);
  margin: 18px 0 20px;
}
.expertise-list article {
  display: grid;

  grid-template-columns: 1fr;

  gap: 10px;

  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.expertise-list article:first-child {
  border-top: 0;
  padding-top: 0;
}
.expertise-list article:last-child {
  padding-bottom: 0;
}
.expertise-list h3 {
  font-size: var(--type-entry);

  line-height: 1.3;
  font-weight: var(--weight-heading);
}
.expertise-list h3 a {
  text-decoration: none;
}
.expertise-list p {
  color: var(--muted);
}
.index-number {
  display: block;
  margin-bottom: 15px;
  color: var(--muted);
  font:
    0.8125rem/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}
.developer-tools .feature + .feature {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.feature-art {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 34px;
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.diagram-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.workflow-step {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line-major);
}
.workflow-step small {
  color: var(--muted);
  font:
    0.8125rem/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.workflow-step span {
  font-size: 1.125rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.workflow-step:last-child {
  color: var(--ink);
}
#ddskills .feature-art {
  order: -1;
}
.skill-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding-left: 1.125rem;
}
.skill-list li {
  padding: 12px 0 12px 4px;
}
.skill-list li + li {
  border-top: 1px solid var(--line);
}
.skill-list li::marker {
  color: var(--muted);
}
.skill-list a {
  font-size: 1rem;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.skill-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.feature-copy h3 {
  font: var(--weight-heading) var(--type-entry)/1.2 var(--serif);
  letter-spacing: -0.02em;

  margin: 0 0 12px;
}
.feature-copy p:not(.entry-meta) {
  color: var(--muted);
  margin-bottom: 22px;
}
.external {
  color: var(--ink);
}
.private-tool {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 50px;
  padding-top: 30px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.private-tool h3 {
  font: var(--weight-heading) var(--type-entry)/1.2 var(--serif);

  margin-top: 0;
}
.private-tool p:not(.entry-meta) {
  color: var(--muted);
}
.private-tool .text-link {
  margin-top: 16px;
}
.product-status {
  display: inline-block;

  font-size: 0.8125rem;

  color: var(--ink);
  margin-top: 12px;
}
.writing-list {
  border-top: 0;
}
.writing-row {
  display: grid;

  grid-template-columns: minmax(0, 1fr) 20px;
  align-items: start;

  gap: 20px;

  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.writing-meta {
  font-size: 0.8125rem;
  color: var(--muted);

  padding-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}
.writing-meta span {
  display: block;
}
.writing-meta span + span {
  margin-top: 0;
}
.writing-row :is(h2, h3) {
  font: var(--weight-heading) var(--type-entry)/1.2 var(--serif);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.writing-row p {
  margin-top: 8px;

  color: var(--muted);
  font-size: 1.1875rem;
  max-width: 60ch;
}
.writing-row > .external {
  padding-top: 4px;
}
.draft-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.7fr;

  gap: 64px;
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.about-strip p {
  font-size: 1.1875rem;
  color: var(--muted);
}
.about-strip .actions {
  margin-top: 20px;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  border-top: 1px solid var(--ink);

  padding: 64px 0;

  margin-top: 40px;
}
.contact h2 {
  font: 3.3rem/1.08 var(--serif);
  letter-spacing: -0.03em;
}
.contact p {
  max-width: 400px;
  color: var(--muted);
  font-size: 1.1875rem;
}
.contact-link {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  color: var(--ink);
  margin-top: 22px;
  font-size: 1rem;
}
.contact-compact {
  border-top-width: 1px;
  padding: 32px 0;
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-top-color: var(--line-major);
}
.contact-compact h2 {
  font: var(--weight-heading) var(--type-entry)/1.25 var(--serif);
  letter-spacing: 0;
}
.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-name {
  color: var(--ink);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  text-decoration: none;
}
.preview-note {
  padding: 0 0 22px;
  font-size: 0.75rem;
  color: var(--muted);
}
.page-heading {
  padding: 64px 0 56px;
  max-width: 880px;
}
.page-heading h1 {
  font: clamp(3rem, 5.4vw, 4.25rem) / 1.06 var(--serif);
  letter-spacing: -0.03em;

  margin: 0 0 24px;
}
.page-heading h1 em {
  color: inherit;
}
.page-lede {
  max-width: 680px;
  font-size: 1.3125rem;
  line-height: 1.5;
  color: var(--muted);
}
.page-work .page-heading + .section {
  border-top: 1px solid var(--line-major);

  padding-top: 40px;
  padding: 48px 0;
}
.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.7fr);
  gap: 70px;

  border-top: 1px solid var(--line-major);

  padding: 48px 0;
}
.offer h2 {
  font: var(--weight-heading) var(--type-section)/1.15 var(--serif);

  letter-spacing: -0.025em;

  margin-top: 0;
}
.offer-body > p {
  color: var(--ink);
  max-width: 700px;
  font-size: 1.1875rem;
}
.offer-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;

  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.offer-details h3 {
  font: 500 var(--type-label)/1.6 var(--mono);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.offer-details p,
.offer-details ul {
  color: var(--muted);
}
.offer-details ul {
  margin: 0;
  padding-left: 1.1rem;
}
.offer-details li + li {
  margin-top: 0.5rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-left: 0;
  margin: 30px 0 0;
}
.steps li {
  list-style: none;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.steps strong {
  display: block;

  font-weight: 500;
  font-size: 1.3125rem;
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
}
.faq {
  max-width: 830px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-size: 1.3125rem;
  padding-right: 12px;
  font-weight: 500;
}
details p {
  color: var(--muted);
  margin: 15px 0 4px;
  max-width: 720px;
}
.quiet-panel {
  padding: 22px 26px;

  border-left: 0;
  background: var(--paper);
  margin-top: 30px;
  border-block: 1px solid var(--line-major);
}
.quiet-panel h3 {
  font: 1.5rem/1.2 var(--serif);
  margin-bottom: 10px;
}
.quiet-panel p {
  color: var(--muted);
}
.work-context {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
}
.work-context h2 {
  font: var(--weight-heading) var(--type-section)/1.15 var(--serif);
  letter-spacing: -0.02em;
}
.work-context p {
  color: var(--muted);
}
.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 90px;
}
.about-body > aside {
  grid-column: 2;
  grid-row: 1;
}
.about-body > .prose {
  grid-column: 1;
  grid-row: 1;
}
.about-facts {
  margin: 25px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.0625rem;
}
.about-facts dt {
  color: var(--ink);
  margin-bottom: 5px;
  font-weight: 500;
}
.about-facts dd {
  margin: 0 0 20px;
}
.prose {
  max-width: 690px;
  font-size: 1.25rem;
  line-height: 1.65;
}
.prose p,
.prose ul,
.prose ol {
  color: var(--ink);
}
.prose h2 {
  font: var(--weight-heading) 2rem/1.2 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);

  margin: 56px 0 16px;
}
.prose h3 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
  font-weight: 500;
  line-height: 1.3;
}
.prose ul,
.prose ol {
  padding-left: 1.3rem;
}
.prose li + li {
  margin-top: 10px;
}
.prose blockquote {
  margin: 30px 0;
  padding: 0 0 0 24px;

  border-left: 1px solid var(--ink);
  color: var(--ink);
  font: 1.65rem/1.4 var(--serif);
}
.prose code {
  background: var(--soft);
  padding: 0.12em 0.3em;
  font-size: 0.75em;
}
.prose pre {
  overflow-x: auto;
  padding: 24px;
  background: var(--code-surface);
  color: var(--code-text);
  box-shadow: inset 0 0 0 1px var(--code-rule);
  font-size: 0.875rem;
  line-height: 1.75;
}
.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}
.article-shell {
  width: min(720px, calc(100% - 96px));
  margin-inline: auto;
}
.article-heading {
  padding: 56px 0 32px;
}
.back-link {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.article-heading h1 {
  font: clamp(2.6rem, 5vw, 3.7rem) / 1.1 var(--serif);
  letter-spacing: -0.025em;
  margin: 30px 0 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-bottom: 22px;
  margin-top: 25px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.article-status {
  color: var(--ink);
}
.article-figure {
  padding: 26px;
  background: var(--paper);
  margin: 24px 0 32px;
  border-block: 1px solid var(--line-major);
}
.article-figure figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.65;
}
.article-footer {
  padding-top: 24px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}
.article-footer p {
  font-size: 1.125rem;
}
.page-resume .page-heading {
  max-width: none;
}
.resume-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
}
.resume-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex-shrink: 0;
  margin-top: 24px;
}
.resume-print {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.resume-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 24px;
  font-size: 0.9375rem;
  font-style: normal;
  overflow-wrap: anywhere;
}
.resume-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.resume-content {
  min-width: 0;
  max-width: 68ch;
}
.resume-skills {
  display: grid;
  gap: 24px 32px;
  max-width: 72ch;
  margin: 0;
}
.resume-skills dt {
  margin-bottom: 6px;
  font: 500 var(--type-label)/1.6 var(--mono);
}
.resume-skills dd {
  margin: 0;
  color: var(--muted);
}
.resume-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 60px;
  border-top: 1px solid var(--line-major);
  padding: 48px 0;
  align-items: start;
}
.resume-section h2 {
  font: 500 var(--type-label)/1.6 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.075em;
  padding-top: 6px;
}
.resume-role + .resume-role {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.resume-role h3 {
  font-size: var(--type-entry);
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 500;
}
.resume-role p {
  color: var(--ink);
}
.resume-role .resume-company {
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 6px;
  font-size: 1.1875rem;
}
.resume-role .role-meta {
  color: var(--muted);
  font-size: var(--type-label);
  margin: 0 0 16px;
}
.resume-achievements {
  margin: 20px 0 0;
  padding-left: 1.25rem;
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.125rem;
}
.resume-achievements li + li {
  margin-top: 12px;
}
.resume-consent {
  max-width: 90ch;
  margin: 24px 0 48px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}
.inline-notice {
  padding-left: 18px;

  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.0625rem;
  margin: 24px 0 0;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .nav {
    gap: 1.1rem;
  }
  .nav .nav-contact {
    margin-left: 0;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 40px;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 5.4vw, 3.9rem);
  }
  .hero-copy {
    font-size: 1.1875rem;
  }
  .selected-projects {
    gap: 30px;
  }
  .project-title {
    display: block;
  }
  .project-type {
    display: block;
    margin-top: 8px;
  }
  .expertise-section,
  .about-strip {
    grid-template-columns: 1fr 1.6fr;

  gap: 40px;
  }
  .expertise-list article {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .feature {
    gap: 32px;
  }
  .about-body {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 45px;
  }
  .offer {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }
  .contact {
    gap: 45px;
  }
}
@media (max-width: 960px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 84px;
    gap: 0;
  }
  .wordmark {
    display: flex;
    align-items: center;
    min-height: 84px;
    white-space: normal;
  }
  .js .menu-toggle {
    display: block;
  }
  .header-controls {
    grid-column: 2;
    grid-row: 1;
  }
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding: 12px 0 20px;
    border-top: 1px solid var(--line);
    margin-inline-start: 0;
  }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 0.875rem;
    white-space: normal;
  }
  .menu-toggle {
    min-width: 68px;
    min-height: 44px;
  }
  .js .nav:not(.is-open) {
    display: none;
  }
}
@media (max-width: 800px) {
  #ddskills .feature-art {
    order: 0;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 32px;
    padding-top: 50px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 3rem);
  }
  .hero-copy {
    font-size: 1.1875rem;
  }
  .experience-strip {
    gap: 24px;
  }
  .employers {
    gap: 12px 26px;
  }
  .selected-projects {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .project-image {
    height: 320px;
  }
  .project-image-app img {
    width: min(129px, calc((100% - 24px) / 2));
  }
  .project-image-tool {
    padding: 20px;
  height: auto;
}
  .tool-sheet {
    padding: 20px;
  }
  .tool-sheet-label {
    font-size: 0.75rem;
  }
  .workflow-outline li {
    font-size: 1.25rem;
  }
  .writing-row {
  grid-template-columns: minmax(0, 1fr) 20px;
    gap: 24px;
  }
  .offer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-context {
    gap: 40px;
  }
  .about-body {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 30px;
  }
  .resume-section {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 35px;
  }
}
@media (max-width: 700px) {
  h1,
  h2,
  h3 {
    overflow-wrap: anywhere;
  }
  .wrap,
  .article-shell {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 72px;
  }
  .header-controls {
    gap: 8px;
  }
  .theme-toggle {
    padding-inline: 0.6rem;
  }
  .wordmark {
    min-height: 72px;
  }
  .nav {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .hero-intro {
    display: contents;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
    line-height: 1.08;
    margin: 0;
    text-wrap: balance;
  }
  .hero-copy {
    font-size: 1.1875rem;
    line-height: 1.7;
  }
  .hero-aside {
    grid-row: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-self: start;
  }
  .hero .portrait-frame {
    flex: 0 0 64px;
    width: 64px;
    height: 72px;
  }
  .hero .portrait-frame img {
    height: 100%;
    aspect-ratio: auto;
    object-position: 50% 15%;
  }
  .hero .portrait-caption {
    display: grid;
    gap: 3px;
    margin-top: 0;
    font-size: 0.8125rem;
  }
  .hero .portrait-caption span:first-child {
    color: var(--ink);
  }
  .actions {
    gap: 12px 20px;
    margin-top: 24px;
  }
  .text-link {
    min-height: 44px;
    align-items: center;
  }
  .hero .actions {
    grid-row: 4;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 12px 16px;
    margin-top: 0;
  }
  .hero .button {
    padding-inline: 14px;
  }
  .hero .actions .text-link {
    min-height: 48px;
    justify-content: center;
  }
  .experience-strip {
    display: block;
    padding: 20px 0;
  }
  .employers {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 20px;
  }
  .section {
    padding: 36px 0;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
  }

  .selected-projects {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .project-image {
    height: 280px;
  }
  .project-image-app {
    padding: 20px;
    gap: 20px;
  }
  .project-image-app img {
    width: min(110px, calc((100% - 20px) / 2));
    border-radius: 16px;
  }
  .project-image-tool {
    height: auto;
    min-height: 220px;
    padding: 20px;
  }
  .tool-sheet {
    max-width: none;
    padding: 18px;
  }
  .workflow-outline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
    gap: 8px 16px;
    padding-top: 16px;
  }
  .workflow-outline li {
    gap: 8px;
    font-size: 1.125rem;
  }
  .project-title {
    margin-top: 20px;
  }

  .project-index p {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: 0 20px;
  }
  .project-index p > span {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }
  .project-index a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .project-index p + p {
    margin-top: 18px;
  }
  .expertise-section,
  .about-strip,
  .work-context {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section-intro p {
    margin: 14px 0;
  }
  .expertise-list article {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .feature-art {
    padding: 20px;
    gap: 20px;
  }
  .diagram-top {
    flex-direction: column;
    gap: 4px;
  }
  .workflow {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr));
    gap: 0 16px;
  }
  .workflow-step {
    gap: 8px;
  }

  .developer-tools .workflow {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  }
  .private-tool {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .writing-row {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 24px 0;
  }
  .writing-meta {
  grid-column: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 0;
  margin-top: 12px;
}
  .writing-meta span + span {
    margin-top: 0;
  }
  .writing-row :is(h2, h3) {
    font-size: var(--type-entry);
    line-height: 1.3;
  }
  .writing-row p {
    font-size: 1.125rem;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 38px 0;
    margin-top: 12px;
  }
  .contact:not(.contact-compact) h2 {
    font-size: 2.3rem;
  }
  .contact-compact {
    display: block;
    margin-top: 40px;
    padding: 25px 0;
  }

  .contact-compact .text-link {
    margin-top: 12px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 0.875rem;
  }
  .footer-links {
    gap: 28px;
  }
  .footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .page-heading {
    padding: 32px 0;
  }
  .page-heading h1 {
    font-size: clamp(2.25rem, 9.5vw, 3rem);
    line-height: 1.1;

  margin: 0 0 20px;
  }
  .page-lede {
    font-size: 1.1875rem;
    line-height: 1.7;
  }
  .offer {
    padding: 30px 0;
  }

  .offer-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 16px;
    padding-top: 20px;
  }
  .steps .index-number {
    grid-row: 1 / 3;
    margin: 0;
  }
  .steps strong {
    margin: 0;
  }
  .steps p {
    grid-column: 2;
    font-size: 1rem;
  }
  .about-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-body > aside {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: start;
  }
  .about-body > aside > figure {
    flex: 0 0 104px;
  }
  .about-body > .prose {
    grid-column: 1;
    grid-row: 2;
  }
  .about-facts {
    flex: 1 1 9rem;
    border-top: 0;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.55;
  }
  .about-facts dd {
    margin-bottom: 16px;
  }
  .prose {
    font-size: 1.1875rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
  .prose h2 {
    font-size: 1.75rem;
    margin-top: 44px;
  }
  .prose h3 {
    font-size: 1.375rem;
  }
  .article-heading {
    padding-top: 32px;
  }
  .article-heading h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.14;
    text-wrap: initial;
    margin-top: 24px;
  }
  .article-figure {
    padding: 20px;
  }
  .article-figure .workflow {
    gap: 0 16px;
  }
  .article-figure .workflow-step {
    gap: 8px;
  }
  .article-figure .workflow-step span {
    font-size: 1rem;
  }
  .resume-head {
    flex-direction: column;
    gap: 20px;
  }
  .resume-actions {
    margin-top: 0;
  }
  .resume-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Major sections lead; entries and metadata have separate, quieter roles. */
.entry-meta,
.page-context {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--ink);
}
.feature-copy .entry-meta,
.private-tool .entry-meta {
  color: var(--ink);
  margin: 0 0 16px;
  font-size: 0.875rem;
}
.home-writing {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding-top: 0;
  border-top: 0;
}
.home-writing .section-heading {
  display: block;
  margin: 0;
}
.home-writing .section-heading .text-link {
  margin-top: 20px;
}
.writing-row:first-child {
  padding-top: 0;
}
.writing-meta span:last-child {
  color: var(--ink);
}
.writing-row:hover :is(h2, h3) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.page-writing .writing-list {
  max-width: 850px;
  border-top: 1px solid var(--line-major);
  padding-top: 32px;
}
.catalogue-heading {
  margin: 0 0 24px;
  font: 400 0.75rem/1.5 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.catalogue-heading-later {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.1em;
}
.text-link .arrow,
.contact-link .arrow {
  align-self: center;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 1000px) {
  .expertise-section {
    padding: 40px 0;
    gap: 40px;
  }
  .home-writing {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .expertise-section {
    padding: 32px 0;
    margin-bottom: 48px;
  }
  .home-writing {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
  }
  .home-writing .section-heading {
    display: flex;
  }
  .home-writing .section-heading .text-link {
    margin-top: 0;
  }
  .about-strip {
    padding: 32px 0;
    gap: 16px;
  }
  .page-work .page-heading + .section {
    padding-top: 32px;
  }
  .catalogue-heading-later {
    margin-top: 32px;
    padding-top: 24px;
  }
}


/* App showcases: paired evidence, one product at a time. */
.product-grid,
.upcoming-products {
  display: grid;
  gap: 40px;
}
.product-card,
.upcoming-product {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.product-card:last-child,
.upcoming-product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.product-gallery {
  --gallery-surface: var(--paper);
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 24px;
  min-width: 0;
  padding: 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line-major) var(--gallery-surface);
  background: var(--gallery-surface);
  grid-column: 1;
  grid-row: 1;
}
.product-gallery.store-gallery {
  justify-content: flex-start;
  scroll-padding-inline: 32px;
}
.product-gallery:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.product-shot {
  flex: 0 0 calc((100% - 24px) / 2);
  max-width: 210px;
  min-width: 0;
  scroll-snap-align: start;
}
.product-shot a {
  display: block;
  border-radius: 16px;
}
.product-shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.product-shot figcaption {
  margin-top: 16px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}
.product-caption {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  padding-top: 32px;
}
.product-caption h4 {
  margin: 0 0 8px;
  font: var(--weight-heading) var(--type-entry)/1.2 var(--serif);
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.product-caption p {
  max-width: 36ch;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--muted);
}
.product-role {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
/* Closed List: serif reading, mono interface, ink actions. */
.nav,
.menu-toggle,
.theme-toggle,
.section-label,
.button,
.text-link,
.contact-link,
.portrait-caption,
.project-type,
.project-index p > span,
.tool-sheet-label,
.tool-sheet-footer,
.diagram-top,
.index-number,
.workflow-outline li::before,
.workflow-step small,
.product-status,
.product-role,
.product-shot figcaption,
.writing-meta,
.entry-meta,
.page-context,
.article-meta,
.article-figure figcaption,
.back-link,
.role-meta,
.resume-print,
.resume-contact,
.about-facts dt,
.site-footer,
.preview-note,
.prose code,
.prose pre {
  font-family: var(--mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.about-facts dt,
.resume-contact,
.contact-link {
  font-size: 0.875rem;
}
.entry-meta,
.page-context,
.feature-copy .entry-meta,
.private-tool .entry-meta,
.product-status,
.project-type,
.writing-meta span:last-child,
.article-status {
  color: var(--muted);
}
.button:active,
.menu-toggle:active,
.theme-toggle:active {
  opacity: 0.62;
}
.project-image:focus-visible {
  outline-offset: 5px;
}
.store-gallery .product-shot :is(a, img) {
  border-radius: var(--control-radius);
}
@media (max-width: 900px) {
  .product-card,
  .upcoming-product {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product-caption p {
    max-width: 60ch;
  }
}
@media (max-width: 700px) {
  .product-gallery,
  .product-gallery.store-gallery {
    gap: 16px;
    padding: 24px;
    scroll-padding-inline: 24px;
  }
  .product-shot {
    flex-basis: clamp(176px, 60vw, 220px);
    max-width: none;
  }

  .product-caption p {
    font-size: 1.125rem;
  }
}

@media (max-width: 560px) {
  .product-gallery {
    justify-content: flex-start;
  }
}

/* Reading hierarchy: titles lead; metadata aligns into a quiet rail. */
.nav a:hover {
  color: var(--ink);
}
.writing-entry {
  min-width: 0;
}
.resume-location {
  display: block;
  margin-top: 8px;
  font: 400 var(--type-label)/1.6 var(--mono);
  color: var(--muted);
}
.resume-achievements strong {
  font-weight: 500;
}
.resume-achievements li::marker {
  color: var(--muted);
}
@media (min-width: 1001px) {
  .writing-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 10rem;
    column-gap: 32px;
  }
  .writing-entry > :is(h2, h3, p) {
    grid-column: 1;
  }
  .writing-meta {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    flex-direction: column;
    gap: 4px;
    margin-top: 3px;
  }
  .resume-skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (min-width: 701px) {
  .resume-section > h2 {
    position: sticky;
    top: 24px;
  }
}
@media (max-width: 900px) {
  .product-caption {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
  }
  .product-gallery {
    grid-column: 1;
    grid-row: 2;
  }
}
@media (max-width: 700px) {
  .resume-section {
    gap: 24px;
    padding: 32px 0;
  }
  .resume-section h2 {
    padding-top: 0;
  }
  .resume-role + .resume-role {
    margin-top: 36px;
    padding-top: 24px;
  }
}

/* Shared tracks keep captions aligned even when artwork or labels wrap. */
@media (min-width: 701px) {
  .selected-projects {
    grid-template-rows: auto auto auto;
    row-gap: 0;
    align-items: stretch;
  }
  .selected-projects > .project-teaser {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }
  .selected-projects .project-image {
    height: auto;
    min-height: 380px;
  }
  .selected-projects .project-title {
    align-self: start;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .selected-projects .project-image {
    min-height: 320px;
  }
}
.product-caption .store-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  font: 400 0.875rem/1.5 var(--mono);
  color: var(--ink);
  text-decoration: underline;
}

/* Dark appearance. Both blocks are screen only, so the résumé keeps printing on
   paper even while the page is held in dark. */
@media screen and (prefers-color-scheme: dark) {
  /* System dark, unless this browser stored an explicit light choice. */
  :root:not([data-theme="light"]) {
    --paper: var(--dark-paper);
    --ink: var(--dark-ink);
    --muted: var(--dark-muted);
    --accent: var(--dark-accent);
    --line: var(--dark-line);
    --soft: var(--dark-soft);
    --line-major: var(--dark-line-major);
    --code-surface: var(--dark-code-surface);
    --code-text: var(--dark-code-text);
    --code-rule: var(--dark-code-rule);
  }
}
@media screen {
  /* An explicit choice, stored by assets/theme.js, wins over the system. */
  :root[data-theme="light"] {
    color-scheme: light;
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --paper: var(--dark-paper);
    --ink: var(--dark-ink);
    --muted: var(--dark-muted);
    --accent: var(--dark-accent);
    --line: var(--dark-line);
    --soft: var(--dark-soft);
    --line-major: var(--dark-line-major);
    --code-surface: var(--dark-code-surface);
    --code-text: var(--dark-code-text);
    --code-rule: var(--dark-code-rule);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  :root {
    color-scheme: light;
  }
  body {
    background: #fff;
    color: #000;
  }
  .wrap,
  .article-shell {
    width: 100%;
    max-width: none;
  }
  .site-header,
  .contact,
  .site-footer,
  .preview-note,
  .skip-link,
  .resume-actions,
  .theme-toggle,
  [data-print] {
    display: none;
  }
  .page-heading {
    padding: 0 0 20px;
  }
  .page-heading h1 {
    font-size: 34pt;
  }
  .resume-section {
    grid-template-columns: 150px 1fr;
    gap: 25px;
    padding: 18px 0;
    break-inside: auto;
  }
  .resume-section h2 {
    break-after: avoid;
  }
  .resume-role {
    break-inside: avoid;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
}
