:root {
--ink: #12303A;
--ink-2: #2A4650;
--muted: #56676C;
--paper: #F4F7F6;
--surface: #FFFFFF;
--line: #D6DFDD;
--line-strong: #B9C7C4;
--green: #0B6B57;
--green-dark: #08513F;
--green-tint: #E3EFEB;
--amber: #D99A1E;
--amber-tint: #FBEFD5;
--amber-ink: #7A4A00;
--lv0: #EEF3F1;
--lv1: #CFE6DE;
--lv2: #93C8B4;
--lv3: #2B7A61;
--lv4: #0A4F40;
--font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
--font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
--wrap: 1160px;
--gutter: clamp(16px, 4vw, 32px);
--radius: 6px;
--dir: 1;
--header-h: 68px;
--ext: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}
:root[dir="rtl"] {
--font-display: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
--font-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
--dir: -1;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--font-body);
font-size: 1.0625rem;
line-height: 1.65;
text-rendering: optimizeLegibility;
}
:root[dir="rtl"] body { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; }
:root[dir="rtl"] h1, :root[dir="rtl"] h2, :root[dir="rtl"] h3 { line-height: 1.4; }
h1 { font-size: clamp(2.25rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
:root[dir="rtl"] h1, :root[dir="rtl"] h2 { font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
cite { font-style: italic; }
:root[dir="rtl"] cite:not([lang="en"]) { font-style: normal; }
.pub-body cite { font-style: italic; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 0.95em; height: 0.95em; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 247, 246, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); margin-inline-end: auto; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.005em; }
.brand-suffix { color: var(--muted); font-size: 0.95rem; }
.brand:hover { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: var(--radius); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.site-nav a:hover { background: var(--green-tint); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.lang-switch { border: 1px solid var(--line-strong); padding: 6px 14px !important; border-radius: 999px !important; font-weight: 500; }
.lang-switch:lang(ar) { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: var(--radius); color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; box-shadow: 0 16px 32px -24px rgba(18, 48, 58, .35); display: none; }
.site-nav.is-open { display: flex; }
.site-nav ul { flex-direction: column; gap: 0; }
.site-nav ul a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
.site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--green); padding-inline-start: 14px; }
:root[dir="rtl"] .site-nav a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--green); }
.lang-switch { align-self: flex-start; }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-text { padding-inline: 8px; color: var(--green); text-decoration: underline; text-underline-offset: .25em; }
.btn-text:hover { color: var(--green-dark); }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; }
.btn[disabled] { opacity: .7; cursor: progress; }
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-name { font-size: clamp(2.8rem, 7.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.02em; margin-bottom: 20px; }
:root[dir="rtl"] .hero-name { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.2; letter-spacing: 0; }
.hero-role { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 500; color: var(--ink-2); margin-bottom: 20px; }
.hero-uni { display: block; color: var(--green); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 36em; color: var(--ink-2); margin: 0; }
.hero-portrait { margin: 0; position: relative; justify-self: end; width: min(100%, 400px); }
.hero-portrait::before { content: ""; position: absolute; inset: 0; transform: translate(calc(18px * var(--dir)), 18px); border: 1.5px solid var(--green); border-radius: var(--radius); }
.hero-portrait img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--green-tint); }
@media (max-width: 760px) {
.hero-grid { grid-template-columns: 1fr; }
.hero-portrait { order: -1; justify-self: start; width: min(56vw, 240px); }
.hero-portrait::before { transform: translate(calc(12px * var(--dir)), 12px); }
.actions .btn { flex: 1 1 auto; }
.actions .btn-text { flex: 0 0 100%; justify-content: flex-start; }
}
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section + .section { padding-top: clamp(8px, 2vw, 24px); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44em; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; }
.section-head-row h2 { margin: 0; }
.more { font-weight: 600; white-space: nowrap; }
.h-small { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5em; font-family: var(--font-body); }
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { margin-bottom: 14px; }
.page-lead { font-size: clamp(1.08rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 40em; margin: 0; }
.page-head-link { margin: 16px 0 0; font-weight: 600; }
.band { background: var(--ink); color: #E8EFEE; padding: clamp(44px, 6vw, 72px) 0; }
.band h2 { color: #fff; }
.band .section-head p, .band .matrix-note { color: #B8C9C8; }
.band a { color: #fff; }
.band-tight { padding: clamp(32px, 5vw, 56px) 0; }
.matrix-wrap { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(12px, 2.4vw, 28px); }
.matrix { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: 0; text-align: center; }
.matrix thead th { font-weight: 500; font-size: 0.9rem; color: var(--muted); padding-bottom: 6px; }
.matrix .m-topic-h { width: 34%; text-align: start; }
.matrix .m-total-h { width: 7%; }
.matrix tbody th { text-align: start; font-weight: 500; }
.matrix tbody th a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 6px 8px 6px 0; border-radius: 4px; line-height: 1.3; }
:root[dir="rtl"] .matrix tbody th a { padding: 6px 0 6px 8px; }
.matrix tbody th a:hover span { text-decoration: underline; }
.m-icon { width: 22px; height: 22px; color: var(--green); }
.matrix td { height: 44px; border-radius: 4px; background: var(--lv0); position: relative; }
.matrix td a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 44px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 1rem; color: inherit; }
.matrix td.lv1 { background: var(--lv1); color: var(--ink); }
.matrix td.lv2 { background: var(--lv2); color: var(--ink); }
.matrix td.lv3 { background: var(--lv3); color: #fff; }
.matrix td.lv4 { background: var(--lv4); color: #fff; }
.matrix td a:hover { box-shadow: 0 0 0 2px var(--amber); }
.matrix td[data-tip] a::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 500; line-height: 1.35; white-space: nowrap; padding: 6px 10px; border-radius: 4px; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 5; }
.matrix td[data-tip] a:hover::after, .matrix td[data-tip] a:focus-visible::after { opacity: 1; }
.matrix td.m-total, .matrix tfoot td { background: none; color: var(--ink); font-weight: 600; }
.matrix tfoot th, .matrix tfoot td { padding-top: 12px; font-size: 0.92rem; }
.matrix tfoot th { text-align: start; font-weight: 500; color: var(--muted); }
.matrix tfoot td { color: var(--muted); font-weight: 500; height: auto; }
.matrix tr.is-active th a { color: var(--green); }
.matrix tr.is-active th a span { text-decoration: underline; text-decoration-thickness: 2px; }
.matrix td a.is-active { box-shadow: 0 0 0 3px var(--amber); }
.matrix-note { font-size: 0.92rem; margin: 14px 0 0; }
@media (prefers-reduced-motion: no-preference) {
.js .matrix td a { animation: cell-in .5s cubic-bezier(.2, .7, .3, 1) both; animation-delay: calc(var(--i, 0) * 55ms + 120ms); }
@keyframes cell-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
}
@media (max-width: 760px) {
.matrix, .matrix thead, .matrix tbody, .matrix tfoot { display: block; }
.matrix caption { display: block; }
.matrix tr { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)) 2.4em; gap: 3px; margin-bottom: 6px; }
.matrix thead .m-topic-h { display: none; }
.matrix thead th { font-size: 0.72rem; padding: 0; }
.matrix tbody th, .matrix tfoot th { grid-column: 1 / -1; }
.matrix tbody th a { padding: 8px 0 2px; font-size: 0.95rem; }
.matrix td, .matrix td a { height: 38px; min-height: 38px; font-size: 0.92rem; }
.matrix tfoot tr { margin-top: 10px; }
.matrix tfoot th, .matrix tfoot td { border-top: 0; padding-top: 4px; }
.matrix td a::after { display: none; }
.matrix td.m-total, .matrix tfoot td { display: flex; align-items: center; justify-content: center; }
}
.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-text p { max-width: 38em; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); }
.area { padding: 28px 0; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.area-icon { width: 34px; height: 34px; color: var(--green); margin-bottom: 14px; stroke-width: 1.4; }
.area h3 { margin-bottom: 8px; }
.area p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.area-link { font-weight: 600; font-size: 0.98rem; align-self: flex-start; }
@media (max-width: 960px) { .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .area-list { grid-template-columns: 1fr; } .area { padding: 22px 0; } }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { padding: 22px 0; border-bottom: 1px solid var(--line); }
.pub-list-compact .pub:first-child { border-top: 1px solid var(--line); }
.pub-body { text-align: left; }
.pub-title { font-size: 1.08rem; font-weight: 600; line-height: 1.45; margin-bottom: 6px; font-family: "IBM Plex Sans", system-ui, sans-serif; }
.pub-title a { color: var(--ink); text-decoration: none; }
.pub-title a:hover { color: var(--green); text-decoration: underline; }
.pub-cite { color: var(--ink-2); font-size: 0.97rem; line-height: 1.6; margin-bottom: 10px; font-family: "IBM Plex Sans", system-ui, sans-serif; }
.pub-cite strong { color: var(--ink); font-weight: 600; }
.pub-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; background: var(--green-tint); color: var(--green-dark); font-size: 0.84rem; font-weight: 500; line-height: 1.3; }
.tag-type { background: var(--lv0); color: var(--ink-2); border: 1px solid var(--line); }
.tag-fund { background: var(--amber-tint); color: var(--amber-ink); }
.pub-link::after { content: ""; width: 0.95em; height: 0.95em; background: currentColor; -webkit-mask: var(--ext) center / contain no-repeat; mask: var(--ext) center / contain no-repeat; }
.pub-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 2px 4px; font-weight: 600; font-size: 0.9rem; margin-inline-start: auto; }
.pub-doi { font-weight: 400; color: var(--muted); }
.pub-link:hover .pub-doi { color: inherit; }
.pub-list-compact .pub-meta .tag:not(.tag-fund) { display: none; }
@media (max-width: 600px) { .pub-link { margin-inline-start: 0; } .pub-doi { display: none; } }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.filter label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.filter select, .filter input, .field input, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius); }
.filter select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356676C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 12px center; padding-inline-end: 38px; }
:root[dir="rtl"] .filter select { background-position: left 12px center; }
.filter select:hover, .filter input:hover { border-color: var(--green); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.input-icon input { padding-inline-start: 40px; }
.filter-status { display: flex; align-items: center; gap: 16px; margin: 20px 0 8px; }
.result-count { margin: 0; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filter-search { grid-column: 1 / -1; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr 1fr; padding: 14px; } .filter-search { grid-column: 1 / -1; } .filters .filter:last-child { grid-column: 1 / -1; } }
.pub-year { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 24px; padding-top: 28px; }
.pub-year-h { font-size: 2.2rem; color: var(--green); margin: 14px 0 0; font-weight: 600; position: sticky; top: calc(var(--header-h) + 12px); align-self: start; font-variant-numeric: tabular-nums; }
:root[dir="rtl"] .pub-year-h { font-family: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif; }
@media (max-width: 760px) {
.pub-year { grid-template-columns: 1fr; gap: 4px; padding-top: 20px; }
.pub-year-h { position: static; font-size: 1.6rem; margin: 0; }
}
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.pub-year[hidden], .pub[hidden] { display: none; }
.project { display: flex; flex-direction: column; }
.project-fig { margin: 0 0 16px; background: var(--green-tint); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.project-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-title { font-size: 1.15rem; margin-bottom: 4px; line-height: 1.35; }
.project-year { color: var(--muted); font-size: 0.92rem; font-weight: 500; margin-bottom: 8px; }
.project-desc { color: var(--ink-2); font-size: 1rem; }
.project-link { font-size: 0.92rem; margin: 0; }
.project-link a { font-weight: 600; }
.project-link .icon { display: inline-block; vertical-align: -0.1em; margin-inline-start: 4px; }
.project-link cite { font-weight: 400; }
.project-feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 3vw, 36px); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 48px); }
@media (max-width: 860px) {
.project-feature { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.project-grid { grid-template-columns: 1fr; gap: 36px; }
}
.profiles { padding-top: 0; }
.profile-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.profile-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.profile-list a:hover { border-color: var(--green); color: var(--green); }
.profile-list .icon { color: var(--muted); }
.profile-list-tight a { min-height: 40px; padding: 6px 14px; font-size: 0.95rem; }
.page-head-cv { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cv-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); align-items: start; }
.cv-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.cv-photo { width: 140px; height: 140px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; background: var(--green-tint); }
.cv-name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin-bottom: 4px; }
.cv-role { color: var(--ink-2); font-size: 0.98rem; }
.cv-office { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 0.95rem; }
.cv-profiles { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.cv-profiles li { padding: 3px 0; }
.cv-section { padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.cv-section:last-child { border-bottom: 0; margin-bottom: 0; }
.cv-section > h2 { font-size: 1.5rem; margin-bottom: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: 8px 8px; inset-inline-start: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-inline-start: 36px; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; inset-inline-start: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); }
.tl-current::before { background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.tl-years { color: var(--green); font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.tl-role { font-size: 1.25rem; margin-bottom: 2px; }
.tl-org { color: var(--ink-2); margin-bottom: 10px; }
.tl-sub { font-size: 0.9rem; color: var(--muted); font-weight: 500; margin: 12px 0 8px; }
.courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.courses li { display: flex; gap: 10px; align-items: baseline; font-size: 0.97rem; }
.course-code { flex: none; min-width: 5.6em; font-size: 0.85rem; font-weight: 600; color: var(--green-dark); background: var(--green-tint); padding: 1px 8px; border-radius: 4px; text-align: center; font-variant-numeric: tabular-nums; }
.tl-points { margin: 6px 0 0; padding-inline-start: 1.2em; color: var(--ink-2); }
.tl-points li { margin-bottom: 4px; }
.edu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.edu-list h3 { margin-bottom: 2px; }
.edu-list .tl-org { margin: 0; }
:root[dir="rtl"] .edu-list .tl-years { text-align: right; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.skill-group h3 { font-size: 1.05rem; margin-bottom: 10px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.93rem; background: var(--surface); }
@media (max-width: 860px) {
.cv-grid { grid-template-columns: 1fr; }
.cv-aside { position: static; display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: center; }
.cv-photo { width: 96px; height: 96px; margin: 0; grid-row: span 3; }
.cv-name, .cv-role, .cv-office { margin: 0; }
.cv-profiles { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 600px) { .courses, .skills { grid-template-columns: 1fr; } }
.certs { padding-bottom: clamp(48px, 7vw, 88px); }
.cert-group { margin-bottom: 48px; }
.cert-group h2 { font-size: 1.4rem; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); margin-bottom: 24px; }
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.cert { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0; background: none; border: 0; text-align: start; font: inherit; color: var(--ink); cursor: zoom-in; }
.cert-thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: border-color .15s; }
.cert-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cert:hover .cert-thumb { border-color: var(--green); }
.cert-caption { font-weight: 500; font-size: 0.98rem; line-height: 1.4; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(10, 28, 34, 0.9); }
.lb-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 16px; gap: 14px; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: calc(100% - 72px); }
.lb-figure img { max-width: min(1100px, 100%); max-height: calc(100vh - 150px); object-fit: contain; background: #fff; border-radius: 4px; }
.lb-figure figcaption { color: #fff; font-weight: 500; text-align: center; }
.lb-controls { display: flex; gap: 10px; }
.lb-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn .icon { width: 22px; height: 22px; }
:root[dir="rtl"] .lb-dir { transform: scaleX(-1); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); align-items: start; }
.audiences { list-style: none; margin: 0 0 32px; padding: 0; }
.audiences li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.audiences li:first-child { border-top: 1px solid var(--line); }
.audiences p { margin: 0; color: var(--ink-2); }
.aud-icon { width: 28px; height: 28px; color: var(--green); margin-top: 2px; }
.office { margin-bottom: 28px; }
.office-line { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.office-line .icon { margin-top: 0.3em; color: var(--green); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.form-card h2 { font-size: 1.5rem; }
.field { margin: 0 0 18px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.97rem; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .filter select:focus, .filter input:focus { border-color: var(--green); outline: 3px solid rgba(217, 154, 30, .55); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: 0.9rem; margin: 6px 0 0; }
.role-options { display: flex; flex-wrap: wrap; gap: 8px; }
.role { position: relative; display: inline-flex; margin: 0 !important; }
.role input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.role span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: 0.95rem; }
.role input:checked + span { border-color: var(--green); background: var(--green-tint); color: var(--green-dark); font-weight: 600; }
.role input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-status { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius); font-weight: 500; }
.form-status .icon { margin-top: 0.15em; }
.form-ok { background: var(--green-tint); color: var(--green-dark); }
.form-err { background: #FBE9E7; color: #8C1D18; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.page-404 { padding-bottom: clamp(64px, 10vw, 140px); }
.site-footer { background: var(--ink); color: #C9D6D4; padding: 56px 0 24px; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-name { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.footer-h { color: #fff; font-weight: 600; margin-bottom: 10px; }
.footer-office { display: flex; gap: 10px; align-items: flex-start; max-width: 30em; }
.footer-office .icon { margin-top: 0.3em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.footer-base { margin-top: 40px; }
.footer-base p { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 0.9rem; color: #9FB3B3; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-id { grid-column: 1 / -1; } }
@media print {
@page { margin: 16mm 14mm; }
body { background: #fff; font-size: 10.5pt; line-height: 1.45; }
.site-header, .site-footer, .skip, .btn-print, .more, .cv-profiles, .page-head-link { display: none !important; }
.page-head { padding: 0 0 10pt; }
.page-head h1 { font-size: 22pt; }
.cv-grid { grid-template-columns: 1fr; gap: 0; padding: 0; }
.cv-aside { position: static; display: block; margin-bottom: 10pt; }
.cv-photo { display: none; }
.cv-section { break-inside: avoid-page; padding-bottom: 12pt; margin-bottom: 12pt; }
.tl-item { break-inside: avoid; padding-bottom: 12pt; }
.chips li, .course-code { border: 1px solid #999; background: none; }
a { color: inherit; text-decoration: none; }
.wrap { padding: 0; max-width: none; }
}
