:root {
  color-scheme: light;
  --paper: #faf9f7;
  --ink: #272622;
  --muted: #625f59;
  --rule: #dcd9d3;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page {
  width: min(82%, 42rem);
  margin-inline: auto;
  padding-block: clamp(40px, 7vh, 84px) 48px;
}
h1, h2, h3, ul, p { margin: 0; }
ul { list-style: none; padding: 0; }
h1, h2 { font-weight: 500; }
h1 { margin-top: 24px; font-size: clamp(2.5rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -.04em; }
h2 { font-size: 1.45rem; line-height: 1.25; letter-spacing: -.025em; }
h2 + * { margin-top: 14px; }
.contents { display: flex; flex-wrap: wrap; gap: 0 clamp(10px, 3vw, 22px); font-size: .9375rem; }
.profiles { display: grid; justify-items: start; }
.profiles a { max-width: 100%; overflow-wrap: anywhere; }
.contents a, .profiles a { padding-block: 4px; }
.overview { padding-bottom: 25px; }
.intro { max-width: 60ch; text-wrap: pretty; }
a {
  color: inherit;
  text-decoration-color: #a49e93;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  touch-action: manipulation;
}
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.skip { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); background: var(--paper); z-index: 3; }
.skip:focus { transform: none; }
.section { border-top: 1px solid var(--rule); padding-block: 23px; scroll-margin-top: 20px; }
.experience-list { display: grid; gap: 20px; }
.experience-list h3 { font-size: 1rem; font-weight: 400; }
.details { margin-block: 2px 6px; font-size: .9375rem; color: var(--muted); }
.entries { display: grid; row-gap: 12px; }
strong, .project { font-weight: 600; }
.project { margin-inline-end: .25em; }
.entries li > span { color: var(--muted); }
.preview {
  display: none;
  position: fixed;
  z-index: 1;
  width: 240px;
  height: auto;
  pointer-events: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: 0 3px 12px #27262213;
}
.preview.visible { display: block; }
.assembly {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  background: var(--rule);
}
.piece-slot { position: absolute; }
.piece { position: absolute; inset: 0; clip-path: inherit; background: var(--paper); }
.piece > * { position: absolute; }
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration-color: currentColor; }
}
@media (max-width: 620px) {
  .experience-list h3 strong { display: block; }
  .role-separator { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce), print {
  .assembly { display: none; }
}
