@font-face {
  font-family: "DM Sans"; src: url("assets/fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono"; src: url("assets/fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
:root {
  --paper: #fbfbf9;
  --ink: #232821;
  --secondary: #4e554e;
  --muted: #62685f;
  --rule: #d8dcd3;
  --accent: #29478d;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
body { font-size: 1rem; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
button, summary { font: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 6vw, 2.85rem); }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.08rem; font-weight: 650; line-height: 1.35; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .19em; }
a:hover { text-decoration-color: currentColor; color: #172f73; }
:where(a, button, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:where(section, article, [id]) { scroll-margin-top: 1rem; }
.wrap { width: min(46.5rem, calc(100% - 2.5rem)); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; inset: .5rem auto auto .5rem; z-index: 1; background: white; padding: .4rem .8rem; }
.navrow, .top nav, .profiles, .footer, .section-heading, .project-links {
  display: flex; align-items: center; gap: 1rem;
}
.navrow { min-height: 3.25rem; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.identity { text-decoration: none; }
.mark { display: block; color: var(--accent); font: italic 2.1rem/.95 var(--serif); letter-spacing: -.055em; padding: 0 .22rem .25rem 0; }
.top nav { gap: 1.2rem; }
.top nav a { font-size: .9rem; color: var(--secondary); text-decoration: none; padding-block: .4rem; }
.top nav a:hover, .project h3 a:hover { text-decoration: underline; }
.profiles a, .project-links a, .section-heading a, .back, .button, .inklink, .workflow-related a, .aside-inner nav a {
  font-size: .9rem; font-weight: 550; text-decoration-color: #9aa9bf;
}
.intro { padding-block: 2rem 0; }
.intro h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(2rem, 5vw, 2.5rem); }
.role { margin-top: .25rem; font-size: 1.04rem; font-weight: 550; }
.location { display: inline-block; color: var(--muted); font-weight: 400; font-size: .91rem; }
.location::before { content: "·"; margin-inline: .4rem .55rem; }
.bio { max-width: 65ch; color: var(--secondary); margin: .85rem 0 .7rem; }
.profiles { gap: 1.05rem; flex-wrap: wrap; }
.home > section + section { margin-top: 1.85rem; }
.home section > h2, .section-heading { margin-bottom: .65rem; }
.section-heading { justify-content: space-between; align-items: baseline; }
.jobs, .project-list, .workflow-groups, .directory-entries { border-top: 1px solid var(--rule); }
.job { border-bottom: 1px solid var(--rule); }
.job summary {
  display: grid; grid-template-columns: 11.25rem 1fr auto .75rem; align-items: baseline;
  gap: .65rem; padding: .53rem .1rem; cursor: pointer; list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job summary:hover strong { color: var(--accent); }
.job summary strong { font-weight: 650; }
.position { color: var(--secondary); font-size: .94rem; }
.dates, .eyebrow { color: var(--muted); font: 500 .79rem/1.5 var(--mono); }
.disclosure { width: .38rem; height: .38rem; align-self: center; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-2px); }
.job[open] .disclosure { transform: rotate(225deg) translate(-1px, -1px); }
.job > p { color: var(--secondary); padding: .12rem 1.5rem .75rem .1rem; max-width: 68ch; }
.project {
  display: grid; grid-template-columns: 9.75rem minmax(0,1fr); align-items: center;
  column-gap: 1.3rem; padding: 1rem 0; border-bottom: 1px solid var(--rule);
}
.thumb { display: block; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.thumb img { width: 100%; }
.project h3 { font-size: 1.16rem; letter-spacing: -.025em; }
.project h3 a { color: var(--ink); text-decoration: none; }
.project p, .workflow-groups p, .entry-summary, .directory-group header p { color: var(--secondary); line-height: 1.48; }
.project p { margin: .24rem 0 .4rem; }
.project-links { flex-wrap: wrap; gap: .35rem 1rem; }
.workflow-groups > a, .automation-entry {
  display: block; color: var(--ink); text-decoration: none; padding: .75rem 0; border-bottom: 1px solid var(--rule);
}
.workflow-groups > a:hover h3, .automation-entry:hover .entry-name { color: var(--accent); text-decoration: underline; }
.workflow-groups p { margin-top: .22rem; }
.workflow-groups strong { font-weight: 650; color: var(--ink); }
.footer { justify-content: space-between; border-top: 1px solid var(--rule); padding: 1rem 0 1.4rem; margin-top: 2rem; }
.footer > span { color: var(--muted); font-size: .92rem; }
.home { padding-bottom: .25rem; }
.casetop, .directory-heading { padding: 1.6rem 0 1rem; }
.back { display: inline-block; margin-bottom: .8rem; }
.casetop .eyebrow, .directory-heading .eyebrow { margin-bottom: .28rem; }
.blue { color: var(--accent); }
.lead { color: var(--secondary); font-size: 1.07rem; line-height: 1.5; max-width: 67ch; margin-top: .55rem; }
.button { display: inline-block; margin-top: .7rem; }
.aside-inner {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline; gap: .45rem 1rem; padding-block: .75rem; border-block: 1px solid var(--rule);
}
.aside-inner .eyebrow { font: 550 .85rem/1.45 var(--sans); }
.aside-inner nav, .tags, .preset-controls { display: flex; align-items: center; gap: .25rem .85rem; flex-wrap: wrap; }
.tags { list-style: none; padding: 0; gap: .25rem .45rem; }
.tags li { font-size: .86rem; color: var(--secondary); }
.tags li:not(:last-child)::after { content: "·"; color: var(--muted); padding-left: .45rem; }
.zap-name { font-size: .94rem; font-weight: 600; }
.story { margin-top: 1.35rem; }
.story section { margin-bottom: 1.5rem; }
.story h2 { margin-bottom: .4rem; }
.story p { color: var(--secondary); line-height: 1.58; }
.story p + p { margin-top: .65rem; }
.case-image, .gallery { margin-top: .85rem; }
.case-image > img, .gallery-img { width: 100%; border: 1px solid var(--rule); border-radius: 4px; }
.case-image figcaption, .gallery figcaption { margin-top: .35rem; font-size: .86rem; color: var(--muted); }
.gallery-img { background: white; aspect-ratio: 1426/1103; overflow: hidden; }
.gallery-img img { width: 100%; height: 100%; object-fit: contain; }
.preset-controls { margin-top: .5rem; gap: .4rem; }
.preset-controls[hidden] { display: none; }
.preset-controls button { border: 1px solid var(--rule); border-radius: 3px; background: transparent; color: var(--ink); padding: .3rem .55rem; cursor: pointer; font-size: .9rem; }
.preset-controls button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.steps { padding-left: 1.35rem; }
.steps li { padding: .12rem 0 .65rem .22rem; }
.steps li::marker { font: 500 .86rem var(--mono); color: var(--muted); }
.steps h3, .decision h3 { margin-bottom: .12rem; font-size: 1.02rem; }
.decision { border-left: 2px solid var(--rule); padding-left: .85rem; margin-top: .45rem; }
.next, .workflow-related { border-top: 1px solid var(--rule); padding-top: .8rem; display: flex; align-items: baseline; gap: .3rem .95rem; flex-wrap: wrap; }
.next a { font-size: 1rem; }
.workflow-related p.eyebrow { width: 100%; }
.routing { border: 1px solid var(--rule); border-radius: 3px; padding: .8rem 1rem; margin-top: .65rem; }
.routing figcaption { display: flex; flex-wrap: wrap; gap: .2rem 1rem; align-items: baseline; justify-content: space-between; margin-bottom: .55rem; }
.routing figcaption span { color: var(--muted); font: 500 .79rem var(--mono); }
.routing dl > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; border-top: 1px solid var(--rule); padding-block: .4rem; }
.routing dd { font-weight: 600; }
.routing p { margin-top: .55rem; font-size: .94rem; }
.directory-group { margin-top: 1.15rem; }
.directory-group + .directory-group { margin-top: 1.65rem; }
.directory-group header p { margin: .3rem 0 .65rem; }
.automation-entry { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; }
.entry-name { font-weight: 650; }
.entry-summary { grid-column: 1; }
.entry-open { grid-area: 1/2/3/3; align-self: center; color: var(--accent); font-size: .88rem; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 630px) {
  .job summary { grid-template-columns: minmax(0, 1fr) auto .6rem; row-gap: 0; }
  .position { grid-column: 1; grid-row: 2; }
  .dates { grid-column: 2; grid-row: 1/3; align-self: center; }
  .disclosure { grid-column: 3; grid-row: 1/3; }
  .project { grid-template-columns: 7.25rem minmax(0,1fr); gap: .9rem; }
}
@media (max-width: 470px) {
  .wrap { width: calc(100% - 2rem); }
  .intro { padding-top: 1.45rem; }
  .top nav { gap: .85rem; }
  .location { display: block; margin-top: .12rem; }
  .location::before { content: none; }
  .job summary { column-gap: .4rem; }
  .dates { font: 400 .81rem/1.4 var(--sans); }
  .project { display: block; padding: .85rem 0; }
  .thumb { float: right; width: 4.65rem; margin: .15rem 0 .4rem .8rem; }
  .project::after { content: ""; display: block; clear: both; }
  .project h3 { font-size: 1.1rem; }
  .aside-inner { grid-template-columns: 1fr; gap: .2rem; }
  .aside-inner > .eyebrow:not(:first-child) { margin-top: .35rem; }
  .entry-open { display: none; }
  .automation-entry { grid-template-columns: 1fr; }
}
