/* resume-md site. A desk in daylight: grey-white paper, black ink, a bottle
   green for links and one marker yellow. Instrument Serif for display, Geist
   for reading, Geist Mono for what software reads. */
:root {
  --paper: #f4f4f1;
  --panel: #e9eae5;
  --ink: #111316;
  --muted: #555a60;
  --line: #d3d5ce;
  --accent: #0d5c3f;
  --marker: #ffe24a;
  --screen: #0f1412;
  --screen-ink: #c9f2d8;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(36px, 4.6vw, 56px); }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
code, pre { font-family: var(--mono); font-size: .86em; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 500 16px/1 var(--mono); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.mark { width: 14px; height: 18px; border: 2px solid var(--ink); border-radius: 2px; background: linear-gradient(var(--ink), var(--ink)) 2px 4px / 6px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 2px 8px / 6px 2px no-repeat, var(--marker); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.eyebrow { font: 500 13px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero h1 { margin-top: 18px; font-size: clamp(56px, 8vw, 112px); line-height: .92; letter-spacing: -.03em; }
.hero h1 em { display: block; font-style: italic; background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); width: fit-content; padding-right: .08em; }
.lede { margin-top: 26px; font-size: 20px; line-height: 1.5; color: #2b2f34; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-block; padding: 13px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; border: 2px solid var(--ink); }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--marker); border-color: var(--ink); color: var(--ink); }
.one-liner { margin-top: 22px; }
.one-liner code { display: inline-block; padding: 8px 12px; border: 1px dashed #9aa097; border-radius: 6px; font-size: 14px; }

.hero-art { position: relative; min-height: 560px; }
.hero-art figure { margin: 0; }
.paper { position: relative; width: 78%; transform: rotate(-1.6deg); }
.paper img { box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 30px 60px -20px rgba(20,30,25,.35); background: #fff; }
.paper a { display: block; }
.machine { position: absolute; right: 0; bottom: 56px; width: 56%; background: var(--screen); color: var(--screen-ink); border-radius: 12px; padding: 14px 16px 16px; box-shadow: 0 28px 50px -18px rgba(0,0,0,.5); transform: rotate(1.2deg); }
.machine pre { margin: 10px 0 0; font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.hero-art figcaption { font: 500 13px/1.3 var(--mono); }
.paper figcaption { margin-top: 14px; color: var(--muted); }
.machine figcaption { color: #8fb7a0; }
.tag { display: inline-block; margin-right: 6px; padding: 3px 7px; border-radius: 4px; background: var(--marker); color: var(--ink); }
.tag-dark { background: var(--screen-ink); color: var(--screen); }

/* Sections */
main > section { padding: 96px 0; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.section-lede { margin-top: 16px; max-width: 40em; font-size: 18px; color: var(--muted); }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 26px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { display: block; font: 400 64px/1 var(--display); margin-bottom: 18px; }
.steps p { margin-top: 10px; color: #33373c; }
.ask { margin: 56px 0 0; max-width: 34em; font: italic 400 clamp(26px, 3vw, 36px)/1.2 var(--display); padding-left: 24px; border-left: 6px solid var(--marker); }

.themes { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }
.themes figure { margin: 0; grid-column: span 2; }
.themes figure:nth-child(4) { grid-column: 2 / span 2; }
.themes a { display: block; }
.themes img { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 36px -16px rgba(0,0,0,.3); transition: transform .2s ease; }
.themes a:hover img { transform: translateY(-4px); }
.themes figcaption { margin-top: 16px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.themes figcaption b { display: block; font: 500 14px/1.4 var(--mono); color: var(--ink); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); color: #33373c; }
.facts b { color: var(--ink); }
.ats-shot { margin: 0; }
.ats-shot img { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 24px 48px -18px rgba(0,0,0,.3); }
.ats-shot figcaption { margin-top: 14px; font: 500 13px/1.4 var(--mono); color: var(--muted); }

.table-scroll { margin-top: 36px; overflow-x: auto; }
.examples { width: 100%; border-collapse: collapse; font-size: 15px; }
.examples th, .examples td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.examples thead th { font: 500 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--ink); }
.examples tbody th { font-weight: 600; min-width: 200px; }
.examples small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.examples td a { display: inline-block; margin: 0 10px 4px 0; font-family: var(--mono); font-size: 14px; }

.install { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.install > div { min-width: 0; }
.install pre { margin: 12px 0 0; padding: 16px; background: var(--screen); color: var(--screen-ink); border-radius: 10px; overflow-x: auto; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.note { margin-top: 20px; color: var(--muted); }

.foot { border-top: 2px solid var(--ink); padding: 36px 0 48px; font-size: 15px; color: var(--muted); }
.foot-row { display: grid; gap: 8px; }
.foot .wordmark { margin-bottom: 6px; }

/* 404 */
.lost { padding: 120px 0 140px; }
.lost h1 { margin-top: 16px; font-size: clamp(48px, 7vw, 88px); }
.lost h1 em { font-style: italic; background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); }

@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; max-width: 620px; margin: 0 auto; width: 100%; padding-bottom: 40px; }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .themes figure, .themes figure:nth-child(4) { grid-column: auto; }
  .install { grid-template-columns: 1fr; }
  .ats-shot { max-width: 460px; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 56px; }
  main > section { padding: 64px 0; }
  .nav { font-size: 14px; gap: 2px 14px; }
  .paper { width: 86%; }
  .machine { position: relative; width: 100%; bottom: auto; margin-top: -60px; transform: none; }
  .themes { grid-template-columns: 1fr; gap: 36px; }
  .themes figure { max-width: 420px; }
  .examples tbody th { min-width: 150px; }
}
