/* Layout: full-bleed hero of Uzbek landmarks with a place caption, then an editorial
   two-column grid (section title left, content right); quiet navy ink on white paper. */
:root {
  --paper: #ffffff;
  --ink: #10233a;
  --stone: #f1f3f5;
  --slate: #586477;
  --rule: #d5dbe2;
  --firuza: #17727a;           /* Samarqand koshinlari rangi, faqat havolalar va fokus uchun */
  --on-dark: #f4f6f8;
  --hero-ground: #0b1a2b;
  --scrim-strong: rgba(8, 20, 34, 0.84);
  --scrim-mid: rgba(8, 20, 34, 0.42);
  --scrim-soft: rgba(8, 20, 34, 0.08);
  --scrim-top: rgba(8, 20, 34, 0.5);
  --footer-bg: #10233a;
  --footer-fg: #dce3ea;
  --footer-muted: #9aaabb;
  --footer-rule: rgba(220, 227, 234, 0.18);
  --draft: #8a5a12;

  --display: "Spectral", Georgia, "Times New Roman", serif;
  --text: "Golos Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.5rem + 2.4vw, 3.5rem);
  --step-5: clamp(2.3rem, 1.25rem + 3.6vw, 4.6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 44rem;
  --section-space: clamp(4rem, 3rem + 4vw, 7rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1928; --ink: #e6ebf1; --stone: #122437; --slate: #9aa9ba; --rule: #22364c;
    --firuza: #5db8be; --footer-bg: #07111c; --footer-fg: #d3dce6; --footer-muted: #8797a9;
    --draft: #e0b25e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1928; --ink: #e6ebf1; --stone: #122437; --slate: #9aa9ba; --rule: #22364c;
  --firuza: #5db8be; --footer-bg: #07111c; --footer-fg: #d3dce6; --footer-muted: #8797a9;
  --draft: #e0b25e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--firuza); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--firuza); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header--solid { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); }
.site-header--overlay { position: absolute; inset: 0 0 auto 0; color: var(--on-dark); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.brand-mark {
  display: inline-block; width: 26px; height: 32px; flex: none; background: currentColor;
  -webkit-mask: url("img/blg-mark.png") center / contain no-repeat; mask: url("img/blg-mark.png") center / contain no-repeat;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 0.3rem; }
.brand-blg { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.16em; }
.brand-full { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em; opacity: 0.82; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-list a, .lang-switch a { color: inherit; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-list a:hover, .nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.45em; }
.lang-switch { display: flex; gap: 0.9rem; padding-left: 1.5rem; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
.lang-switch a { font-size: 0.85rem; opacity: 0.78; white-space: nowrap; }
.lang-switch a:hover, .lang-switch a[aria-current="true"] { opacity: 1; }
.lang-switch a[aria-current="true"] { text-decoration: underline; text-underline-offset: 0.45em; }
.menu-toggle { display: none; }

@media (max-width: 859px) {
  .menu-toggle {
    display: inline-block; background: transparent; color: inherit; font: 500 0.9rem var(--text);
    border: 1px solid currentColor; border-radius: 2px; padding: 0.45rem 0.95rem; cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.25rem;
    background: var(--paper); color: var(--ink); padding: 1.25rem var(--gutter) 1.75rem; border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -24px rgba(8, 20, 34, 0.5);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0.9rem; }
  .nav-list a { font-size: 1.15rem; }
  .lang-switch { border-left: 0; padding-left: 0; padding-top: 1rem; border-top: 1px solid var(--rule); width: 100%; }
  .lang-switch a { font-size: 0.95rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--on-dark); background: var(--hero-ground);
  min-height: clamp(560px, 86vh, 900px); display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity 1.6s ease, transform 0s linear 1.6s;
}
.hero-img.is-active { opacity: 1; transform: scale(1); transition: opacity 1.6s ease, transform 9s ease-out; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--scrim-top) 0%, var(--scrim-soft) 22%),
    linear-gradient(to right, var(--scrim-mid) 0%, var(--scrim-soft) 55%, transparent 75%),
    linear-gradient(to top, var(--scrim-strong) 0%, var(--scrim-mid) 42%, var(--scrim-soft) 72%);
}
.hero-inner { padding-block: 9rem 2.5rem; }
.hero-title { font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); line-height: 1; letter-spacing: -0.02em; max-width: 12ch; }
.hero-title--long { font-size: var(--step-4); max-width: 24ch; }
.hero-text { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; max-width: 40ch; opacity: 0.94; }
.hero-cta {
  display: inline-block; margin-top: 2rem; color: var(--on-dark); text-decoration: none; font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--on-dark) 70%, transparent); padding: 0.85rem 1.5rem; border-radius: 2px;
  transition: background-color 0.2s, color 0.2s;
}
.hero-cta:hover { background: var(--on-dark); color: var(--hero-ground); }
.hero :focus-visible { outline-color: var(--on-dark); }
.hero-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1rem 1.4rem; border-top: 1px solid color-mix(in srgb, var(--on-dark) 22%, transparent);
}
.hero-caption { font-size: var(--step--1); opacity: 0.85; min-height: 1.6em; }
.hero-dots { display: flex; gap: 0.4rem; }
.hero-dot { width: 30px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hero-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: color-mix(in srgb, var(--on-dark) 38%, transparent); transition: background-color 0.3s; }
.hero-dot.is-active::after, .hero-dot:hover::after { background: var(--on-dark); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-space); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) var(--section-space); }
.section--stone { background: var(--stone); }
.section--rule { border-top: 1px solid var(--rule); }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 3rem; }
@media (min-width: 860px) { .section-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.section-grid > * { min-width: 0; }
.section-title { font-family: var(--display); font-size: var(--step-3); line-height: 1.15; }
.section-intro { margin-top: 1rem; color: var(--slate); max-width: 30ch; }
.section-link { margin-top: 2rem; }
.section-link a, .text-link { font-weight: 500; }

.practice-list { margin: 0; }
.practice-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem 2rem; padding-block: 1.6rem; border-top: 1px solid var(--rule); }
.practice-item:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .practice-item { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.practice-item dt { font-family: var(--display); font-size: var(--step-2); line-height: 1.25; }
.practice-item dd { margin: 0; color: var(--slate); max-width: 52ch; }

.statement { font-family: var(--display); font-weight: 300; font-size: var(--step-2); line-height: 1.4; max-width: 36ch; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2.5rem 2rem; }
.partner { display: grid; gap: 1.1rem; align-content: start; }
.partner-photo { background: var(--stone); height: 21rem; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.section--stone .partner-photo { background: var(--paper); }
.partner-photo img { height: 96%; width: auto; max-width: none; }
.partner-name { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.partner-role { color: var(--slate); margin-top: 0.25rem; }
.partner-email { margin-top: 0.6rem; font-size: 0.95rem; overflow-wrap: anywhere; }

.partner-stack { display: grid; gap: 0; }
.partner-stack .partner { padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.partner-stack .partner:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 760px) { .partner-stack .partner { grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; } }
.partner-bio { margin-top: 1.25rem; display: grid; gap: 0.9rem; max-width: 60ch; }
.partner-bio.is-pending { color: var(--slate); font-style: italic; }

.insight-list { list-style: none; margin: 0; padding: 0; }
.insight-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.insight-row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .insight-row { grid-template-columns: 10rem minmax(0, 1fr); } }
.insight-date { color: var(--slate); font-size: 0.9rem; font-variant-numeric: tabular-nums; padding-top: 0.3rem; }
.insight-body { min-width: 0; }
.insight-title { font-family: var(--display); font-size: var(--step-1); line-height: 1.3; }
.insight-title a { color: var(--ink); text-decoration: none; }
.insight-title a:hover { text-decoration: underline; text-decoration-color: var(--firuza); }
.insight-summary { margin-top: 0.45rem; color: var(--slate); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 62ch; }
.insight-meta { margin-top: 0.5rem; font-size: 0.875rem; color: var(--slate); }
.draft-chip { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.5rem; border: 1px solid var(--draft); color: var(--draft); font-size: 0.75rem; border-radius: 2px; }
.empty { color: var(--slate); max-width: 52ch; margin-bottom: 1.5rem; }
.lang-chip { display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.5rem; border: 1px solid var(--rule); font-size: 0.75rem; border-radius: 2px; }
.list-col { max-width: 56rem; }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.page-title { font-family: var(--display); font-weight: 300; font-size: var(--step-4); line-height: 1.1; }
.page-intro { margin-top: 1rem; color: var(--slate); max-width: 52ch; font-size: var(--step-1); line-height: 1.5; }

.article { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section-space); }
.article-back { font-size: 0.9rem; margin-bottom: 2rem; }
.article-back a { color: var(--slate); }
.article-series { color: var(--firuza); font-weight: 500; font-size: 0.9rem; margin-bottom: 0.75rem; }
.article-title { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.14; }
.article-meta { margin-top: 1.25rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); color: var(--slate); font-size: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; row-gap: 0.4rem; }
.article-meta a { color: inherit; }
.article-langs { display: inline-flex; gap: 0.8rem; }
.sep { display: inline-block; width: 1px; height: 0.95em; background: var(--rule); margin-inline: 0.8rem; }
.article-figure { margin-top: 2.25rem; }
.article-figure img { display: block; width: 100%; height: auto; background: var(--stone); }
.article-figure figcaption { margin-top: 0.6rem; color: var(--slate); font-size: 0.8rem; }
.article-figure figcaption a { color: inherit; }
.prose { margin-top: 2.25rem; font-family: var(--display); font-size: 1.2rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 { font-size: 1.5rem; line-height: 1.3; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose blockquote { margin-inline: 0; padding-left: 1.2rem; border-left: 2px solid var(--firuza); color: var(--slate); }
.prose strong { font-weight: 600; }
.prose sup { font-size: 0.68em; line-height: 0; position: relative; top: -0.5em; vertical-align: baseline; }
.archive-note { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--slate); font-size: 0.9rem; font-style: italic; }
.draft-banner { background: var(--draft); color: var(--paper); text-align: center; font-size: 0.9rem; font-weight: 500; padding: 0.6rem var(--gutter); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2.5rem 3rem; }
.contact-block { display: grid; gap: 0.7rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.contact-label { font-family: var(--text); font-size: 0.85rem; font-weight: 500; color: var(--slate); letter-spacing: 0.02em; }
.contact-value { font-family: var(--display); font-size: var(--step-1); line-height: 1.45; overflow-wrap: anywhere; }
.contact-value a { color: var(--ink); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; text-decoration-color: var(--firuza); }
.contact-who { display: block; font-family: var(--text); font-size: 0.85rem; color: var(--slate); }
.copy-btn {
  margin-left: 0.4rem; vertical-align: 0.2em; font: 500 0.75rem var(--text); color: var(--slate); background: transparent;
  border: 1px solid var(--rule); border-radius: 2px; padding: 0.15rem 0.5rem; cursor: pointer;
}
.copy-btn:hover { color: var(--ink); border-color: var(--slate); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); padding-block: 3.5rem 2rem; font-size: 0.95rem; }
.site-footer a { color: var(--footer-fg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--footer-fg); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 2rem 3rem; }
.footer-brand { display: grid; gap: 0.75rem; align-content: start; }
.footer-firm { font-family: var(--display); font-size: 1.15rem; }
.footer-address { color: var(--footer-muted); max-width: 34ch; }
.footer-contacts { display: grid; gap: 0.4rem; align-content: start; overflow-wrap: anywhere; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; align-content: start; }
.footer-fine { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--footer-rule); color: var(--footer-muted); font-size: 0.82rem; display: grid; gap: 0.75rem; }
.credits summary { cursor: pointer; width: fit-content; }
.credits ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.credits a { color: var(--footer-muted); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .hero-img.is-active { transition: none; transform: none; }
}

/* ---------- v2: sheriklar, profil, ilmiy faoliyat, kuzatish ---------- */
.hero-cta--ink { color: var(--ink); border-color: var(--ink); }
.hero-cta--ink:hover { background: var(--ink); color: var(--paper); }
.pending-chip { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border: 1px dashed var(--draft); color: var(--draft); font: 500 0.72rem var(--text); border-radius: 2px; vertical-align: 0.15em; }
.is-pending { color: var(--slate); font-style: italic; }

.partner-name a { color: var(--ink); text-decoration: none; }
.partner-name a:hover { text-decoration: underline; text-decoration-color: var(--firuza); }
.partner-photo { text-decoration: none; }
.partner-summary { margin-top: 0.75rem; color: var(--slate); font-size: 0.95rem; max-width: 46ch; }
.partner-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 3rem; max-width: 60rem; }

.profile { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section-space); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3.5rem; align-items: start; }
@media (min-width: 760px) { .profile-grid { grid-template-columns: 17rem minmax(0, 1fr); } }
.profile-photo { background: var(--stone); height: 22rem; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.profile-photo img { height: 96%; width: auto; max-width: none; }
.profile-main { min-width: 0; }
.profile-name { font-family: var(--display); font-weight: 300; font-size: var(--step-4); line-height: 1.1; }
.profile-role { margin-top: 0.6rem; color: var(--slate); font-size: var(--step-1); }
.profile-bio { margin-top: 1.75rem; display: grid; gap: 1rem; max-width: 62ch; }
.profile-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-weight: 500; }
.profile-section { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--rule); }
.section-title--sm { font-size: var(--step-2); }
.sub-title { font-family: var(--display); font-size: var(--step-1); margin-top: 2.25rem; margin-bottom: 0.5rem; }

.facts { margin: 0; display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem 2rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
.fact:first-child { padding-top: 0; }
@media (min-width: 640px) { .fact { grid-template-columns: 11rem minmax(0, 1fr); } }
.fact dt { color: var(--slate); font-size: 0.9rem; padding-top: 0.15rem; }
.fact dd { margin: 0; }

.research-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 2.5rem 3rem; }
.research-card { padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.research-name { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.research-name a { color: var(--ink); text-decoration: none; }
.research-name a:hover { text-decoration: underline; text-decoration-color: var(--firuza); }
.research-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; }
.research-list li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0.15rem 1rem; }
.research-degree { grid-row: span 2; font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--firuza); padding-top: 0.05rem; }
.research-topic { font-family: var(--display); font-size: 1.15rem; line-height: 1.35; }
.research-status { color: var(--slate); font-size: 0.875rem; }

.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { padding-block: 1.4rem; border-top: 1px solid var(--rule); display: grid; gap: 0.35rem; }
.pub-meta { color: var(--slate); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.pub-year { font-weight: 600; color: var(--ink); margin-right: 0.5rem; }
.pub-title { font-family: var(--display); font-size: var(--step-1); line-height: 1.3; }
.pub-title a { color: var(--ink); }
.pub-venue { color: var(--slate); font-size: 0.9rem; }
.pub-abstract summary { cursor: pointer; color: var(--firuza); font-size: 0.9rem; width: fit-content; }
.pub-abstract p { margin-top: 0.5rem; max-width: 64ch; }
.request-block { margin-top: 2rem; padding: 1.5rem; background: var(--stone); display: grid; gap: 0.75rem; max-width: 46rem; }
.request-block a { overflow-wrap: anywhere; }

.footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-slogan { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 1.05rem; color: var(--footer-fg); }
.footer-follow { display: grid; gap: 0.4rem; align-content: start; }
.footer-label { color: var(--footer-muted); font-size: 0.85rem; margin-bottom: 0.2rem; }

.lang-quick { display: none; }
@media (max-width: 859px) {
  .header-row { gap: 0.75rem; }
  .brand { margin-right: auto; }
  .lang-quick { display: flex; gap: 0.15rem; }
  .lang-quick a { color: inherit; text-decoration: none; font-size: 0.8rem; font-weight: 500; padding: 0.4rem 0.35rem; opacity: 0.75; }
  .lang-quick a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 0.4em; }
}
@media (max-width: 380px) { .brand-full { display: none; } }

/* ---------- v3: haqiqiy fotosuratlar, nashrlar ---------- */
.partner-photo { height: auto; aspect-ratio: 4 / 5; display: block; background: var(--stone); }
.partner-photo img, .partner-grid .partner-photo img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 20%; }
.profile-photo { height: auto; aspect-ratio: 4 / 5; display: block; }
.profile-photo img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 50% 20%; }

.photo-band { margin: 0; position: relative; background: var(--hero-ground); }
.photo-band img { width: 100%; height: clamp(320px, 52vw, 720px); object-fit: cover; object-position: 50% 35%; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding-block: 1rem; color: var(--on-dark); font-size: var(--step--1); background: linear-gradient(to top, var(--scrim-strong), transparent); padding-top: 3rem; }

.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { padding-block: 1.5rem; border-top: 1px solid var(--rule); display: grid; gap: 0.4rem; }
.pub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; color: var(--slate); font-size: 0.85rem; }
.pub-year { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin: 0; }
.pub-open { color: var(--firuza); font-weight: 500; }
.pub-title { font-family: var(--display); font-size: var(--step-1); line-height: 1.35; max-width: 62ch; }
.pub-title a { color: var(--ink); text-decoration-color: var(--rule); }
.pub-title a:hover { text-decoration-color: var(--firuza); }
.pub-tr { color: var(--slate); font-style: italic; font-family: var(--display); max-width: 62ch; }
.pub-authors { font-size: 0.92rem; }
.pub-venue { color: var(--slate); font-size: 0.9rem; max-width: 70ch; overflow-wrap: anywhere; }
.pub-request { font-size: 0.9rem; }
.research-count { margin-top: 1.25rem; font-weight: 500; }

/* v4 */
.fact-src { margin-left: 0.35rem; font-size: 0.85rem; font-weight: 500; white-space: nowrap; }
