@charset "UTF-8";
@import url('./fonts.css');

:root {
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --page-width: 1344px;
  --gutter: clamp(24px, 4.45vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg { display: block; max-width: 100%; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h1, h2 { letter-spacing: -.038em; line-height: 1.12; }
h2 { font-size: clamp(38px, 4.2vw, 58px); }
h3 { font-size: 24px; letter-spacing: -.02em; line-height: 1.3; }
p { max-width: 70ch; }
em, h1 em, h2 em { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
[hidden] { display: none !important; }
.section-shell { max-width: var(--page-width); padding-inline: var(--gutter); margin-inline: auto; }
.section-space { padding-block: 104px; }
.eyebrow { font: 500 15px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }
.skip-link { position: fixed; top: 16px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Identity and navigation */
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--page-width);
  min-height: 112px;
  margin-inline: auto;
  padding: 24px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 15px; min-width: 0; }
.brand-symbol { display: block; width: 42px; flex: 0 0 42px; font: 600 30px/1 var(--sans); color: var(--accent); letter-spacing: -.06em; }
.brand-symbol svg { display: block; width: 42px; height: 42px; }
.brand-name { display: block; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.018em; }
.brand-name > span { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--muted); letter-spacing: 0; }
.navigation { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 26px); font-size: 15px; }
.navigation > a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 2px; }
.navigation > a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.navigation .nav-contact { gap: 14px; padding: 9px 16px; border: 1px solid var(--strong-line); border-radius: 3px; }
.navigation .nav-contact:hover { background: var(--surface-hover); color: var(--ink); text-decoration: none; }
.nav-contact > span { font-size: 21px; line-height: 1; }
.menu-toggle { display: none; }

/* The drawing provides the visual focus; surrounding content stays quiet. */
.hero { padding-top: 66px; padding-bottom: 28px; }
.hero-copy { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 86px); align-items: end; }
.hero-title { min-width: 0; }
.hero-title .eyebrow { margin-bottom: 23px; color: var(--accent); font-size: 16px; }
.hero h1 { font-size: clamp(56px, 6.15vw, 88px); line-height: 1.035; font-weight: 600; letter-spacing: -.05em; }
.hero-intro { min-width: 0; padding-bottom: 4px; }
.hero-description { max-width: 47ch; font-size: 20px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 26px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 21px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 16px; font-weight: 500; line-height: 1.45; cursor: pointer; transition: background-color .16s, color .16s, border-color .16s; }
.button > span { font-size: 22px; line-height: 1; }
.button-dark { background: var(--accent); color: var(--on-accent); }
.button-dark:hover { background: var(--accent-hover); }
.button-light { border-color: var(--strong-line); background: transparent; color: var(--ink); }
.button-light:hover { background: var(--surface-hover); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; }
.text-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.text-link > span { font-size: 20px; line-height: 1; }
.hero-footnote { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 26px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.footnote-divider { width: 1px; height: 16px; background: var(--strong-line); }
.hero-art { margin-top: 65px; padding-top: 31px; }
.diagram-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px 48px; margin-bottom: 18px; }
.diagram-title h2 { font-size: 22px; line-height: 1.4; letter-spacing: -.015em; }
.diagram-title p { max-width: 56ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.signal-diagram { width: 100%; height: auto; overflow: visible; }
.signal-diagram text { letter-spacing: 0; }
.desktop-diagram { display: block; }
.mobile-diagram { display: none; }
.diagram-caption { max-width: 70ch; margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* 01: the development and verification loop */
.hil-section { padding-top: 80px; scroll-margin-top: 24px; }
.hil-section-label { margin-bottom: 34px; }
.hil-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(52px, 7vw, 96px); align-items: start; }
.hil-copy { min-width: 0; }
.hil-copy .eyebrow { color: var(--muted); }
.hil-copy h2 { margin-top: 20px; font-size: clamp(40px, 4.6vw, 64px); max-width: 18ch; }
.hil-copy > p:not(.eyebrow) { max-width: 48ch; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hil-copy .button { margin-top: 30px; }
.hil-diagram { min-width: 0; padding-top: 8px; }
.hil-diagram-head h3 { font-size: 22px; line-height: 1.35; max-width: 28ch; margin-bottom: 24px; }
.hil-steps { list-style: none; padding: 0; margin: 0; }
.hil-steps > li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 16px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.hil-steps > li:first-child { padding-top: 0; }
.hil-steps > li > span { grid-row: span 2; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); padding-top: 4px; }
.hil-steps strong { font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
.hil-steps small { color: var(--muted); font-size: 16px; line-height: 1.55; }
.hil-loop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 20px; }
.hil-loop > span { color: var(--accent); font-size: 20px; }

/* 02: services as readable responsibilities */
.services { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 7vw, 96px); align-items: start; }
.section-intro h2 { margin-top: 22px; }
.section-intro > p:last-child { max-width: 35ch; color: var(--muted); font-size: 18px; line-height: 1.7; margin-top: 26px; }
.service-list { min-width: 0; }
.service-row { padding-block: 29px; }
.service-row:first-child { padding-top: 0; }
.service-row + .service-row { border-top: 1px solid var(--line); }
.service-row h3 { font-size: 27px; line-height: 1.3; }
.service-row p { margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.inline-tags { display: flex; flex-wrap: wrap; gap: 5px 19px; color: var(--accent); font-size: 14px; line-height: 1.6; margin-top: 15px; }

/* 03: case studies, with space for the actual contribution */
.projects { background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px 64px; margin-bottom: 47px; }
.section-heading h2 { margin-top: 22px; }
.section-aside { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 33ch; padding-bottom: 4px; }
.project-grid { display: block; }
.project-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 6vw, 84px); align-items: start; padding-block: 42px; border-top: 1px solid var(--line); }
.project-card:last-child { padding-bottom: 0; }
.case-heading { min-width: 0; }
.project-category { font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--muted); margin-bottom: 16px; }
.case-heading h3 { max-width: 23ch; font-size: clamp(28px, 2.5vw, 35px); line-height: 1.2; letter-spacing: -.028em; }
.project-body { min-width: 0; }
.project-body > p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.project-body details { margin-top: 22px; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding-block: 8px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; color: var(--accent); }
summary::-webkit-details-marker { display: none; }
summary:hover { text-decoration: underline; text-underline-offset: 5px; }
summary > span { font-size: 23px; line-height: 1; transition: transform .15s; }
details[open] summary > span { transform: rotate(45deg); }
.project-detail { padding-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.project-detail .detail-period { margin-top: 12px; font-family: var(--mono); font-size: 13px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 5px 20px; margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* 04: identity and professional chronology */
.profile { display: block; }
.profile-identity { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.profile-caption { font-size: 25px; font-weight: 500; line-height: 1.35; letter-spacing: -.025em; }
.profile-caption > span { display: block; margin-top: 7px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.profile-copy { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 80px; min-width: 0; align-items: start; }
.profile-copy h2 { font-size: clamp(36px, 3.7vw, 50px); line-height: 1.16; max-width: 24ch; }
.profile-copy > p { margin-top: 23px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.profile-copy .profile-lead { color: var(--ink); font-size: 20px; line-height: 1.65; margin-top: 0; }
.profile-copy .career-label { grid-column: 1 / -1; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 48px; margin-bottom: 11px; }
.career-timeline { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.career-timeline > li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 44px; padding-block: 26px; border-top: 1px solid var(--line); }
.career-timeline > li:first-child { border-top: 0; }
.career-period { font: 400 13px/1.75 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 3px; }
.career-content { min-width: 0; }
.career-content h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.career-content p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.profile-facts { grid-column: 1 / -1; margin: 34px 0 0; padding: 0; }
.profile-facts > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 44px; padding-block: 14px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; }

/* 05: direct email contact */
.contact { padding-top: 50px; padding-bottom: 78px; }
.contact-top { display: flex; justify-content: space-between; align-items: start; gap: 24px 64px; }
.contact-top > p:last-child { max-width: 37ch; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact h2 { margin-top: 42px; max-width: 17ch; font-size: clamp(48px, 5.7vw, 78px); line-height: 1.08; letter-spacing: -.04em; }
.contact-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 50px; align-items: start; margin-top: 37px; }
.email-link { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; max-width: 100%; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; padding: 2px 0 9px; border-bottom: 1px solid var(--strong-line); }
.email-link:hover { color: var(--accent); }
.email-link > span { font-size: 25px; line-height: 1; flex: 0 0 auto; }
.contact-reveal { appearance: none; background: transparent; color: var(--ink); font-family: var(--sans); cursor: pointer; text-align: left; border: 0; border-bottom: 1px solid var(--strong-line); border-radius: 0; }
.contact-bottom p { max-width: 62ch; margin-top: 20px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.copy-email { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 15px; margin-top: 3px; border: 1px solid var(--strong-line); border-radius: 3px; background: transparent; color: var(--ink); font-size: 16px; line-height: 1.4; cursor: pointer; }
.copy-email:hover { background: var(--surface-hover); }
.copy-feedback { min-height: 24px; margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--accent); }
.contact-bottom noscript a { text-decoration: underline; text-underline-offset: 4px; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 30px 45px; align-items: center; padding-top: 27px; padding-bottom: 33px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-name { display: block; font-size: 17px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.footer-name > span { display: block; margin-top: 5px; font-size: 14px; font-weight: 400; color: var(--muted); }
.footer-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 23px; font-size: 14px; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.site-footer > a:last-child { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 14px; color: var(--ink); }
.site-footer > a:last-child > span { font-size: 21px; }
[aria-current="page"] { font-weight: 600; }
.legal-header { flex-wrap: wrap; }
.legal-content { max-width: 920px; padding-top: 62px; padding-bottom: 100px; min-height: 65vh; }
.legal-content > .eyebrow { margin-bottom: 19px; }
.legal-content h1 { font-size: clamp(44px, 5vw, 66px); margin-bottom: 40px; }
.legal-content h2 { font-size: 27px; margin: 37px 0 15px; letter-spacing: -.025em; }
.legal-content p, .legal-content address { font-size: 17px; line-height: 1.8; font-style: normal; }
.legal-content p + p { margin-top: 16px; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .hero-description { font-size: 18px; }
  .hero-copy { gap: 44px; }
  .hero-actions { gap: 12px 20px; }
  .services, .hil-panel { gap: 55px; }
  .profile-copy { column-gap: 50px; }
  .career-timeline > li { grid-template-columns: 150px minmax(0, 1fr); gap: 30px; }
  .profile-facts > div { grid-template-columns: 150px minmax(0, 1fr); gap: 30px; }
  .site-footer { gap: 28px; }
}

@media (max-width: 900px) {
  .site-header { min-height: 100px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 17px; flex: 0 0 auto; min-height: 46px; padding: 10px 14px; background: transparent; color: var(--ink); border: 1px solid var(--strong-line); border-radius: 3px; font-size: 16px; line-height: 1.2; cursor: pointer; }
  .menu-toggle > span { font-size: 21px; transition: transform .15s; }
  .menu-toggle[aria-expanded="true"] > span { transform: rotate(45deg); }
  .navigation { display: none; }
  .navigation.is-open { display: flex; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px; background: var(--surface); box-shadow: 0 12px 28px var(--shadow); }
  .navigation > a { min-height: 48px; padding: 11px 0; }
  .navigation .nav-contact { justify-content: space-between; padding: 11px 0; border: 0; }
  .section-space { padding-block: 82px; }
  .section-heading { gap: 28px; }
  .section-aside { max-width: 29ch; }
  .project-card { grid-template-columns: .9fr 1.1fr; gap: 45px; }
  .case-heading h3 { font-size: 29px; }
  .project-body > p { font-size: 17px; }
  .site-footer { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-meta { grid-column: 1 / -1; grid-row: 2; }
  .site-footer > a:last-child { grid-column: 2; grid-row: 1; }
}

@media (max-width: 800px) {
  .hero { padding-top: 44px; }
  .hero-copy { grid-template-columns: 1fr; gap: 29px; }
  .hero h1 { font-size: clamp(52px, 8vw, 70px); max-width: 17ch; }
  .hero-description { max-width: 55ch; font-size: 19px; }
  .hero-actions { margin-top: 25px; }
  .hero-art { margin-top: 43px; padding-top: 20px; }
  .diagram-title { display: block; }
  .diagram-title h2 { margin-bottom: 8px; }
  .hil-panel, .services { grid-template-columns: 1fr; gap: 39px; }
  .hil-copy h2 { max-width: 24ch; font-size: 48px; }
  .hil-copy > p:not(.eyebrow), .section-intro > p:last-child { max-width: 60ch; }
  .hil-diagram { max-width: 650px; padding-top: 0; }
  .hil-diagram-head h3 { max-width: none; }
  .hil-steps > li { grid-template-columns: 38px minmax(0, 1fr); }
  .profile-copy { display: block; }
  .profile-copy .profile-lead { margin-top: 25px; }
  .profile-identity { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
  .profile-caption { margin-top: 0; }
  .career-timeline > li { grid-template-columns: 138px minmax(0, 1fr); gap: 28px; }
  .contact-top { gap: 30px; }
}

@media (max-width: 649px) {
  .section-space { padding-block: 68px; }
  .site-header { min-height: 94px; padding-block: 21px; gap: 16px; }
  .brand { gap: 11px; }
  .brand-symbol, .brand-symbol svg { width: 37px; height: 37px; flex-basis: 37px; }
  .brand-name { font-size: 16px; }
  .brand-name > span { font-size: 11px; line-height: 1.4; }
  .menu-toggle { gap: 10px; padding-inline: 10px; font-size: 15px; }
  .hero { padding-top: 38px; padding-bottom: 14px; }
  .hero-title .eyebrow { font-size: 15px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(40px, 9.6vw, 62px); line-height: 1.08; letter-spacing: -.04em; }
  .hero-description { font-size: 18px; line-height: 1.7; }
  .hero-actions { align-items: center; gap: 10px 20px; }
  .hero-actions .button { padding-inline: 17px; }
  .hero-footnote { font-size: 13px; gap: 6px 13px; margin-top: 23px; }
  .hero-art { margin-top: 36px; padding-top: 18px; }
  .diagram-title h2 { font-size: 21px; }
  .diagram-title p { font-size: 16px; }
  .desktop-diagram { display: none; }
  .mobile-diagram { display: block; max-width: 430px; margin-inline: auto; }
  .diagram-caption { font-size: 14px; margin-top: 17px; }
  .hil-section { padding-top: 67px; }
  .hil-section-label { margin-bottom: 25px; }
  .hil-panel { gap: 34px; }
  h2 { font-size: 36px; line-height: 1.16; }
  .hil-copy h2 { font-size: clamp(36px, 8.9vw, 46px); }
  .hil-copy > p:not(.eyebrow) { font-size: 17px; margin-top: 24px; }
  .hil-copy .button { margin-top: 24px; }
  .hil-diagram-head h3 { font-size: 21px; margin-bottom: 23px; }
  .hil-steps strong { font-size: 21px; }
  .hil-loop { font-size: 14px; }
  .section-intro h2, .section-heading h2 { margin-top: 19px; }
  .section-intro > p:last-child { font-size: 17px; margin-top: 23px; }
  .services { gap: 35px; }
  .service-row { padding-block: 28px; }
  .service-row h3 { font-size: 25px; }
  .service-row p { font-size: 16px; }
  .inline-tags { font-size: 14px; gap: 5px 17px; }
  .section-heading { display: block; margin-bottom: 29px; }
  .section-aside { max-width: none; margin-top: 24px; font-size: 16px; }
  .project-card { grid-template-columns: 1fr; gap: 22px; padding-block: 33px; }
  .project-category { font-size: 14px; margin-bottom: 12px; }
  .case-heading h3 { max-width: 25ch; font-size: 29px; }
  .project-body > p { font-size: 17px; }
  .project-body details { margin-top: 19px; }
  .project-tags { font-size: 14px; gap: 5px 17px; margin-top: 17px; }
  .profile-identity { display: block; }
  .profile-caption { font-size: 25px; margin-top: 22px; }
  .profile-copy h2 { font-size: 35px; }
  .profile-copy .profile-lead { font-size: 18px; margin-top: 24px; }
  .profile-copy > p { font-size: 16px; }
  .profile-copy .career-label { margin-top: 33px; }
  .career-timeline > li { grid-template-columns: 1fr; gap: 10px; padding-block: 24px; }
  .career-period { margin-top: 0; font-size: 13px; }
  .career-period br { display: none; }
  .career-content h3 { font-size: 22px; }
  .career-content p { margin-top: 10px; font-size: 16px; }
  .profile-facts > div { grid-template-columns: 1fr; gap: 3px; padding-block: 14px; font-size: 15px; }
  .contact { padding-top: 36px; padding-bottom: 48px; }
  .contact-top { display: block; }
  .contact-top > p:last-child { margin-top: 23px; font-size: 16px; }
  .contact h2 { font-size: clamp(40px, 9.7vw, 58px); margin-top: 31px; }
  .contact-bottom { grid-template-columns: 1fr; gap: 21px; margin-top: 29px; }
  .email-link { font-size: 20px; gap: 12px; }
  .contact-bottom p { font-size: 16px; }
  .copy-email { justify-self: start; font-size: 15px; margin-top: 0; }
  .copy-feedback { font-size: 14px; }
  .site-footer { padding-top: 25px; padding-bottom: 27px; gap: 22px 20px; }
  .footer-name { font-size: 16px; }
  .footer-name > span { max-width: 22ch; font-size: 13px; }
  .footer-meta { gap: 5px 20px; font-size: 14px; }
  .site-footer > a:last-child { gap: 9px; font-size: 14px; }
  .legal-content { padding-top: 34px; padding-bottom: 68px; }
  .legal-content h1 { font-size: 43px; margin-bottom: 32px; }
  .legal-content h2 { font-size: 25px; }
  .legal-content p, .legal-content address { font-size: 16px; }
}

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

@media print {
  html { scroll-behavior: auto; }
  body { font-size: 11pt; color: var(--ink); background: #fff; }
  .section-shell, .site-header { max-width: none; padding-inline: 0; }
  .site-header { min-height: 0; padding-block: 0 20pt; }
  .section-space { padding-block: 25pt; }
  .navigation, .menu-toggle, .skip-link, .hero-actions, .copy-email, .contact-reveal { display: none !important; }
  .hero { padding-block: 18pt; }
  .hero-copy { grid-template-columns: 1.2fr 1fr; gap: 30pt; }
  .hero h1 { font-size: 34pt; }
  .hero-title .eyebrow, .hero-footnote { font-size: 10pt; }
  .hero-description { font-size: 12pt; }
  .hero-art { margin-top: 24pt; padding-top: 8pt; break-inside: avoid; }
  .desktop-diagram { display: block; }
  .mobile-diagram { display: none; }
  .diagram-title { display: block; }
  .diagram-title h2 { font-size: 13pt; }
  .diagram-title p, .diagram-caption { font-size: 10pt; }
  h2, .hil-copy h2, .profile-copy h2, .contact h2 { font-size: 25pt; }
  h3, .case-heading h3, .career-content h3 { font-size: 15pt; }
  .hil-panel, .services, .profile { grid-template-columns: 1fr; gap: 20pt; }
  .profile-copy { display: block; }
  .hil-copy > p:not(.eyebrow), .section-intro > p:last-child, .project-body > p, .profile-copy .profile-lead, .career-content p, .legal-content p, .legal-content address { font-size: 11pt; }
  .hil-section-label { margin-bottom: 15pt; }
  .hil-diagram { max-width: none; }
  .hil-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10pt 24pt; }
  .hil-steps > li { padding: 8pt 0; break-inside: avoid; }
  .hil-steps strong { font-size: 13pt; }
  .hil-steps small { font-size: 10pt; }
  .projects { background: #fff; }
  .section-heading { display: block; margin-bottom: 22pt; }
  .section-aside { max-width: none; margin-top: 12pt; }
  .project-card { grid-template-columns: .85fr 1.15fr; gap: 25pt; padding-block: 22pt; break-inside: avoid; }
  details > :not(summary) { display: block !important; }
  summary { color: var(--ink); min-height: 0; padding-block: 5pt; }
  summary > span { display: none; }
  .profile-identity { display: flex; justify-content: space-between; gap: 25pt; }
  .profile-caption { margin-top: 0; font-size: 16pt; }
  .career-timeline > li { grid-template-columns: 125pt minmax(0, 1fr); gap: 20pt; padding-block: 15pt; break-inside: avoid; }
  .career-period { font-size: 9pt; }
  .profile-facts > div { grid-template-columns: 1fr 1.4fr; font-size: 10pt; }
  .contact { padding-block: 22pt; }
  .contact-bottom { margin-top: 18pt; }
  .site-footer { grid-template-columns: 1fr auto; font-size: 9pt; padding-block: 15pt; }
  .legal-content { max-width: none; padding-block: 12pt 25pt; }
}

#email-details { margin-top: 12px; color: var(--muted); overflow-wrap: anywhere; }

/* Further experience stays compact beside the featured project descriptions. */
.more-experience { margin-top: 48px; }
.more-experience > h3 { font-size: 24px; line-height: 1.4; margin-bottom: 22px; }
.experience-list { margin: 0; }
.experience-list > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px 64px; padding-block: 24px; border-top: 1px solid var(--line); }
.experience-list dt { font-size: 19px; line-height: 1.5; font-weight: 500; }
.experience-list dt > span { display: block; margin-bottom: 9px; font-size: 14px; color: var(--muted); font-weight: 400; }
.experience-list dd { margin: 0; max-width: 68ch; font-size: 16px; line-height: 1.75; color: var(--muted); }
@media (max-width: 650px) {
  .more-experience { margin-top: 32px; }
  .more-experience > h3 { font-size: 23px; }
  .experience-list > div { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
}
@media print {
  .experience-list > div { break-inside: avoid; gap: 25pt; padding-block: 12pt; }
  .experience-list dt { font-size: 12pt; }
  .experience-list dd { font-size: 11pt; }
}
