@font-face {
  font-family: Inter;
  src: url("/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --background: oklch(99.4% 0.002 165);
  --surface: oklch(100% 0 0);
  --surface-2: oklch(97.5% 0.004 165);
  --surface-hover: oklch(96.2% 0.006 165);
  --foreground: oklch(18.5% 0.012 165);
  --muted-foreground: oklch(46.8% 0.012 165);
  --subtle-foreground: oklch(60.5% 0.012 165);
  --border: oklch(20% 0.02 165 / 0.13);
  --border-strong: oklch(20% 0.02 165 / 0.24);
  --rule: oklch(20% 0.02 165 / 0.1);
  --accent: oklch(52% 0.14 162);
  --accent-hover: oklch(45% 0.14 162);
  --accent-solid: oklch(74% 0.17 162);
  --accent-solid-hover: oklch(79% 0.16 162);
  --accent-on-solid: oklch(19% 0.04 162);
  --accent-wash: oklch(74% 0.17 162 / 0.12);
  --accent-ring: oklch(60% 0.15 162 / 0.4);
  --paper: var(--background);
  --sidebar: var(--surface);
  --ink: var(--foreground);
  --muted: var(--muted-foreground);
  --body-ink: oklch(34% 0.012 165);
  --green: var(--accent);
  --green-dark: var(--accent-hover);
  --line: var(--rule);
  --white: var(--surface);
  --primary: var(--accent-solid);
  --document-paper: #fff;
  --document-ink: #25332a;
  --document-accent: #315c46;
  --document-muted: #55604f;
  --document-label: #606c63;
  --document-line: #d8ddd5;
  --document-section-line: #ccd4c9;
  --document-subtle: #687163;
  --document-contact: #5c675d;
  --document-footer: #697464;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: Inter, system-ui, sans-serif;
  --sidebar-width: 250px;
}
@media screen and (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: oklch(14.5% 0.006 165);
    --surface: oklch(19.1% 0.007 165);
    --surface-2: oklch(17.2% 0.007 165);
    --surface-hover: oklch(22.9% 0.008 165);
    --foreground: oklch(97.5% 0.004 165);
    --muted-foreground: oklch(73.5% 0.011 165);
    --body-ink: oklch(87% 0.007 165);
    --subtle-foreground: oklch(58% 0.012 165);
    --border: oklch(100% 0 0 / 0.1);
    --border-strong: oklch(100% 0 0 / 0.18);
    --rule: oklch(100% 0 0 / 0.07);
    --accent: oklch(82% 0.16 162);
    --accent-hover: oklch(88% 0.13 162);
    --accent-solid: oklch(78% 0.17 162);
    --accent-solid-hover: oklch(84.5% 0.15 162);
    --accent-on-solid: oklch(17% 0.04 162);
    --accent-wash: oklch(78% 0.17 162 / 0.14);
    --accent-ring: oklch(78% 0.17 162 / 0.45);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 38px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
::selection {
  background: var(--accent-wash);
  color: var(--ink);
}
p,
h1,
h2,
h3,
ul {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
img {
  max-width: 100%;
}
.icon {
  width: 19px;
  height: 19px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--accent-solid);
  color: var(--accent-on-solid);
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  width: var(--sidebar-width);
  height: 100dvh;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--sidebar);
  padding: 44px 30px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  z-index: 20;
}
.wordmark,
.mobile-wordmark {
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -4px;
  line-height: 1;
}
.wordmark {
  width: max-content;
}
.sidebar-identity {
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  max-width: 180px;
  line-height: 1.7;
}
.sidebar-name {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 3px;
}
.section-nav {
  margin-top: 36px;
  display: grid;
  gap: 6px;
}
.section-nav > a {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 11px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-number {
  font: 11px var(--mono);
  color: var(--muted);
}
.section-nav > a:hover,
.section-nav > a[aria-current] {
  color: var(--green);
  font-weight: 500;
}
.section-nav > a[aria-current] .nav-number {
  color: var(--green);
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-left: auto;
  background: transparent;
}
.section-nav > a[aria-current] .nav-dot {
  background: var(--green);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.location .icon {
  width: 13px;
  height: 13px;
}
.sidebar-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 21px 0 18px;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
}
.sidebar-contact:hover,
.social-links > a:hover {
  color: var(--green);
}
.social-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
}
.social-links > a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 28px;
}
.social-links .icon {
  width: 16px;
  height: 16px;
}
.page-shell {
  margin-left: var(--sidebar-width);
  padding: 0 64px;
  max-width: 1450px;
}
.topbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.document-label {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
}
.language-picker a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
}
.language-picker a[aria-current] {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.language-picker a:hover {
  color: var(--green);
  background: var(--surface-hover);
}
.action-divider {
  height: 18px;
  width: 1px;
  background: var(--line);
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.button:hover {
  background: var(--surface-hover);
}
.button-export {
  padding: 9px 15px;
  min-height: 39px;
  font-size: 12px;
}
.button-export .icon {
  width: 15px;
  height: 15px;
}
.button-primary {
  background: var(--accent-solid);
  border-color: var(--accent-solid);
  color: var(--accent-on-solid);
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.14);
}
.button-primary:hover {
  background: var(--accent-solid-hover);
  border-color: var(--accent-solid-hover);
}
.mobile-wordmark,
.mobile-nav {
  display: none;
}
.hero {
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: 56px;
  letter-spacing: -2.3px;
  line-height: 1.12;
  margin: 0;
}
.hero-role {
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 8px;
}
.resume-summary {
  max-width: 68ch;
  color: var(--body-ink);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 16px;
}
.resume-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 16px;
}
.resume-meta > span,
.resume-meta > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resume-meta > a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}
.resume-meta > a:hover {
  text-decoration-color: currentColor;
}
.resume-meta .icon {
  width: 14px;
  height: 14px;
}
.section-heading h2,
.contact-section h2 {
  font-size: 26px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.55px;
}
.content-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.experience-list {
  margin-top: 20px;
}
.experience-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.experience-row:last-child {
  padding-bottom: 0;
}
.experience-date {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  padding-top: 2px;
}
.experience-content h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.25px;
}
.company {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin-top: 3px;
}
.experience-content > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-ink);
  margin-top: 10px;
  max-width: 70ch;
}
.experience-content ul {
  padding-left: 20px;
  margin-top: 10px;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-ink);
}
.experience-content li {
  padding-left: 2px;
  margin-bottom: 6px;
}
.experience-content .role-progression {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin-top: 10px;
}
.earlier-experience {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 28px;
}
.earlier-experience > h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
}
.earlier-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  padding: 10px 0;
}
.earlier-row > span {
  font: 12px/1.75 var(--mono);
  color: var(--muted);
  padding-top: 2px;
}
.earlier-row h4 {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}
.earlier-row p {
  font-size: 14px;
  color: var(--muted);
}
.project-list {
  margin-top: 20px;
}
.project-row {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.project-row:last-child {
  padding-bottom: 0;
}
.project-row h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.25px;
}
.project-role {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 3px;
}
.project-row .description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-ink);
  max-width: 70ch;
  margin-top: 10px;
}
.project-stack {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 8px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--body-ink);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
  margin-top: 12px;
}
.text-link:hover {
  text-decoration-color: currentColor;
}
.text-link .icon {
  width: 14px;
  height: 14px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 24px;
}
.skill-group h3 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}
.skill-list {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-ink);
  margin-top: 6px;
}
.education-list {
  margin-top: 24px;
}
.education-row + .education-row {
  margin-top: 20px;
}
.education-row h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
}
.education-row p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}
.languages {
  margin-top: 22px;
  display: flex;
  gap: 16px 36px;
  flex-wrap: wrap;
}
.languages > div {
  font-size: 14px;
  display: flex;
  flex-direction: column;
}
.languages strong {
  font-weight: 500;
}
.languages span {
  font-size: 14px;
  color: var(--muted);
}
.contact-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 30px;
}
.contact-section > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-ink);
  margin-top: 12px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  color: var(--muted);
  font-size: 11px;
}
.footer > a {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.footer > a span {
  font-size: 17px;
}
.htmx-request {
  opacity: 0.7;
  cursor: progress;
}
/* The document eyebrow is retained for the separate PDF layout. */
.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--subtle-foreground);
}
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 220px;
  }
  .sidebar {
    padding: 35px 25px;
  }
  .page-shell {
    padding: 0 40px;
  }
  .experience-row,
  .earlier-row {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 960px) {
  :root {
    --sidebar-width: 190px;
  }
  .sidebar {
    padding: 31px 20px;
  }
  .sidebar-identity {
    font-size: 12px;
  }
  .section-nav > a {
    font-size: 12px;
    gap: 11px;
  }
  .page-shell {
    padding: 0 30px;
  }
  .topbar {
    min-height: 80px;
  }
  .document-label {
    font-size: 9px;
    letter-spacing: 0.2px;
  }
  .header-actions {
    gap: 12px;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -1.8px;
  }
  .experience-row,
  .earlier-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }
  .sidebar {
    display: none;
  }
  .page-shell {
    margin: 0;
    padding: 0 28px;
  }
  .topbar {
    min-height: 80px;
    gap: 12px;
  }
  .mobile-wordmark {
    display: block;
    font-size: 34px;
    letter-spacing: -3px;
  }
  .document-label {
    margin-right: auto;
    margin-left: 10px;
    font-size: 9px;
    max-width: 120px;
    line-height: 1.7;
  }
  .action-divider {
    display: none;
  }
  .mobile-nav {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--paper);
    margin: 0 -28px;
    padding: 13px 28px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .mobile-nav::-webkit-scrollbar {
    display: none;
  }
  .mobile-nav a {
    font-size: 12px;
    padding: 4px 0;
    white-space: nowrap;
    color: var(--muted);
    border-bottom: 1px solid transparent;
  }
  .mobile-nav a[aria-current] {
    color: var(--green);
    border-color: var(--green);
    font-weight: 500;
  }
  .hero {
    padding-top: 28px;
  }
  .resume-summary {
    font-size: 15px;
  }
  .content-section,
  .contact-section {
    scroll-margin-top: 62px;
  }
  .skills-grid {
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .page-shell {
    padding: 0 21px;
  }
  .topbar {
    min-height: 75px;
  }
  .document-label {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .language-picker {
    gap: 2px;
    font-size: 11px;
  }
  .language-picker a {
    width: 36px;
    height: 40px;
  }
  .button-export {
    padding: 8px 11px;
    gap: 8px;
    font-size: 11px;
  }
  .mobile-nav {
    margin: 0 -21px;
    padding: 12px 21px;
    gap: 22px;
  }
  .hero {
    padding: 26px 0;
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.3px;
  }
  .hero-role {
    font-size: 20px;
  }
  .resume-meta {
    gap: 9px 18px;
  }
  .resume-meta > a,
  .resume-meta > span {
    overflow-wrap: anywhere;
  }
  .content-section,
  .contact-section {
    padding: 30px 0;
  }
  .section-heading h2,
  .contact-section h2 {
    font-size: 22px;
  }
  .experience-row,
  .project-row {
    padding: 22px 0;
  }
  .experience-row:last-child,
  .project-row:last-child {
    padding-bottom: 0;
  }
  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .languages {
    gap: 14px 28px;
  }
  .footer {
    min-height: 80px;
    font-size: 10px;
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* The same structured content is typeset independently for an A4 document. */
.print-page {
  background: var(--surface-2);
}
.print-app {
  padding: 30px 20px 55px;
}
.print-toolbar {
  max-width: 794px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.print-toolbar > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.print-back {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.print-help {
  max-width: 794px;
  margin: 17px auto 24px;
  font-size: 11px;
  color: var(--muted);
}
.cv-paper {
  color-scheme: light;
  --green: var(--document-accent);
  --ink: var(--document-ink);
  --muted: var(--document-label);
  --line: var(--document-line);
  --body-ink: var(--document-ink);
  --cv-display: "Source Serif 4", Georgia, serif;
  width: 210mm;
  max-width: 100%;
  margin: auto;
  padding: 13mm 16mm;
  background: var(--document-paper);
  box-shadow: 0 2px 30px rgb(0 0 0 / 0.06);
  color: var(--document-ink);
  font: 9pt/1.5 var(--sans);
}
.cv-header {
  padding-bottom: 10pt;
  margin-bottom: 12pt;
  border-bottom: 1.5pt solid var(--green);
}
.cv-header .eyebrow {
  display: block;
  margin-bottom: 5pt;
  color: var(--document-label);
  font-size: 7pt;
  line-height: 1.4;
}
.cv-header h1 {
  margin: 0;
  font-family: var(--cv-display);
  font-size: 36pt;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.2pt;
}
.cv-header h1 > span {
  color: var(--green);
}
.cv-title {
  margin-top: 5pt;
  color: var(--green);
  font-size: 10.5pt;
  font-weight: 600;
  line-height: 1.4;
}
.cv-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3pt 12pt;
  margin-top: 6pt;
  color: var(--document-contact);
  font-size: 8.5pt;
  line-height: 1.35;
}
.cv-contact a {
  overflow-wrap: anywhere;
}
.cv-paper section {
  margin-top: 12pt;
}
.cv-paper section > h2 {
  margin-bottom: 8pt;
  padding-bottom: 4pt;
  border-bottom: 0.5pt solid var(--document-section-line);
  color: var(--green);
  font-family: var(--cv-display);
  font-size: 12.5pt;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.15pt;
  text-transform: none;
  break-after: avoid;
}
.cv-summary p {
  font-size: 9pt;
  line-height: 1.55;
}
.cv-job {
  margin-top: 10pt;
  break-inside: avoid;
}
.cv-job-heading {
  display: flex;
  justify-content: space-between;
  gap: 12pt;
  align-items: baseline;
  margin-bottom: 3pt;
  break-after: avoid;
}
.cv-job h3 {
  font-size: 10pt;
  font-weight: 700;
  line-height: 1.35;
}
.cv-job-heading > div > p {
  margin-top: 1pt;
  color: var(--green);
  font-size: 8.5pt;
  font-weight: 600;
  line-height: 1.4;
}
.cv-date {
  color: var(--document-subtle);
  font: 7.5pt/1.4 var(--mono);
  white-space: nowrap;
}
.cv-job > p,
.cv-job ul {
  color: var(--document-muted);
  font-size: 8.5pt;
  line-height: 1.5;
}
.cv-job > p {
  break-after: avoid;
}
.cv-job ul {
  margin-top: 3pt;
  padding-left: 12pt;
}
.cv-job li {
  padding-left: 1pt;
  orphans: 2;
  widows: 2;
}
.cv-job .cv-progression {
  margin-top: 4pt;
  color: var(--document-subtle);
  font-size: 7.5pt;
  line-height: 1.45;
}
.cv-paper .client-details {
  max-width: none;
  margin-top: 6pt;
  padding-left: 10pt;
  border-left: 0.65pt solid var(--document-line);
}
.cv-paper .client-label {
  margin-bottom: 5pt;
  color: var(--document-label);
  font-size: 8pt;
  font-weight: 500;
  line-height: 1.4;
  break-after: avoid;
}
.cv-paper .client-entry {
  break-inside: avoid;
}
.cv-paper .client-entry h4 {
  color: var(--document-ink);
  font-size: 8.5pt;
  font-weight: 550;
  line-height: 1.4;
  break-after: avoid;
}
.cv-paper .client-entry + .client-entry {
  margin-top: 5pt;
  padding-top: 4pt;
  border-color: var(--document-line);
}
.cv-paper .client-entry ul {
  margin-top: 3pt;
}
.cv-paper .client-entry li a {
  text-decoration-thickness: 0.5pt;
  text-underline-offset: 2pt;
}
.cv-earlier {
  margin-top: 11pt;
  break-inside: avoid;
}
.cv-earlier h3 {
  margin-bottom: 5pt;
  color: var(--green);
  font-size: 9pt;
  font-weight: 600;
  break-after: avoid;
}
.cv-earlier-row {
  display: flex;
  justify-content: space-between;
  gap: 12pt;
  margin: 4pt 0;
  font-size: 8.5pt;
  line-height: 1.45;
}
.cv-earlier-row > span:last-child {
  color: var(--document-subtle);
  font: 7.5pt/1.45 var(--mono);
  white-space: nowrap;
}
.cv-skills {
  break-inside: avoid;
}
.cv-skills dl {
  margin: 0;
}
.cv-skills dl > div {
  display: grid;
  grid-template-columns: 132pt minmax(0, 1fr);
  gap: 8pt;
  margin-bottom: 4pt;
  font-size: 8.5pt;
  line-height: 1.5;
  break-inside: avoid;
}
.cv-skills dt {
  font-weight: 600;
}
.cv-skills dd {
  margin: 0;
  color: var(--document-muted);
}
.cv-education,
.cv-education > div {
  break-inside: avoid;
}
.cv-education h3 {
  font-size: 9pt;
  font-weight: 600;
  line-height: 1.4;
}
.cv-education p {
  margin-top: 2pt;
  color: var(--document-muted);
  font-size: 8.5pt;
}
.cv-footer {
  margin-top: 8pt;
  padding-top: 5pt;
  border-top: 0.5pt solid var(--document-section-line);
  color: var(--document-footer);
  font-size: 8.5pt;
  line-height: 1.35;
  break-inside: avoid;
}
.cv-footer-contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6pt 12pt;
  margin: 0;
}
.cv-footer-contacts dt {
  margin-bottom: 2pt;
  color: var(--document-label);
  font-size: 7pt;
  font-weight: 500;
  line-height: 1.4;
}
.cv-footer-contacts dd {
  margin: 0;
  color: var(--document-ink);
  font-size: 8.5pt;
  line-height: 1.35;
}
.cv-footer-contacts a {
  overflow-wrap: anywhere;
  text-decoration: none;
}
@media (max-width: 480px) {
  .print-app {
    padding: 20px 12px;
  }
  .print-toolbar {
    align-items: flex-start;
    gap: 12px;
  }
  .print-toolbar > div {
    gap: 10px;
  }
  .print-toolbar .button {
    font-size: 9px;
    padding: 10px 12px;
    gap: 8px;
  }
  .print-back {
    font-size: 10px;
  }
  .print-help {
    font-size: 10px;
  }
  .cv-paper {
    padding: 9mm;
  }
  .cv-header h1 {
    font-size: 32pt;
  }
  .cv-job-heading {
    flex-wrap: wrap;
    gap: 3pt;
  }
  .cv-skills dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 1pt;
    margin-bottom: 7pt;
  }
  .cv-footer-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 8pt;
  }
  .cv-earlier-row {
    flex-wrap: wrap;
    gap: 2pt;
  }
}
@media print {
  @page {
    size: A4;
    margin: 13mm 16mm;
  }
  html,
  body {
    background: #fff !important;
    margin: 0 !important;
    color: var(--document-ink);
    scroll-behavior: auto;
  }
  body {
    font-size: 9pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-app {
    padding: 0;
  }
  .print-toolbar,
  .print-help {
    display: none !important;
  }
  .cv-paper {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  .cv-header {
    break-inside: avoid;
  }
  .cv-header h1 {
    font-size: 36pt;
  }
  .cv-job-heading,
  .cv-earlier-row {
    flex-wrap: nowrap;
  }
  .cv-skills dl > div {
    grid-template-columns: 132pt minmax(0, 1fr);
    gap: 8pt;
    margin-bottom: 4pt;
  }
  .cv-footer-contacts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cv-job:has(.client-details) {
    break-inside: auto;
  }
  a {
    color: inherit;
  }
  .sidebar,
  .topbar,
  .mobile-nav,
  .skip-link,
  .footer,
  .hero .button,
  .identity-art,
  .contact-section,
  .portfolio-note {
    display: none !important;
  }
  .page-shell {
    margin: 0;
    padding: 0;
  }
  .hero {
    padding-top: 0;
  }
  .hero h1 {
    font-size: 40pt;
    margin: 0 0 12px;
    letter-spacing: -2px;
  }
  .hero-body {
    display: block;
  }
  .hero-copy h2 {
    font-size: 20pt;
  }
  .hero-meta {
    margin-top: 20px;
  }
  .about-panel {
    padding: 20px 0;
    gap: 20px;
  }
  .content-section {
    padding: 24px 0;
  }
  .section-heading h2 {
    font-size: 20pt;
  }
  .experience-row {
    padding: 15px 0;
    break-inside: avoid;
  }
  .experience-content > p,
  .experience-content ul {
    font-size: 9pt;
  }
  .skills-grid {
    gap: 15px;
  }
  .venture-visual {
    display: none;
  }
  .venture-card {
    margin-top: 18px;
    break-inside: avoid;
  }
  .portfolio-card {
    display: block;
    break-inside: avoid;
  }
  .portfolio-grid {
    display: block;
  }
  .portfolio-card {
    margin-top: 12px;
  }
  .section-heading {
    break-after: avoid;
  }
  .education-section {
    display: block;
  }
  .education-list {
    margin-top: 18px;
  }
  .sr-only {
    display: none;
  }
}

.client-details {
  margin-top: 20px;
  max-width: 70ch;
}
.client-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.client-entry + .client-entry {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.client-entry h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.5;
  color: var(--ink);
}
.client-entry h4 a {
  color: inherit;
  text-decoration: none;
}
.client-entry h4 a:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.client-entry ul {
  margin-top: 8px;
}
.client-entry li a,
.case-section a {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.client-entry li a:hover,
.case-section a:hover {
  color: inherit;
  text-decoration-thickness: 2px;
}
.case-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 36px;
}
.case-brand {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 32px;
  line-height: 1;
}
.case-back {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.case-lock {
  margin: 0;
}
.case-lock button {
  min-height: 34px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.access-panel {
  max-width: 440px;
  margin: 72px auto 88px;
  color: var(--body-ink);
  font-size: 16px;
}
.access-panel h1 {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.7px;
  color: var(--ink);
}
.access-panel > p:not(.case-eyebrow) {
  margin-top: 16px;
}
.access-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.access-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.access-form input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
.access-form input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.access-form .button {
  width: 100%;
  margin-top: 8px;
}
.access-error {
  font-size: 14px;
  color: var(--ink);
}
.case-article,
.case-shell > .footer {
  max-width: 720px;
  margin: 0 auto;
}
.case-article {
  padding: 48px 0 40px;
  font-size: 16px;
  color: var(--body-ink);
}
.case-eyebrow {
  font: 12px/1.5 var(--mono);
  color: var(--muted);
  margin-bottom: 14px;
}
.case-intro h1 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1px;
}
.case-summary {
  font-size: 17px;
  line-height: 1.75;
  margin-top: 20px;
}
.case-print-author {
  display: none;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 26px 0 0;
}
.case-meta dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.case-meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}
.case-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.case-section h2 {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.case-section p,
.case-section ul {
  max-width: 70ch;
}
.case-section p + p {
  margin-top: 14px;
}
.case-section ul {
  margin-top: 14px;
  padding-left: 22px;
}
.case-section li {
  margin: 8px 0;
  padding-left: 2px;
}
.case-group {
  margin-top: 24px;
}
.case-group h3 {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.15px;
}
.case-group > h3 + ul {
  margin-top: 0;
}
.case-figure {
  margin: 22px 0 0;
}
.case-image-link {
  display: block;
  border-radius: 6px;
}
.case-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.case-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 480px) {
  .case-shell {
    padding: 0 21px;
  }
  .case-topbar .header-actions {
    gap: 14px;
    flex-wrap: wrap;
  }
  .case-topbar {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .access-panel {
    margin-top: 40px;
    margin-bottom: 56px;
  }
  .case-article {
    padding-top: 32px;
  }
  .case-meta {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .case-section h2 {
    font-size: 22px;
  }
}
@media print {
  @page case-study {
    size: A4;
    margin: 12mm;
    @bottom-right {
      content: counter(page) " / " counter(pages);
      font-family: Arial, Helvetica, sans-serif;
      font-size: 8pt;
      color: #55604f;
    }
  }
  .case-app {
    page: case-study;
  }
  .case-shell {
    padding: 0;
  }
  .case-article {
    max-width: none;
    padding: 0;
    font-size: 9.5pt;
    line-height: 1.4;
    color: var(--document-ink);
  }
  .case-intro {
    break-inside: avoid;
  }
  .case-intro h1 {
    font-size: 24pt;
    font-weight: 600;
    line-height: 1.2;
  }
  .case-summary {
    margin-top: 8pt;
    font-size: 9.5pt;
    line-height: 1.4;
  }
  .case-print-author {
    display: block;
    margin-top: 8pt;
    font-size: 9pt;
    color: var(--document-muted);
  }
  .case-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10pt 24pt;
    margin-top: 10pt;
  }
  .case-meta dt {
    font-size: 8pt;
  }
  .case-meta dd {
    font-size: 9pt;
  }
  .case-eyebrow {
    margin-bottom: 8pt;
    font-size: 8pt;
  }
  .case-section {
    margin-top: 9pt;
    padding-top: 5pt;
    border-color: var(--document-line);
  }
  .case-section h2 {
    margin-bottom: 6pt;
    font-size: 14pt;
    font-weight: 600;
    line-height: 1.3;
    break-after: avoid;
  }
  .case-group {
    margin-top: 8pt;
    break-inside: auto;
  }
  .case-group h3 {
    margin-bottom: 6pt;
    font-size: 11pt;
    line-height: 1.3;
    break-after: avoid;
  }
  .case-section p,
  .case-section ul {
    max-width: none;
  }
  .case-section p + p,
  .case-section ul {
    margin-top: 6pt;
  }
  .case-section ul {
    padding-left: 14pt;
  }
  .case-section li {
    margin: 3pt 0;
    padding-left: 0;
    break-inside: avoid;
  }
  #case-technology li {
    margin: 2pt 0;
    font-size: 9pt;
  }
  .case-section p,
  .case-section li {
    orphans: 2;
    widows: 2;
  }
  .case-section p {
    break-inside: avoid;
  }
  .case-figure {
    margin-top: 6pt;
    break-inside: avoid;
  }
  .case-figure img {
    width: 82%;
    margin-inline: auto;
  }
  .case-figure figcaption {
    margin-top: 4pt;
    font-size: 8.5pt;
    line-height: 1.45;
    color: var(--document-muted);
  }
  .case-section a {
    color: inherit;
    text-decoration-thickness: 0.6pt;
    text-underline-offset: 2pt;
  }
  .case-figure figcaption a {
    display: none;
  }
}
