/* Local variable fonts. */
@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Literata;
  src: url("/fonts/literata-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171934;
  --muted: #50516c;
  --lavender: #e5defa;
  --mint: #c7ede1;
  --line: #cdccdb;
  --soft: #f7f6fc;
  --sans: Manrope,Arial,sans-serif;
  --serif: Literata,Georgia,serif;
  color-scheme: light;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 24px;
}

/* Approved composition: header, hero and skill collage. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  font-family: Manrope,sans-serif;
  color: #171934;
  font-size: 15px;
  line-height: 1.65;
}

button,a,input,select {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #5255be;
  outline-offset: 5px;
}

button:disabled {
  cursor: default;
}

h1,h2,h3,h4,p {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.15;
  text-wrap: balance;
}

button svg,a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 44px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  position: relative;
  z-index: 2;
}

.wordmark {
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -.03em;
}

.wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #171934;
  color: #fff;
  border-radius: 9px;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  font-family: Literata,serif;
  font-weight: 500;
}

.header-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.header-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.language-switch {
  display: flex;
  border: 1.5px solid #171934;
  border-radius: 7px;
  padding: 3px;
  background: white;
}

.language-switch a {
  border: 0;
  border-radius: 4px;
  background: none;
  min-width: 38px;
  min-height: 34px;
  font-size: 12px;
  font-weight: 800;
}

.language-switch a[aria-current] {
  background: #171934;
  color: white;
}

.hero-shell {
  position: relative;
}

.hero-shell:before {
  content: "";
  position: absolute;
  right: 0;
  top: -100px;
  bottom: 0;
  width: 42%;
  background: #e5defa;
  border-bottom-left-radius: 48px;
  transform: skewY(-2deg);
  transform-origin: top right;
}

.hero {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  padding-top: 42px;
  padding-bottom: 66px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  font-family: Literata,Georgia,serif;
  font-weight: 500;
  font-size: clamp(62px,7.5vw,92px);
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 0 0 28px;
}

h1 span {
  display: block;
}

.hero-role {
  font-weight: 800;
  font-size: 21px;
  line-height: 1.4;
  max-width: 30ch;
  margin-bottom: 17px;
}

.hero-intro {
  max-width: 45ch;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1.5px solid #171934;
  border-radius: 7px;
  padding: 10px 18px;
  background: #171934;
  color: white;
  box-shadow: 3px 3px 0 #a4a3c5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease,box-shadow .18s ease;
}

.button:hover {
  transform: translate(-1px,-1px);
  box-shadow: 4px 4px 0 #a4a3c5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.collage {
  height: 390px;
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: auto;
}

.identity-tile {
  position: absolute;
  left: 14%;
  top: 36px;
  width: 63%;
  height: 264px;
  background: #fff;
  border: 1.5px solid #171934;
  border-radius: 16px;
  transform: rotate(-7deg);
  box-shadow: 6px 7px 0 #b8aed8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 14px;
}

.hello {
  position: absolute;
  top: 7px;
  left: 0;
  background: #fff;
  border: 1.5px solid #171934;
  border-radius: 9px;
  padding: 10px 20px;
  font-weight: 800;
  transform: rotate(-4deg);
  z-index: 1;
}

.tech-tile {
  position: absolute;
  right: 0;
  top: 62px;
  background: #171934;
  color: #fff;
  border-radius: 13px;
  width: 155px;
  padding: 20px;
  transform: rotate(8deg);
  border: 1.5px solid #171934;
}

.tech-tile svg {
  height: 36px;
  width: 36px;
  margin-bottom: 20px;
}

.tech-tile strong {
  font-size: 24px;
  display: block;
  line-height: 1.1;
}

.tech-tile small {
  font-size: 12px;
  color: #ddd9f7;
  display: block;
  margin-top: 7px;
}

.ai-tile {
  position: absolute;
  left: 1%;
  bottom: 7px;
  transform: rotate(4deg);
  background: #c7ede1;
  border: 1.5px solid #171934;
  border-radius: 12px;
  padding: 16px 21px;
  width: 220px;
  box-shadow: 4px 4px 0 #171934;
}

.ai-tile strong {
  font-size: 20px;
  display: block;
}

.ai-tile span {
  font-size: 12px;
}

.net-sticker {
  position: absolute;
  right: 5%;
  bottom: 47px;
  background: #fff;
  border: 1.5px solid #171934;
  border-radius: 50%;
  width: 83px;
  height: 83px;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 800;
  transform: rotate(-9deg);
}

.expertise-ribbon {
  position: relative;
  border-block: 1px solid #d2d1df;
  background: #f7f6fc;
}

.ribbon-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 20px;
  font-weight: 700;
  font-size: 13px;
}

.ribbon-inner li {
  display: flex;
  gap: 13px;
  align-items: center;
}

.ribbon-inner li::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #8d7db9;
  transform: rotate(45deg);
}

.section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.035em;
}

.section-head p {
  font-size: 13px;
  max-width: 52ch;
  margin-top: 10px;
  color: #50516c;
}

.filter-control {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.filter-control button {
  border: 1px solid #c4c3d1;
  border-radius: 6px;
  background: white;
  min-height: 40px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
}

.filter-control button[aria-pressed=true] {
  background: #e5defa;
  border-color: #171934;
}

.filter-control button:hover {
  border-color: #171934;
}

.project-list {
  border-top: 1.5px solid #171934;
}

.project {
  border-bottom: 1px solid #cdccdb;
}

.project[hidden] {
  display: none;
}

.project summary {
  list-style: none;
  display: grid;
  grid-template-columns: 126px minmax(0,1fr) 36px;
  gap: 22px;
  align-items: center;
  padding: 27px 4px;
  cursor: pointer;
}

.project summary::-webkit-details-marker {
  display: none;
}

.project summary:hover .project-client {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.project-period {
  font-size: 12px;
  color: #50516c;
}

.project-client {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.project-title {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  color: #50516c;
}

.project-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #171934;
  border-radius: 50%;
  background: #f7f6fc;
}

.project-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .18s;
}

.project[open] .project-toggle {
  background: #e5defa;
}

.project[open] .project-toggle svg {
  transform: rotate(45deg);
}

.project-body {
  padding: 0 54px 28px 152px;
  font-size: 14px;
  max-width: 900px;
}

.project-body p+p {
  margin-top: 12px;
}

.project-body h3 {
  font-size: 13px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tags > li {
  border-radius: 4px;
  background: #f0eff7;
  padding: 4px 8px;
  font-size: 11px;
}

.about-region {
  background: #e5defa;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
}

.about-region h2 {
  font-family: Literata,Georgia,serif;
  font-size: 43px;
  font-weight: 500;
  max-width: 10ch;
  line-height: 1.2;
}

.profile-prose p {
  font-size: 15px;
  line-height: 1.9;
}

.profile-prose p+p {
  margin-top: 18px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
  margin-top: 42px;
}

.expertise-group {
  border-top: 1px solid #b4a9cf;
}

.expertise-group summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 0;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.expertise-group summary::-webkit-details-marker {
  display: none;
}

.expertise-group summary svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 4px;
}

.expertise-group[open] summary svg {
  transform: rotate(45deg);
}

.background-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.background-grid h3 {
  font-size: 27px;
  margin-bottom: 27px;
}

.site-footer {
  background: #171934;
  color: white;
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.footer-wordmark {
  font-size: 16px;
}

.site-footer p {
  font-size: 12px;
  color: #deddf0;
  margin-top: 5px;
}

.site-footer a {
  font-size: 12px;
  text-underline-offset: 5px;
}

@media(min-width:1500px) {
  .hero-shell:before {
    width: 44%;
  }
}

@media(max-width:900px) {
  .wrap {
    padding-inline: 28px;
  }
  .header-nav {
    gap: 18px;
  }
  .hero {
    gap: 20px;
    padding-top: 34px;
    padding-bottom: 45px;
  }
  h1 {
    font-size: 68px;
  }
  .hero-role {
    font-size: 17px;
  }
  .hero-intro {
    font-size: 14px;
  }
  .collage {
    height: 330px;
  }
  .identity-tile {
    height: 225px;
    left: 8%;
    width: 70%;
  }
  .tech-tile {
    width: 125px;
    padding: 15px;
  }
  .tech-tile strong {
    font-size: 21px;
  }
  .tech-tile svg {
    margin-bottom: 14px;
  }
  .ai-tile {
    width: 195px;
    padding: 13px 16px;
    left: 0;
    bottom: 0;
  }
  .ai-tile strong {
    font-size: 18px;
  }
  .net-sticker {
    right: 0;
    bottom: 41px;
    width: 65px;
    height: 65px;
    font-size: 19px;
  }
  .section {
    padding-block: 48px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }
  .section-head p {
    max-width: none;
  }
  .about-grid {
    gap: 30px;
  }
  .background-grid {
    gap: 34px;
  }
  .project summary {
    grid-template-columns: 100px minmax(0,1fr) 32px;
    gap: 18px;
  }
  .project-body {
    padding-left: 122px;
  }
  .ribbon-inner {
    gap: 13px 24px;
    font-size: 11px;
  }
}

@media(max-width:600px) {
  .wrap {
    padding-inline: 22px;
  }
  .site-header {
    padding-block: 20px;
    gap: 10px;
  }
  .wordmark {
    font-size: 14px;
  }
  .wordmark-mark {
    width: 31px;
    height: 31px;
    margin-right: 6px;
  }
  .header-nav {
    display: none;
  }
  .hero-shell:before {
    top: 255px;
    width: 77%;
    bottom: 0;
    border-bottom-left-radius: 26px;
    transform: skewY(-4deg);
  }
  .hero {
    display: block;
    padding-top: 22px;
    padding-bottom: 35px;
  }
  h1 {
    font-size: 67px;
    margin-bottom: 23px;
  }
  h1 span {
    display: inline;
  }
  h1 span+span:before {
    content: ' ';
    display: block;
  }
  .hero-role {
    font-size: 18px;
  }
  .hero-intro {
    font-size: 14px;
    max-width: 43ch;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 20px;
  }
  .button {
    font-size: 12px;
  }
  .collage {
    height: 272px;
    width: 290px;
    max-width: 100%;
    margin: 38px auto 0;
  }
  .identity-tile {
    top: 25px;
    left: 14%;
    width: 62%;
    height: 193px;
  }
  .hello {
    font-size: 13px;
    padding: 7px 14px;
    top: 0;
  }
  .tech-tile {
    top: 35px;
    width: 115px;
    padding: 14px;
  }
  .tech-tile svg {
    width: 27px;
    height: 27px;
    margin-bottom: 12px;
  }
  .tech-tile strong {
    font-size: 21px;
  }
  .tech-tile small {
    font-size: 10px;
  }
  .ai-tile {
    width: 182px;
    bottom: 0;
  }
  .ai-tile strong {
    font-size: 17px;
  }
  .ai-tile span {
    font-size: 10px;
  }
  .net-sticker {
    right: 0;
    bottom: 30px;
    width: 62px;
    height: 62px;
  }
  .ribbon-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    font-size: 11px;
  }
  .ribbon-inner li {
    gap: 8px;
  }
  .section {
    padding-block: 40px;
  }
  h2 {
    font-size: 29px;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .filter-control {
    gap: 6px;
  }
  .filter-control button {
    padding: 7px 10px;
    font-size: 11px;
    min-height: 42px;
  }
  .project summary {
    grid-template-columns: minmax(0,1fr) 32px;
    gap: 7px 12px;
    padding-block: 21px;
  }
  .project-period {
    grid-column: 1;
    font-size: 11px;
  }
  .project-heading {
    grid-column: 1;
    grid-row: 2;
  }
  .project-toggle {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .project-client {
    font-size: 19px;
  }
  .project-title {
    font-size: 12px;
    line-height: 1.6;
  }
  .project-body {
    padding: 0 4px 24px;
    font-size: 13px;
  }
  .about-grid {
    display: block;
  }
  .about-region h2 {
    font-size: 36px;
    max-width: 15ch;
    margin-bottom: 25px;
  }
  .profile-prose p {
    font-size: 14px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .expertise-group summary {
    font-size: 13px;
  }
  .background-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .background-grid h3 {
    font-size: 25px;
  }
  .footer-inner {
    align-items: start;
  }
  .site-footer {
    padding-block: 26px;
  }
}

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

/* Static content and progressive enhancement. */
ul,ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,summary,a {
  touch-action: manipulation;
}

button:disabled {
  opacity: .5;
}

button,input,select {
  color: var(--ink);
}

p {
  overflow-wrap: break-word;
}

[hidden] {
  display: none!important;
}

.enhanced,.print-only {
  display: none;
}

.js .enhanced {
  display: block;
}

.js .filter-control.enhanced {
  display: flex;
}

.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;
}

.cv-section {
  scroll-margin-top: 24px;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

.site-header {
  gap: 24px;
}

.header-nav {
  margin-left: auto;
}

.language-switch {
  flex-shrink: 0;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-shell {
  isolation: isolate;
}

.hero-shell::before {
  z-index: -1;
}

.hero-copy {
  min-width: 0;
}

.hero-actions {
  align-items: flex-start;
}

.button .icon,.text-link .icon {
  width: 18px;
  height: 18px;
}

.print-action {
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.js .print-action {
  display: inline-flex;
}

.print-action:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.print-action .icon {
  width: 18px;
  height: 18px;
}

/* Search and filters augment the prototype's flat assignment list. */
.section-head {
  align-items: flex-end;
}

.section-head>div {
  min-width: 0;
}

.section-head>.filter-control {
  justify-content: flex-end;
  max-width: 54%;
  flex-shrink: 0;
}

.project-controls {
  margin: 0 0 16px;
}

.js .project-controls {
  display: grid;
  grid-template-columns: minmax(220px,420px) minmax(0,1fr);
  gap: 16px 24px;
  align-items: center;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #c4c3d1;
  border-radius: 6px;
  padding: 0 12px;
  background: white;
}

.search-field .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.search-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-field:focus-within {
  outline: 3px solid #5255be;
  outline-offset: 3px;
}

.search-field input:focus-visible {
  outline: none;
}

.results-row {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.text-button .icon {
  width: 15px;
  height: 15px;
}

.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.project-heading {
  min-width: 0;
}

.project-role {
  font-weight: 700;
  margin-bottom: 12px;
}

.project-summary {
  margin-bottom: 18px;
}

.project-description p {
  line-height: 1.85;
}

.project-body {
  line-height: 1.85;
}

.project-body p {
  max-width: 72ch;
}

.project-tech h3 {
  margin-top: 20px;
}

.tags {
  list-style: none;
  padding: 0;
}

.industry {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.empty-state {
  padding: 32px 0;
  text-align: center;
}

.empty-state p {
  margin-bottom: 12px;
}

.project-period,.timeline-period {
  font-variant-numeric: tabular-nums;
}

/* Profile, complete expertise and background. */
.about-grid {
  grid-template-columns: minmax(0,1fr) minmax(0,1.6fr);
}

.profile-prose p {
  max-width: 72ch;
}

.expertise-grid {
  align-items: start;
}

.expertise-group h3 {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.expertise-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  padding-bottom: 22px;
  font-size: 12px;
  line-height: 2;
}

.expertise-group li:not(:last-child)::after {
  content: " · ";
  padding-inline: 6px;
  color: var(--muted);
}

.background-section>h2 {
  margin-bottom: 36px;
}

.background-grid {
  gap: 40px 70px;
}

.background-grid h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.timeline>li,.education-list li,.certification-list li {
  margin-top: 25px;
}

.timeline-period {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}

.timeline-title,.background-grid h4 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.education-list p,.certification-list p {
  font-size: 12px;
  margin-top: 5px;
  color: var(--muted);
}

.certification-list h4 {
  font-size: 14px;
}

.employment-roles {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.employment-roles li+li {
  margin-top: 20px;
}

.employment-roles h5 {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 5px;
}

.employment-roles p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 65ch;
}

.language-list {
  margin: 0;
  font-size: 13px;
}

.language-list>div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
}

.language-list dd {
  margin: 0;
  color: var(--muted);
}

.footer-wordmark {
  font-weight: 800;
}

.site-footer .text-link {
  flex-shrink: 0;
}

.site-footer a:focus-visible {
  outline-color: var(--mint);
}

.not-found .section {
  min-height: 70vh;
}

.not-found h1 {
  font-size: clamp(36px,7vw,72px);
}

.error-code {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
}

/* Responsive additions for the production controls and longer factual labels. */
@media(min-width:901px) {
  .header-nav {
    gap: 22px;
  }
}

@media(max-width:1100px) {
  .header-nav {
    gap: 16px;
  }
  .header-nav a {
    font-size: 12px;
  }
}

@media(max-width:900px) {
  .site-header {
    gap: 18px;
  }
  .header-nav a[data-section=skills],.header-nav a[data-section=background] {
    display: none;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head>.filter-control {
    max-width: 100%;
    justify-content: flex-start;
  }
  .js .project-controls {
    grid-template-columns: minmax(0,1fr);
  }
  .search-field {
    max-width: 420px;
  }
  .background-grid {
    gap: 34px;
  }
}

@media(max-width:600px) {
  .site-header {
    gap: 10px;
  }
  .language-switch {
    margin-left: auto;
  }
  .hero-actions {
    gap: 20px;
  }
  .filter-control button {
    max-width: 100%;
    text-align: left;
  }
  .results-row {
    font-size: 11px;
  }
  .background-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .background-grid h3 {
    font-size: 23px;
  }
  .background-section>h2 {
    margin-bottom: 30px;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }
}

/* A4: filters never remove assignments;
JS opens and restores disclosures. */
@page {
  size: A4;
  margin: 14mm 13mm;
}

@media print {
  :root {
    font-size: 10pt;
    --ink: #171934;
    --muted: #45465b;
    --line: #c9cad2;
    scroll-behavior: auto;
  }
  body {
    font-size: 10pt;
    line-height: 1.5;
    background: white;
    color: var(--ink);
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .site-header,.hero-actions,.hello,.tech-tile,.ai-tile,.net-sticker,.expertise-ribbon,.project-controls,.filter-control,.project-toggle,.empty-state,.site-footer,.skip-link,.js .enhanced {
    display: none!important;
  }
  .hero-shell::before {
    display: none;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) 30mm;
    gap: 8mm;
    align-items: start;
    padding: 0 0 5mm;
  }
  .collage {
    width: 30mm;
    height: 38mm;
    margin: 0;
  }
  .identity-tile {
    position: static;
    width: 100%;
    height: 100%;
    transform: none;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .portrait {
    border-radius: 2mm;
  }
  .hero h1 {
    font-size: 36pt;
    line-height: 1.1;
    margin: 0 0 3mm;
  }
  .hero h1 span {
    display: inline;
  }
  .hero h1 span+span::before {
    content: none;
  }
  .hero-role {
    font-size: 12pt;
    max-width: none;
    margin-bottom: 2mm;
  }
  .hero-intro {
    max-width: none;
    font-size: 10pt;
    line-height: 1.5;
  }
  .print-only {
    display: block;
  }
  .section {
    padding: 5mm 0;
  }
  .section-head {
    display: block;
    margin-bottom: 3mm;
  }
  h2,.background-section>h2 {
    font-size: 20pt;
    line-height: 1.15;
    margin: 0 0 3mm;
    break-after: avoid;
  }
  .section-head .section-intro {
    display: none;
  }
  .print-heading {
    font-size: 8pt;
    color: var(--muted);
    margin-bottom: 3mm;
  }
  .project-list {
    border-top: 1px solid var(--ink);
  }
  .project,.project[hidden] {
    display: block!important;
    break-inside: avoid;
    border-color: var(--line);
  }
  .project summary {
    display: grid;
    grid-template-columns: 29mm minmax(0,1fr);
    padding: 4mm 0 2mm;
    gap: 3mm;
    break-after: avoid;
  }
  .project-period {
    grid-column: auto;
    grid-row: auto;
    font-size: 7pt;
  }
  .project-heading {
    grid-column: auto;
    grid-row: auto;
  }
  .project-client {
    font-size: 11pt;
  }
  .project-title {
    font-size: 9pt;
    line-height: 1.5;
    margin-top: 1mm;
  }
  .project-body {
    display: block!important;
    max-width: none;
    padding: 0 0 4mm 32mm;
    font-size: 8pt;
    line-height: 1.5;
  }
  .project-role {
    font-size: 8pt;
    margin-bottom: 2mm;
  }
  .project-summary {
    font-size: 9pt;
    line-height: 1.5;
    margin-bottom: 2mm;
    max-width: none;
  }
  .project-body h3 {
    font-size: 8pt;
    margin: 2mm 0 1mm;
  }
  .project-body p {
    max-width: none;
    line-height: 1.5;
  }
  .project-description p {
    font-size: 8pt;
    margin-bottom: 2mm;
  }
  .tags {
    gap: 1mm;
    margin-top: 1mm;
  }
  .tags>li {
    font-size: 7pt;
    line-height: 1.5;
    padding: 1px 4px;
    border: 1px solid var(--line);
    background: none;
    border-radius: 2px;
  }
  .industry {
    font-size: 7pt;
    margin-top: 2mm;
  }
  .about-region {
    background: none;
  }
  .about-grid {
    display: block;
  }
  .about-region h2 {
    font: 800 20pt/1.15 var(--sans);
    max-width: none;
    margin: 0 0 3mm;
  }
  .profile-prose p {
    font-size: 9pt;
    line-height: 1.5;
    max-width: none;
    margin-bottom: 2mm;
  }
  .profile-prose p+p {
    margin-top: 2mm;
  }
  .expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3mm 6mm;
    margin-top: 4mm;
  }
  .expertise-group {
    break-inside: avoid;
    border-color: var(--line);
  }
  .expertise-group summary {
    padding: 2mm 0;
    cursor: default;
  }
  .expertise-group h3 {
    font-size: 8pt;
    line-height: 1.5;
  }
  .expertise-group summary .icon {
    display: none;
  }
  .expertise-group ul {
    display: flex!important;
    font-size: 7pt;
    line-height: 1.5;
    gap: 1mm 0;
    padding-bottom: 1mm;
  }
  .expertise-group li:not(:last-child)::after {
    padding-inline: 3px;
  }
  details::details-content {
    content-visibility: visible!important;
  }
  .background-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5mm 8mm;
  }
  .background-grid>div {
    break-inside: avoid;
  }
  .background-grid h3 {
    font-size: 12pt;
    margin-bottom: 3mm;
  }
  .background-grid h4,.timeline-title {
    font-size: 9pt;
  }
  .timeline>li,.education-list li,.certification-list li {
    margin-top: 3mm;
    break-inside: avoid;
  }
  .timeline-period {
    font-size: 7pt;
    margin-bottom: 1mm;
  }
  .education-list p,.certification-list p {
    font-size: 8pt;
    margin-top: 1mm;
    line-height: 1.5;
  }
  .employment-roles {
    margin-top: 2mm;
  }
  .employment-roles li+li {
    margin-top: 2mm;
  }
  .employment-roles h5 {
    font-size: 8pt;
    margin-bottom: 1mm;
  }
  .employment-roles p {
    font-size: 8pt;
    line-height: 1.5;
  }
  .language-list {
    font-size: 9pt;
  }
  .language-list>div {
    padding-bottom: 3mm;
  }
  a {
    text-decoration: none;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  h2,h3,h4 {
    break-after: avoid;
  }
}
