@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-400-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-500-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-500-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-400-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-garamond-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-500-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-garamond-500-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-600-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/cormorant-garamond-600-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/manrope-400-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/manrope-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/manrope-500-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/manrope-600-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* cheredova.com — direction B2 «Graphite · Award». Fonts are self-hosted (fonts.css is prepended at build). */
:root {
  --bg: #F6F2E9; --bg-2: #EBE4D6; --ink: #111111; --ink-2: #4A4640; --line: rgba(17,17,17,.16);
  --accent: #B08D57; --accent-hover: #C9A227;
  --dark: #111111; --on-dark: #F6F2E9; --on-dark-2: rgba(246,242,233,.72); --line-dark: rgba(176,141,87,.35);
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif; --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px; --pad: 24px; --head-w: 300px;
  --h1: 96px; --h2: 40px; --h3: 28px; --body: 18px; --small: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: var(--body); line-height: 1.6; font-feature-settings: "tnum" 1; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2.section-title { font-size: var(--h2); margin: 0; }
h3 { font-size: 22px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
p { margin: 0 0 1em; max-width: 68ch; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
ul.plain-list { list-style: none; margin: 0; padding: 0; }
ul.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.plain-list li:last-child { border-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--dark); color: var(--on-dark); padding: 10px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Reveal on scroll (TZ: fade + 16 px, 300 ms) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Header (dark masthead) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17,17,17,.84); color: var(--on-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--font-head); font-size: 22px; letter-spacing: .02em; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .15s, color .15s; }
.nav a:hover, .nav a.is-active { border-bottom-color: var(--accent); }
.nav .lang-switch { border: 1px solid rgba(246,242,233,.25); padding: 6px 10px; margin-left: 8px; }
.nav .lang-switch:hover { border-color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: var(--on-dark); margin: 7px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Buttons — pressable */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; font-size: 15px; letter-spacing: .06em; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #2a2825; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--accent); }
.btn-secondary:hover { border-color: var(--accent-hover); background: rgba(176,141,87,.1); }
.btn-meta { font-size: 11px; letter-spacing: .12em; opacity: .6; }
.btn-light.btn-primary { background: var(--on-dark); color: var(--dark); }
.btn-light.btn-primary:hover { background: #fff; }
.btn-light.btn-secondary { color: var(--on-dark); }
.text-link { border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: border-color .15s; }
.text-link:hover { border-bottom-color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 7fr 5fr; min-height: calc(100vh - 72px); background: var(--dark); color: var(--on-dark); }
.hero-text { order: 1; display: flex; flex-direction: column; justify-content: center; padding: 96px 48px 96px var(--pad); margin-left: max(0px, calc((100vw - var(--container)) / 2)); }
.hero-media { order: 2; position: relative; padding: 56px 56px 56px 0; overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.portrait { object-fit: cover; object-position: center 20%; }
.hero-media::after { content: ""; position: absolute; inset: 40px 40px 40px 16px; border: 1px solid rgba(176,141,87,.55); pointer-events: none; }
.hero-role { color: var(--accent); letter-spacing: .24em; font-size: 12px; text-transform: uppercase; margin: 0 0 32px; display: flex; align-items: center; gap: 16px; }
.hero-role::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.hero-name { font-size: var(--h1); font-weight: 500; line-height: .95; letter-spacing: -0.02em; margin-bottom: 36px; max-width: 9ch; }
.hero-positioning { font-family: var(--font-head); font-size: 28px; line-height: 1.35; font-weight: 400; color: rgba(246,242,233,.9); max-width: 30ch; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn-primary { background: var(--on-dark); color: var(--dark); }
.hero-actions .btn-primary:hover { background: #fff; }
.hero-actions .btn-secondary { color: var(--on-dark); }
.hero-strip { order: 3; grid-column: 1 / -1; border-top: 1px solid var(--line-dark); }
.hero-facts { list-style: none; margin: 0 auto; max-width: var(--container); padding: 22px var(--pad); display: grid; grid-template-columns: auto 1fr auto; gap: 40px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.hero-facts li:nth-child(2) { text-align: center; }
.hero-facts li:nth-child(3) { text-align: right; }

/* Marginalia sections */
.section { padding: 112px 0; scroll-margin-top: 72px; }
.section + .section { border-top: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: var(--head-w) 1fr; gap: 64px; align-items: start; }
.section-head { position: sticky; top: 104px; }
.sec-num { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
.expertise, .quals { background: var(--bg-2); }

/* Bio */
.bio-text p { font-size: 19px; max-width: 68ch; }
.bio-text p:first-child::first-letter { font-family: var(--font-head); font-size: 64px; float: left; line-height: .8; padding: 8px 10px 0 0; color: var(--accent); }
.bio-languages { color: var(--ink-2); }
.bio-stats { display: grid; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--accent); }
.stat-n { display: block; font-family: var(--font-head); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); margin-bottom: 6px; }
.stat-l { font-size: var(--small); color: var(--ink-2); line-height: 1.4; display: block; max-width: 26ch; }

/* Career timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.tl-item { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-dates { font-size: 14px; letter-spacing: .04em; color: var(--accent); font-variant-numeric: tabular-nums; padding-top: 6px; white-space: nowrap; }
.tl-org { display: block; font-family: var(--font-head); font-size: 26px; line-height: 1.2; }
.tl-role { display: block; font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.tl-points { margin: 12px 0 0; padding: 0 0 0 18px; font-size: 16px; color: var(--ink); max-width: 68ch; }
.tl-points li { margin-bottom: 6px; }
.tl-points li::marker { color: var(--accent); }

/* Accordion (expertise) and matters share the details/summary pattern */
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 32px; align-items: baseline; gap: 16px; padding: 26px 0; }
summary::-webkit-details-marker { display: none; }
.acc-index, .p-index { font-family: var(--font-head); font-size: 18px; letter-spacing: .1em; color: var(--accent); font-variant-numeric: tabular-nums; }
.acc-title { font-family: var(--font-head); font-size: 30px; line-height: 1.2; }
.acc-icon { position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--ink); left: 0; top: 50%; width: 14px; height: 1px; transition: transform .2s; }
.acc-icon::after { transform: rotate(90deg); }
details[open] .acc-icon::after { transform: rotate(0); }
.acc-body { padding: 0 0 28px 64px; max-width: 760px; }
.acc-body p { margin-bottom: 16px; }

/* Experience */
.filters { display: grid; gap: 24px; margin-bottom: 40px; }
.filter-row { display: grid; gap: 12px; }
.filter-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; background: transparent; color: var(--ink); cursor: pointer; transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .15s, border-color .15s, color .15s; }
.chip:active { transform: scale(.95); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.filter-role .chips { gap: 0 36px; border-bottom: 1px solid var(--line); }
.filter-role .chip { font-family: var(--font-head); font-size: 26px; border: 0; border-bottom: 2px solid transparent; padding: 0 0 12px; margin-bottom: -1px; color: var(--ink-2); }
.filter-role .chip:hover { color: var(--ink); }
.filter-role .chip.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.filter-area .chip { font-size: 14px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); }
.filter-area .chip:hover { border-color: var(--accent); }
.filter-area .chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.appointments { font-size: 16px; color: var(--ink-2); border-left: 2px solid var(--accent); padding-left: 16px; margin-bottom: 24px; }
.count { font-size: var(--small); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.project[hidden] { display: none; }
.project summary { grid-template-columns: 40px 1fr 220px 24px; grid-template-areas: "i t m c"; column-gap: 24px; align-items: start; padding: 22px 0; }
.project .p-index { grid-area: i; padding-top: 2px; font-size: 16px; }
.project .p-title { grid-area: t; font-size: 17px; line-height: 1.45; }
.project .p-meta { grid-area: m; text-align: right; font-size: 13px; line-height: 1.5; color: var(--ink-2); padding-top: 3px; }
.p-amount { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.project .acc-icon { grid-area: c; }
.p-details { display: grid; gap: 8px; margin: 0; padding: 0 0 24px 64px; max-width: 760px; }
.p-details div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; font-size: 15px; }
.p-details dt { color: var(--ink-2); }
.p-details dd { margin: 0; }
.cv-line { margin-top: 32px; }

/* Qualifications */
.quals-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.qual-edu { grid-column: 1 / -1; }
.edu { margin: 0; display: grid; }
.edu div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.edu div:last-child { border-bottom: 0; }
.edu dt { color: var(--accent); font-variant-numeric: tabular-nums; }
.edu dd { margin: 0; }

/* Publications (hidden until publications.json has entries) */
.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.pubs li { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pubs .pub-title { font-family: var(--font-head); font-size: 22px; }
.pubs .pub-meta { font-size: 14px; color: var(--ink-2); text-align: right; max-width: 34ch; }
.pubs .pub-kind { display: inline-block; margin-left: 10px; padding: 1px 6px; border: 1px solid var(--accent); font-size: 11px; letter-spacing: .1em; color: var(--ink); }
.pubs .pub-title { max-width: 60ch; line-height: 1.3; }
.pubs .pub-sub { display: block; font-family: var(--font-body); font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* Contacts (dark) */
.contacts { background: var(--dark); color: var(--on-dark); }
.section.contacts { border-top: 0; }
.contacts .section-head { position: static; margin-bottom: 40px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 40px; font-family: var(--font-head); }
.contact-list li:first-child { font-size: clamp(32px, 4.2vw, 56px); padding: 8px 0 20px; line-height: 1.1; border-bottom: 1px solid var(--line-dark); }
.contact-list li:first-child a:hover { color: var(--accent-hover); }
.contact-list li:not(:first-child) { display: inline-block; font-size: 22px; margin-right: 40px; padding: 18px 0 0; }
.contact-list a:hover { color: var(--accent-hover); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.contact-notice { padding: 28px; border: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-2); line-height: 1.6; max-width: 62ch; }
.contact-notice p { margin: 0; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark-2); font-size: var(--small); border-top: 1px solid var(--line-dark); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--on-dark); }

/* Service pages: privacy, 404 */
.page { padding: 80px 0 120px; }
.page .container { max-width: 760px; }
.page h1 { font-size: 48px; margin-bottom: 8px; }
.page .page-date { color: var(--ink-2); font-size: var(--small); margin-bottom: 48px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p { font-size: 17px; }
.page .back { display: inline-block; margin-top: 40px; }
.page-404 { text-align: center; padding: 120px 0; }
.page-404 h1 { font-size: 64px; }
.page-404 .lang-block + .lang-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }

/* Screenshot mode (?shot=1): fixed hero height, no reveal, no sticky */
.shot .hero { min-height: 828px; }
.shot .reveal { opacity: 1; transform: none; transition: none; }
.shot .section-head, .shot .site-header { position: static; }

/* ——— Mobile ——— */
@media (max-width: 1100px) {
  .project summary { grid-template-columns: 40px 1fr 24px; grid-template-areas: "i t c" "i m c"; row-gap: 6px; }
  .project .p-meta { text-align: left; }
}
@media (max-width: 900px) {
  :root { --h1: 44px; --h2: 30px; --h3: 22px; --body: 16px; --pad: 20px; }
  .header-inner { height: 64px; }
  .nav { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0; z-index: 49; background: var(--dark); color: var(--on-dark); padding: 24px var(--pad); gap: 4px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .mobile-menu.is-open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .mobile-menu a { font-family: var(--font-head); font-size: 26px; padding: 14px 0; border-bottom: 1px solid rgba(246,242,233,.15); }
  .mobile-menu .lang-switch { font-family: var(--font-body); font-size: 14px; letter-spacing: .12em; margin-top: 16px; border-bottom: 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: 1; padding: 0; aspect-ratio: 1 / 1; }
  .hero-media::after { display: none; }
  .hero-media img { -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, #000 75%, transparent 100%); object-position: center top; }
  .hero-text { order: 2; padding: 16px var(--pad) 40px; margin-left: 0; }
  .hero-role { margin-bottom: 20px; }
  .hero-name { margin-bottom: 20px; }
  .hero-positioning { font-size: 21px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-facts { grid-template-columns: 1fr; gap: 8px; padding: 20px var(--pad); }
  .hero-facts li:nth-child(n) { text-align: left; }
  .section { padding: 56px 0; scroll-margin-top: 64px; }
  .section-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { position: static; }
  .bio-stats { grid-template-columns: 1fr 1fr; margin-top: 28px; padding-top: 20px; }
  .stat-n { font-size: 32px; }
  .bio-text p:first-child::first-letter { font-size: 52px; }
  summary { grid-template-columns: 32px 1fr 20px; gap: 12px; padding: 18px 0; }
  .acc-title { font-size: 22px; }
  .acc-body, .p-details { padding-left: 0; }
  .p-details div { grid-template-columns: 1fr; gap: 2px; }
  .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .filter-role .chips { gap: 0 20px; }
  .filter-role .chip { font-size: 20px; }
  .project summary { grid-template-columns: 32px 1fr 20px; row-gap: 4px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .tl-dates { padding-top: 0; }
  .tl-org { font-size: 22px; }
  .quals-grid { grid-template-columns: 1fr; gap: 32px; }
  .edu div { grid-template-columns: 96px 1fr; }
  .pubs li { grid-template-columns: 1fr; gap: 6px; }
  .pubs .pub-meta { text-align: left; max-width: none; }
  .contact-list li:not(:first-child) { display: block; margin-right: 0; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .contact-notice { padding: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .page { padding: 48px 0 80px; }
  .page h1 { font-size: 36px; }
  .page-404 h1 { font-size: 44px; }
}
