@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --background: #fdfcfb;
  --client-background: #f5f3f0;
  --text: #30302e;
  --body: #686864;
  --muted: #767671;
  --line: #e9e7e3;
  --accent: #a24b32;
  --icon-shadow: 0 1px 2px #0000001a, 0 4px 8px #00000014, 0 10px 18px -5px #00000026;
  --icon-edge: #0000001a;
  --icon-highlight: #ffffff99;
  --icon-shade: #0000001f;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
main { width: min(100% - 48px, 560px); margin: 100px auto 48px; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 4px; transition: color 150ms, text-decoration-color 150ms; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
::selection { background: #a24b3226; }
.skip-link { position: absolute; top: 16px; left: 16px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
h1 { margin: 0 0 27px; font-size: 21px; font-weight: 400; letter-spacing: -.3px; }
h1 strong { font-weight: 600; }
p { margin: 0; }
.contact { display: flex; flex-wrap: wrap; gap: 12px 23px; margin-top: 25px; font-size: 15px; }
.contact a { text-decoration: none; white-space: nowrap; }
.contact a span { margin-left: 3px; color: var(--muted); }
section { margin-top: 58px; scroll-margin-top: 28px; }
h2 { margin: 0; color: var(--muted); font-size: 15px; font-weight: 400; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; }
.section-aside { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.section-note { margin: 9px 0 17px; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 390px; }
ol { list-style: none; padding: 0; margin: 0; }
.experience > li + li { border-top: 1px solid var(--line); }
.work-row, .education-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px 18px; padding: 17px 0; }
.work-row { align-items: center; }
.company-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.company-icon { position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, #fff, #f5f5f3); box-shadow: var(--icon-shadow); }
.company-icon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(145deg, #ffffff1a, transparent 45%, #0000000a); box-shadow: inset 0 0 0 1px var(--icon-edge), inset 0 1px 1px var(--icon-highlight), inset 0 -1px 1px var(--icon-shade); }
.company-icon img { display: block; width: 36px; height: 36px; object-fit: contain; }
.company-icon--spotify { background: linear-gradient(145deg, #292929, #111); }
.company-icon--delivery-hero { background: #d82128; }
.company-icon--bmw { background: #fff; }
.company-icon--bmw img { width: 42px; height: 42px; }
.company-icon--netlight img, .company-icon--spotify img, .company-icon--zooplus img, .company-icon--capmo img, .company-icon--stanford img, .company-icon--autoscout24 img { width: 100%; height: 100%; }
.role-info { display: flex; flex-direction: column; min-width: 0; }
.company { font-size: 16px; font-weight: 500; line-height: 1.5; }
.role { color: var(--body); font-size: 15px; margin-top: 2px; }
.dates { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 2px; }
.employment-note { color: var(--body); font-size: 15px; max-width: 490px; }
.client-engagements { margin: 24px 0 26px 3px; padding: 16px 20px 6px; background: var(--client-background); border-radius: 20px; }
.client-engagements h3 { margin: 0 0 5px; color: var(--muted); font-size: 14px; font-weight: 400; }
.clients > li + li { border-top: 1px solid var(--line); }
.clients .work-row { padding-block: 14px; }
.clients .company { font-size: 15px; }
.clients .role { font-size: 14px; }
.experience > .work-row { padding-block: 23px; }
.toolkit { margin: 20px 0 0; color: var(--body); font-size: 15px; }
.education { margin-top: 9px; }
.education-row { padding: 15px 0; }
.education-row + .education-row { border-top: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: 58px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 540px) {
  main { margin-top: 50px; margin-bottom: 30px; }
  h1 { font-size: 20px; }
  .work-row, .education-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; padding: 16px 0; }
  .dates { grid-column: 1 / -1; padding: 0; }
  .work-row .dates { padding-left: 60px; }
  .client-engagements { margin-left: 0; padding: 14px 15px 4px; }
  section { margin-top: 46px; }
}

@media (prefers-color-scheme: dark) {
  :root { --background: #1c1c1b; --client-background: #161615; --text: #e3e2df; --body: #aeada7; --muted: #96958e; --line: #353531; --accent: #dc9b81;
    --icon-shadow: 0 1px 2px #00000080, 0 4px 8px #00000066, 0 10px 20px -4px #00000066, 0 0 0 1px #ffffff14;
    --icon-edge: #ffffff26;
    --icon-highlight: #ffffffb3;
    --icon-shade: #00000040;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { transition: none !important; }
}

@media print {
  :root { --background: white; --client-background: white; --text: black; --body: #444; --muted: #555; --line: #ddd; }
  main { margin: 0 auto; width: 100%; max-width: 650px; }
  .skip-link { display: none; }
  section { margin-top: 25px; }
  .work-row, .education-row { padding-block: 8px; break-inside: avoid; }
  footer { margin-top: 25px; }
}
