/* Yurislingvistika — Academic Navy */
:root {
  --navy-950: #06132a;
  --navy-900: #0a1b36;
  --navy-800: #0f2747;
  --navy-700: #173660;
  --navy-600: #22477a;
  --sky-600: #1d6cc0;
  --sky-500: #2f84db;
  --sky-400: #5ca3ea;
  --sky-200: #bdd9f5;
  --sky-100: #e6f0fb;
  --sky-50: #f3f8fe;
  --gold: #c9a45c;
  --gold-soft: #ead9b2;
  --ink: #0f1d33;
  --text: #2b364a;
  --muted: #5e6b80;
  --line: #e2e8f0;
  --line-strong: #cfd9e6;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(10, 27, 54, .05), 0 2px 6px rgba(10, 27, 54, .06);
  --shadow: 0 14px 34px -16px rgba(10, 27, 54, .28);
  --shadow-lg: 0 34px 70px -28px rgba(6, 19, 42, .55);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); text-decoration: none; }
a:hover { color: var(--sky-500); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; border-radius: 4px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 16px; }
.h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.note { color: var(--muted); font-size: .92rem; margin-top: 1.5rem; }
.note--top { margin: -.4rem 0 1.2rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.35em; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--sans); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn small { font-weight: 500; opacity: .75; font-size: .78em; }
.btn--primary { background: var(--sky-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(29, 108, 192, .8); }
.btn--primary:hover { background: var(--sky-500); color: #fff; transform: translateY(-1px); }
.btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-700); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--sky-500); color: var(--sky-600); background: var(--sky-50); }
.btn--muted { background: var(--bg-alt); color: var(--muted); border: 1px dashed var(--line-strong); cursor: default; font-weight: 500; }
.btn--sm { padding: .6em 1em; font-size: .86rem; border-radius: 9px; }
.btn--lg { padding: .95em 1.6em; font-size: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .95rem; color: var(--sky-600);
  background: none; border: 0; padding: 0;
}
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow--light { color: var(--sky-200); }
.link-arrow--light:hover { color: #fff; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--navy-900); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-800)); border: 1px solid rgba(201, 164, 92, .45); color: var(--gold);
}
.emblem { width: 30px; height: 30px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 1.22rem/1.1 var(--serif); letter-spacing: .01em; }
.brand__sub { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-200); margin-top: 4px; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .86); font-size: .9rem; font-weight: 500;
  padding: 10px 11px; border-radius: 8px; background: none; border: 0; white-space: nowrap; position: relative;
}
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link[aria-current="page"], .nav__more.is-current { color: #fff; }
.nav__link[aria-current="page"]::after, .nav__more.is-current::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav__more .i { width: 14px; height: 14px; opacity: .7; }
.nav__caret { display: none; }
.has-sub > .nav__link { padding-right: 11px; }
.nav__sub {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 8px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__sub--right { left: auto; right: 0; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .9rem; }
.nav__sub li:first-child a:not([aria-current]) { font-weight: 600; color: var(--ink); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sky-50); color: var(--sky-600); }

.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); flex: none; }
.lang a { color: rgba(255, 255, 255, .75); font-size: .76rem; font-weight: 700; letter-spacing: .06em; padding: 6px 9px; border-radius: 7px; }
.lang a:hover { color: #fff; }
.lang a.is-active { background: #fff; color: var(--navy-900); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #fff; align-items: center; justify-content: center; }
.burger .i { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(6, 19, 42, .55); backdrop-filter: blur(3px); }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 100%); background: var(--navy-900); color: #fff;
  padding: 18px 20px 28px; overflow-y: auto; animation: slideIn .25s var(--ease);
}
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff; display: grid; place-items: center; }
.drawer__list { list-style: none; }
.drawer__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer__link { display: block; padding: 13px 4px; color: #fff; font-weight: 600; }
.drawer__link[aria-current="page"] { color: var(--gold); }
.drawer__list ul { list-style: none; padding: 0 0 10px 12px; }
.drawer__list ul a { display: block; padding: 6px 4px; color: var(--sky-200); font-size: .92rem; }
.lang--drawer { margin-top: 20px; display: inline-flex; }

/* ---------- hero */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; padding: 72px 0 120px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(47, 132, 219, .32), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(201, 164, 92, .12), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); padding: 7px 14px; border: 1px solid rgba(201, 164, 92, .35); border-radius: 999px; background: rgba(201, 164, 92, .08); margin-bottom: 26px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .2); }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 18px; }
.hero__univ { display: flex; align-items: center; gap: 10px; color: var(--sky-200); font-weight: 500; margin-bottom: 22px; }
.hero__lead { font-size: 1.12rem; line-height: 1.7; color: rgba(255, 255, 255, .82); max-width: 40em; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; justify-self: end; width: min(100%, 430px); isolation: isolate; }
.portrait { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .14); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 19, 42, .55)); }
.hero__visual::before {
  content: ''; position: absolute; inset: -16px -16px 16px 16px; border: 1px solid rgba(201, 164, 92, .55); border-radius: 22px; z-index: -1;
}
.hero__badge {
  position: absolute; left: -48px; bottom: 34px; display: flex; align-items: center; gap: 12px; max-width: 300px;
  background: #fff; color: var(--ink); padding: 14px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.hero__badge strong { display: block; font-size: .92rem; line-height: 1.3; }
.hero__badge small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.hero__badge-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-600); flex: none; }
.hero__badge-icon .i { width: 22px; height: 22px; }
.hero__chip {
  position: absolute; right: -14px; top: 26px; background: var(--navy-800); color: var(--gold-soft); border: 1px solid rgba(201, 164, 92, .45);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}

.stats-wrap { position: relative; z-index: 2; margin-top: -64px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__n { font: 600 2.4rem/1 var(--serif); color: var(--navy-800); }
.stat__l { color: var(--muted); font-size: .9rem; line-height: 1.35; }

/* ---------- sections */
.section { padding: 96px 0; }
.section--tight { padding: 40px 0 96px; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec-head > div { max-width: 720px; }
.kicker { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 12px; }
.kicker--light { color: var(--gold-soft); }
.sec-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.sec-lead { color: var(--muted); font-size: 1.05rem; margin: 14px 0 0; }
.section--navy .sec-title { color: #fff; }
.section--navy .kicker { color: var(--gold-soft); }
.section--navy .sec-lead { color: rgba(255, 255, 255, .72); }
.section--navy .link-arrow { color: var(--sky-200); }
.section--navy .link-arrow:hover { color: #fff; }

/* foreword + definition */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.letter { position: relative; padding-left: 28px; border-left: 3px solid var(--gold); }
.letter__salute { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
.letter p { font-size: 1.04rem; color: var(--text); }
.letter__sign { font-family: var(--serif); font-style: italic; color: var(--navy-700); margin-top: 22px; font-size: 1.08rem; }
.define {
  position: relative; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: 20px; padding: 36px 34px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.define__icon { position: absolute; right: -18px; top: -18px; color: rgba(201, 164, 92, .16); }
.define__icon .emblem { width: 150px; height: 150px; }
.define__text { font: 500 1.35rem/1.45 var(--serif); color: #fff; margin-bottom: 26px; position: relative; }
.define__h { color: var(--sky-200); font: 600 .82rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.define__list { list-style: none; counter-reset: g; margin-bottom: 24px; }
.define__list li { counter-increment: g; position: relative; padding: 10px 0 10px 40px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.5; }
.define__list li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 10px; font: 600 .85rem var(--serif); color: var(--gold); }

/* ---------- 3D books */
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.book {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .3s, transform .3s;
}
.book:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.book__stage {
  display: grid; place-items: center; padding: 34px 20px 30px;
  background: radial-gradient(circle at 50% 30%, #fff, var(--sky-50) 70%), var(--sky-50); border-bottom: 1px solid var(--line);
}
.book3d { --w: 148px; --h: 197px; --t: 11px; perspective: 900px; width: var(--w); height: var(--h); }
.book3d__inner {
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateY(-26deg);
  transition: transform .6s var(--ease);
}
.book:hover .book3d__inner, .dict:hover .book3d__inner { transform: rotateY(-8deg); }
.book3d__face {
  position: absolute; inset: 0; transform: translateZ(var(--t)); border-radius: 2px 6px 6px 2px; overflow: hidden; background: var(--navy-800);
  box-shadow: 6px 8px 22px rgba(10, 27, 54, .28);
}
.book3d__face::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .28) 0, rgba(255, 255, 255, .18) 2.5%, rgba(0, 0, 0, .08) 5%, transparent 9%, transparent 85%, rgba(255, 255, 255, .08));
  pointer-events: none;
}
.book3d__face img { width: 100%; height: 100%; object-fit: cover; }
.book3d__inner::before {
  content: ''; position: absolute; top: 3px; left: 0; width: calc(var(--t) * 2 - 2px); height: calc(var(--h) - 6px);
  transform: translateX(calc(var(--w) - var(--t) - 3px)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #fff 0 2px, #e9ecf1 2px 3px);
}
.book3d__inner::after {
  content: ''; position: absolute; inset: 0; transform: translateZ(calc(var(--t) * -1)); border-radius: 2px 6px 6px 2px;
  background: var(--navy-900); box-shadow: -14px 8px 40px 4px rgba(10, 27, 54, .22);
}
.book__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.book__meta { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-600); margin-bottom: 8px; }
.book__title { font-size: 1.14rem; line-height: 1.3; margin-bottom: 8px; }
.book__orig { font-size: .86rem; color: var(--muted); font-style: italic; margin-bottom: 6px; }
.book__pub { font-size: .86rem; color: var(--muted); margin-bottom: 0; }
.book__actions { margin-top: auto; padding-top: 18px; }
.book__actions .btn { width: 100%; }

/* typographic covers */
/* sized in em so the whole cover scales with the book width (16px at --w: 148px) */
.tcover {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1em .875em .875em 1.125em; color: #fff;
  font-size: calc(var(--w, 148px) * .108); background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
}
.tcover::before { content: ''; position: absolute; inset: .5em .5em .5em .75em; border: 1px solid rgba(201, 164, 92, .55); border-radius: 2px; pointer-events: none; }
.tcover__author { font: 600 .58em/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-top: .6em; }
.tcover__title { font: 600 .96em/1.18 var(--serif); margin-top: .875em; overflow-wrap: anywhere; }
.tcover__mark { margin-top: auto; color: var(--gold); opacity: .9; }
.tcover__mark .emblem { width: 2.1em; height: 2.1em; }
.tcover__year { position: absolute; right: 1em; bottom: 1em; font: 600 .62em var(--sans); letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.tcover--sky { background: linear-gradient(160deg, #2a77c9, #123d72); }
.tcover--ink { background: linear-gradient(160deg, #24324a, #0b1220); }
.tcover--teal { background: linear-gradient(160deg, #1f6f78, #0d3640); }
.tcover--brown { background: linear-gradient(160deg, #8a5a33, #4a2c17); }
.tcover--brown .tcover__author { font-size: .5em; }

/* ---------- world resources */
.world__pattern {
  position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(700px 360px at 100% 0%, rgba(47, 132, 219, .35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(201, 164, 92, .15), transparent 60%);
}
.world .container { position: relative; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.res {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .25s, background .25s, transform .25s;
}
.res::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(201, 164, 92, .18); border-radius: 12px; pointer-events: none; }
.res:hover { border-color: rgba(92, 163, 234, .6); background: rgba(255, 255, 255, .07); transform: translateY(-3px); }
.res__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.res__abbr { font: 700 1.5rem/1 var(--serif); color: #fff; letter-spacing: .02em; }
.res__kind { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(201, 164, 92, .4); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.res__name { font: 600 1rem/1.35 var(--sans); color: var(--sky-200); margin-bottom: 12px; }
.res__desc { font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .74); margin-bottom: 18px; }
.res__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: .88rem; }
.res__link .i { width: 15px; height: 15px; }
.res__link:hover { color: var(--sky-400); }
.res-grid--light { grid-template-columns: repeat(3, 1fr); }
.res-grid--light .res { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.res-grid--light .res::before { border-color: rgba(201, 164, 92, .28); }
.res-grid--light .res:hover { border-color: var(--sky-200); box-shadow: var(--shadow); }
.res-grid--light .res__abbr { color: var(--navy-800); }
.res-grid--light .res__kind { color: #8a6a2c; border-color: rgba(201, 164, 92, .55); background: #fbf6ea; }
.res-grid--light .res__name { color: var(--sky-600); }
.res-grid--light .res__desc { color: var(--text); }
.res-grid--light .res__link { color: var(--navy-700); }
.res-grid--light .res__link:hover { color: var(--sky-600); }
#assotsiatsiyalar .res-grid--light { grid-template-columns: repeat(4, 1fr); }

/* ---------- news & cta */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.news:hover { box-shadow: var(--shadow); border-color: var(--sky-200); }
.news__date { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--sky-600); letter-spacing: .04em; margin-bottom: 14px; }
.news__title { font-size: 1.2rem; margin-bottom: 12px; }
.news__text { color: var(--muted); font-size: .95rem; }
.news .link-arrow { margin-top: auto; }
.cta { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 22px; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.cta__img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.cta__body { padding: 52px 50px; color: #fff; align-self: center; }
.cta__body h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta__body p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; margin-bottom: 28px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- inner pages */
.page-hero { position: relative; background: var(--navy-900); color: #fff; padding: 52px 0 44px; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 380px at 90% 0%, rgba(47, 132, 219, .3), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.page-hero__intro { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 52em; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; margin-bottom: 18px; color: var(--sky-200); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { color: var(--sky-200); }
.crumbs a:hover { color: #fff; }
.subnav { margin-top: 28px; }
.subnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.subnav a {
  display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #fff;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); transition: background .2s, border-color .2s;
}
.subnav a:hover, .subnav a.is-active { background: #fff; color: var(--navy-900); border-color: #fff; }

.block { padding: 72px 0; }
.block--alt { background: var(--bg-alt); }
.block__title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 28px; }
.block__num { font: 600 .9rem var(--sans); color: var(--gold); letter-spacing: .08em; border: 1px solid rgba(201, 164, 92, .5); border-radius: 999px; padding: 3px 10px; transform: translateY(-4px); }
.block__lead { color: var(--muted); font-size: 1.04rem; max-width: 52em; margin: -10px 0 30px; }

/* documents */
.docs { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.doc__badge { width: 46px; height: 54px; border-radius: 6px 12px 6px 6px; display: grid; place-items: center; font: 700 .7rem var(--sans); letter-spacing: .06em; color: #fff; flex: none; }
.doc__badge--pdf { background: linear-gradient(160deg, #d9534f, #a83a36); }
.doc__badge--ppt { background: linear-gradient(160deg, #e0863e, #b5602a); }
.doc__badge--doc { background: linear-gradient(160deg, #2f84db, #1b5aa0); }
.doc__body { flex: 1; min-width: 0; }
.doc__title { font-weight: 600; color: var(--ink); margin: 0 0 2px; line-height: 1.4; }
.doc__meta { font-size: .8rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.empty { display: flex; align-items: center; gap: 14px; padding: 24px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); background: #fff; }
.empty p { margin: 0; }
.empty .i { width: 28px; height: 28px; color: var(--sky-400); }
.empty--inline { justify-content: center; margin-top: 20px; }

/* dissertations */
.diss-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.diss-list { list-style: none; display: grid; gap: 10px; }
.diss { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.diss__year { font: 600 1.05rem/1.4 var(--serif); color: var(--navy-700); }
.diss__text { margin: 0; font-size: .95rem; line-height: 1.55; }
.diss__dl {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 8px; background: var(--sky-100); color: var(--sky-600);
  font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.diss__dl small { font-weight: 500; opacity: .75; }
.diss__dl:hover { background: var(--sky-600); color: #fff; }

/* articles */
.arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.art { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; align-items: center; }
.art__thumbs { position: relative; height: 170px; }
.art__thumb { position: absolute; inset: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: var(--bg-alt); }
.art__thumb:nth-child(2) { transform: translate(10px, 8px) rotate(3deg); z-index: -1; }
.art__thumbs { isolation: isolate; }
.art__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.art__thumb:hover img { transform: scale(1.05); }
.art__thumb--cover img { object-fit: cover; }
.art__src { font-size: .8rem; color: var(--sky-600); font-weight: 600; margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.art__src span { color: var(--muted); font-weight: 500; }
.art__title { font-size: 1.15rem; margin-bottom: 14px; }
.art .link-arrow { font-size: .88rem; }

/* dictionaries */
.dicts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dict { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.dict__stage { display: grid; place-items: center; padding: 10px 0; }
.dict__title { font-size: 1.3rem; margin-bottom: 10px; }
.dict__meta { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

/* courses */
.courses { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.course { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); }
.course__n { font: 600 1rem var(--serif); color: var(--gold); width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201, 164, 92, .5); display: grid; place-items: center; flex: none; }

/* jahon */
.what { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.what__def { font: 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.4 var(--serif); color: var(--ink); padding-left: 22px; border-left: 3px solid var(--gold); margin-bottom: 34px; }
.what__h { font-size: 1.3rem; margin-bottom: 16px; }
.goals { list-style: none; counter-reset: g; display: grid; gap: 2px; }
.goals li { counter-increment: g; position: relative; padding: 13px 0 13px 48px; border-top: 1px solid var(--line); }
.goals li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 13px; font: 600 .9rem var(--serif); color: var(--sky-600); background: var(--sky-100); border-radius: 6px; padding: 1px 7px; }
.what__side { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.what__side h3 { font-size: 1.15rem; margin-bottom: 14px; }
.reading { list-style: none; display: grid; gap: 10px; }
.reading a { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: .9rem; line-height: 1.45; }
.reading a:hover { border-color: var(--sky-200); color: var(--sky-600); }
.reading .i { width: 15px; height: 15px; margin-top: 3px; color: var(--sky-500); }
.refs { list-style: none; counter-reset: r; display: grid; gap: 14px; }
.ref { counter-increment: r; position: relative; padding: 22px 24px 20px 70px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ref::before { content: counter(r); position: absolute; left: 22px; top: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-soft); font: 600 .95rem var(--serif); }
.ref__apa { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); margin-bottom: 6px; }
.ref__note { color: var(--muted); margin: 0; font-size: .94rem; }
.online-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.online { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.online:hover { border-color: var(--sky-200); box-shadow: var(--shadow); color: var(--text); }
.online__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-600); flex: none; }
.online__icon .i { width: 22px; height: 22px; }
.online__body { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .92rem; color: var(--muted); }
.online__body strong { color: var(--ink); font-size: 1rem; }
.online > .i { color: var(--sky-500); width: 16px; height: 16px; }

/* research agenda */
.tsearch { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.tsearch__box { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--muted); }
.tsearch__box:focus-within { border-color: var(--sky-500); box-shadow: 0 0 0 4px var(--sky-100); }
.tsearch__box input { flex: 1; border: 0; outline: 0; padding: 14px 0; font: inherit; color: var(--ink); background: transparent; min-width: 0; }
.tsearch__count { margin: 0; color: var(--muted); }
.tsearch__count strong { color: var(--navy-800); font-family: var(--serif); font-size: 1.3rem; }
.tgroups { columns: 2; column-gap: 26px; }
.tgroup { break-inside: avoid; margin-bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 12px; }
.tgroup__title { display: flex; align-items: center; gap: 12px; font-size: 1.18rem; margin-bottom: 12px; }
.tgroup__n { font: 600 .78rem var(--sans); color: #fff; background: var(--navy-800); border-radius: 6px; padding: 4px 7px; }
.tgroup__count { margin-left: auto; font: 600 .78rem var(--sans); color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 3px 10px; }
.topics { list-style: none; }
.topic { display: flex; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.topic__n { font: 600 .9rem/1.6 var(--serif); color: var(--sky-600); min-width: 24px; text-align: right; }
.topic mark { background: #fff3c4; color: inherit; border-radius: 3px; padding: 0 1px; }

/* author */
.page-hero--author { padding: 56px 0; }
.author-hero { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: center; }
.author-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.author-hero__photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .15); }
.author-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.author-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.author-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; }
.author-links a:hover { background: rgba(255, 255, 255, .14); }
.bio { display: grid; grid-template-columns: 1.6fr 1fr; gap: 52px; align-items: start; }
.bio__text p { font-size: 1.05rem; }
.bio__side { display: grid; gap: 22px; }
.side-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.side-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.edu { list-style: none; display: grid; gap: 12px; }
.edu li { display: flex; gap: 14px; font-size: .95rem; }
.edu__y { font: 600 1rem var(--serif); color: var(--navy-700); min-width: 44px; }
.side-photo { margin: 0; border-radius: 16px; overflow: hidden; }
.tl { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--sky-400)); }
.tl__item { position: relative; padding: 46px 14px 0 0; }
.tl__item::before { content: ''; position: absolute; left: 0; top: 12px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-700); }
.tl__year { font: 600 1.05rem var(--serif); color: var(--navy-800); display: block; margin-bottom: 6px; }
.tl__item p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area { padding: 26px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--sky-500); }
.area h3 { font-size: 1.15rem; margin-bottom: 10px; }
.area p { color: var(--muted); font-size: .94rem; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.mem { list-style: none; display: grid; gap: 12px; }
.mem li { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .96rem; }
.mem .i { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.pubs { list-style: none; display: grid; gap: 2px; }
.pubs li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.pubs em { color: var(--sky-600); font-style: normal; font-size: .82rem; font-weight: 600; margin-left: 4px; white-space: nowrap; }
.pub__y { font: 600 1rem var(--serif); color: var(--navy-700); min-width: 46px; }
.pubs__more { margin-top: 14px; color: var(--muted); font-style: italic; }

/* video */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; background: #000; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(10, 27, 54, .82); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: background .2s, transform .2s; }
.yt:hover .yt__play { background: var(--sky-600); transform: scale(1.06); }
.yt__play .i { width: 28px; height: 28px; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__body { padding: 18px 20px 20px; }
.video__ch { font-size: .8rem; font-weight: 600; color: var(--sky-600); margin-bottom: 6px; }
.video__title { font-size: 1.12rem; }
.video--channel { align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; border: 0; min-height: 260px; }
.video--channel:hover { color: #fff; box-shadow: var(--shadow-lg); }
.video--channel strong { font: 600 1.25rem var(--serif); }
.video--channel span:last-child { display: inline-flex; gap: 6px; align-items: center; color: var(--sky-200); font-size: .92rem; }
.video__chan-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); margin-bottom: 6px; }
.video__chan-icon .i { width: 32px; height: 32px; color: #ff5d5d; }

/* comments */
.comments-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.cmts { display: grid; gap: 16px; margin-bottom: 36px; }
.cmt { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.cmt__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cmt__head strong { display: block; color: var(--ink); }
.cmt__head small { display: block; color: var(--muted); font-size: .78rem; }
.cmt__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--sky-600); font-weight: 700; font-size: .85rem; flex: none; }
.cmt__text { margin: 0; font-size: .97rem; }
.cmt__reply { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.cmt__reply-h { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--navy-700); margin-bottom: 6px; }
.cmt__reply p { margin: 0; font-size: .93rem; }
.cmt--new { border-color: var(--sky-200); }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.form-card--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sky-500); box-shadow: 0 0 0 4px var(--sky-100); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.form__note { margin: 0; font-size: .82rem; color: var(--muted); max-width: 22em; }
.form__status { margin: 14px 0 0; font-size: .95rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 12px 14px; border-radius: 10px; }
.form__status.is-err { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; padding: 12px 14px; border-radius: 10px; }
.form-card--sticky .form__grid { grid-template-columns: 1fr; }
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.contact-card { background: linear-gradient(165deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); }
.contact-card .h3 { color: #fff; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .i { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.contact-list a, .contact-list strong { color: #fff; font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--sky-200); }
.contact-list small { display: block; color: rgba(255, 255, 255, .62); font-size: .82rem; }
.contact-person { display: flex; gap: 14px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--gold); }
.contact-person strong { display: block; }
.contact-person small { color: var(--sky-200); font-size: .82rem; }

/* footer */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 64px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__brand p { margin-top: 18px; max-width: 26em; }
.footer__h { font: 700 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.footer__links { list-style: none; display: grid; gap: 9px; }
.footer__links a, .footer__contact a { color: rgba(255, 255, 255, .78); }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { list-style: none; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: center; }
.footer__contact .i { color: var(--sky-400); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer__top { color: var(--sky-200); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4, 12, 26, .94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .8); font-size: .92rem; text-align: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 64px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 2rem; line-height: 1; }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
.lightbox.is-single .lightbox__nav { display: none; }
body.is-locked { overflow: hidden; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- responsive */
@media (max-width: 1240px) {
  .nav__link { padding: 10px 8px; font-size: .86rem; }
  .nav__link[aria-current="page"]::after, .nav__more.is-current::after { left: 8px; right: 8px; }
  .brand__sub { display: none; }
}
@media (max-width: 1120px) {
  .nav, .site-header__inner > .lang { display: none; }
  .burger { display: inline-flex; }
  .books { grid-template-columns: repeat(3, 1fr); }
  .res-grid, #assotsiatsiyalar .res-grid--light { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .tl { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
  .tl::before { display: none; }
  .hero__badge { left: -20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .hero { padding: 48px 0 110px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { justify-self: center; width: min(100%, 380px); }
  .hero__badge { left: -12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .intro, .what, .bio, .two-col, .comments-layout, .contact-layout, .diss-cols { grid-template-columns: 1fr; gap: 36px; }
  .what__side, .form-card--sticky { position: static; }
  .news-grid, .online-grid, .videos { grid-template-columns: 1fr 1fr; }
  .res-grid--light { grid-template-columns: 1fr 1fr; }
  .tgroups { columns: 1; }
  .cta { grid-template-columns: 1fr; }
  .cta__img { max-height: 280px; }
  .cta__body { padding: 36px 30px; }
  .author-hero { grid-template-columns: 1fr; }
  .author-hero__photo { max-width: 300px; }
  .dicts { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .books { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .book3d { --w: 118px; --h: 157px; --t: 9px; }
  .book__stage { padding: 26px 10px 22px; }
  .book__body { padding: 14px 14px 16px; }
  .book__title { font-size: 1rem; }
  .book__orig, .book__pub { font-size: .8rem; }
  .book__actions .btn { white-space: normal; text-align: center; padding: .6em .7em; }
  .book__actions .btn small { display: none; }
  .res-grid, .res-grid--light, #assotsiatsiyalar .res-grid--light, .news-grid, .online-grid, .videos, .docs, .courses, .areas { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .stat { padding: 18px 16px; }
  .stat__n { font-size: 1.9rem; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin: -36px 12px 0; max-width: none; }
  .hero__chip { right: 8px; }
  .hero__visual::before { inset: -10px -10px 10px 10px; }
  .letter { padding-left: 18px; }
  .define { padding: 28px 22px; }
  .tl { grid-template-columns: 1fr 1fr; }
  .art { grid-template-columns: 110px 1fr; gap: 14px; padding: 14px; }
  .art__thumbs { height: 130px; }
  .arts { grid-template-columns: 1fr; }
  .dict { grid-template-columns: 1fr; text-align: left; }
  .diss { grid-template-columns: 1fr; gap: 6px; }
  .diss__dl { justify-self: start; }
  .doc { flex-wrap: wrap; }
  .doc .btn { margin-left: 62px; }
  .form__grid { grid-template-columns: 1fr; }
  .form-card, .contact-card { padding: 22px 18px; }
  .ref { padding: 18px 18px 16px 58px; }
  .ref::before { left: 14px; }
  .block { padding: 52px 0; }
  .section { padding: 56px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .lightbox { padding: 60px 8px 20px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; height: 48px; }
  .brand__name { font-size: 1.1rem; }
  .brand__mark { width: 40px; height: 40px; }
}
@media (max-width: 420px) {
  .book3d { --w: 104px; --h: 139px; --t: 8px; }
  .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}
