:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #212121;
  --text: #aeb5b0;
  --muted: #859688;
  --heading: #d7dcd8;
  --accent: #ff7a4c;
  --border: #303632;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 "Open Sans", Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .2em; }
a:hover { color: #ffac90; text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.site-shell { max-width: 1180px; margin: 30px auto; }
.site-header { background: var(--panel); padding: 30px 40px 27px; }
.brand { display: inline-block; color: var(--accent); font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand span { display: block; margin-top: 10px; color: #a5afa7; font: 400 15px/1.5 "Open Sans", Arial, sans-serif; letter-spacing: 0; }
nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 26px; row-gap: 10px; margin-top: 28px; }
nav a { color: #c0c7c2; font-size: .9rem; }
nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
nav .linkedin { margin-left: auto; }
main { padding: 40px 40px 60px; min-height: 460px; }
h1 { margin: 0 0 30px; padding-bottom: 13px; border-bottom: 1px solid #626e65; font-size: 1.7rem; line-height: 1.3; font-weight: 600; color: var(--heading); }
h2 { font-size: 1.22rem; line-height: 1.4; font-weight: 600; color: var(--heading); margin: 0 0 14px; }
h3 { font-size: 1.08rem; line-height: 1.5; font-weight: 600; color: var(--heading); margin: 0 0 9px; }
p { margin: 0 0 19px; }
strong { font-weight: 650; }
em { color: #a6b1a8; }
img { max-width: 100%; height: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
.home .alignleft { float: left; width: 300px; height: auto; margin: 0 34px 22px 0; }
.home .entry-content { font-size: 1.05rem; }
.home .entry-content > div:first-child { margin-bottom: 27px !important; }
.link-block { display: flex !important; align-items: center; gap: 28px; flex-wrap: wrap; }
.file-icon { display: inline-block; margin-right: .25em; font-size: .9em; }
.link-block2 { margin: 0 0 22px; text-align: right; }
.archive-note { font-size: .88rem; color: #9caaa0; padding: 12px 16px; margin-top: -10px; margin-bottom: 30px; border-left: 2px solid #55685a; background: #131713; }
.box-row { display: flex; padding: 25px 0; border-bottom: 1px solid var(--border); }
.box-row:first-of-type { padding-top: 0; }
.left-side-box { width: 27%; padding-right: 28px; }
.right-side-box { width: 73%; min-width: 0; }
.right-side-box h3:not(:first-child) { margin-top: 25px; }
.dates { font-size: .9rem; color: var(--muted); margin-bottom: 11px; }
.thin-font { font-weight: 400; }
.cv-100 { display: flex; flex-wrap: wrap; width: 100%; padding: 23px 0; border-bottom: 1px solid var(--border); }
.cv-100 > h2, .cv-100 > p { width: 100%; }
.cv-100 > p:last-child { margin-bottom: 0; }
.cv-box { min-width: 0; }
.cv-box > h3:last-child, .cv-box > p:last-child { margin-bottom: 0; }
.cv-20 { width: 20%; }
.cv-30 { width: 30%; }
.cv-33 { width: 33.333%; }
.cv-40 { width: 40%; }
.cv-50 { width: 50%; }
.cv-60 { width: 60%; }
.cv-66 { width: 66.666%; }
.cv-80 { width: 80%; }
.cv-100 > .cv-box { padding-right: 28px; }
.cv-100 > .cv-box:last-child { padding-right: 0; }
.cv-box a { overflow-wrap: anywhere; }
.cv-50 em { display: block; font-size: .92rem; margin-top: 9px; }
.entry-content > h2 { margin-top: 35px; }
.entry-content > h2:first-child { margin-top: 0; }
.unavailable { color: #89948c; font-size: .88em; }
ul { padding-left: 1.4em; margin: 0 0 20px; }
ul ul { margin-bottom: 0; }
footer { display: flex; justify-content: space-between; gap: 18px; margin: 0 40px; border-top: 1px solid var(--border); padding: 22px 0; font-size: .8rem; color: var(--muted); }
.skip-link { position: absolute; left: 12px; top: -70px; background: var(--panel); padding: 10px 16px; z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 750px) {
  .site-shell { margin: 0; }
  .site-header { padding: 27px 24px 23px; }
  nav { gap: 12px 20px; margin-top: 23px; }
  nav .linkedin { margin-left: 0; }
  main { padding: 30px 24px 45px; }
  footer { margin: 0 24px; flex-wrap: wrap; }
  .cv-100 { padding: 21px 0; }
  .cv-100 > .cv-box { width: 100%; padding: 0; margin-bottom: 12px; }
  .cv-100 > .cv-box:last-child, .cv-100 > .cv-box:empty { margin-bottom: 0; }
  .box-row { display: block; }
  .left-side-box, .right-side-box { width: 100%; padding: 0; }
  .left-side-box h2 { margin-bottom: 20px; color: var(--accent); }
  .home .alignleft { width: 40%; margin-right: 24px; }
}
@media (max-width: 480px) {
  .home .alignleft { float: none; display: block; width: min(300px, 100%); margin: 0 0 26px; }
  h1 { font-size: 1.5rem; }
  .link-block { gap: 23px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; font-size: 10pt; }
  .site-shell { margin: 0; }
  .site-header { background: transparent; padding: 0 0 20px; }
  .brand, h1, h2, h3, em { color: black; }
  nav, .link-block2, footer, .skip-link { display: none; }
  main { padding: 0; }
  a { color: black; }
  .archive-note { color: #444; background: transparent; }
  .cv-100 { break-inside: avoid; }
}
