:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --ink: #10131a;
  --muted: #646b79;
  --line: rgba(16, 19, 26, 0.12);
  --line-strong: rgba(16, 19, 26, 0.2);
  --primary: #315efb;
  --primary-2: #6d4aff;
  --cyan: #13b7bd;
  --orange: #f28b39;
  --shadow: 0 24px 70px rgba(34, 47, 79, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --header-height: 80px;
}

html[data-theme="dark"] {
  --bg: #0b0e14;
  --surface: #121720;
  --surface-2: #171d28;
  --ink: #f2f5fa;
  --muted: #9ca5b4;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  transition: color .25s ease, background .25s ease;
}
body.is-rtl { font-family: Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; top: -50px; left: 16px; z-index: 999; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-shell { padding: 118px 0; position: relative; }
.section-tinted { background: var(--surface-2); }
.section-dark { background: #0e1320; color: #f5f7fc; }

.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-height); z-index: 100;
  transition: transform .28s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(18px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 270px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 12px; font-weight: 800; letter-spacing: -.04em; background: var(--surface); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-size: .93rem; }
.brand-copy small { color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1; }
.site-nav a { color: var(--muted); font-size: .9rem; font-weight: 650; transition: color .2s ease; position: relative; }
.site-nav a::after { content: ""; position: absolute; inset: auto 50% -8px 50%; height: 2px; background: var(--primary); transition: inset .2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { inset-inline: 0; }
.header-actions { display: flex; gap: 9px; }
.icon-button, .language-button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.icon-button:hover, .language-button:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.icon-button svg { width: 18px; height: 18px; }
.moon-icon { display: none; }
html[data-theme="dark"] .sun-icon { display: none; }
html[data-theme="dark"] .moon-icon { display: block; }
.language-button { font-size: .72rem; font-weight: 800; }
.mobile-menu-button { display: none; margin-inline-start: auto; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.mobile-menu-button span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 130px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle, rgba(49,94,251,.12), transparent 68%); top: -230px; left: -190px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: 86px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.status-dot { width: 9px; height: 9px; background: #20bb72; border-radius: 50%; box-shadow: 0 0 0 5px rgba(32,187,114,.13); }
.hero h1 { max-width: 760px; margin: 24px 0 22px; font-size: clamp(3.4rem, 7vw, 6.5rem); line-height: .98; letter-spacing: -.065em; font-weight: 780; }
.hero h1 span { display: block; }
.gradient-text { color: transparent; background: linear-gradient(120deg, var(--primary), var(--primary-2) 56%, var(--cyan)); background-clip: text; -webkit-background-clip: text; }
.hero-lead { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.32rem); line-height: 1.7; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.hero-tags span, .project-tags span { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 12px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border-radius: 13px; font-weight: 750; font-size: .9rem; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--ink); color: var(--bg); box-shadow: 0 12px 30px rgba(15,20,32,.18); }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(15,20,32,.24); }
.button-secondary { background: var(--surface); border-color: var(--line); }
.button-secondary:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.hero-meta { margin-top: 44px; padding-top: 25px; border-top: 1px solid var(--line); display: flex; gap: 46px; }
.hero-meta div { display: flex; flex-direction: column; }
.meta-label { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-meta strong { font-size: .89rem; }

.hero-visual { min-height: 610px; position: relative; display: grid; place-items: center; }
.profile-card { width: min(100%, 430px); padding: 19px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: blur(16px); border-radius: 31px; box-shadow: var(--shadow); position: relative; z-index: 3; transform: rotate(1.5deg); }
.profile-topline { display: flex; justify-content: space-between; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .07em; }
.profile-state { display: inline-flex; align-items: center; gap: 6px; }
.profile-state i { width: 6px; height: 6px; border-radius: 50%; background: #20bb72; }
.avatar-placeholder { margin: 18px 0; height: 290px; border-radius: 21px; background: linear-gradient(145deg, #e7ecfa, #cfd7f2); position: relative; overflow: hidden; display: grid; place-items: center; color: #21325f; }
html[data-theme="dark"] .avatar-placeholder { background: linear-gradient(145deg, #202a40, #182034); color: #a8baff; }
.avatar-placeholder::before { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid currentColor; opacity: .18; border-radius: 50%; }
.avatar-placeholder span { font-size: 5rem; font-weight: 850; letter-spacing: -.08em; opacity: .16; position: absolute; top: 20px; left: 24px; }
.avatar-placeholder svg { width: 230px; height: 230px; opacity: .55; stroke-width: 1.25; }
.profile-name h2 { margin: 0; font-size: 1.42rem; letter-spacing: -.035em; }
.profile-name p { margin: 4px 0 16px; color: var(--muted); font-size: .82rem; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.profile-stats div { background: var(--surface-2); border-radius: 13px; padding: 11px; display: flex; flex-direction: column; }
.profile-stats strong { font-size: 1.12rem; }
.profile-stats span { font-size: .64rem; color: var(--muted); line-height: 1.3; }
.profile-links { display: flex; gap: 12px; margin-top: 15px; }
.profile-links a { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 11px; padding: 8px; font-size: .75rem; font-weight: 750; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 340px; height: 340px; background: linear-gradient(135deg, rgba(49,94,251,.22), rgba(109,74,255,.05)); top: 50px; right: 10px; animation: float 6s ease-in-out infinite; }
.orb-two { width: 260px; height: 260px; border: 1px solid rgba(19,183,189,.25); bottom: 30px; left: 0; animation: float 7s ease-in-out infinite reverse; }
.floating-note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 10px 13px; box-shadow: var(--shadow); }
.floating-note span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--bg); font-size: .72rem; font-weight: 800; }
.floating-note small { font-size: .7rem; color: var(--muted); white-space: nowrap; }
.note-one { top: 115px; left: -8px; animation: float 5.6s ease-in-out infinite; }
.note-two { bottom: 96px; right: -22px; animation: float 6.3s ease-in-out infinite reverse; }

.marquee-section { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: var(--surface); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 23px; animation: marquee 30s linear infinite; }
.marquee-track span { color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.split-heading, .section-heading { display: grid; grid-template-columns: 250px 1fr; gap: 70px; align-items: start; margin-bottom: 58px; }
.section-index { display: inline-grid; place-items: center; min-width: 34px; height: 26px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: .67rem; font-weight: 800; }
.section-kicker { margin: 13px 0 0; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.split-heading h2, .section-heading h2 { margin: 0; max-width: 850px; font-size: clamp(2.25rem, 4.3vw, 4.35rem); line-height: 1.08; letter-spacing: -.055em; }
.split-heading > div:last-child > p, .section-heading > div:last-child > p { margin: 20px 0 0; color: var(--muted); max-width: 740px; font-size: 1.05rem; }
.section-heading.light .section-kicker, .section-heading.light p { color: #9fa9bb; }
.section-heading.light .section-index { border-color: rgba(255,255,255,.24); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.focus-card { min-height: 285px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); position: relative; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.focus-card:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.focus-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.focus-icon svg { width: 24px; height: 24px; }
.card-number { position: absolute; top: 26px; right: 24px; color: var(--muted); font-size: .68rem; }
.is-rtl .card-number { right: auto; left: 24px; }
.focus-card h3 { margin: 55px 0 10px; font-size: 1.2rem; }
.focus-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-xl); transition: transform .28s ease, box-shadow .28s ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card:last-child { grid-column: span 2; display: grid; grid-template-columns: .8fr 1.2fr; }
.project-visual { min-height: 310px; display: grid; place-items: center; overflow: hidden; position: relative; }
.project-copilot .project-visual { background: linear-gradient(145deg, #18213b, #315efb); }
.project-aimah .project-visual { background: linear-gradient(145deg, #ddf8f4, #8fded7); }
.project-olympiad .project-visual { background: linear-gradient(145deg, #fff0d9, #f4c677); }
.project-content { padding: 29px; }
.project-heading { display: flex; justify-content: space-between; color: var(--muted); text-transform: uppercase; font-size: .67rem; letter-spacing: .1em; font-weight: 800; }
.project-content h3 { font-size: 2rem; margin: 13px 0 9px; letter-spacing: -.04em; }
.project-content > p { color: var(--muted); margin: 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0; }
.project-link { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 800; }
.project-link svg { width: 17px; height: 17px; }
.project-link.muted { color: var(--muted); }
.project-interface { position: relative; }
.copilot-ui { width: 74%; height: 72%; background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: 0 28px 65px rgba(0,0,0,.28); transform: perspective(700px) rotateY(-8deg) rotateX(4deg); overflow: hidden; display: grid; grid-template-columns: 58px 1fr; grid-template-rows: 33px 1fr; }
.ui-top { grid-column: 1 / -1; display: flex; gap: 5px; align-items: center; padding: 0 11px; background: #f1f3f8; }
.ui-top span { width: 6px; height: 6px; border-radius: 50%; background: #bbc1cd; }
.ui-sidebar { background: #121a2d; display: flex; flex-direction: column; gap: 15px; align-items: center; padding-top: 18px; }
.ui-sidebar i { width: 19px; height: 4px; border-radius: 9px; background: rgba(255,255,255,.42); }
.ui-main { padding: 22px; color: #17203a; }
.ui-main b { display: block; font-size: 1rem; margin-bottom: 20px; }
.ui-main > span { display: block; width: 84%; height: 7px; background: #dde2ed; border-radius: 9px; margin: 10px 0; }
.ui-main > span:nth-of-type(2) { width: 60%; }
.ui-main div { display: flex; gap: 7px; margin-top: 28px; }
.ui-main i { flex: 1; height: 58px; border-radius: 9px; background: #e7ebf5; }
.hospital-ui { width: 80%; height: 80%; display: flex; align-items: flex-end; justify-content: center; }
.hospital-building { width: 60%; height: 77%; background: rgba(255,255,255,.9); border-radius: 18px 18px 4px 4px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; padding: 40px 18px 18px; box-shadow: 0 25px 55px rgba(13,89,87,.18); position: relative; }
.hospital-building i { background: rgba(19,183,189,.16); border-radius: 4px; }
.hospital-building strong { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); color: #16989e; font-size: 1.8rem; }
.patient-chat { position: absolute; right: 0; top: 18%; width: 42%; background: #153b49; padding: 18px; border-radius: 17px; box-shadow: 0 20px 45px rgba(0,0,0,.16); }
.patient-chat span { display: block; height: 8px; border-radius: 8px; background: rgba(255,255,255,.76); margin: 9px 0; }
.patient-chat span:nth-child(2) { width: 72%; }
.patient-chat span:nth-child(3) { width: 48%; background: #80ddd7; }
.olympiad-ui { width: 320px; height: 230px; display: grid; place-items: center; }
.medal { width: 125px; height: 125px; display: grid; place-items: center; border-radius: 50%; background: #fff8e9; border: 8px solid rgba(169,104,16,.25); box-shadow: 0 20px 50px rgba(126,78,10,.2); }
.medal span { font-size: 3.4rem; font-family: Georgia, serif; color: #a56716; }
.laurel { position: absolute; font-size: 4.5rem; color: rgba(123,79,18,.35); top: 64px; }
.laurel.left { left: 16px; transform: rotate(-16deg); }
.laurel.right { right: 16px; transform: rotate(16deg); }
.score-lines { position: absolute; bottom: 8px; display: flex; gap: 7px; }
.score-lines i { width: 55px; height: 7px; border-radius: 8px; background: rgba(126,78,10,.2); }

.publication-list { border-top: 1px solid var(--line); }
.publication-item { display: grid; grid-template-columns: 120px 1fr 50px; gap: 25px; align-items: center; padding: 25px 5px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.publication-item:hover { background: var(--surface); padding-inline: 17px; }
.pub-meta { display: flex; flex-direction: column; }
.pub-meta span { font-size: 1rem; font-weight: 800; }
.pub-meta small { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.pub-main h3 { margin: 0 0 7px; font-size: 1.1rem; line-height: 1.45; }
.pub-main p { margin: 0; color: var(--muted); font-size: .78rem; }
.pub-main strong { color: var(--primary); font-size: .75rem; }
.pub-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.pub-arrow svg { width: 18px; height: 18px; }
.center-action { text-align: center; margin-top: 40px; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 31px; width: 1px; background: rgba(255,255,255,.15); }
.is-rtl .timeline::before { left: auto; right: 31px; }
.timeline-item { display: grid; grid-template-columns: 64px 150px 1fr; gap: 30px; padding: 0 0 48px; position: relative; }
.timeline-marker { position: relative; z-index: 2; width: 64px; display: grid; justify-items: center; }
.timeline-marker span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #1d2740; border: 1px solid rgba(255,255,255,.18); font-size: .72rem; font-weight: 800; }
.timeline-period { color: #aab4c6; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding-top: 6px; }
.timeline-content { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.timeline-content h3 { margin: 0; font-size: 1.55rem; line-height: 1.35; }
.timeline-content strong { display: block; color: #8fa7ff; margin-top: 7px; font-size: .91rem; }
.timeline-content p { color: #aab4c6; margin: 10px 0 0; }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); min-height: 470px; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; box-shadow: var(--shadow); }
.contact-copy { padding: clamp(35px, 6vw, 70px); }
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); max-width: 760px; line-height: 1.05; letter-spacing: -.06em; margin: 25px 0 20px; }
.contact-copy > p { color: var(--muted); max-width: 650px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.contact-monogram { background: linear-gradient(145deg, #1d2f6f, #7446db); position: relative; display: grid; place-items: center; overflow: hidden; color: white; }
.contact-monogram > span { font-size: clamp(4rem, 9vw, 8.5rem); font-weight: 850; letter-spacing: -.09em; position: relative; z-index: 2; }
.monogram-ring { position: absolute; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.ring-a { width: 360px; height: 360px; }
.ring-b { width: 560px; height: 560px; }

.site-footer { padding: 45px 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.footer-inner p { color: var(--muted); margin: 3px 0 0; font-size: .83rem; }
.footer-inner small { color: var(--muted); grid-column: 1 / -1; font-size: .72rem; }
.footer-links { display: flex; gap: 20px; font-size: .78rem; font-weight: 750; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease var(--delay, 0ms), transform .65s ease var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
.is-rtl .marquee-track { animation-direction: reverse; }
.is-rtl .button svg, .is-rtl .pub-arrow svg { transform: scaleX(-1); }
.is-rtl .profile-card { transform: rotate(-1.5deg); }

@media (max-width: 1020px) {
  .site-nav { gap: 16px; }
  .brand { min-width: 220px; }
  .hero-grid { gap: 45px; }
  .hero h1 { font-size: clamp(3.1rem, 7.5vw, 5rem); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .section-shell { padding: 88px 0; }
  .brand-copy { display: none; }
  .brand { min-width: auto; }
  .mobile-menu-button { display: block; }
  .site-nav { position: fixed; top: 70px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 15px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 11px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 570px; }
  .profile-card { width: min(92%, 430px); }
  .split-heading, .section-heading { grid-template-columns: 1fr; gap: 27px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; grid-template-columns: 1fr; }
  .project-card:last-child .project-visual { min-height: 300px; }
  .publication-item { grid-template-columns: 90px 1fr 42px; }
  .timeline-item { grid-template-columns: 64px 1fr; gap: 22px; }
  .timeline-period { grid-column: 2; }
  .timeline-content { grid-column: 2; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-monogram { min-height: 300px; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding-top: 115px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-meta { flex-direction: column; gap: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 510px; }
  .avatar-placeholder { height: 245px; }
  .profile-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .floating-note { display: none; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 240px; }
  .project-visual { min-height: 250px; }
  .copilot-ui { width: 86%; }
  .publication-item { grid-template-columns: 1fr 38px; gap: 14px; }
  .pub-meta { grid-column: 1 / -1; flex-direction: row; gap: 10px; align-items: center; }
  .pub-main h3 { font-size: .95rem; }
  .contact-copy { padding: 30px 24px; }
  .contact-actions .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
