:root {
  color-scheme: light;
  --cream: #f3f7f5;
  --paper: #ffffff;
  --white: #ffffff;
  --navy: #152d34;
  --navy-2: #21434a;
  --ink: #203940;
  --muted: #526a6c;
  --line: #d4e2dd;
  --gold: #087e78;
  --gold-ink: #087e78;
  --gold-soft: #d5ece7;
  --accent-copper: #a95138;
  --accent-bright: #55dbc2;
  --surface-mist: #e9f2ef;
  --ease-out: cubic-bezier(.23,1,.32,1);
  --ease-in-out: cubic-bezier(.77,0,.175,1);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Noto Naskh Arabic", serif;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans Arabic", Arial, sans-serif;
  --shadow: 0 18px 48px rgba(21, 45, 52, .12);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { background: var(--cream); scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 78% 0%, rgba(232,222,201,.3), transparent 28rem), var(--cream); font-family: var(--sans); font-size: 15px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
::selection { color: var(--paper); background: var(--navy); }
.skip-link { position: fixed; z-index: 100; inset-block-start: 8px; inset-inline-start: 8px; padding: 10px 14px; background: var(--navy); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.topbar { position: relative; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px clamp(20px, 4vw, 72px); color: var(--paper); background: rgba(16,38,63,.98); border-bottom: 1px solid rgba(255,255,255,.12); }
.reading-progress { position: fixed; z-index: 110; inset: 0 0 auto; height: 3px; overflow: hidden; background: rgba(16,38,63,.12); pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transform: scaleX(0); transform-origin: left center; will-change: transform; }
html[dir="rtl"] .reading-progress span { transform-origin: right center; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark, .footer-mark { display: grid; place-items: center; flex: 0 0 auto; width: 45px; height: 45px; overflow: hidden; border: 1px solid var(--gold); border-radius: 50%; background: var(--navy); }
.brand-mark img, .footer-mark img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; filter: saturate(.84); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font: 500 16px/1.3 var(--serif); letter-spacing: .02em; }
.brand-copy small { color: rgba(255,255,255,.65); font-size: 10px; letter-spacing: .06em; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; align-items: center; padding: 3px; border: 1px solid rgba(255,255,255,.22); }
.language-button { border: 0; padding: 6px 10px; color: rgba(255,255,255,.7); background: transparent; cursor: pointer; font-size: 12px; }
.language-button.is-active { color: var(--navy); background: var(--gold); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 12px; font-weight: 650; line-height: 1.3; }
.button-navy { color: var(--paper); background: var(--navy); }
.button-gold { color: var(--navy); background: var(--gold); }
.button-outline { color: var(--navy); border-color: var(--line); background: transparent; }
.button-quiet { color: var(--paper); border-color: rgba(255,255,255,.22); background: transparent; }
.topbar .pdf-button { color: var(--paper); border-color: rgba(255,255,255,.28); }
.page-frame { display: grid; grid-template-columns: minmax(190px, 230px) minmax(0, 1fr); gap: clamp(30px, 5vw, 78px); width: min(1510px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 72px) 96px; }
.side-index { position: sticky; top: 108px; align-self: start; max-height: calc(100vh - 126px); padding-top: 30px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
.index-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gold-rule { width: 24px; height: 1px; background: var(--gold); }
.index-nav { display: grid; gap: 3px; }
.index-link { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 8px; padding: 8px 8px; color: #536170; border-inline-start: 1px solid transparent; font-size: 12px; line-height: 1.55; }
.index-link.is-current { color: var(--navy); border-inline-start-color: var(--gold); background: rgba(255,255,255,.62); }
.index-number { color: #5f6971; font: 11px var(--serif); }
.index-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 14px; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(179,154,104,.16); }
.main-content { min-width: 0; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 330px); gap: clamp(28px, 5vw, 72px); align-items: center; min-height: 625px; padding: 68px 0 72px; border-bottom: 1px solid var(--line); }
.hero::before { position: absolute; z-index: -1; inset-block-start: 7%; inset-inline-end: 0; width: min(38%, 410px); aspect-ratio: 1; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(232,222,201,.55), rgba(232,222,201,.14) 48%, transparent 72%); pointer-events: none; }
.hero-copy { animation: hero-arrive 260ms var(--ease-out) both; }
.hero-portrait-wrap { animation: hero-arrive 260ms var(--ease-out) 50ms both; }
.hero-copy { max-width: 720px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #7c6844; font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero-role { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.hero-role span { color: var(--gold-ink); padding-inline: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--serif); font-weight: 500; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(38px, 5.25vw, 72px); line-height: 1.18; letter-spacing: -.035em; }
.hero h1.passport-name { max-width: 100%; font: 600 clamp(24px, 3.25vw, 44px)/1.35 var(--sans); letter-spacing: .025em; text-align: end; overflow-wrap: anywhere; }
.passport-note { margin: 8px 0 0; color: var(--muted); font: 10px/1.6 var(--sans); }
.hero-affiliation { margin: 23px 0 17px; color: var(--navy); font-size: 13px; font-weight: 700; }
.affiliation-divider { padding-inline: 7px; color: var(--gold-ink); }
.hero-summary { max-width: 690px; margin-bottom: 24px; color: #4e5b68; font-size: 14px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-tag { padding: 5px 10px; color: var(--muted); border: 1px solid var(--line); font-size: 10px; }
.hero-portrait-wrap { position: relative; width: 100%; max-width: 330px; aspect-ratio: 1; margin-inline: auto; }
.portrait-button { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); box-shadow: 0 14px 42px rgba(16,38,63,.1); text-align: start; cursor: zoom-in; transition: transform 180ms var(--ease-out); }
.hero-portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 23%; background: var(--gold-soft); filter: saturate(.84); }
.portrait-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 10px 0 0; padding: 0 7px; color: var(--muted); font-size: 10px; }
.portrait-caption .icon { width: 15px; height: 15px; color: var(--gold); }
.hero-index { position: absolute; inset-block-end: 0; inset-inline-end: 0; display: flex; align-items: center; gap: 8px; color: #5f6971; font: 10px var(--serif); transform: translateY(50%); }
.hero-index-line { width: 40px; height: 1px; background: var(--gold); }
.search-panel { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 52px 0 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 3px; background: rgba(255,254,250,.78); box-shadow: 0 8px 26px rgba(16,38,63,.04); }
.search-copy .eyebrow { margin-bottom: 4px; font-size: 9px; }
.search-copy h2 { margin: 0; font-size: 21px; }
.search-control { position: relative; width: min(100%, 420px); }
.search-control input { width: 100%; min-height: 46px; padding: 10px 44px 10px 40px; color: var(--ink); border: 1px solid #cfc9be; border-radius: 0; background: var(--paper); outline: none; }
.search-control input:focus { border-color: var(--gold-ink); box-shadow: 0 0 0 2px rgba(112,91,51,.2); }
.search-control input::placeholder { color: #5f6971; font-size: 11px; }
.search-icon { position: absolute; inset-inline-start: 13px; inset-block-start: 13px; color: var(--gold-ink); }
.clear-search { position: absolute; inset-inline-end: 8px; inset-block-start: 8px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: transparent; color: #5f6971; cursor: pointer; }
.clear-search .icon { width: 15px; height: 15px; }
.search-status { position: absolute; inset-block-start: 100%; inset-inline-start: 0; margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.section-stack { display: grid; }
.content-section { display: grid; grid-template-columns: minmax(145px, 190px) minmax(0, 1fr); gap: clamp(24px, 4.4vw, 62px); padding: clamp(48px, 5.2vw, 70px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 112px; }
.section-heading { display: flex; align-items: flex-start; gap: 14px; }
.section-number-large { color: var(--gold-ink); font: 28px/1 var(--serif); }
.section-number-large::after { display: block; width: 22px; height: 1px; margin-top: 13px; background: var(--gold); content: ""; }
.section-title-group { min-width: 0; }
.section-kicker { display: flex; align-items: center; gap: 8px; margin: 1px 0 8px; color: var(--gold-ink); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.section-kicker::before { width: 18px; height: 1px; background: var(--gold); content: ""; }
.section-title-group h2 { margin: 0 0 11px; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.3; }
.section-intro { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.section-body { min-width: 0; }
.reveal-section { opacity: 0; transform: translateY(9px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.reveal-card { opacity: 0; transform: translateY(7px); transition: opacity 240ms var(--ease-out) var(--reveal-delay, 0ms), transform 240ms var(--ease-out) var(--reveal-delay, 0ms); }
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(150px, .7fr); gap: 24px; }
.profile-statement { position: relative; padding: 26px 27px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: 0 8px 24px rgba(16,38,63,.035); }
.profile-statement p { position: relative; z-index: 1; margin: 0; color: #465564; font: 16px/2 var(--serif); }
.quote-mark { position: absolute; inset-block-start: 3px; inset-inline-start: 16px; color: rgba(179,154,104,.25); font: 70px/1 var(--serif); }
.profile-facts { display: grid; gap: 8px; }
.profile-facts .record-card { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 12px; border-inline-start: 2px solid var(--gold); background: rgba(255,254,250,.55); }
.fact-number { color: var(--gold-ink); font: 11px var(--serif); }
.profile-facts strong { color: var(--navy); font-size: 11px; font-weight: 600; }
.profile-details-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr); gap: 14px; margin-top: 14px; }
.profile-detail-card { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 3px; background: rgba(255,254,250,.78); }
.profile-detail-card h3 { margin: 0 0 12px; font-size: 17px; }
.profile-detail-list { display: grid; gap: 7px; }
.profile-detail-list .record-card { padding: 8px 10px; color: var(--muted); border-inline-start: 2px solid var(--gold); background: var(--paper); font-size: 12px; line-height: 1.7; }
.profile-language-list { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-language-list .record-card { padding: 7px 9px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font-size: 12px; }
.record-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.record-card { min-width: 0; }
.record-grid .record-card { padding: 21px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: 0 8px 24px rgba(16,38,63,.035); }
.record-top, .publication-heading, .project-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.record-index { color: var(--gold-ink); font: 13px var(--serif); }
.status-label { color: var(--gold-ink); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.record-grid h3 { margin: 20px 0 8px; font-size: 21px; }
.record-institution { min-height: 45px; margin-bottom: 16px; color: #54616e; font-size: 12px; }
.score-line { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }
.score-line strong { color: var(--navy); font: 18px var(--serif); }
.small-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.pending-banner { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 17px; padding: 15px 17px; border: 1px solid var(--gold-soft); background: #faf7ef; }
.pending-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; color: var(--navy); border: 1px solid var(--gold); border-radius: 50%; font: 13px var(--serif); }
.pending-banner strong { color: var(--navy); font-size: 11px; }
.pending-banner p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 7px 10px; color: var(--navy); border: 1px solid var(--line); background: var(--paper); font-size: 11px; }
.topic-chip small { color: var(--gold-ink); font-size: 8px; }
.research-interest-note { margin: 0 0 14px; padding: 12px 15px; color: var(--ink); border-inline-start: 3px solid var(--gold); background: #faf7ef; font-size: 12px; line-height: 1.8; }
.research-interest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 13px; }
.research-interest-grid .record-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
.research-interest-card { display: flex; min-height: 142px; flex-direction: column; justify-content: space-between; gap: 18px; padding: 19px 21px; border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: 3px; background: var(--paper); transition: transform 180ms var(--ease-out); }
.research-interest-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.research-interest-index { color: var(--gold-ink); font: 16px var(--serif); }
.research-interest-source { max-width: 78%; color: var(--gold-ink); font-size: 9px; line-height: 1.65; text-align: end; }
.research-interest-card h3 { margin: auto 0 0; color: var(--navy); font: 500 16px/1.8 var(--serif); }
.publication-list, .project-list { display: grid; gap: 14px; }
.publication-list .record-card, .project-list .record-card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: 0 8px 24px rgba(16,38,63,.035); }
.publication-year { color: var(--gold-ink); font-size: 10px; }
.publication-list h3, .project-list h3 { margin: 17px 0 11px; color: var(--navy); font-size: 19px; line-height: 1.75; }
.translated-title { display: grid; gap: 4px; margin: 0 0 18px; color: #596675; font-size: 13px; line-height: 1.75; }
.translated-title span { color: var(--gold-ink); font-size: 9px; font-weight: 700; }
.publication-summary { margin: 0 0 17px; padding: 13px 15px; border-inline-start: 3px solid var(--gold); background: #f8f5ee; }
.publication-summary small { color: var(--gold-ink); font-size: 9px; font-weight: 750; }
.publication-summary p { margin: 5px 0 0; color: var(--ink); font-size: 13px; line-height: 1.8; }
.publication-meta { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.publication-citation { display: grid; gap: 3px; }
.publication-meta small { color: var(--muted); font-size: 9px; }
.publication-meta strong { color: var(--navy); font-size: 11px; font-weight: 600; }
.citation-line { color: var(--muted); font-size: 12px; }
.publication-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-size: 10px; white-space: nowrap; }
.text-link .icon { width: 14px; height: 14px; }
.phd-card { position: relative; isolation: isolate; overflow: hidden; padding: 30px clamp(21px, 4vw, 42px) 35px; color: var(--paper); border: 1px solid rgba(179,154,104,.55); border-radius: 4px; background: linear-gradient(135deg, #10263f 0%, #173453 100%); box-shadow: 0 18px 42px rgba(16,38,63,.13); transition: transform 200ms var(--ease-out); }
.phd-card::before, .phd-card::after { position: absolute; z-index: -1; inset-block-start: 0; width: 1px; height: 100%; content: ""; opacity: .18; background: linear-gradient(180deg, transparent, var(--gold), transparent); transform: translateY(-5px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.reveal-card.is-visible .phd-card::before, .reveal-card.is-visible .phd-card::after { opacity: .8; transform: translateY(0); }
.phd-card::before { inset-inline-start: 18px; }
.phd-card::after { inset-inline-end: 18px; transition-delay: 45ms; }
.phd-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.phd-label { color: #d4c095; font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.phd-emblem { color: var(--gold); font-size: 17px; }
.phd-card h3 { margin: 0; color: var(--paper); font-size: clamp(21px, 2.7vw, 30px); line-height: 1.7; }
.phd-original { margin: 12px 0 0; color: #c6d0d9; font: 12px/1.8 var(--sans); }
.phd-note { margin: 17px 0 0; color: #d0d7dd; font-size: 10px; }
.phd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.phd-tags span { padding: 5px 9px; color: #e4d5b4; border: 1px solid rgba(179,154,104,.45); font-size: 9px; }
.phd-line { position: absolute; inset-inline-start: 0; inset-block-end: 0; width: 42%; height: 2px; opacity: .15; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(.72); transform-origin: center; transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
.reveal-card.is-visible .phd-line { opacity: 1; transform: scaleX(1); }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-fade-only { from { opacity: 0; } to { opacity: 1; } }
.language-update .hero-copy, .language-update .hero-portrait-wrap { animation: none; }
.timeline { position: relative; display: grid; gap: 20px; padding-inline-start: 22px; }
.timeline::before { position: absolute; inset-block: 7px; inset-inline-start: 5px; width: 1px; content: ""; background: var(--gold-soft); }
.timeline-node { position: relative; display: flex; gap: 14px; }
.timeline-dot { position: absolute; inset-inline-start: -22px; inset-block-start: 8px; width: 10px; height: 10px; border: 2px solid var(--gold); border-radius: 50%; background: var(--cream); }
.timeline-node > div { padding: 0 0 14px; }
.timeline-label { margin: 0 0 5px; color: var(--gold-ink); font-size: 9px; font-weight: 700; }
.timeline-node h3 { margin: 0; color: var(--navy); font: 500 16px/1.7 var(--serif); }
.timeline-note { margin: 7px 0 0; color: var(--muted); font-size: 9px; }
.pending-card { display: flex; gap: 15px; align-items: center; padding: 20px; border: 1px dashed #bfb39b; background: rgba(255,254,250,.5); }
.pending-card-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; color: var(--gold-ink); border: 1px solid var(--gold-soft); font-size: 20px; }
.pending-card p { margin: 5px 0 0; color: #5f6b76; font-size: 12px; }
.training-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.training-grid .record-card { min-height: 160px; padding: 18px; border: 1px solid var(--line); background: var(--paper); }
.training-grid h3 { margin: 15px 0 8px; font-size: 15px; line-height: 1.65; }
.training-grid p { margin: 0; color: var(--muted); font-size: 10px; }
.training-grid .compact { grid-column: 1 / -1; margin: 0; }
.archive-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 15px; padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.archive-icon { display: grid; place-items: center; width: 40px; height: 48px; color: var(--gold-ink); border: 1px solid var(--gold-soft); font-size: 21px; }
.archive-card h3 { margin: 7px 0; font-size: 16px; }
.archive-card p:last-child { margin: 0; color: var(--muted); font-size: 10px; }
.archive-count { color: var(--gold-ink); font: 20px var(--serif); }
.certificate-intro { margin-bottom: 14px; padding: 15px 17px; border-inline-start: 3px solid var(--gold); background: #faf7ef; }
.certificate-intro p { margin: 7px 0 0; color: #53616d; font-size: 10px; line-height: 1.8; }
.certificate-count { display: inline-flex; padding: 4px 8px; color: var(--gold-ink); border: 1px solid var(--gold-soft); font-size: 9px; font-weight: 750; }
.certificate-issuer { color: var(--navy) !important; }
.certificate-issuer strong { color: var(--gold-ink); }
.certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.certificate-grid > .record-card { min-width: 0; padding: 0; border: 0; background: transparent; }
.certificate-card { display: flex; height: 100%; min-height: 205px; flex-direction: column; gap: 9px; padding: 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); transition: transform 180ms var(--ease-out); }
.certificate-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; }
.certificate-number { color: var(--gold-ink); font: 12px var(--serif); }
.certificate-card h3 { margin: 2px 0; color: var(--navy); font: 500 15px/1.7 var(--serif); }
.certificate-original { display: grid; gap: 3px; margin: 0; color: #53616d; font-size: 11px; line-height: 1.7; }
.certificate-original strong { color: var(--gold-ink); font-size: 8px; }
.certificate-download { display: inline-flex; width: fit-content; align-items: center; gap: 7px; margin-top: auto; padding-top: 9px; color: var(--gold-ink); border-top: 1px solid var(--line); font-size: 10px; }
.certificate-download:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.certificate-download .icon { width: 14px; height: 14px; flex: 0 0 auto; }
.conference-note { margin: 12px 0 0; padding: 12px 14px; color: #53616d; border: 1px solid var(--gold-soft); background: #faf7ef; font-size: 10px; line-height: 1.8; }
.project-kind { padding: 4px 8px; color: var(--gold-ink); border: 1px solid var(--gold-soft); font-size: 9px; }
.gallery-note { margin-bottom: 14px; color: var(--muted); font-size: 10px; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery-item { position: relative; display: block; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); text-align: start; cursor: zoom-in; transition: transform 180ms var(--ease-out); }
.gallery-item img { display: block; width: 100%; height: 250px; object-fit: contain; background: #ece7dc; }
.gallery-item:first-child img { object-fit: cover; object-position: 50% 25%; }
.gallery-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px 4px 3px; color: var(--navy); font-size: 12px; line-height: 1.6; }
.gallery-number { color: var(--gold-ink); font-family: var(--serif); }
.gallery-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 10px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .95fr); gap: 18px; align-items: start; }
.contact-link-list { display: grid; gap: 7px; }
.contact-link { display: grid; grid-template-columns: minmax(84px, .5fr) minmax(0,1.3fr) 18px; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); transition: transform 180ms var(--ease-out); }
.contact-link-label { color: var(--muted); font-size: 11px; }
.contact-link strong { overflow-wrap: anywhere; color: var(--navy); font-size: 12px; font-weight: 650; }
.contact-link .icon { color: var(--gold-ink); width: 15px; height: 15px; }
.privacy-note { display: flex; gap: 10px; margin-top: 12px; padding: 13px; background: var(--gold-soft); }
.privacy-icon { color: var(--gold-ink); font-size: 19px; }
.privacy-note p { margin: 0; color: #5d594f; font-size: 12px; line-height: 1.75; }
.contact-form { display: grid; gap: 11px; padding: 22px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); box-shadow: 0 10px 28px rgba(16,38,63,.045); }
.form-heading .eyebrow { margin-bottom: 3px; font-size: 8px; }
.form-heading h3 { margin: 0 0 5px; font-size: 19px; }
.contact-form label { display: grid; gap: 5px; color: #586572; font-size: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 9px 10px; color: var(--ink); border: 1px solid #d7d1c7; border-radius: 0; outline: none; background: #fffefa; font-size: 12px; }
.contact-form textarea { resize: vertical; min-height: 108px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-ink); box-shadow: 0 0 0 2px rgba(112,91,51,.2); }
.contact-form .button { justify-self: start; }
.form-status { min-height: 18px; margin: 0; color: #58714c; font-size: 10px; }
.site-footer { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 26px 0 0; color: var(--muted); }
.footer-mark { width: 38px; height: 38px; color: var(--gold); font-size: 20px; }
.site-footer p { margin: 0; font-size: 11px; }
.site-footer > a { color: var(--navy); font-size: 10px; }
.lightbox { width: min(94vw, 1050px); max-width: none; max-height: 92vh; padding: 20px; color: var(--paper); border: 1px solid rgba(179,154,104,.7); background: #0b1a2b; box-shadow: 0 25px 90px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(8,18,29,.86); backdrop-filter: blur(3px); }
.lightbox-top, .lightbox-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.lightbox-top { color: #d8c599; font: 12px var(--serif); }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; color: var(--paper); border: 1px solid rgba(255,255,255,.25); background: transparent; cursor: pointer; }
.lightbox-stage { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; gap: 12px; align-items: center; min-height: min(67vh, 700px); }
.lightbox-stage figure { display: grid; justify-items: center; gap: 10px; margin: 0; }
.lightbox-stage img { display: block; max-width: 100%; max-height: 65vh; object-fit: contain; }
.lightbox-stage figcaption { color: #d3d8dc; font-size: 11px; text-align: center; }
.lightbox-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; color: #aeb9c2; font-size: 9px; }
.lightbox-controls { display: grid; gap: 6px; }
.motion-note { max-width: 420px; margin: 0; color: #e4e9ed; font-size: 10px; }
.lightbox-bottom .button-outline { color: var(--paper); border-color: rgba(255,255,255,.3); }
.noscript { margin: 24px; padding: 18px; background: var(--paper); }
[hidden] { display: none !important; }

html[dir="rtl"] body { font-family: var(--sans); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: var(--serif); }
html[dir="rtl"] .phd-tags span { direction: ltr; }
@media (min-width: 961px) {
  .topbar { position: sticky; top: 0; z-index: 60; }
}
@media (max-width: 1080px) {
  .topbar { padding-inline: 24px; }
  .page-frame { grid-template-columns: 175px minmax(0,1fr); gap: 30px; padding-inline: 24px; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(210px,280px); min-height: 570px; }
  .content-section { grid-template-columns: 145px minmax(0,1fr); gap: 24px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; min-height: 74px; gap: 12px; padding: 12px 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy small { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-actions { flex-wrap: wrap; justify-content: end; gap: 7px; }
  .print-button span, .download-button span, .pdf-button span { display: none; }
  .top-actions .button { min-width: 42px; width: 42px; padding: 8px; }
  .language-button { padding: 6px 8px; font-size: 10px; }
  .page-frame { display: block; padding: 0 18px 58px; }
  .side-index { position: relative; top: auto; max-height: none; margin-inline: -18px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--cream); }
  .index-heading { margin-bottom: 8px; font-size: 9px; }
  .index-nav { display: flex; gap: 5px; overflow: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .index-link { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; white-space: nowrap; }
  .index-link.is-current { border-color: var(--gold); }
  .index-number { font-size: 9px; }
  .index-note { display: none; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(110px, 32%); gap: 18px; min-height: unset; padding: 42px 0 45px; }
  .hero h1 { font-size: clamp(30px, 8vw, 47px); }
  .hero-role { font-size: 11px; }
  .hero-summary { font-size: 12px; line-height: 1.85; }
  .hero-affiliation { font-size: 11px; }
  .hero-actions .button { min-height: 40px; padding: 9px 11px; font-size: 10px; }
  .hero-tags { gap: 5px; margin-top: 15px; }
  .hero-tag { padding: 4px 7px; font-size: 8px; }
  .hero-portrait-wrap { align-self: center; }
  .portrait-button { padding: 0; }
  .hero-portrait { border-radius: 50%; }
  .portrait-caption { display: none; }
  .hero-index { font-size: 8px; }
  .search-panel { display: grid; gap: 15px; margin: 32px 0 8px; padding: 16px; }
  .search-copy h2 { font-size: 18px; }
  .content-section { display: block; padding: 42px 0; scroll-margin-top: 18px; }
  .section-heading { margin-bottom: 19px; }
  .section-number-large { font-size: 22px; }
  .section-title-group h2 { font-size: 23px; }
  .section-intro { max-width: 540px; }
  .profile-layout, .profile-details-grid { grid-template-columns: 1fr; }
  .profile-statement { padding: 20px; }
  .profile-statement p { font-size: 14px; }
  .record-grid { grid-template-columns: 1fr; }
  .record-grid h3 { margin-top: 13px; }
  .record-institution { min-height: 0; }
  .publication-list .record-card, .project-list .record-card { padding: 17px; }
  .publication-list h3, .project-list h3 { font-size: 16px; }
  .publication-meta { align-items: start; flex-direction: column; }
  .training-grid { grid-template-columns: 1fr; }
  .training-grid .compact { grid-column: auto; }
  .certificate-grid { grid-template-columns: 1fr; }
  .certificate-card { min-height: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-item { padding: 6px; }
  .gallery-item img { height: 165px; }
  .gallery-caption { font-size: 11px; }
  .gallery-actions { align-items: start; flex-direction: column; }
  .contact-link { grid-template-columns: 84px minmax(0,1fr) 16px; gap: 7px; padding: 10px; }
  .contact-link strong { font-size: 11px; }
  .contact-form { padding: 15px; }
  .site-footer { grid-template-columns: 34px 1fr; }
  .footer-mark { width: 32px; height: 32px; }
  .site-footer > a { grid-column: 2; }
  .lightbox { padding: 12px; }
  .lightbox-bottom { flex-direction: column; }
  .lightbox-stage { grid-template-columns: 34px minmax(0,1fr) 34px; gap: 5px; min-height: 58vh; }
  .icon-button { width: 34px; height: 34px; }
  .lightbox-stage img { max-height: 57vh; }
}
@media (max-width: 480px) {
  .topbar { padding-inline: 13px; }
  .page-frame { padding-inline: 13px; }
  .side-index { margin-inline: -13px; padding-inline: 13px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 8px; max-width: 150px; }
  .hero { grid-template-columns: 1fr 105px; gap: 12px; }
  .hero h1 { font-size: 30px; }
  .hero-role { font-size: 10px; }
  .hero h1.passport-name { font-size: clamp(23px, 6.3vw, 29px); letter-spacing: .005em; }
  .hero-summary { grid-column: 1 / -1; }
  .hero-actions { grid-column: 1 / -1; }
  .hero-tags { grid-column: 1 / -1; }
  .hero-affiliation { font-size: 10px; }
  .hero-portrait-wrap { grid-column: 2; grid-row: 1 / span 4; }
  .phd-card { padding: 21px 18px 25px; }
  .phd-card::before { inset-inline-start: 9px; }
  .phd-card::after { inset-inline-end: 9px; }
  .phd-card h3 { font-size: 20px; }
  .phd-tags span { font-size: 8px; }
  .archive-card { grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 14px; }
  .archive-count { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 215px; }
}
@media (hover: hover) and (pointer: fine) {
  .language-button:not(.is-active):hover { color: var(--navy); background: var(--gold); }
  .button-navy:hover { background: var(--navy-2); }
  .button-gold:hover { background: #c8ae78; }
  .button-outline:hover { border-color: var(--gold-ink); background: var(--paper); }
  .button-quiet:hover { border-color: var(--gold); background: rgba(255,255,255,.06); }
  .topbar .pdf-button:hover { color: var(--navy); background: var(--paper); }
  .index-link:hover { color: var(--navy); border-inline-start-color: var(--gold); background: rgba(255,255,255,.62); }
  .research-interest-card:hover { border-color: var(--gold); box-shadow: 0 10px 24px rgba(16, 38, 63, .07); }
  .text-link:hover, .certificate-download:hover { color: var(--navy); }
  .certificate-card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
  .gallery-item:hover { box-shadow: var(--shadow); }
  .contact-link:hover { border-color: var(--gold); }
  .icon-button:hover { color: var(--gold); border-color: var(--gold); }
  .lightbox-bottom .button-outline:hover { color: var(--navy); }
  .portrait-button:hover, .research-interest-card:hover, .phd-card:hover, .certificate-card:hover, .gallery-item:hover, .contact-link:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero-copy, .hero-portrait-wrap { animation: hero-fade-only 170ms var(--ease-out) both; opacity: 1; transform: none; }
  .reveal-section, .reveal-card { transform: none !important; transition: opacity 170ms var(--ease-out) !important; }
  .phd-card::before, .phd-card::after, .phd-line { transform: none; transition: opacity 180ms var(--ease-out); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .portrait-button:hover, .research-interest-card:hover, .phd-card:hover, .certificate-card:hover, .gallery-item:hover, .contact-link:hover { transform: none !important; }
}
@media print {
  :root, html, body { color: #111; background: #fff !important; font-size: 10pt; }
  .topbar, .reading-progress, .side-index, .hero-actions, .search-panel, .gallery-actions, .contact-form, .lightbox, .site-footer > a, .clear-search, .hero-index, .skip-link { display: none !important; }
  .page-frame { display: block; width: 100%; max-width: none; padding: 0; }
  .hero { min-height: 0; grid-template-columns: 1fr 150px; gap: 20px; padding: 0 0 22px; }
  .hero h1 { font-size: 28pt; }
  .hero-summary { font-size: 9pt; }
  .hero-portrait-wrap { max-width: 150px; }
  .hero-portrait { aspect-ratio: 1; border-radius: 50%; }
  .content-section { display: block; padding: 18px 0; break-inside: avoid; }
  .section-heading { margin-bottom: 10px; }
  .section-title-group h2 { font-size: 17pt; }
  .section-intro, .section-kicker, .small-note { color: #444; }
  .profile-layout, .profile-details-grid, .record-grid, .training-grid, .contact-layout { display: block; }
  .record-card, .publication-list .record-card, .project-list .record-card, .pending-card, .archive-card, .contact-link, .profile-statement { margin-bottom: 8px; border: 1px solid #bbb; box-shadow: none; background: #fff !important; }
  .certificate-intro { margin-bottom: 8px; border: 1px solid #bbb; background: #fff !important; }
  .certificate-grid { display: block; }
  .certificate-grid > .record-card { margin-bottom: 8px; }
  .certificate-card { height: auto; min-height: 0; border: 1px solid #bbb; box-shadow: none; background: #fff !important; break-inside: avoid; }
  .profile-detail-card { margin-bottom: 8px; border: 1px solid #bbb; background: #fff !important; }
  .phd-card { color: #111; border: 1px solid #555; box-shadow: none; background: #fff !important; }
  .phd-card h3, .phd-note, .phd-original, .phd-tags span { color: #111; }
  .phd-card::before, .phd-card::after, .phd-line { display: none; }
  .phd-label { color: #65552f; }
  .reveal-section, .reveal-card { opacity: 1 !important; transform: none !important; }
  .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .gallery-item img { height: 180px; }
  .site-footer { grid-template-columns: 32px 1fr; border-top: 1px solid #ccc; }
  a { color: #111; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; overflow-wrap: anywhere; }
  .button { display: none; }
}

/* Scientific editorial identity — October 2026 */
body {
  background:
    radial-gradient(circle at 80% 8%, rgba(85, 219, 194, .11), transparent 34rem),
    linear-gradient(180deg, #f7faf8 0%, var(--cream) 55%, #eaf2ef 100%);
}

::selection { color: #fff; background: #087e78; }
:focus-visible { outline-color: var(--gold); }
.topbar :focus-visible, .hero :focus-visible, .lightbox :focus-visible { outline-color: #b8ffe8; outline-width: 3px; outline-offset: 3px; }
.topbar {
  background: #152d34;
  border-bottom-color: rgba(156, 225, 212, .23);
  box-shadow: 0 10px 34px rgba(9, 38, 40, .12);
}
.topbar::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(85, 219, 194, .75), var(--accent-copper), transparent);
  content: "";
  pointer-events: none;
}
.brand-mark, .footer-mark { border-color: var(--accent-bright); }
.brand-copy strong { font-weight: 650; letter-spacing: .005em; }
.brand-copy small { color: #b9d7d2; }
.language-switch { border-color: rgba(179, 226, 215, .36); border-radius: 4px; }
.language-button { color: #d1e6e2; transition: color 150ms var(--ease-out), background-color 150ms var(--ease-out); }
.language-button.is-active { color: #102d32; background: var(--accent-bright); border-radius: 2px; }
.reading-progress { height: 4px; background: rgba(85, 219, 194, .18); }
.reading-progress span { background: linear-gradient(90deg, var(--accent-copper), var(--accent-bright)); }
.button { border-radius: 5px; transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.button-navy { background: #165f5a; }
.button-gold { color: #102d32; background: var(--accent-bright); }
.button-outline { border-color: #a9c9c0; }
.button-quiet { border-color: rgba(156, 225, 212, .34); }
.topbar .pdf-button { border-color: rgba(156, 225, 212, .34); }

.page-frame { gap: clamp(28px, 4.4vw, 64px); }
.side-index {
  top: 112px;
  margin-top: 30px;
  padding: 21px 13px 17px;
  border: 1px solid #d9e7e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 45px rgba(14, 64, 59, .06);
}
.index-heading { margin-inline: 8px; color: #406d67; font-size: 11px; }
.gold-rule { background: var(--accent-copper); }
.index-link {
  position: relative;
  border-inline-start-color: transparent;
  border-radius: 4px;
  color: #4b6466;
  transition: color 170ms var(--ease-out), background-color 170ms var(--ease-out);
}
.index-link::before {
  position: absolute;
  inset-block: 9px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
  content: "";
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 190ms var(--ease-out);
}
.index-link.is-current {
  color: #075e59;
  border-inline-start-color: transparent;
  background: #e4f3ee;
  font-weight: 650;
}
.index-link.is-current::before { transform: scaleY(1); }
.index-number { color: var(--gold-ink); font-weight: 700; }

.hero {
  min-height: 600px;
  margin-top: 30px;
  padding: clamp(42px, 5vw, 66px) clamp(28px, 4vw, 56px);
  overflow: visible;
  border: 1px solid rgba(96, 205, 185, .35);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(40, 159, 146, .30), transparent 43%),
    linear-gradient(135deg, #17363c, #10282e 70%);
  box-shadow: 0 24px 65px rgba(16, 54, 56, .19);
}
.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  border-radius: inherit;
  background-image:
    radial-gradient(circle, rgba(155, 224, 211, .18) 1px, transparent 1px),
    linear-gradient(90deg, transparent 93%, rgba(120, 205, 190, .055) 93%);
  background-size: 23px 23px, 89px 89px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  pointer-events: none;
}
.hero::after {
  position: absolute;
  z-index: 0;
  inset-block-end: 24px;
  inset-inline-end: 25px;
  width: min(35%, 270px);
  aspect-ratio: 1;
  border: 1px solid rgba(85, 219, 194, .14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.hero-copy, .hero-portrait-wrap, .hero-index { z-index: 1; }
.hero-copy { animation: none; }
.hero-copy > * { animation: editorial-enter 430ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 45ms; }
.hero-copy > :nth-child(3) { animation-delay: 90ms; }
.hero-copy > :nth-child(4) { animation-delay: 125ms; }
.hero-copy > :nth-child(5) { animation-delay: 155ms; }
.hero-copy > :nth-child(6) { animation-delay: 185ms; }
.hero-copy > :nth-child(n+7) { animation-delay: 210ms; }
.language-update .hero-copy > * { animation: none; }
@keyframes editorial-enter {
  from { opacity: 0; transform: translateY(17px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow { color: #a3e8d8; letter-spacing: .11em; }
.hero .eyebrow-rule { background: var(--accent-copper); }
.hero-role { color: #c3dcd8; }
.hero-role span, .hero .affiliation-divider { color: #eaa689; }
.hero h1.passport-name {
  color: #f5faf8;
  font-size: clamp(28px, 3.3vw, 45px);
  font-weight: 680;
  letter-spacing: .012em;
  line-height: 1.22;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .13);
}
html[dir="ltr"] .hero h1.passport-name { text-align: start; }
.hero .passport-note { color: #bad6d0; }
.hero-affiliation { color: #eaf6f2; font-size: 14px; }
.hero-summary { color: #d7e7e3; font-size: 14px; line-height: 1.9; }
.hero-actions .button-navy { color: #102e32; background: var(--accent-bright); }
.hero-actions .button-outline { color: #effaf7; border-color: rgba(191, 229, 222, .55); background: rgba(255, 255, 255, .055); }
.hero-tag { color: #c9e4dd; border-color: rgba(181, 225, 214, .29); background: rgba(255, 255, 255, .035); font-size: 11px; }
.hero-portrait-wrap {
  animation: portrait-enter 580ms var(--ease-out) both;
  isolation: isolate;
}
@keyframes portrait-enter {
  from { opacity: 0; transform: translateY(19px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.language-update .hero-portrait-wrap { animation: none; }
.hero-portrait-wrap::before {
  position: absolute;
  z-index: -1;
  inset: -16px;
  border: 1px solid rgba(85, 219, 194, .8);
  border-radius: 50%;
  content: "";
  animation: orbit-arrive 680ms var(--ease-out) 160ms both;
}
.language-update .hero-portrait-wrap::before { animation: none; opacity: 1; transform: none; }
@keyframes orbit-arrive {
  from { opacity: 0; transform: rotate(-18deg) scale(.88); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}
.hero-portrait-wrap::after {
  position: absolute;
  z-index: 2;
  inset-block-start: -19px;
  inset-inline-end: 14%;
  width: 16px;
  height: 16px;
  border: 4px solid #17363c;
  border-radius: 50%;
  background: var(--accent-copper);
  content: "";
}
.portrait-button {
  border: 3px solid #bcefe2;
  box-shadow: 0 18px 44px rgba(0, 20, 24, .27), 0 0 0 7px rgba(85, 219, 194, .12);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.hero-portrait { filter: saturate(.95); }
.hero .portrait-caption { color: #c5dfd8; font-size: 11px; }
.hero .portrait-caption .icon { color: var(--accent-bright); }
.hero-index { color: #bad7d0; transform: translateY(50%); }
.hero-index-line { background: var(--accent-copper); }

.search-panel {
  margin-top: 50px;
  border: 1px solid #c8e2d9;
  border-radius: 8px;
  background: linear-gradient(105deg, #e1f3ed, #ffffff 72%);
  box-shadow: 0 15px 35px rgba(15, 86, 77, .065);
}
.search-copy .eyebrow { color: var(--gold-ink); }
.search-copy h2 { font-size: 23px; font-weight: 600; }
.search-control input { border-color: #a6c8bf; border-radius: 5px; background: #fff; font-size: 13px; }
.search-control input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(8, 126, 120, .15); }
.search-icon, .clear-search { color: var(--gold-ink); }

.content-section { border-bottom-color: var(--line); }
.section-number-large { color: var(--gold-ink); font-size: 34px; font-weight: 700; }
.section-number-large::after { background: var(--accent-copper); }
.section-title-group h2 { font-weight: 600; }
.section-title-group h2::after {
  display: block;
  width: 45px;
  height: 2px;
  margin: 13px 0 0;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 280ms var(--ease-out) 70ms;
}
html[dir="ltr"] .section-title-group h2::after { transform-origin: left center; }
.reveal-section.is-visible .section-title-group h2::after { transform: scaleX(1); }
.reveal-section { transform: translateY(18px); transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
.reveal-card { transform: translateY(13px); transition: opacity 260ms var(--ease-out) var(--reveal-delay, 0ms), transform 260ms var(--ease-out) var(--reveal-delay, 0ms); }
.profile-statement, .record-grid .record-card, .publication-list .record-card, .project-list .record-card,
.profile-detail-card, .certificate-card, .training-grid .record-card, .gallery-item, .contact-link, .contact-form {
  border-color: #d5e5df;
  border-radius: 8px;
  box-shadow: 0 10px 27px rgba(15, 62, 57, .045);
}
.profile-statement { background: #fff; }
.profile-statement p { color: #304a4d; }
.quote-mark { color: rgba(8, 126, 120, .18); }
.profile-facts .record-card { border-inline-start-color: var(--gold); background: #eaf5f1; }
.profile-detail-card { background: #fff; }
.profile-detail-list .record-card { background: #f4f9f6; }
.research-interest-note, .certificate-intro, .conference-note { background: #eaf5f1; border-color: #b8dcd0; }
.research-interest-card { border-color: #d5e5df; border-inline-start-color: var(--gold); border-radius: 8px; background: #fff; }
.publication-list .record-card { border-inline-start: 3px solid var(--gold); }
.publication-summary { border-inline-start-color: var(--accent-copper); background: #eff6f3; }
.phd-card {
  border-color: rgba(85, 219, 194, .65);
  border-radius: 10px;
  background: radial-gradient(circle at 85% 15%, rgba(39, 163, 148, .44), transparent 38%), linear-gradient(130deg, #153b41, #0a5550);
  box-shadow: 0 22px 52px rgba(12, 84, 77, .20);
}
.phd-card::before, .phd-card::after { background: linear-gradient(180deg, transparent, var(--accent-bright), transparent); }
.phd-card h3 { color: #f4fbf8; }
.phd-label, .phd-emblem, .phd-tags span { color: #c4f5e8; }
.phd-tags span { border-color: rgba(164, 239, 222, .48); }
.phd-line { background: linear-gradient(90deg, transparent, var(--accent-bright), transparent); }
.timeline::before { background: #9bcbbf; }
.timeline-dot { border-color: var(--gold); background: #fff; }
.pending-card { border-color: #b4d0c8; background: #f6faf8; border-radius: 8px; }
.certificate-card { background: #fff; }
.gallery-item img { background: #e0ede8; border-radius: 4px; }
.contact-link { background: #fff; }
.privacy-note { border-radius: 6px; background: #e2f2ec; }
.contact-form input, .contact-form textarea { border-color: #bcd4cc; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(8, 126, 120, .15); }
.form-status { color: #186e58; }
.lightbox { border-color: rgba(85, 219, 194, .7); background: #10282e; }
.lightbox-top { color: #b4efdf; }

@media (hover: hover) and (pointer: fine) {
  .language-button:not(.is-active):hover { color: #102d32; background: #b9eee0; }
  .button-navy:hover { background: #0f4d49; box-shadow: 0 10px 20px rgba(10, 76, 69, .18); }
  .hero-actions .button-navy:hover { background: #a1f0db; }
  .button-gold:hover { background: #a1f0db; }
  .button-outline:hover { border-color: var(--gold); background: #eef7f3; }
  .hero-actions .button-outline:hover { color: #fff; border-color: var(--accent-bright); background: rgba(85, 219, 194, .12); }
  .topbar .pdf-button:hover { color: #102d32; background: #d9f5eb; }
  .index-link:hover { color: #075e59; background: #e9f4ef; border-inline-start-color: transparent; }
  .portrait-button:hover { transform: translateY(-5px) scale(1.025); box-shadow: 0 24px 55px rgba(0, 20, 24, .33), 0 0 0 10px rgba(85, 219, 194, .16); }
  .research-interest-card:hover, .certificate-card:hover, .gallery-item:hover, .contact-link:hover { transform: translateY(-4px); box-shadow: 0 17px 35px rgba(14, 92, 81, .12); border-color: #77bcb0; }
  .phd-card:hover { transform: translateY(-3px); box-shadow: 0 27px 55px rgba(10, 74, 69, .25); }
  .text-link:hover, .certificate-download:hover { color: var(--accent-copper); }
}
@media (hover: hover) and (pointer: fine) {
  .button:active, .gallery-item:active, .portrait-button:active { transform: scale(.97); transition-duration: 110ms; }
}
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(190px, 270px); padding-inline: 28px; }
  .hero h1.passport-name { font-size: clamp(27px, 3vw, 36px); }
  .side-index { margin-top: 24px; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .topbar { gap: 14px; padding-inline: 22px; }
  .brand-copy small { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-actions { flex-wrap: nowrap; gap: 7px; }
  .top-actions .button { width: 43px; min-width: 43px; padding: 8px; }
  .print-button span, .download-button span, .pdf-button span { display: none; }
  .page-frame { display: block; padding-inline: 24px; }
  .side-index { position: relative; top: auto; max-height: none; margin: 0 -24px; padding: 13px 24px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; }
  .index-heading { margin-bottom: 8px; }
  .index-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .index-link { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); white-space: nowrap; }
  .index-link::before { inset-block: 6px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(190px, 260px); gap: 30px; min-height: 570px; margin-top: 22px; padding: 42px 38px; }
  .hero h1.passport-name { font-size: clamp(29px, 4vw, 38px); overflow-wrap: normal; word-break: normal; }
  .hero-summary { font-size: 13px; }
}
@media (max-width: 760px) {
  .topbar { box-shadow: 0 5px 20px rgba(9, 38, 40, .12); }
  .page-frame { padding-inline: 18px; }
  .side-index { position: relative; top: auto; margin: 0 -18px; padding: 13px 18px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; }
  .index-heading { margin-bottom: 7px; }
  .index-link { border: 1px solid var(--line); border-radius: 4px; }
  .index-link::before { inset-block: 5px; }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 27px;
    min-height: 0;
    margin-top: 18px;
    padding: 34px 27px 38px;
  }
  .hero-copy { order: 2; max-width: none; }
  .hero-portrait-wrap { order: 1; width: 138px; max-width: 138px; margin: 10px 16px 0; align-self: flex-start; }
  .hero-portrait-wrap::before { inset: -12px; }
  .hero-portrait-wrap::after { inset-block-start: -16px; width: 13px; height: 13px; }
  .hero h1.passport-name { max-width: none; font-size: clamp(26px, 7vw, 35px); }
  .hero-summary { max-width: 620px; font-size: 14px; line-height: 1.85; }
  .hero-role, .hero-affiliation { font-size: 12px; }
  .hero-tag { font-size: 10px; }
  .hero-index { display: none; }
  .search-panel { margin-top: 28px; }
  .section-title-group h2 { font-size: 25px; }
  .section-number-large { font-size: 27px; }
}
@media (max-width: 480px) {
  .page-frame { padding-inline: 14px; }
  .side-index { margin-inline: -14px; padding-inline: 14px; }
  .hero { gap: 23px; padding: 28px 22px 34px; }
  .hero-portrait-wrap { width: 120px; max-width: 120px; }
  .hero h1.passport-name { font-size: clamp(25px, 7.2vw, 31px); overflow-wrap: anywhere; }
  .hero-actions .button { min-height: 44px; }
  .hero .eyebrow { font-size: 10px; }
  .search-panel { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-portrait-wrap, .hero-portrait-wrap::before { animation: none !important; opacity: 1 !important; transform: none !important; }
  .reveal-section, .reveal-card { transform: none !important; transition: opacity 170ms var(--ease-out) !important; }
  .section-title-group h2::after { transform: scaleX(1) !important; transition: none !important; }
  .button, .portrait-button, .research-interest-card, .phd-card, .certificate-card, .gallery-item, .contact-link, .index-link::before { transition: none !important; }
  .button:active, .gallery-item:active, .portrait-button:active { transform: none !important; }
}
@media print {
  body { background: #fff !important; }
  .hero { min-height: 0; margin: 0; padding: 0 0 20px; color: #111; border: 0; border-bottom: 1px solid #bbb; border-radius: 0; background: #fff !important; box-shadow: none; }
  .hero::before, .hero::after, .hero-portrait-wrap::before, .hero-portrait-wrap::after { display: none; }
  .hero-copy > *, .hero-portrait-wrap { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero h1.passport-name, .hero-role, .hero-affiliation, .hero-summary, .hero .passport-note { color: #111 !important; text-shadow: none; }
  .hero .eyebrow { color: #333; }
  .hero-tag { color: #333; border-color: #bbb; background: #fff; }
  .reveal-section, .reveal-card { opacity: 1 !important; transform: none !important; }
  .section-title-group h2::after { display: none; }
  .phd-card { color: #111; background: #fff !important; box-shadow: none; }
  .phd-card h3, .phd-note, .phd-original, .phd-label, .phd-tags span { color: #111 !important; }
}

/* Curated publication highlights */
.featured-research {
  margin: 28px 0 42px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #c2ded4;
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  background:
    radial-gradient(circle at 5% 4%, rgba(85, 219, 194, .14), transparent 19rem),
    linear-gradient(135deg, #f4faf7, #ffffff 68%);
  box-shadow: 0 18px 42px rgba(17, 77, 68, .075);
}
.featured-research[hidden] { display: none !important; }
.featured-research-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.featured-research-heading .eyebrow { margin-bottom: 8px; color: var(--gold-ink); }
.featured-research-heading h2 { margin: 0 0 5px; color: var(--navy); font-size: clamp(24px, 2.8vw, 32px); font-weight: 650; line-height: 1.25; }
.featured-research-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.featured-all-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding-bottom: 4px; color: #076d67; font-size: 11px; font-weight: 700; }
.featured-all-link .icon { width: 15px; height: 15px; }
.featured-all-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.featured-research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.featured-paper-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(17px, 2.2vw, 24px);
  border: 1px solid #d6e7e1;
  border-inline-start: 3px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 62, 57, .045);
  transition: transform 170ms var(--ease-out), box-shadow 170ms var(--ease-out), border-color 170ms var(--ease-out);
}
.featured-paper-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.featured-paper-type { color: #086d66; font-size: 10px; font-weight: 750; letter-spacing: .045em; }
.featured-paper-year { padding: 3px 8px; color: #74402e; border: 1px solid #ecd4c9; border-radius: 999px; background: #fff8f4; font-size: 10px; font-weight: 650; white-space: nowrap; }
.featured-paper-card h3 { margin: 0 0 7px; color: var(--navy); font-size: clamp(17px, 1.65vw, 21px); font-weight: 650; line-height: 1.55; }
.featured-paper-original { display: grid; gap: 2px; margin: 0 0 12px; color: #637476; font-size: 10px; line-height: 1.55; }
.featured-paper-original span { color: var(--muted); font-size: 9px; font-weight: 650; }
.featured-paper-original bdi { color: #52666a; }
.featured-paper-journal { display: grid; gap: 3px; margin-top: 4px; }
.featured-paper-journal > small { color: var(--muted); font-size: 9px; font-weight: 700; }
.featured-paper-journal > strong { color: #203940; font-size: 11px; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.featured-paper-citation { color: #526a6c; font-size: 10px; line-height: 1.65; unicode-bidi: plaintext; }
.featured-paper-sample { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 12px; padding: 9px 11px; border: 1px solid #d9ece5; border-radius: 6px; background: #f1f8f5; }
.featured-sample-label { color: #315c58; font-size: 10px; font-weight: 650; }
.featured-sample-value { display: inline-flex; align-items: baseline; gap: 7px; text-align: end; }
.featured-sample-value data { color: #087e78; font-family: var(--serif); font-size: 23px; font-weight: 750; line-height: 1; }
.featured-sample-value > span { color: #3c5958; font-size: 10px; }
.featured-paper-summary { margin: 0 0 15px; padding-inline-start: 11px; border-inline-start: 2px solid var(--accent-copper); }
.featured-paper-summary > small { color: #75503e; font-size: 9px; font-weight: 750; }
.featured-paper-summary > p { margin: 3px 0 0; color: #354c4f; font-size: 11px; line-height: 1.75; }
.featured-paper-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #e4eeea; }
.featured-action { min-height: 40px; padding: 8px 11px; font-size: 10px; }
.featured-action .icon { width: 15px; height: 15px; }
.featured-action.button-outline { color: #115d57; border-color: #b7d6cd; }
.featured-action.button-navy { color: #f2fbf8; background: #155e58; }
@media (hover: hover) and (pointer: fine) {
  .featured-paper-card:hover { transform: translateY(-3px); border-color: #79b9aa; box-shadow: 0 17px 34px rgba(14, 92, 81, .12); }
  .featured-action.button-outline:hover { color: #075e59; border-color: #087e78; background: #eff8f4; }
  .featured-action.button-navy:hover { background: #0d4e49; }
  .featured-all-link:hover { color: var(--accent-copper); }
}
@media (max-width: 760px) {
  .featured-research { margin: 22px 0 32px; padding: 21px; }
  .featured-research-heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .featured-research-grid { grid-template-columns: 1fr; gap: 12px; }
  .featured-paper-card { padding: 19px; }
  .featured-paper-card h3 { font-size: 19px; }
}
@media (max-width: 480px) {
  .featured-research { padding: 17px; }
  .featured-paper-card { padding: 16px; }
  .featured-paper-top { align-items: flex-start; }
  .featured-paper-year { font-size: 9px; }
  .featured-paper-citation { font-size: 9px; }
  .featured-paper-sample { align-items: flex-start; flex-direction: column; gap: 4px; }
  .featured-action { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-paper-card, .featured-action, .featured-all-link { transition: none !important; }
  .featured-paper-card:hover { transform: none !important; }
}
@media print {
  .featured-research { display: none !important; }
}


/* Academic services office signature */
.site-footer { align-items: start; padding-top: 24px; border-top: 1px solid #d4e4de; }
.footer-copy { display: grid; min-width: 0; gap: 14px; }
.office-signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 10px; padding: 14px 16px; border: 1px solid #c4ded4; border-inline-start: 3px solid var(--accent-copper); border-radius: 6px; background: linear-gradient(105deg, #e6f3ed, #fff 78%); box-shadow: 0 8px 22px rgba(15, 62, 57, .045); color: #355f58; font-size: 11px; line-height: 1.8; }
.office-signature strong { color: #173c3b; font-size: 12px; font-weight: 700; }
.office-signature-divider { color: var(--accent-copper); }
.office-signature-phone { color: #075e59; font-size: 14px; font-weight: 750; letter-spacing: .025em; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 160ms var(--ease-out); }
.office-signature-phone:focus-visible { outline: 2px solid var(--accent-copper); outline-offset: 3px; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) {
  .office-signature-phone:hover { color: var(--accent-copper); }
}
@media (max-width: 760px) {
  .office-signature { gap: 5px 8px; padding: 12px; font-size: 10px; }
  .office-signature strong { font-size: 11px; }
  .office-signature-phone { font-size: 13px; }
}
@media print {
  .office-signature { border-color: #aaa; background: #fff; box-shadow: none; break-inside: avoid; }
  .office-signature-phone { color: #111; }
}
